120 lines
3.7 KiB
PHP
120 lines
3.7 KiB
PHP
|
<?php
|
|||
|
session_start();
|
|||
|
if ($_SESSION['uid'] == null) header("Location: index.php");
|
|||
|
include "config.php";
|
|||
|
$user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"));
|
|||
|
include "functions.php";
|
|||
|
|
|||
|
|
|||
|
?>
|
|||
|
<HTML><HEAD><TITLE>ТОП 10 лучших рефералов Бандитского квартала</TITLE>
|
|||
|
<META content=INDEX,FOLLOW name=robots>
|
|||
|
<META content="1 days" name=revisit-after>
|
|||
|
<META http-equiv=Content-type content="text/html; charset=utf-8">
|
|||
|
<META http-equiv=Pragma content=no-cache>
|
|||
|
<META http-equiv=Cache-control content=private>
|
|||
|
<META http-equiv=Expires content=0><LINK href="css/main.css" type=text/css rel=stylesheet>
|
|||
|
<style>
|
|||
|
.pleft {
|
|||
|
PADDING-RIGHT: 0px; PADDING-LEFT: 20px; PADDING-BOTTOM: 7px; MARGIN: 0px; PADDING-TOP: 3px
|
|||
|
}
|
|||
|
</style>
|
|||
|
</HEAD>
|
|||
|
<BODY bgColor=#3D3D3B leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
|
|||
|
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
|
|||
|
<tr>
|
|||
|
<td scope="col"><table width="100%" height="135" border="0" cellpadding="0" cellspacing="0">
|
|||
|
<tr>
|
|||
|
<td scope="col"><div align="center"></div></td>
|
|||
|
</tr>
|
|||
|
</table></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td align="center" height="100%" valign="top"><table width="75%" border="0" cellpadding="0" cellspacing="0">
|
|||
|
<tr>
|
|||
|
<td scope="col"><table cellspacing=0 cellpadding=0 width="100%" bgcolor=#f2e5b1
|
|||
|
border=0>
|
|||
|
<tbody>
|
|||
|
|
|||
|
<tr>
|
|||
|
<td height="1" colspan=3 bgcolor="#F2E5B1">
|
|||
|
<p></p>
|
|||
|
<td width="30" rowspan=2 align="right" valign=top>
|
|||
|
|
|||
|
<p><BR>
|
|||
|
<BR>
|
|||
|
</p>
|
|||
|
<DIV align=right>
|
|||
|
<TABLE height="90%" cellSpacing=0 cellPadding=0 border=0>
|
|||
|
<TBODY>
|
|||
|
<TR>
|
|||
|
<TD vAlign=top></TD>
|
|||
|
</TR>
|
|||
|
</TBODY>
|
|||
|
</TABLE>
|
|||
|
</DIV></td>
|
|||
|
<td width="23" rowspan=2 align="right" height=100% valign=top >
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td width="29" valign=top ></td>
|
|||
|
<td valign=top width="30"></td>
|
|||
|
<td valign=top><!-- Begin of text -->
|
|||
|
<h3><br>
|
|||
|
</h3>
|
|||
|
<TABLE width="100%" border=0 cellPadding=2 cellSpacing=0 name="F1">
|
|||
|
<TBODY>
|
|||
|
<TR>
|
|||
|
<TD colSpan=3><H3><p style="COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 12pt; FONT-WEIGHT: bold; TEXT-ALIGN: center">ТОП 10 лучших рефералов Ардании</p></center>
|
|||
|
|
|||
|
<span class="style5"><table border=0 cellpadding=3 align=center>
|
|||
|
|
|||
|
|
|||
|
<tr bgcolor=cdc9c9>
|
|||
|
<td width=100><b>Место</b></td>
|
|||
|
<td width=300><b>Логин</b></td>
|
|||
|
<td width=100><b>Переходов</b></td>
|
|||
|
</tr>
|
|||
|
|
|||
|
<?
|
|||
|
|
|||
|
|
|||
|
$data = mysql_query("SELECT * FROM `users` ORDER by `refer` DESC limit 0,10;");
|
|||
|
while($row = mysql_fetch_array($data)) {
|
|||
|
$n+=1;
|
|||
|
echo "<TR><td style='color:8f0000;'>( ".$n." )<TD style='color:8f0000;'>",$row['login'],"[".$row['level']."]<a href=inf.php?".$row['id']." target=_blank><IMG SRC=i/inf.gif WIDTH=12 HEIGHT=11 border=0 ALT=\"Инф. о ".$row['login']."\"></a><TD>[",$row['login'],"]<TD>";
|
|||
|
|
|||
|
echo "</TR>";
|
|||
|
}
|
|||
|
?>
|
|||
|
</TBODY></TABLE><br>
|
|||
|
</td></tr></table>
|
|||
|
|
|||
|
</TD>
|
|||
|
</TR>
|
|||
|
|
|||
|
|
|||
|
</FORM>
|
|||
|
</TABLE>
|
|||
|
</TBODY></tr>
|
|||
|
</table></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
|
|||
|
<TBODY>
|
|||
|
<TR>
|
|||
|
<TD width="100%" height=13 background="img/sitebk_07.jpg"></TD>
|
|||
|
</TR>
|
|||
|
<TR>
|
|||
|
<TD width="100%" bgColor=#000000
|
|||
|
height=20><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
|
|||
|
<tr>
|
|||
|
<td width="10%" align="center" scope="col">
|
|||
|
<div align="left">
|
|||
|
</tr>
|
|||
|
</table></TD>
|
|||
|
</TR>
|
|||
|
</TBODY>
|
|||
|
</TABLE>
|
|||
|
</BODY></HTML>
|