Файл: files/xtotut.php
Строк: 30
<?php
$self = $_SERVER['SCRIPT_NAME'];
$time=time();
echo '<hr>';
mysql_query("UPDATE `users` SET `udata55`='$self' WHERE `udata0`='$log'");
mysql_query("UPDATE `users` SET `udata56`='$time' WHERE `udata0`='$log'");
$pr_q = mysql_query("SELECT * from `users` where `udata56`>('".time()."'-'5000') and `udata55`='$self' and `udata20`='$udata20' ");
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"){
$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]</b></up></font></a>
</small> ";
}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>
</small> ";
}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>
</small> ";}else
if($arr[udata25]!==""){
$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="$arr[udata25]"><up>$arr[udata0]</up></font></a>
</small> ";}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></small> ";
}
}
}
if($_SESSION['version'] == 'web'){
echo '<hr>';
}
?>