-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/product/php/gift/
File Upload :
Current File : /var/www/html/product/php/gift/skn.gift.php

<?
# skin file
	$skins = $skin->skin ( array ( 'frm' => 'FORM' , 'tr' => 'TR' ,  'td' => 'TD' ,  'n_td' => 'N TD' ,  '/tr' => '/TR' ) , $skinfile ) ;
	$col = 1 ;
	$ncd = 'GFT' ;
# skin file
	$execute = $exe->qry_one(" from tbl_{$config[$ncd][1]} where keycode='{$ncd}' {$search_query[total]} order by seq desc " , " img1 , title , numid " ) ;
	$rs = $exe->fetch($execute) ;
	$max_r = ceil(mysql_num_rows($execute)/$col ) ;
	for ( $i = 0 ; $i < $max_r ; $i++ ) {
		$rst.= $skins['tr'] ;
		for ( $j = 0 ; $j < $col ; $j++ ) {
			if ( empty($rs['numid'])) {
				$rst.= $skins['n_td'] ;
				continue ;
			}
			$rs['title'] = nl2br($rs['title']) ;
			$rs['title_js'] = str_convert(str_replace( chr(10) , '' , $rs['title']));
			$rs['img1src'] = '/files/' . $config[$ncd][1] . '/' . $config[$ncd][4]['dir'] . '/' . $rs['img1'] ;
			$rs['img1'] = !empty($rs['img1']) ? '<img src="/files/' . $config[$ncd][1] . '/' . $config[$ncd][4]['dir'] . '/' . $rs['img1'] . '"/>' : '' ;
			$rs['tdw'] = ceil(100/$col) ;
			$rs['w'] = $config[$ncd][4]['w'] ;
			$rs['h'] = $config[$ncd][4]['h'] ;
			$rst.= str_foreach ( $rs , 'RS' , $skins['td'] ) ;
			//--$rs = $exe->fetch($total['execute']) ;
			$rs = $exe->fetch($execute) ;
		}
		$rst.= $skins['/tr'] ;
		if ( empty($rs['numid'])) break ;
	}
	$result = str_foreach ( array('repeat' => $rst ) , 'INFO' , $skins['frm'] ) ;
	//--$total['blockpage'] = 5 ;
	//--$total = $exe->paging( $total['cmnval'] . '&mode=' . $total['mode'] . '&pos=' . $_GET['pos'] . '&opt=' . $nopt , $total ) ;

?>

Copyright © 2017 || Recoded By Mr.Bumblebee