Файл: new_fanland/smile.php
Строк: 17
<?php
include "cfg.php";
include "db.php";
$db_connection = mysql_connect($db_host, $db_user, $db_pass);
mysql_select_db($db_table, $db_connection);
$tikr = mysql_num_rows(mysql_query("SELECT * FROM users WHERE usr = '$_GET[usr]' AND pwd = '$_GET[pwd]'"));
if($tikr == 1)
{
$set['title']='Справка по смайлам';
head();
title ();
if($_GET[id] == "")
{smiles();}
}
else
{
echo "<div class="main"><div class="in">"; pochta();
echo "Вы не зарегистрированы!!!<br/>";
}foot();
mysql_close($db_connection);
?>