-=[ Mr. Bumblebee ]=-
_Indonesia_
<?
if ( !isset($_GET['pos']) || empty($_GET['pos'])) script_close('À߸øµÈ Á¢±Ù');
if ( !isset($_GET['goods_no']) || empty($_GET['goods_no'])) script_close('À߸øµÈ Á¢±Ù');
$suburl = '' ;
$pos = intval($_GET['pos']) ;
if ( $pos < 1 || $pos > 14 ) script_close('À߸øµÈ Á¢±Ù:À¯È¿ÇÏÁö¾ÊÀº ÄÚµå');
$pos = str_pad( $pos , 2 , '0' , STR_PAD_LEFT ) ;
$grs = $exe->qry_fetch(" from tbl_{$total[table]}_item where numid = '{$_GET[goods_no]}' " , " p{$pos} as ptype , p{$pos}_no as pno ") ;
switch ( $grs['ptype']) {
case 'd' : script_close('À߸øµÈ Á¢±Ù:¼±ÅÃÇÒ ¼ö ¾ø´Â À§Ä¡ÀÔ´Ï´Ù');
case 'f' :
$option_conf = select_option_conf($_GET['pos']) ; // position -- (fix) e:emblem , s:sponsor , p:patch , n:number , t:teamname , i:initial
if ( $option_conf === false ) script_close('À߸øµÈ Á¢±Ù:À¯È¿ÇÏÁö¾ÊÀº ÄÚµå');
$nopt = empty($_GET['opt']) ? $option_conf[0] : $_GET['opt'] ;
break ;
case 'i' :
case 't' :
$option_conf[0] = $nopt = $grs['ptype'] ;
break ;
default : script_close('À߸øµÈ Á¢±Ù:ÀνÄÇÒ ¼ö ¾ø´Â Á¤º¸');
}
# skin file
$skins = $skin->skin ( array ( 'frm' => 'FORM' ) , $skinfile ) ;
$tabinfo['top_tabs'] = '' ;
foreach ( $option_conf as $v ) {
if ( $v == $nopt )
$tabinfo['top_tabs'] .= '<li><a href="javascript:;" onclick="change_option_tabgroup(this.children[0],\'' . $v . '\');"><img src="/img/shop_option/' . $options_code_img[$v] . '_o.gif" name="top_option_tabgroup"></a></li>' ;
else
$tabinfo['top_tabs'] .= '<li><a href="javascript:;" onclick="change_option_tabgroup(this.children[0],\'' . $v . '\');"><img src="/img/shop_option/' . $options_code_img[$v] . '.gif" name="top_option_tabgroup"></a></li>' ;
}
$tabinfo['nopt'] = $nopt ;
$tabinfo['pos'] = $_GET['pos'] ;
// ÇöÀç º¸¿©Áö´Â ¼±ÅÃâ(½ºÅ²)
$tabinfo['iframe'] = '/product/?code=' . $total['code'] . '&mode=design_' . $nopt . '&goods_no=' . $_GET['goods_no'] ;
$tabinfo['goods_no'] = $_GET['goods_no'] ;
$result = str_foreach ( $tabinfo , 'INFO' , $skins['frm'] ) . $result ;
?>
Copyright © 2017 || Recoded By Mr.Bumblebee