36 lines
927 B
PHP
36 lines
927 B
PHP
<?
|
|
// Default to the queue.
|
|
if (!isset($_REQUEST['queue']))
|
|
$queue = TRUE;
|
|
else
|
|
$queue = get_queue();
|
|
$num_stories = 15;
|
|
|
|
if (!get_id() && (get_count() > 1))
|
|
echo sort_options("/publish/edit");
|
|
|
|
if ($queue) { ?>
|
|
|
|
<p>To view already-posted articles, <a href="edit?queue=0">click here</a>.</p>
|
|
<? } else { ?>
|
|
<p>To view articles in the queue, <a href="edit?queue=1">click here</a>.</p>
|
|
<div class="input" style="text-align: justify">
|
|
<form action="" method="get">
|
|
<input name="search" type="text" class="input" id="search" maxlength="40" value="<?= $_GET['search'] ?>" />
|
|
<input name="queue" type="hidden" value="0" />
|
|
<button type="submit" id="choose" name="action" value="choose" class="inputbutton">Search</button>
|
|
</form>
|
|
</div>
|
|
<? }
|
|
echo display_stories();
|
|
?>
|
|
|
|
</div> <!-- maintext -->
|
|
</div> <!-- main -->
|
|
</div> <!-- container -->
|
|
|
|
<? include_once('../bottombar.inc.php'); ?>
|
|
|
|
</body>
|
|
</html>
|