game/modules_data/_zv2.php

65 lines
2.4 KiB
PHP

<?php
echo "
<script language='JavaScript'>
var elem = document.getElementById('se-pre-con');
elem.parentNode.removeChild(elem);
</script>
";
if(!defined('GAME'))
{
die();
}
if(isset($_GET['r']))
{
$_GET['r'] = (int)$_GET['r'];
}else{
$_GET['r'] = NULL;
}
$u->info['referals'] = mysql_fetch_array(mysql_query('SELECT COUNT(`id`) FROM `register_code` WHERE `uid` = "'.$u->info['id'].'" AND `time_finish` > 0 AND `end` = 0 LIMIT 1000'));
$u->info['referals'] = $u->info['referals'][0];
$zv = new FightRequest();
?>
<script> var zv_Priem = 0; </script>
<style>
.m {background: #d2d2d2;text-align: center;}
.s {background: #b4b4b4;text-align: center;}
</style>
<TABLE width=100% cellspacing=1 cellpadding=3>
<TR><TD colspan=8 align=right>
<div style="float:left">
<?php
echo ' &nbsp; &nbsp; <b style="color:grey">(Удаленный просмотр)</b>';
?>
</div>
<div style="float:right">
<INPUT TYPE=button value="Вернуться" onClick="location.href='main.php?rnd=<?= $code; ?>';">
</div>
</TD></TR>
<TR>
<TD class=m width=40>&nbsp;<B>Бои:</B></TD>
<TD width="15%" class="<?php if($_GET['r']==1){ echo 's'; }else{ echo 'm'; } ?>"><A HREF="main.php?zayvka=1&r=1&rnd=<?= $code; ?>">Новички</A></TD>
<TD width="15%" class="<?php if($_GET['r']==2){ echo 's'; }else{ echo 'm'; } ?>"><A HREF="main.php?zayvka=1&r=2&rnd=<?= $code; ?>">Физические</A></TD>
<TD width="14%" class="<?php if($_GET['r']==3){ echo 's'; }else{ echo 'm'; } ?>"><A HREF="main.php?zayvka=1&r=3&rnd=<?= $code; ?>">Договорные</A></TD>
<TD width="14%" class="<?php if($_GET['r']==4){ echo 's'; }else{ echo 'm'; } ?>"><A HREF="main.php?zayvka=1&r=4&rnd=<?= $code; ?>">Групповые</A></TD>
<TD width="14%" class="<?php if($_GET['r']==5){ echo 's'; }else{ echo 'm'; } ?>"><A HREF="main.php?zayvka=1&r=5&rnd=<?= $code; ?>">Хаотичные</A></TD>
<TD width="14%" class="<?php if($_GET['r']==6){ echo 's'; }else{ echo 'm'; } ?>"><A HREF="main.php?zayvka=1&r=6&rnd=<?= $code; ?>">Текущие</A></TD>
<TD width="14%" class="<?php if($_GET['r']==7){ echo 's'; }else{ echo 'm'; } ?>"><A HREF="main.php?zayvka=1&r=7&rnd=<?= $code; ?>">Завершенные</A></TD>
</TR></TR></TABLE>
<table style="padding:2px;" width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td><?= $zv->see(); ?></td>
</tr>
<tr>
<td><?php $zv->seeZv(); ?></td>
</tr>
</table><br />
<DIV align="right">
<?php
echo $c['counters'];
?>
</DIV>