File size: 1.49Kb
<?php
require_once ("../includes/start.php");
require_once ("../includes/functions.php");
require_once ("../includes/header.php");
include_once ("../themes/".$config['themes']."/index.php");
require_once 'nast.php';
require_once 'shapka.php';
require_once 'func.php';
print $beginpage.$vydel;
$str=@$_GET['str'];
if($str=='xhtml')
{print 'Загрузки:<br/>';}
print $vydel1;
require 'rekl.php';
print $razd.' <a href="search.php?str='.$str.'">Поиск файлов</a><br/>'.$razd;
$file=file('sd.txt');
$page=intval(@$page);
$start=$page*$kolr;
$end=$start+$kolr;
$count=count($file);
if($count<$end)
{$end=$count;}
for($i=$start; $i<$end; $i++)
{
$j=explode('|',$file[$i]);
$c=countf($j[0],'load',$allfiler);
if(($c>0 or $pusto) and is_dir('load/'.$j[0]))
{
print '<a href="sd.php?sd='.$j[0].'&str='.$str.'">'.$j[1].'</a>('.$c.')<br/>';
if(trim(@$j[2]))
{print $j[2].'<br/>';}
}
}
if($end<$count)
{print '<a href="index.php?page='.($page+1).'&str='.$str.'">Далее</a><br/>';}
if($page>0)
{print '<a href="index.php?page='.($page-1).'&str='.$str.'">Назад</a><br/>';}
if($str=='xhtml')
{print $razd.'<a href="zakaz.php?str='.$str.'"><font color="green">Стол заказов</font></a><br/>';}
else
{print $razd.'<a href="zakaz.php?str='.$str.'">Стол заказов</a><br/>';}
print $razd;
include 'online.php';
//$onl_c->count_onl();
print $endpage;
include_once ("themes/".$config['themes']."/foot.php");
?>