Размер файла: 1.35Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE);
header("Content-type:text/html; charset=utf-8");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<?
include ("config.inc.php");
?>
<title><?=$gname?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<? require ("design/css.inc.php"); ?>
</head>
<body bgcolor=<?=$BACKGROUND?>>
<table width=100% border=0 cellpadding=2 cellspacing=1 bgcolor=<?=$BORDER;?>>
<div align="center">Смайлы(<a href=faq_sm.php>FAQ</a>)</div><hr/>
<?
$do = file("$op.txt");
$id = sizeof($do);
$st=5;
if($ns==""){$ns=0;}
$ks=$st+$ns;
while($ns < $ks){
$dan=@file("$op.txt");
$udan=explode(":||:",$dan[$ns]);
$ns=$ns+1;
if($ns>$id){$ns=$ks+1;}
$text=trim($udan[0]);
print "<tr bgcolor=\"<?=$LIGHT;?>\" class=\"pmid\">$text<hr/></tr>";}
if($ns<=$id) {print "<tr bgcolor=\"<?=$LIGHT;?>\" class=\"pmid\">
<form action=smile.php?nc=$nc method=post>
<input type=hidden name=log value=$log>
<input type=hidden name=pas value=$pas>
<input type=hidden name=op value=$op>
<input type=hidden name=ns value=$ns>
<input type=submit value=Далее>
</form>";}
print"
<br/>
<a href=http://w-s.wapland.org>Главная</a>
</td></tr></table>
</body></html>";
?>