Просмотр файла dl/system/izv.php

Размер файла: 2.01Kb
<?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 *************************************#


include "config.php";
include "db.php";

$all_files = mysql_fetch_row(
mysql_query('SELECT COUNT(*) FROM `'.$MY_pre.'faili` WHERE `size` > 0'));

$new_all_files = mysql_fetch_row(
mysql_query('SELECT COUNT(*) FROM `'.$MY_pre.'faili` WHERE `timeupload` > '.(
$time-(86400*$setup['day_new'])).' AND `size` > 0'));

if($new_all_files[0]!=0){ 
$new_all = '/<font color="#00AF00">+'.(int)$new_all_files[0].'</font>';}else{ 
$new_all="";}

echo '('.(int)$all_files[0].''.$new_all.')<br>';

?>