Размер файла: 3.23Kb
<?php
#********************************** AgS MOD DOWNLOAD CENTR SEA *************************************#
#***************************************************************************************************#
# /||||||||||||||| ********************* /||||||||||||||| ********************* /||||||||||||||| #
# | ||||||||||||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# | |||||/////||||| ********************* | |||||///////// ********************* | |||||///////// #
# | ||||| | ||||| ****** E-MAIL ******* | ||||| ****** WAP/WEB ****** | ||||| #
# | ||||| | ||||| *** [email protected] *** | ||||| * http://ags.h2m.ru * | ||||||||||||||| #
# | ||||| | ||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# | ||||| | ||||| ********************* | |||||/////||||| ********************* |///////////||||| #
# | ||||||||||||||| ****** SKYPE ******** | ||||| | ||||| ***** MOD AUTHOR **** | ||||| #
# | |||||////|||||| ***** agrizz15 ****** | ||||| | ||||| ***** Agris Cišs **** /||||||||||||||| #
# | ||||| | ||||| ********************* | ||||||||||||||| ********************* | ||||||||||||||| #
# |///// |///// ********************* |/////////////// ********************* |/////////////// #
#***************************************************************************************************#
#********************************* MOD by AgS in 2010 @ LATVIA *************************************#
require_once"system/start.php";
require_once"system/config.php";
require_once"system/db.php";
require_once"system/head.php";
require_once"lng/$setup[lng]/lng.php";
require_once"system/functions.php";
require_once"system/cookies.php";
require_once"system/counter.php";
include_once"thm/$setup[thm]/index.php";
include_once"system/msg.php";
/* Pārbaudam vai statistika ieslēgta */
if($setup['stat_change']){
/* Kopējā svara iegūšana no DB */
$all_size = mysql_fetch_row(mysql_query('SELECT SUM(`size`) FROM `'.$MY_pre.'faili` WHERE `size` > 0'));
/* Visi faili no DB */
$all_files = mysql_fetch_row(mysql_query('SELECT COUNT(*) FROM `'.$MY_pre.'faili` WHERE `size` > 0'));
/* Visi kačājumi */
$all_loads = mysql_fetch_row(mysql_query('SELECT SUM(`loads`) FROM `'.$MY_pre.'faili` WHERE `size` > 0'));
/* Visas jaunās ielādes */
$new_all_files = mysql_fetch_row(mysql_query('SELECT COUNT(*) FROM `'.$MY_pre.'faili` WHERE `timeupload` > '.($time-(86400*$setup['day_new'])).' AND `size` > 0'));
/* Statistikas izvade */
echo '<img src="pic/main/head.gif" alt=""><b>'.sys_stat.'</b><br><br>';
echo '<b>'.sys_allfil.':</b> '.(int)$all_files[0].'<br>';
echo '<b>'.sys_allfilnew.':</b> '.(int)$new_all_files[0].'<br>';
echo '<b>'.sys_allfildw.':</b> '.(int)$all_loads[0].'<br>';
echo '<b>'.sys_allfilweig.':</b> '.izmers($all_size[0]).'<br>';
echo '<b>MAX ONLINE:</b> '.$max_onlinen[0].'<br><br>';
echo '<img src="pic/main/dot.gif" alt=""> <a href="index.php?'.SID.'">'.sys_dl.'</a><br>';
echo '<img src="pic/main/home.gif" alt=""> <a href="'.$setup['home'].'/?'.SID.'">'.sys_home.'</a><br>';
} else { header ("Location: index.php?sayer=404&".SID); exit;}
include_once'thm/$setup[thm]/foot.php';
?>