File size: 2.21Kb
<?php
session_name('zagruz');
session_start();
///--Функция обработки данных--///
function del($int){
$int = htmlspecialchars($int);
$int = stripslashes($int);
$int = trim($int);
$int = mysql_escape_string($int);
return $int;
}
//----------
include ('inc/config.inc.php.php');
//----------
connect_to_db();
//////////////////////////////////////////
///////////////////////////////////////
include 'urls.inc.php';
if($url==0){
header("Location: index.php?url=1");//--Проверка на 0
}
$_SESSION['zagruz']=$url;
//----------
include 'inc/functions.php';//функции сервиса
if(empty($v_id['id'])){
header('Location: /index.php?y=1');
exit;
}
$t=$v_id['title'];
$title = $t;
include_once 'header.php';
echo $head;
echo $class_1.'» <a href="http://'.del($v_id['reklama']).'">'.del($v_id['nazvanie1']).'</a><br/>'.$class_divz;
echo $class_1;
if($v_id['kat']==1){echo 'Мелодии<br/>';}
if($v_id['kat']==2){echo 'Игры+Приложения<br/>';}
if($v_id['kat']==3){echo 'Темы<br/>';}
if($v_id['kat']==4){echo 'Картинки+Анимации <br/>';}
if($v_id['kat']==5){echo 'Библиотека разделы<br/>';}
if($v_id['kat']==6){echo 'Видео <br/>';}
echo $class_divz;
echo $class_2;
include 'upload/'.intval($v_id['kat']).'/index.php';
echo $class_divz;
$NAZVANIE2 = $v_id['nazvanie2'];
echo $class_1.'<a href="http://'.del($v_id['reklama2']).'">'.del($NAZVANIE2).'</a><br/>'.$class_divz;
$SITE = $v_id['site'];
echo $class_1.'» <a href="http://'.del($SITE).'">'.del(strtoupper($SITE)).'</a><br/>'.$class_divz;
echo $class_1.'» <a href="register.php?url='.$url.'&fag=1&'.session_name().'='.session_id().'">Сервис</a>'.$class_divz;
/////////////////////////
$linc = $v_id['link'];
$images = $v_id['img'];
echo $class_1.'<a href="http://waplog.net/ru/c.shtml?53716"><img src="http://c.waplog.net/ru/53716.cnt" alt="waplog" /></a>';
if($linc!=0 && $images!=0){
echo '<a href="http://'.del($linc).'"><img src="http://'.addslashes(htmlspecialchars($images)).'" alt="+" /></a>';}
/////////////////////////
echo $class_divz;
echo $class_end;
/////////////////////
///////////////////
?>