-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/z_admin_cashtest/php/emblem/
File Upload :
Current File : /var/www/html/z_admin_cashtest/php/emblem/skn.list.php

<?php

# skin file
	$skins = $skin->skin ( array (
							 'frm'			=> 'FORM' ,
							 'tr'			=> 'TR' ,
							 'td'			=> 'TD' ,
							 'ntd'			=> 'N TD' ,
							 '/tr'			=> '/TR'
						 ) , $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
$wp = floor(100 / $col) . '%' ;
$total['pagesize'] = $col * $row ;
$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'] > 0 ) {
	$rs = $exe->fetch($total['execute']) ;
	for ( $i = 0 ; $i < $row ; $i++ ) {
		$info['repeat'].= $skins['tr'] ;
		for ( $j = 0 ; $j < $col ; $j++ ) {
			if ( empty($rs['numid'])) {
				$info['repeat'].= str_foreach( array('wp' => $wp ) , 'RS' , $skins['ntd'] ) ;
				continue ;
			}
			$rs['img1'] = create_image( 'files/' . $total['table'] . '/' . $total['options']['dir'] . '/' . $rs['img1']) ;
			$rs['gubun'] = $total['options']['gubun'][$rs['gubun']] ;
			$rs['price1'] = number_format($rs['price1']);
			$rs['wp'] = $wp ;
			$info['repeat'].= str_foreach ( $rs , 'RS' , $skins['td'] ) ;
			$rs = $exe->fetch($total['execute']) ;
		}
		$info['repeat'].= $skins['/tr'] ;
		if ( empty($rs['numid'])) break ;
	}
}
# paging
	$total = $exe->paging( $total['cmnval'] . '&mode=' . $total['mode'] , $total ) ;

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

	$hint['img'] = '
		* ¿øº»À̹ÌÁö´Â ¾÷·ÎµåµÇÁö¾Ê½À´Ï´Ù.<br>
		µî·Ï/¼öÁ¤½Ã ' . $total['options']['w'] . '<span class="ssf">(px)</span> ¡¿ ' . $total['options']['h'] . '<span class="ssf">(px)</span> ¿¡ ¸Â°Ô ¾÷·ÎµåµË´Ï´Ù.<br>
	' ;
?>

Copyright © 2017 || Recoded By Mr.Bumblebee