View file default/foot.php

File size: 1.7Kb
<?
list($msec, $sec) = explode(chr(32), microtime());

	if (!isset($fortuna))$fortuna = 1;

if (isset($user['id']) && $fortuna == 1)
{
	$rand = rand(1,500);
	$key = rand(1111111111,9999999999);
	
	if ($rand == 10 or $rand == 20 or $rand == 30 or $rand == 40 or $rand == 50 or $rand == 60 or $rand == 70 or $rand == 80 or $rand == 90 or $rand == 100)
	{
		$_SESSION['s_code'] = $key;
		$_SESSION['s_rand'] = $rand;
		$_SESSION['s_str'] = $_SERVER['PHP_SELF'];
		echo '<div class="mess"> <center><a href="/plugins/monetka/index.php?key=' . $key . '"><img src="/style/icons/bonus_m.png" /></center></a></div>';
	}
}



if ($_SERVER['PHP_SELF'] != '/index.php') 
{
?>
	<div class="niz_foot">
	<b><a href="/index.php"> Глав</a> |<a href="/obmen/"> ЗО </a> |<a href="/guest/"> Беседка </a> |<a href="/forum/"> Форум </a> | 
	<a href="/online.php">В сети: 
	<?=mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > ".(time()-600).""), 0)?></b></a>
	

	</div>
<?
}





?>
<div class="title">
<center>
&copy; WaFaN.Ru &trade;| 2018 </a>
</center>
</div>


 
<?

?>
</div>


<?


rekl(3);
?>

<div class="nav1">
<center><a href="http://statok.net/go/9938"><img src="//statok.net/imageOther/9938" alt="Statok.net" /></a> <a href="http://firetop.su/go/4663"><img src="http://firetop.su/imageOther/4663" alt="FireTop.su"/></a><script type="text/javascript" src="http://gigtop.ru/jsOther/5185"></script><noscript><a href="http://gigtop.ru/go/5185"><img src="http://gigtop.ru/imageOther/5185" alt="" /></a></noscript> </center>
</div>

<div class="foot_sn"><center></a><span class="foot_c"><small>&copy; Все права соблюдены.</small></span></a></center>


</body>

</html>








<?
exit;
?>