Вход Регистрация
Файл: obs.php
Строк: 36
<?php
##########################################################
#               За дополнениями обращайтесь:             #
#                     icq 449-424-588                    #
#                 email: Dimonnet@inbox.ru               #
##########################################################
#          coding by ___хакер___ (MaZaFaKa)              #
##########################################################
# запрещено распространять каталог без согласия автора!!!#
##########################################################
include "inc.php";
include 
"head.php";
print 
"<div style="text-aligncenter">
<div class="
contur_rek"><div class="header_rek"><b>Новости</b></div></div></div>";
$qob = @mysql_query("select * from `obyavleniya` where `ci`='$ci' order by id desc limit $p,8;");
while(
$obyavl = @mysql_fetch_array($qob))
{     print 
"<div class="contur"><div class="header"><font color='red'>&#9679; ".$obyavl['zag']."</font> (".$obyavl['date'].")<br/>";
    print 
"&#8594; <u>Содержание:</u> ".$obyavl['cont']."<br/>";
    print 
"</div></div>";
}
$counts = @mysql_query("select `id` from `obyavleniya`;");
$kol = @mysql_num_rows($counts);
if (
$kol $p+8)
{     if (
$p 0)
    
$n 9;
    else
    
$n 8;
    
$p $p+$n;
print 
"<a href="obs.php?p=$p&amp;ci=$ci&amp;st=$st">Далее</a><br/>";
}

print 
"<div class="header"><a href="rules.php?ci=$ci&amp;st=$st">&#8594; Правила</a><br/>";

print 
"<a href="about.php?ci=$ci&amp;st=$st">&#8594; О каталоге</a><br/>";

print 
"<a href="registration.php?rul=y&amp;ci=$ci&amp;st=$st">&#8594; Регистрация</a><br/>";

print 
"<a href="index.php?ci=$ci&amp;st=$st">&#8594; В Каталог</a></div>";
include 
"foot.php";
print 
"</div>";
echo 
"</body></html>";
?>
Онлайн: 0
Реклама