-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/z_admin.bk.240724/php/gift/
File Upload :
Current File : /var/www/html/z_admin.bk.240724/php/gift/skn.list.php

<?php

# skin file
	$skins = $skin->skin ( array (
							 'frm'			=> 'FORM' ,
							 'rep'			=> 'REP'
						 ) , $skinfile ) ;
# get select data
if ( !empty($total['numid'])) {
	$info = $exe->qry_fetch(" from tbl_{$total[table]} where keycode='{$total[code]}' and numid = '{$total[numid]}' " , " * " ) ;
	if ( empty($info['numid'])) $numid = '' ;
	else {
		if ( !empty($info['img1'])) {
			$info['preview_image'] = '<img src="/files/' . $total['table'] . '/' . $total['options']['dir'] . '/' . $info['img1'] . '"/>' ;
			$info['del_img1'] = '<input type="checkbox" name="del_img1" value="Y"/> À̹ÌÁö »èÁ¦' ;
		}
		$info['btngroup'] = '<a href="javascript:fedit();"><img src="/img/admin/bt/bt_mo.gif"/></a> <a href="javascript:fdel();"><img src="/img/admin/bt/bt_del.gif"/></a>';
		$info['navi_class01'] = 't03' ;
		$info['navi_class02'] = 't02' ;
	}
} else {
	$info['gubun'] = 'A' ;
	$info['btngroup'] = '<a href="javascript:fadd();"><img src="/img/admin/bt/bt_add.gif"/></a>' ;
	$info['navi_class01'] = 't02' ;
	$info['navi_class02'] = 't03' ;
}
$info['hint'] = '°¡·Î : ' .$total['options']['w'] . '(px)<br>¼¼·Î : ' . $total['options']['h'] . '(px)';

# get list
$total['pagesize'] = 10 ;
$info['repeat'] = '' ;
$total = $exe->qry_list ( " from tbl_{$total[table]} where keycode='{$total[code]}' {$search_query[total]} order by seq desc " , " * " , $total ) ;
if ( $total['totalcount'] < 1 ) $info['repeat'] = '' ;
else {
	while ( $rs = $exe->fetch($total['execute'])) {
		$rs['img1'] = create_image( 'files/' . $total['table'] . '/' . $total['options']['dir'] . '/' . $rs['img1']) ;
		$rs['title'] = nl2br($rs['title']);
		$info['repeat'].= str_foreach ( $rs , 'RS' , $skins['rep'] ) ;
	}
}
# paging
	$total = $exe->paging( $total['cmnval'] . '&mode=' . $total['mode'] , $total ) ;

# end
	$result = str_foreach ( $info , 'INFO' , $skins['frm'] ) ;
?>

Copyright © 2017 || Recoded By Mr.Bumblebee