-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/z_admin.bk.240724/php/xml/
File Upload :
Current File : /var/www/html/z_admin.bk.240724/php/xml/act.cate.php

<?php
	header("Content-type: text/xml; charset=UTF-8");
	function callback($buffer){
		return iconv("CP949","UTF-8",$buffer);
	}
	ob_start("callback");
# skin file
	$skins = $skin->skin (	array (
								'frm'		=> 'FORM' ,
								'rep'			=> 'REP' ,
							) , $skinfile ) ;

# get category
$repeat = '' ;
if ( isset($_GET['c2']) && isset($_GET['c1'])) {
	$_GET['c1'] = empty($_GET['c1']) || !is_numeric($_GET['c1']) ? 0 : intval($_GET['c1']) ;
	$_GET['c2'] = empty($_GET['c2']) || !is_numeric($_GET['c2']) ? 0 : intval($_GET['c2']) ;
	$execute = $exe->qry_one(" from tbl_{$config[SHP][1]}_category where c1_no = '{$_GET[c1]}' and c2_no = '{$_GET[c2]}' order by sequence asc " , " numid , title " ) ;
	while ( $rs = $exe->fetch($execute)) {
		$repeat.= str_foreach( array(
											'num'		=> $rs['numid'] ,
											'title'		=> $rs['title']
									  ) , 'RS' , $skins['rep'] ) ;
	}
}
elseif ( isset($_GET['c1'])) {
	$_GET['c1'] = empty($_GET['c1']) || !is_numeric($_GET['c1']) ? 0 : intval($_GET['c1']) ;
	foreach( $define_shop['ºÐ·ù'][$_GET['c1']][1] as $key=>$val ) {
		$repeat.= str_foreach( array(
											'num'		=> $key ,
											'title'		=> $val[0] ,
										//	'type'		=> $define_shop['ÁÖ¹®Æû'][$_GET['c1']][$key]
									  ) , 'RS' , $skins['rep'] ) ;
	}
}

$repeat.= empty($repeat) ? str_foreach( array(
																			'num'		=> '0' ,
																			'title'		=> 'MSG::µ¥ÀÌÅͰ¡ ¾ø½À´Ï´Ù' 
																	  ) , 'RS' , $skins['rep'] ) : '' ; 

echo str_foreach ( array( 'repeat' => $repeat ) , 'INFO' , $skins['frm'] ) ;
exit ;
?>

Copyright © 2017 || Recoded By Mr.Bumblebee