2022-12-30 19:03:37 +00:00
|
|
|
<?
|
|
|
|
$lib = array(
|
|
|
|
'html' => '',
|
|
|
|
'px' => 200
|
|
|
|
);
|
|
|
|
|
|
|
|
$rz = 1;
|
|
|
|
|
|
|
|
if ($url[2] == 'referal') {
|
|
|
|
$rz = 2;
|
|
|
|
}elseif($url[2] == 'clans') {
|
|
|
|
$rz = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
if( $rz == 1 ) {
|
2023-01-10 16:29:32 +00:00
|
|
|
$lib['html'] .= '<span class="top-title-sel">Рейтинг воинов</span>';
|
2022-12-30 19:03:37 +00:00
|
|
|
}else{
|
2023-01-10 16:29:32 +00:00
|
|
|
$lib['html'] .= '<a href="https://new-combats.com/top/warriors/" class="top-title">Рейтинг воинов</a>';
|
2022-12-30 19:03:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if( $rz == 2 ) {
|
2023-01-10 16:29:32 +00:00
|
|
|
$lib['html'] .= '<span class="top-title-sel">Рейтинг рефералов</span>';
|
2022-12-30 19:03:37 +00:00
|
|
|
}else{
|
2023-01-10 16:29:32 +00:00
|
|
|
$lib['html'] .= '<a href="https://new-combats.com/top/referal/" class="top-title">Рейтинг рефералов</a>';
|
2022-12-30 19:03:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if( $rz == 3 ) {
|
2023-01-10 16:29:32 +00:00
|
|
|
$lib['html'] .= '<span class="top-title-sel">Рейтинг кланов</span>';
|
2022-12-30 19:03:37 +00:00
|
|
|
}else{
|
2023-01-10 16:29:32 +00:00
|
|
|
$lib['html'] .= '<a href="https://new-combats.com/top/clans/" class="top-title">Рейтинг кланов</a>';
|
2022-12-30 19:03:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$lib['px'] += 23*2;
|
|
|
|
|
|
|
|
?>
|
|
|
|
<div class="lib-ground" style="height:<?=$lib['px']?>px">
|
|
|
|
<div class="lib-zero">
|
|
|
|
<div class="lib-one">
|
|
|
|
<div class="top-two">
|
|
|
|
<div class="top-three">
|
|
|
|
<div class="lib-home">
|
|
|
|
<div class="top-bg">
|
|
|
|
<?=$lib['html']?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|