File size: 1.18Kb
<?
include 'arz.php';
if($pas==""){$login="";}
if($login!=""){
$taud=@file("$uzer/$login");
$aud=explode("<br/>", $taud[0]);
if($aud[0]!=$pas){$login="";}
}
$status="";
if($login!=""){
$prlime=@file("$uzer/$login");
$prlime=explode("<br/>",$prlime[0]);
if($prlime[15]>0){
print"<a href=\"../mymes.php?ver=$ver&pas=$pas&login=$login\">Новое личное сообщение ($prlime[15])</a><br/><br/>";}
if($prlime[16]=="moder"){$status="moder";}
if($prlime[16]=="ban"){$status="ban";}
if($login==$admin){$status="moder";}
$unkpost=@file("$ulparm/$login");
if($unkpost[0]>0 & $unkpost[0]<50){$tpage=$unkpost[0];}
}
if($login==""){
$brauz=getenv('HTTP_USER_AGENT');
$agent="$REMOTE_ADDR";
$brauz=trim(htmlspecialchars(stripslashes(str_replace($ztex1, $ztex2, $brauz))));
$agent=trim(htmlspecialchars(stripslashes(str_replace($ztex1, $ztex2, $agent))));
if(file_exists ("$banlist/$agent")){
if(@file("$banlist/$agent")){
$pbanar=@file("$banlist/$agent");
foreach ($pbanar as $key => $value){
$value=trim($value);
if($value==$brauz){$status="ban";}
}
} else {$status="ban";}
}
}
if($status=="ban"){
$post="";
print"<img src=\"../pik/ban.gif\" alt=\"BAN\"/><br/>";}
include 'online.php';
?>