View file loads/css/foot.php

File size: 1.35Kb
<?php

if(!empty($_SESSION['ssort']) && $_SESSION['ssort']=='dwns'){ $sorti = 'популярность'; }
if(!empty($_SESSION['ssort']) && $_SESSION['ssort']=='time'){ $sorti = 'время'; }
if(!empty($_SESSION['ssort']) && $_SESSION['ssort']=='ves'){ $sorti = 'вес'; }
if(!empty($_SESSION['ssort']) && $_SESSION['ssort']=='name'){ $sorti = 'имя'; }

if(!empty($_SESSION['ssort'])){ $_SESSION['ssort'] = $_SESSION['ssort']; }else{ $_SESSION['ssort'] = 'time';  $sorti = 'время'; }

echo'<br></div><div class="kletka">
<a href="/loads/extra/search.php">Поиск</a><br><a href="/loads/extra/stat.php">Статистика</a><br><a href="/loads/extra/last.php">Последние файлы</a>

<br>Сорт-ть по: <a href="/loads/?sort=name">имени</a> | <a href="/loads/?sort=ves">весу</a> | <a href="/loads/?sort=time">времени</a> | <a href="/loads/?sort=dwns">популярности</a> ('.check($sorti).')

</div><div class="kletka">
<a href="/?">На главную</a> | <a href="/loads/index.php">В начало</a>';
if($session==1){ echo' | <a href="/loads/'.$_cnf_['x'].'">Config</a>'; }

echo'<br><b>'.$_cnf_['y'].'</b>';

list($msec, $sec) = explode(chr(32), microtime()); 
echo '<br>'.round(($sec + $msec) - $time, 3).' сек.';

echo'</div></body></html>';

// if(!empty($_SESSION['user_name'])){
?>