File size: 576B
<?php
include'inc/conf.php';
include'inc/fun.php';
session_start();
$sql = mysql_query("SELECT * FROM `users` WHERE `id` = '".$_SESSION['id']."' ");
$row = mysql_fetch_array($sql);
$pass = mysql_real_escape_string(htmlspecialchars(stripslashes($_SESSION['pass'])));
$id = mysql_real_escape_string(htmlspecialchars(stripslashes($_SESSION['id'])));
if ($id == $row['id'] and md5($pass)==$row['pass']){
////////////////////////////////////////////////////////////////
$title='Альянс';
include'inc/up.php';
echo'
';
include'inc/foot.php';
?>