26 lines
559 B
PHP
26 lines
559 B
PHP
|
<?php
|
||
|
if (!isset($nbnews))
|
||
|
{
|
||
|
$nbnews=5;
|
||
|
}
|
||
|
|
||
|
echo "<div class='nbnews'><br /><form action='/setnbnews.php' method='post'>\n";
|
||
|
echo "
|
||
|
<input type='hidden' name='page' value='$page' />
|
||
|
Nombre max. de news par source:<select name='nbnews' class='boutton'>
|
||
|
";
|
||
|
for($i=1;$i<=10;$i++)
|
||
|
{
|
||
|
if ($i == $nbnews)
|
||
|
echo "<option value='$i' selected='selected'>$i</option>\n";
|
||
|
else
|
||
|
echo "<option value='$i'>$i</option>\n";
|
||
|
}
|
||
|
|
||
|
echo "</select><input type='submit' value='Changer' class='boutton' /></form></div>";
|
||
|
|
||
|
// hack fortune
|
||
|
unset ($bodyclass);
|
||
|
unset ($sitedata);
|
||
|
?>
|