Файл: l2ps_v5/files/xtovik.php
Строк: 36
<?php
include_once("files/ini.php");
$self = $_SERVER['SCRIPT_NAME'];
$time=time();
mysql_query("UPDATE `users` SET `udata55`='$self' WHERE `udata0`='$log'");
mysql_query("UPDATE `users` SET `udata56`='$time' WHERE `udata0`='$log'");
echo"";
$pr_q = mysql_query("SELECT * from `users` where udata56>('".time()."'-'600') and `udata55`='$self' ");
while($arr = mysql_fetch_array($pr_q)){
$aglava=mysql_query("SELECT * FROM `clan` WHERE `clan0`='$arr[udata23]' ");
$arrs= mysql_fetch_array($aglava);
$ggg=$arrs['clan2'];
if($arr[udata67]=="200" or $arr['udata67']=="777"){
$sss=$arr['udata23'];
if($sss!==""){
if(!empty($ggg)){
echo"<img src="pic/clan/$ggg" alt="clan"/>";}}
echo " <a href="search.php?&nick=$arr[udata0]&go=go">
<font color="lime"><b><up>$arr[udata0].GM</b></up></font></a>
";echo"<b></b>";}else
if($arr[udata86]>="1"){
$sss=$arr['udata23'];
if($sss!==""){
if(!empty($ggg)){
echo"<img src="pic/clan/$ggg" alt="clan"/>";}}
echo " <a href="search.php?&nick=$arr[udata0]&go=go">
<i><font color="red"><up>$arr[udata0]</up></font></i></a>
";echo"<b></b>";}else
if($arr[udata67]=="100" or $arr['udata67']=="500" or $arr['udata67']=="501"){
$sss=$arr['udata23'];
if($sss!==""){
if(!empty($ggg)){
echo"<img src="pic/clan/$ggg" alt="clan"/>";}}
echo " <a href="search.php?&nick=$arr[udata0]&go=go">
<font color="blue"><b><up>$arr[udata0]</b></up></font></a>[M]
";echo"<b></b>";}else
if($arr[udata67]=="505" or $arr['udata67']=="503" or $arr['udata67']=="504"){
$sss=$arr['udata23'];
if($sss!==""){
if(!empty($ggg)){
echo"<img src="pic/clan/$ggg" alt="clan"/>";}}
echo " <a href="search.php?&nick=$arr[udata0]&go=go">
<font color="blue"><b><up>$arr[udata0]</b></up></font></a>[M]
";echo"<b></b>";}else
if($arr[udata75]=="vip"){
$sss=$arr['udata23'];
if($sss!==""){
if(!empty($ggg)){
echo"<img src="pic/clan/$ggg" alt="clan"/>";}}
echo " <a href="search.php?&nick=$arr[udata0]&go=go">
<font color="gold"><b><up>$arr[udata0]</b></up></font></a>[ViP] ";echo"<b></b>";
}else{
$sss=$arr['udata23'];
if($sss!==""){
if(!empty($ggg)){
echo"<img src="pic/clan/$ggg" alt="clan"/>";}}
echo " <a href="search.php?&nick=$arr[udata0]&go=go">$arr[udata0]</a> ";
echo"<b></b>";
}
}
?>