127 lines
6.3 KiB
PHP
127 lines
6.3 KiB
PHP
<?
|
|
include('config.php');
|
|
?>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>Бойцовский Клуб Возрождение - Рейтинг</title>
|
|
<meta name="robots" content="INDEX,FOLLOW" />
|
|
<meta http-equiv="pragma" content="no-cache" />
|
|
<meta http-equiv="Cache-control" content="private" />
|
|
<meta http-equiv="Expires" content="0" />
|
|
<link href="css/rating.css" rel="stylesheet" type="text/css" />
|
|
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
|
|
<style type="text/css">
|
|
.style6 { color: #DFD3A3; font-size: 9px; }
|
|
.sp { font-weight: normal; color: #524936; text-decoration: none; cursor: pointer; }
|
|
.sp:hover { color: #000000; text-decoration: underline; }
|
|
.style10 { font-size: 9pt; font-weight: bold; }
|
|
.style7 { font-size: 9pt; }
|
|
.style8 { font-family: arial; font-weight: bold; font-size: 10pt; color: #8f0000; }
|
|
</style>
|
|
</head>
|
|
<body bgcolor="#000000" topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>
|
|
<div id='container'>
|
|
<div id='content'>
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td><table width="100%" height="135" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td background="static/images/rating/sitebk_02.jpg" scope="col" align="center"><img src="static/images/logo/290x187.png" width="194" height="135" border="0" /></a></td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor='#3D3D3B'>
|
|
<tr valign="top">
|
|
<td align="center">
|
|
<script type="text/javascript">
|
|
var $wsize = document.body.clientWidth;
|
|
if($wsize >= 800) {
|
|
$wsize = Math.floor( $wsize * 0.8 );
|
|
}
|
|
document.write('<table cellspacing="0" cellpadding="0" bgcolor="#f2e5b1" border="0" width="'+ ( $wsize - 20 ) +'">');
|
|
</script>
|
|
<tr valign="top">
|
|
<td width="29" rowspan="2" background="static/images/rating/n21_08_1.jpg"><p><img src="static/images/rating/fr_08.jpg" width="29" height="256" /></p></td>
|
|
<td><img src="static/images/rating/fr_04.jpg" width="118" height="257" /><br />
|
|
</td>
|
|
<td rowspan="2" width="100%">
|
|
<span id="title"></span>
|
|
<span id="conts"></span>
|
|
</td>
|
|
<td style='padding-left: 3' align="right"> </td>
|
|
<td valign="top" background="static/images/rating/nnn21_03_1.jpg"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><span class="style8">Рейтинги</span> <br />
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="static/images/rating/ram12_34.gif">
|
|
<tr>
|
|
<td align="left" scope="col"><img src="static/images/rating/ram12_33.gif" width="12" height="11" /></td>
|
|
<td scope="col"></td>
|
|
<td width="18" align="right" scope="col"><img src="static/images/rating/ram12_35.gif" width="13" height="11" /></td>
|
|
</tr>
|
|
</table>
|
|
<br />
|
|
<nobr><b> <span><img src="static/images/rating/ic_acc1.gif" width="10" height="10" /></span> <span class="sp" onclick="pageContent('exp', 0);">Опыт</span><br/>
|
|
</b></nobr>
|
|
<nobr><b> <span><img src="static/images/rating/ic_acc1.gif" width="10" height="10" /></span> <span class="sp" onclick="pageContent('win', 1);">Победы</span><br/>
|
|
</b></nobr>
|
|
<nobr><b> <span><img src="static/images/rating/ic_acc1.gif" width="10" height="10" /></span> <span class="sp" onclick="pageContent('lose', 2);">Поражения</span><br/>
|
|
</b></nobr>
|
|
<nobr><b> <span><img src="static/images/rating/ic_acc1.gif" width="10" height="10" /></span> <span class="sp" onclick="pageContent('nich', 3);">Ничьи</span><br/>
|
|
</b></nobr>
|
|
<br />
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="static/images/rating/ram12_34.gif">
|
|
<tr>
|
|
<td align="left" scope="col"><img src="static/images/rating/ram12_33.gif" width="12" height="11" /></td>
|
|
<td scope="col"></td>
|
|
<td width="18" align="right" scope="col"><img src="static/images/rating/ram12_35.gif" width="13" height="11" /></td>
|
|
</tr>
|
|
</table>
|
|
<br /></td>
|
|
<td valign="center" style="padding-bottom:50" align="right"><img height="236" src="static/images/rating/fr_15.jpg" width="128" border="0" /></td>
|
|
<td width="23" valign="top" background="static/images/rating/nnn21_03_1.jpg"> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000">
|
|
<tr>
|
|
<td width="100%" height="13" background="static/images/rating/sitebk_07.jpg"></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="middle" align="center"><NOBR><span class="style6">Бойцовский Клуб Возрождение <? echo date('Y', time()); ?> ©</span></NOBR></td>
|
|
</tr>
|
|
</table>
|
|
<script>
|
|
$(document).ready(function() {
|
|
$('#title').html('<h3>Рейтинг игроков по опыту</h3>');
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: 'fancy/type_rating.php',
|
|
data: "type=exp",
|
|
success: function(data) {
|
|
$('#conts').html(data);
|
|
}
|
|
});
|
|
});
|
|
|
|
function pageContent(search, t) {
|
|
var types = new Array('Рейтинг игроков по опыту', 'Рейтинг игроков по победам', 'Рейтинг игроков по проигрышам', 'Рейтинг игроков по ничьим');
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: 'fancy/type_rating.php',
|
|
data: "type="+search,
|
|
success: function(data) {
|
|
$('#title').html('<h3>'+types[t]+'</h3>');
|
|
$('#conts').html(data);
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|