51 lines
1.1 KiB
PHP
51 lines
1.1 KiB
PHP
<?
|
|
$lib = array(
|
|
'html' => '',
|
|
'px' => 200
|
|
);
|
|
|
|
$rz = 1;
|
|
|
|
if ($url[2] == 'referal') {
|
|
$rz = 2;
|
|
}elseif($url[2] == 'clans') {
|
|
$rz = 3;
|
|
}
|
|
|
|
if( $rz == 1 ) {
|
|
$lib['html'] .= '<span class="top-title-sel">Ðåéòèíã âîèíîâ</span>';
|
|
}else{
|
|
$lib['html'] .= '<a href="https://new-combats.com/top/warriors/" class="top-title">Ðåéòèíã âîèíîâ</a>';
|
|
}
|
|
|
|
if( $rz == 2 ) {
|
|
$lib['html'] .= '<span class="top-title-sel">Ðåéòèíã ðåôåðàëîâ</span>';
|
|
}else{
|
|
$lib['html'] .= '<a href="https://new-combats.com/top/referal/" class="top-title">Ðåéòèíã ðåôåðàëîâ</a>';
|
|
}
|
|
|
|
if( $rz == 3 ) {
|
|
$lib['html'] .= '<span class="top-title-sel">Ðåéòèíã êëàíîâ</span>';
|
|
}else{
|
|
$lib['html'] .= '<a href="https://new-combats.com/top/clans/" class="top-title">Ðåéòèíã êëàíîâ</a>';
|
|
}
|
|
|
|
|
|
$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>
|