Файл: 3020.ru/_modules/sz/index.php
Строк: 59
<?php
# author penny wise
# telegram @the_penny_wise
require_once ( $_SERVER['DOCUMENT_ROOT']."/_core/system.php" );
$title = domain.' - Зона Обмена. 18+, видео и другое на '.domain.'';
$description = $title;
$generator = $title;
$url = null;
require_once ( head );
echo '
<div class="mains">
<div class="lc_br wbg font0 relative oh" id="header_path">
<a href="/" style="font-size:0;">
<img src="'.ico.'home.png" alt="'.domain.'">
</a>
<span class="lc_brw">
<img src="'.ico.'sep.png" alt="'.domain.'" class="lc_br_sep">
<span class="lc_br_text">Зона обмена</span>
</span>
</span>
</div>
<div class="wrapper">
<table class="table__wrap table__links">
<tbody><tr>
<td class="table__cell" width="50%">
<a href="/files/search/" class="link -full grey c-grey ">
<span>
<img src="'.ico.'search.png " alt="Поиск" class="m">
<span class="m">Поиск файлов</span>
</span>
</a>
</td>
</tr>
</tbody>
</table>
</div>
<div class="wrapper">
';
$arr = array('','photos','videos','games','app','creation','gif','audio','music','themes','books','article','files','other');
$i = 0;
$cache = json_decode(cache::get_sz());
foreach ($cache as $data):
$i++;
if ($data->url != null):
echo '
<a class="link -full darkblue c-darkblue" href="/sz'.$data->url.'/">
<img src="'.ico.''.$arr[$i].'.png" class ="m" alt = "разделы">
<span class="m">'.$data->name.'</span>
<span class="m">(<span class=" grey c-grey">'.$data->cn.'</span>)</span>
</a>';
endif;
endforeach;
echo '
</div>
<div class="lc_br wbg font0 relative oh" style=" border-top: 1px solid #c0d0de;">
<a href="/" style="font-size:0;">
<img src="'.ico.'home.png" alt="'.domain.'">
</a>
<span class="lc_brw">
<img src="'.ico.'sep.png" alt="'.domain.'" class="lc_br_sep">
<span class="lc_br_text">Зона обмена</span>
</span>
</span>
</div>
';
require_once ( foot ) ;
?>