-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/z_product.bk.230817/php/cart/
File Upload :
Current File : /var/www/html/z_product.bk.230817/php/cart/skn.modify_T.php

<?
// parent :: skn.view.php 
// formtype = T
	$d_skins = $skin->skin ( array ( 'frm' => 'FORM' ) , $skinfile ) ;
	
	$d_info = array(
		'opt_use'				=> ( $info['team_ustate'] == 'Y' ? 'Y' : 'N' ) ,
		'tn_type'				=>  ( $info['teamtype'] == 'O' ? 'O' : 'F' ) ,
		'tn_o_price'			=> intval($info['team_o_price']) ,
		'tn_f_price'			=> intval($info['team_f_price']) , 
		'tn_arch'				=> intval($info['team_arch']) , 
		'teamname'		=> ''
	) ;
	
	if ( $info['team_ustate'] == 'Y' ) {
		$d_info['teamname'] .= '<b>ÆÀ¸í : </b>  <input type="text" name="s_tn" value="' . $info['tn_text'] . '" size="10" onkeyup="get__sumprice1()"> ' ; 
		$d_info['teamname'] .= '(' . ( $info['teamtype'] == 'O' ? ' ÀÚ´ç ' . number_format($info['team_o_price']) . '¿ø' :  ' °íÁ¤ ' . number_format($info['team_f_price']) . '¿ø' ) . ')' ; 
		$d_info['teamname'] .= '&nbsp;&nbsp;<input type="checkbox" value="Y" name="s_arch" ' . ( $info['tn_arch'] == 'Y' ? 'checked' : '' ) . ' onclick="get__sumprice1()"> ¾ÆÄ¡Çü ' ;
		$pos_data = '&nbsp;&nbsp;&nbsp;&nbsp;' ; 
		foreach ( $team_name_position as $k=>$v) {
			$pos_data .= '<input type="radio" name="s_pos" value="' . $k . '" ' . ( $k == $info['tn_pos'] ? 'checked' : '' ) . ' onclick="get__sumprice1()"> ' . $v . '&nbsp;&nbsp;' ;
		} 
		$d_info['teamname'] .= $pos_data ; 
	}
	
	// size 
	$szinfo = array() ; 											  	
	$szexe = $exe->qry_one( " from {$tblCartStk} as ctsk where cart_no = '{$cart_no}' order by numid asc " , 
											   " nm , qry " ) ;
	while ( $szrs = $exe->fetch($szexe)) {
		$szinfo[$szrs['nm']] = $szrs['qry'] ;
	}
	$selectsizes = explode( ',' , $info['selectsizes'] ) ;		
	$frm_sizetitle = '' ; 
	$frm_sizeqry = '' ;  
	foreach ( $selectsizes as $k => $v ) {
		$frm_sizetitle.= '<th><input type="hidden" name="s_tit[]" value="' . $v . '">' . $v . '</th>' ; 
		$frm_sizeqry.= '<td><input type="text" name="s_qry[]" value="' . ( !empty($szinfo[$v]) ? $szinfo[$v] : '' ) . '" size="4" onkeyup="get__sumprice1()" onkeydown="get__sumprice1()"></td>' ; 
	} 
	
	$d_info['frm_sizeqry'] = $frm_sizeqry ;
	$d_info['frm_sizetitle'] = $frm_sizetitle ;
	
	$info['frm_order'] = str_foreach ( $d_info , 'DINFO' , $d_skins['frm'] ) ; 
	
?>	

Copyright © 2017 || Recoded By Mr.Bumblebee