-=[ Mr. Bumblebee ]=-
_Indonesia_
<?
exit ;
if ( false ) {
$fc = 0 ;
//$files = opendir($_SERVER['DOCUMENT_ROOT'] . '/files/goods'); // file count 3811
$files = opendir($_SERVER['DOCUMENT_ROOT'] . '/files/' . $total['options']['list_dir'] ); // 1348
while ($file = readdir($files)) {
if ($file == '.' || $file == '..') continue ;
if ( is_dir($file)) continue ;
$fc++ ;
}
echo $fc ;
exit ;
}
$s = 0 ;
$execute = $exe->qry_one(" from tbl_{$total[table]}_item order by numid asc limit 2849 , 500 " , " imglist , imgdetail ") ;
while ( $rs = $exe->fetch($execute )) {
$imglist = $rs['imglist'] ;
$o_file = $_SERVER['DOCUMENT_ROOT'] . '/files/goods/' . $imglist ;
if ( file_exists( $o_file )) {
$simg = new image ;
$simg->ext = '' ;
$simg->head = '' ;
$down_image_size = file_s_down ( 'files/goods/' . $imglist , $total['options']['list_w'] , $total['options']['list_h'] ) ;
$simg->width = $down_image_size['width'] ;
$simg->height = $down_image_size['height'] ;
$simg->file_path = 'files/goods' ;
$simg->thumb_path = 'files/' . $total['options']['list_dir'] ;
$simg->resize($imglist ) ;
$s++ ;
}
}
echo 's1 = ' . $s ;
exit ;
$s = 0 ;
$execute = $exe->qry_one(" from tbl_{$total[table]}_item order by numid asc limit 2000 , 500 " , " imglist , imgdetail ") ;
while ( $rs = $exe->fetch($execute )) {
$imglist = $rs['imglist'] ;
$o_file = $_SERVER['DOCUMENT_ROOT'] . '/files/goods/' . $imglist ;
$n_file = $_SERVER['DOCUMENT_ROOT'] . '/files/' . $total['options']['view_dir'] . '/' . $imglist ;
if ( file_exists( $o_file )) {
@copy( $o_file , $n_file ) ;
$s++ ;
}
}
echo 's1 = ' . $s ;
exit ;
?>
Copyright © 2017 || Recoded By Mr.Bumblebee