-=[ Mr. Bumblebee ]=-
_Indonesia_
<?php
#######################################################
// skin file
#######################################################
$skins = $skin->skin ( array (
'frm' => 'FORM' ,
'rep' => 'REPEAT' ,
'none' => 'NONE' ,
) , $skinfile ) ;
#######################################################
// get data
#######################################################
$total['pagesize'] = 9 ;
$repeat = '' ;
$total = $exe->qry_list( " from tbl_{$total[table]}_point as mp " .
" where real_no = '{$numid}' order by numid desc " ,
" mp.numid , mp.write_date , mp.point , mp.contents , mp.totalpoint , ( select ordertitle from tbl_{$config[ODR][1]} where mp.order_no = numid or mp.ord_code = ordercode ) as ordertitle " , $total ) ;
while ( $rs = $exe->fetch( $total['execute'] )) {
$rs['recno'] = $total['recno'] ;
$total['recno']-- ;
$rs['write_date'] = explode( " " , $rs['write_date']) ;
$rs['date'] = $rs['write_date'][0] ;
$rs['point'] = number_format($rs['point']) ;
$rs['totalpoint'] = number_format($rs['totalpoint']) ;
$repeat.= str_foreach ( $rs , 'RS' , $skins['rep']) ;
}
// °Ô½Ã¹°ÀÌ Çϳªµµ ¾øÀ¸¸é
if ( $total['totalcount'] < 1 ) $repeat = $skins['none'] ;
#######################################################
// paging
#######################################################
$total = $exe->paging ( $total['cmnnb'] . '&mode=' . $total['mode'] , $total ) ;
#######################################################
// end
#######################################################
$result = str_foreach ( array ( 'repeat' => $repeat ) , 'INFO' , $skins['frm'] ) ;
?>
Copyright © 2017 || Recoded By Mr.Bumblebee