Файл: data/help.dat.php
Строк: 16
<?
print '<div class="spiski"><div class="zagolovok">Помощь</div><div class="line"></div><ul>';
if((isset($_GET['help']))&&(is_numeric($_GET['help']))){
$h=mysql_query("select*from help where id='".(int)$_GET['help']."'");
if(mysql_num_rows($h)==0){print"<div class="style_mess_no">Данной статьи несуществует!</div>";} else{
$help=mysql_fetch_array($h);
print"<div class="chat_conteiner">".$help['name']."<br>".$help['text']."</div>
<li><a href=".$help['href'].">НАЗАД</a></li>";
;}
;}else{
$h=mysql_query("select*from help ");
while($help=mysql_fetch_array($h)){
print"<li>".$help['id'].". <a href=88.php?go=help&help=".$help['id'].">".$help['name']."</a></li>";
;}
exitt($row,$opredelenie);
;}
exitt($row,$opredelenie);
?>