Файл: zc/load.php
Строк: 41
<?
include_once '../sys/inc/start.php';
include_once '../sys/inc/compress.php';
include_once '../sys/inc/sess.php';
include_once '../sys/inc/home.php';
include_once '../sys/inc/settings.php';
include_once '../sys/inc/db_connect.php';
include_once '../sys/inc/ipua.php';
include_once '../sys/inc/fnc.php';
include_once '../sys/inc/user.php';
include_once '../sys/inc/thead.php';
title();
aut();
err();
$load = mysql_fetch_assoc(mysql_query("SELECT * FROM `zc` WHERE `id` = '".intval($_GET['id'])."'"));
$loader = $load['url'];
if(isset($load['url'])) {
mysql_query("UPDATE `zc` SET `loads` = '".$load['loads']."'+1 WHERE `id`= '".intval($_GET['id'])."'");
header("Location: $loader".SID);
}else {
echo '<div class="err"> Ошибка скачивания! </div>';
}
include_once '../sys/inc/tfoot.php';
?>