File size: 1.17Kb
<?php
Error_Reporting(E_ALL & ~E_NOTICE & E_USER_WARNING);
session_name("SID");
session_start();
include("../global.php");
if ( $id =="avtorized" &&
$login !="" &&
$pass !="")
{
session_register("login");
session_register("pass");
}
$direct ="../user";
include("../avt.php");
if (isset($top)) $top= ereg_replace("[^0-9]","", $top );
elseif (isset($tema)) $tema= ereg_replace("[^0-9]","", $tema );
elseif (isset($post)) $post= ereg_replace("[^0-9]","", $post );
elseif (isset($nickname))
{$nickname = ereg_replace("[^a-zA-Z0-9\-_]", "", $nickname);}
include("../translit.php");
?>
<?php
if ( !isset($login) ||
!isset( $pass ) ||
$login =="" ||
$pass =="" ||
$status =="gost")
{ echo '<a href="../avtorized.php">Авторизация</a><br>
<a href="../reg.php">Регистрация</a><br>';}
else {
echo '<b>Привет, <a href="../anketa.php?'.SID.'">'.$login.'</a></b>';
$direct1 ="../mail";
include("../privat.php");
if ( $new != 0)
{ echo '<br><a href="../mail.php?param=in&'.SID.'"><b><font color="#ff000">Вам письмо!!!</font></b></a>
<img src="../smile/email.gif" alt=""> ['. $new .']<br>';}
else { echo'<br>';}
include("ban.php");
}
?>