-=[ Mr. Bumblebee ]=-
_Indonesia_
<?
# skin file
$skins = $skin->skin ( array ( 'frm' => 'FORM' , 'tr' => 'TR' , 'td' => 'TD' , 'n_td' => 'N TD' , '/tr' => '/TR' ) , $skinfile ) ;
$col = 4 ;
$ncd = 'OT3' ;
# skin file
//--$max_r = 5 ;
//--$total['pagesize'] = $col*$max_r ;
//--$total = $exe->qry_list(" from tbl_{$total[table]}_options where keycode='{$ncd}' " . ( empty($total['fbox']) ? '' : " and gubun = '{$total[fbox]}' " ) . " order by seq desc " , " img1 , title , numid , price1 , price2 , price3 , gubun " , $total ) ;
//--$rs = $exe->fetch($total['execute']) ;
$execute = $exe->qry_one(" from tbl_{$config[$ncd][1]} where keycode='{$ncd}' {$search_query[total]} order by seq desc " , " img1 , title , numid , price1 , price2 , price3 , gubun " ) ;
$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['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['price1'] = number_format($rs['price1']) ;
$rs['title'].= ' (' . $config[$ncd][4]['gubun'][$rs['gubun']] . ')' ;
$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