Файл: l2ps_v5/files/xtoarenacolosseus.php
Строк: 66
<?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]</b></up></font></a>
</small> ";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>
</small> ";echo"<b></b>";}else
if($arr[udata67]=="100"){
$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>
</small> ";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>
</small> ";echo"<b></b>";
}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
if($arr[udata9]=="80"){
$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="#008B8B"><up>$arr[udata0]</up></font></a>
</small> ";}else
if($arr[udata9]=="81"){
$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="#00CDCD"><up>$arr[udata0]</up></font></a>
</small> ";}else
if($arr[udata9]=="82"){
$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="#00EEEE"><up>$arr[udata0]</up></font></a>
</small> ";}else
if($arr[udata9]=="83"){
$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="#00CDCD"><up>$arr[udata0]</up></font></a>
</small> ";}else
if($arr[udata9]=="84"){
$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="#00FFFF"><up><b>$arr[udata0]</b></up></font></a>
</small> ";}else
if($arr[udata9]=="85"){
$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="#FF4500"><up><b>$arr[udata0]</b></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>";
echo"<b></b>";
}
}
?>