-=[ Mr. Bumblebee ]=-
_Indonesia_

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

<?php

# skin file
	$skins = $skin->skin ( array (
								'frm'			=> 'FORM' ,
								'rep'			=> 'REPEAT' ,
								'none'		=> 'NONE'
							) , $skinfile ) ;

	$searchQuery = array();
	if ( $total['styp'] == 'search' ) {
		$total['sbox'] = trim($total['sbox']);
		$searchQuery[] = " if(t1.now_state = '½Åû¿Ï·á' , t2.oname , t1.buyr_name ) like '%{$total[sbox]}%' " ;
		$searchQuery[] = " if(t1.now_state = '½Åû¿Ï·á' , t2.oemail , t1.buyr_mail ) like '%{$total[sbox]}%' " ;
		$searchQuery[] = " if(t1.now_state = '½Åû¿Ï·á' , t2.ohp , t1.buyr_tel1 ) like '%{$total[sbox]}%' " ;
		$searchQuery[] = " t1.cash_no like '%{$total[sbox]}%' " ;
		$searchQuery[] = " t1.receipt_no like '%{$total[sbox]}%' " ;
	}

# get data
	$repeat = '' ;
	$total = $exe->qry_list ( " from tbl_{$total[table]} as t1
		left outer join tbl_{$config[ODR][1]} as t2 on t1.ordr_no = t2.numid " .
		( count($searchQuery) > 0 ? " where " . implode( " or " , $searchQuery ) : '' ) .
		" order by t1.numid desc " , " t1.* , t2.oname , t2.ordertitle , t2.ohp , t2.result_price , t2.apply_cashhp , t2.apply_cashname " , $total ) ;
	while ( $rs = $exe->fetch ( $total['execute'] ))
	{
		$o_rs = $rs ;
		$rs['recno'] = $total['recno'] ;
		$total['recno']-- ;
		$rs['res_cd'] = $o_rs['res_cd'] != '0000' ? '½ÇÆÐ' : 'Á¤»ó' ;
		$rs['cash_no_1'] = $rs['cash_no'];
		$rs['amt_tot_1'] = $rs['amt_tot'];
		if ( $rs['now_state'] == '½Åû¿Ï·á' ) {
			$o_rs['amt_tot'] = intval($o_rs['result_price']) ;
			$rs['buyr_name'] = $o_rs['oname'] ;
			$rs['good_name'] = str_replace( array( ',' , '&' , ';' ,  "\\" , '|' , '\'' ,  '"' ,  '<' ) , '' , $o_rs['ordertitle'] ) ;
			$rs['buyr_tel1'] = $o_rs['ohp'] ;
			$rs['cash_no'] = '<div style="color:red">ÁÖ¹®½Ã Çö±Ý¿µ¼öÁõ ¹ß±Þ ½Åû <br />( H.P : ' . $o_rs['apply_cashhp'] . ' , À̸§ : ' . $o_rs['apply_cashname'] . ' )</div>' ;
			$rs['res_cd'] = '¹Ì¹ß±Þ' ;
		}
		$rs['amt_tot'] = number_format($o_rs['amt_tot']);
		$rs['w_link'] = $total['cmnall'] . ( $o_rs['now_state'] == '½Åû¿Ï·á' ? '&mode=write&ono=' . $o_rs['ordr_no'] : '&mode=modify&numid=' . $o_rs['numid'] ) ;
		$repeat.= str_foreach ( $rs , 'RS' , $skins['rep'] ) ;
	}
	if ( $total['totalcount'] < 1 ) $repeat = $skins['none'] ;
	$total = $exe->paging( $total['cmnval'] . '&mode=' . $total['mode'] , $total ) ;

	$info['repeat'] = $repeat ;

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

?>

Copyright © 2017 || Recoded By Mr.Bumblebee