-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/z_admin.bk.240724/php/goods/
File Upload :
Current File : /var/www/html/z_admin.bk.240724/php/goods/skn.write.php

<?php
# skin file
	$skins = $skin->skin (	array (
								'frm'		=> 'FORM' ,
								'file'			=> 'FILE' ,
								'cate'		=> 'CATEGORY LIST' ,
								'mp'			=> 'M P SKIN'
							) , $skinfile ) ;

# set default data
	// common
	$info = array (
		'mode'					=> 'insert' ,
		// common
		//'orderypes'				=> '<script language="javascript"> _radiobutton(\'formtype\',ORDER_TYPES,\'M\',null,null,null,\' onclick="ft_change(this);"\'); </script>' ,
		'g_price_readonly'		=> 'readonly' , // MÀº ÆÇ¸Å°¡¸¦ ÀԷ¸øÇÔ.
		'sendinfo'				=> 'checked' ,
		'sizeinfo'					=> 'checked' ,
		'g_pointY'				=> 'checked' ,
		'g_pointN'				=> '' ,
		'setpoint'				=> ($define_shop_point_p*100) . '%' ,
		'selecticons_list'		=> script_array( $define_shop_icons ) ,
		'mainview_list'		=> script_array( $define_shop['¸ÞÀÎ'] , 1 ) ,
		'salestate'				=> '1' ,
		'salestate_list'			=> script_array( $define_shop['»óÅÂ'] , 1 ) ,
		'openstate'				=> 'Y' ,
		'openstate_list'		=> script_array( $define_shop['°ø°³'] , 1 ) ,
		'set_option_listW'	=> $total['options']['list_w'] ,
		'set_option_listH'	=> $total['options']['list_h'] ,
		// type option
		'v__options_M'		=> 'display:;' ,
		'v__options_S'		=> 'display:none;' ,
		'v__options_T'		=> 'display:none;' ,
		'v__options_Q'		=> 'display:none;' ,
		'v__options_A'		=> 'display:none;' ,
		'formtype_m'		=> ' onclick="ft_change(this);" checked' ,
		'formtype_t'		=> ' onclick="ft_change(this);"' ,
		'formtype_s'		=> ' onclick="ft_change(this);"' ,
		'formtype_q'		=> ' onclick="ft_change(this);"' ,
		'formtype_a'		=> ' onclick="ft_change(this);"' ,
		// type A
		'A_armL'				=> 'checked' ,
		'A_armS'				=> 'checked' ,
		'a_size85'				=> 'checked' ,
		'a_size90'				=> 'checked' ,
		'a_size95'				=> 'checked' ,
		'a_size100'			=> 'checked' ,
		'a_size105'			=> 'checked' ,
		'a_size110'			=> 'checked' ,
		'A_numberfontprice1_c'		=> '300' ,
		'A_numberfontprice2_c'		=> '700' ,
		'A_numberfontprice3_c'		=> '300' ,
		'A_initialprice_c'		=> '1500' ,
		'A_archprice_c'			=> '1000' ,
		'A_numberfontprice1_s'		=> '600' ,
		'A_numberfontprice2_s'		=> '1400' ,
		'A_numberfontprice3_s'		=> '600' ,
		'A_initialprice_s'		=> '3000' ,
		'A_archprice_s'			=> '1000' ,
		'A_charptype_CHAR'		=> 'checked' ,
		'A_charitype_INPUT'		=> 'checked' ,
		'A_useservicetype'		=> 'checked' ,
		'A_charsprintprice_c'		=> '5000' ,
		'A_charsprintprice_s'		=> '10000' ,
		// type M
		'M_topstate'			=> 'checked' ,
		'M_botstate'			=> 'checked' ,
		'M_armL'				=> 'checked' ,
		'M_armS'				=> 'checked' ,
		'm_size85'				=> 'checked' ,
		'm_size90'				=> 'checked' ,
		'm_size95'				=> 'checked' ,
		'm_size100'			=> 'checked' ,
		'm_size105'			=> 'checked' ,
		'm_size110'			=> 'checked' ,
		'M_printpos1text'	=> 'ÀÌ »óǰÀº ¡°¾Õ¹øÈ£¡±°¡ ±âº» Á¦°øµÇÁö ¾Ê°í, ¡°¾Õ¹øÈ£¡± ¼±Åà ½Ã Ãß°¡ ºñ¿ëÀÌ ¹ß»ýµË´Ï´Ù.' ,
		// teamname
		'M_tntypeF'			=> 'checked' ,
		'M_tntypeFprice'		=> '2000' ,
		'M_teamarch'			=> '1000' ,
		// initial
		'M_initial_kr_c'		=> '2000' ,
		'M_initial_kr_s'		=> '4000' ,
		'M_initial_en_c'		=> '2000' ,
		'M_initial_en_s'		=> '4000' ,
		'M_initial_arch'		=> '1000' ,
		'M_stocking_sale'	=> 'checked' ,
		'M_stocking_price'=> '2000' ,
		'M_useservicetype'	=> 'checked' ,
		// type T
		'T_tntypeO'				=> 'checked' ,
		'T_tntypeOprice'	=> '300' ,
		'T_teamarch'			=> '1000' ,
		'T_tnposition01'		=> 'checked'
	) ;
	// category
	foreach( $define_shop['ºÐ·ù'] as $key=>$val ) {
		$info['d1_category'] .= '<option value="' . $key . '">' . $val[0] . '</option>' ;
	}
	// brand
	$brand = $exe->qry_one(" from tbl_{$total[table]}_brand order by sequence asc " , " numid , title " ) ;
	$info['brand_list'] = '' ;
	while ( $rs = $exe->fetch($brand)) {
		$info['brand_list']  .= '<option value="' . $rs['numid'] . '">' . $rs['title'] . '</option>' ;
	}
	// contents
	$EDITOR = createTextEditor();
	$EDITOR->Value      = '' ;
	$info['contents'] = $EDITOR->Create();
	// attach files
	$info['frm_file'] = str_foreach ( array ( 'nowsize' => 0 , 'temp_code' => time() . str_rand(10) , 'filelist' => '' ) , 'INFO' , $skins['file'] ) ;
	// form types
	for ( $i = 1 ; $i <= 14 ; $i++ ) {
		$pos = str_pad( $i , 2 , '0' , STR_PAD_LEFT ) ;
		$info['M_p' . $pos] = str_foreach( array(
															'pos'			=> $pos ,			// À§Ä¡°ª
															'posname'	=> $position_seq_title[$pos] ,
															'state'			=> 'checked' ,		// ±¸¸Å°¡´É(ºñ¼±Åýà ±¸¸ÅºÒ°¡)
															'type'			=> '' ,					// ¼±Åúзù¸í(¿¥ºí·½ µî)
															'img'			=> '' ,					// ¿É¼ÇÀ̹ÌÁö(¼±ÅÃµÈ ¿¥ºí·½)
															'title'			=> '' ,					// ¿É¼Ç¸í
															'sale_FR'		=> 'checked' ,		// ¼±ÅÃÆÇ¸Å
															'sale_FX'		=> '' ,				// °íÁ¤
															'code'			=> '' ,					// ¼±ÅÃÇÑ ºÐ·ùÄÚµå
															'num'			=> ''					// ¼±ÅÃÇÑ ¿É¼Ç °íÀ¯¹øÈ£
													    ) , 'RS' , $skins['mp'] ) ;
	}

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

# hint
	foreach ( $act_hint as $k=>$v) { $hint[$k] = $v ; }
?>

Copyright © 2017 || Recoded By Mr.Bumblebee