View file index.php

File size: 2.04Kb
<?
//Скрипт магазина icq-номеров
//Автор SHuRiK(aka LLlypuk)
//Icq: 377248037
//WebMoney R: R338551915279
//WebMoney Z: Z850050838586
//E-Mail: [email protected]
//
//Декабрь 2009
//Цена: бесплатно

include("admin/db.php"); 
include("conf.php");


$c[5] = mysql_num_rows(mysql_query("SELECT * FROM uin WHERE razdel='5'"));
$c[6] = mysql_num_rows(mysql_query("SELECT * FROM uin WHERE razdel='6'"));
$c[7] = mysql_num_rows(mysql_query("SELECT * FROM uin WHERE razdel='7'"));
$c[8] = mysql_num_rows(mysql_query("SELECT * FROM uin WHERE razdel='8'"));
$c[9] = mysql_num_rows(mysql_query("SELECT * FROM uin WHERE razdel='9'"));

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title><? echo $title; ?></title>
</head>
<!-- <body bgcolor="#00FFFF"> -->
<big><b><font color="#00CC66">ICQSHOP.ru</font></big></b><br />
<? if($pokaz_pusto == 'net' && $c[5] != 0) {?> <a href="razdel.php?id=5">пятизнаки</a> (<? echo $c[5]; ?>)<br /><? } ?>
<? if($pokaz_pusto == 'net' && $c[6] != 0) {?> <a href="razdel.php?id=6">шестизнаки</a> (<? echo $c[6]; ?>)<br /><? } ?>
<? if($pokaz_pusto == 'net' && $c[7] != 0) {?> <a href="razdel.php?id=7">семизнаки</a> (<? echo $c[7]; ?>)<br /><? } ?>
<? if($pokaz_pusto == 'net' && $c[8] != 0) {?> <a href="razdel.php?id=8">восьмизнаки</a> (<? echo $c[8]; ?>)<br /><? } ?>
<? if($pokaz_pusto == 'net' && $c[9] != 0) {?> <a href="razdel.php?id=9">девятизнаки</a> (<? echo $c[9]; ?>)<br /><? } ?>


<? if($pokaz_pusto == 'da') {?> <a href="razdel.php?id=5">пятизнаки</a> (<? echo $c[5]; ?>)<br />
<a href="razdel.php?id=6">шестизнаки</a> (<? echo $c[6]; ?>)<br />
<a href="razdel.php?id=7">семизнаки</a> (<? echo $c[7]; ?>)<br />
<a href="razdel.php?id=8">восьмизнаки</a> (<? echo $c[8]; ?>)<br />
<a href="razdel.php?id=9">девятизнаки</a> (<? echo $c[9]; ?>)<br /><? } ?>


<? include("niz.php"); ?>
</body>
</html>