File size: 546B
<?
$manlixfile = "./base.txt";
$manlix = file("$manlixfile");
$manlixrandom = rand(0, sizeof($manlix)-1);
$manlixtext = $manlix[$manlixrandom];
include 'header.php';
if (empty($QUERY_STRING))
{
echo $manlixtext;
}
else
{
if ($QUERY_STRING != "")
{
echo "$manlixtext";
}
}
echo'<br/>Для толкавания нажмите на руну';
include('frend.txt');
?>