//Кол-во новых файлов в папке |
$new_all=""; |
$stime=$time-(3600*24*$setup['day_new']); |
//NOT USE//$new_all = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `files` WHERE `timeupload` > "'.$stime.'" AND `infolder` REGEXP "'.$file_info['path'].'*" AND `size` > "0";')); |
if($setup['day_new']!=0) $new_all = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `files` WHERE `timeupload` > "'.$stime.'" AND `infolder` LIKE "'.$file_info['path'].'%" AND `size` > "0";')); |
if($new_all[0] and $setup['day_new']!=0) $new_all = '<font color="red">+'.$new_all[0].'</font>'; else $new_all=""; |
//Всего файлов в папке |
//NOT USE//$allinfolder = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `files` WHERE `infolder` REGEXP "'.$file_info['path'].'*" AND `size` > "0";')); |
$allinfolder = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `files` WHERE `infolder` LIKE "'.$file_info['path'].'%" AND `size` > "0";')); |
$name = str_replace('*','',$file_info['name']); |
span style="color: #0000BB"><?phpcho mysql_result(mysql_query('SELECT COUNT(1) FROM `files` WHERE `infolder`="files/!Simbian_9.4" AND `size` > 0 LIMIT 1'), 0); |