-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/html/php/board/
File Upload :
Current File : /var/www/html/html/php/board/skn.write.php

<?php

# approve
	if ( $total['loginlevel'] < $config[$total['code']][4]['level'] || $total['loginlevel'] > $config[$total['code']][4]['maxlevel'] )
		script_re( $total['cmnall'] , ' ±ÇÇÑÀÌ ¾ø½À´Ï´Ù. ' ) ;

# skin file
	$skins = $skin->skin (	array (
											'frm'			=> 'FORM' ,
											'rec'			=> 'RECORD' ,
											'sec'			=> 'SECRET' ,
											'file'			=> 'FILE' ,
											'slt'			=> 'SELECT' ,
											'hed'			=> 'HEAD' ,
											'mov'			=> 'MOVIE' ,
										) , $skinfile ) ;

# get data
	$info['mode'] = 'insert' ;
	$info['text_type'] = 'htxt' ;

	if ( $config[$total['code']][4]['WYSIWYG'] == 'on' ) $info['text_type'] = 'html' ;

	$EDITOR = createTextEditor();
	$EDITOR->Value      = $total['code'] == 'B12' ? '<p><img src="/img/order_em.jpg"></p><br>' : '&nbsp;' ;
	$info['contents'] = $EDITOR->Create();

# use record
	if ( $config[$total['code']][4]['record'] == 'on' && $config[$total['code']][4]['record_level'] <= $total['loginlevel'] ) $info['frm_record'] = str_foreach ( array ( 'record_type' => 'N' ) , 'INFO' , $skins['rec'] ) ;

# use secret
	if ( $config[$total['code']][4]['secret'] == 'on' ) $info['frm_secret'] = str_foreach ( array ( 'secret_type' => ( $total['code'] == 'B02' || $total['code'] == 'B08' || $total['code'] == 'B10' || $total['code'] == 'B09' ? 'checked' : '' )) , 'INFO' , $skins['sec'] ) ;

# use file upload
	if ( $config[$total['code']][4]['file'] == 'on' )
	{
		$info['frm_file'] = str_foreach ( array ( 'nowsize' => 0 , 'temp_code' => time() . str_rand(10) , 'filelist' => '' ) , 'INFO' , $skins['file'] ) ;
	}

# movie
	if ( $config[$total['code']][4]['movie'] == 'on' )
	{
		$info['enctype'] = ' enctype="multipart/form-data" ' ;
		$info['frm_movie'] = str_foreach ( array ( 'mov_image'	=> '' , 'mov_video'	=> '' ) , 'INFO' , $skins['mov'] ) ;
	}

# use head
	if ( $config[$total['code']][4]['head'] == 'on' )
	{
		$info['frm_head'] = str_foreach ( array ( 'hd_type' => $config[$total['code']][4]['hd_type'] ,
												  'hd_name' => $config[$total['code']][4]['hd_name'] ,
												  'hd_required' => ( $config[$total['code']][4]['hd_required'] == 'on')?' required emsg=" ºÐ·ù¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä "':'' ,
												  'head_numid' => '' ) , 'INFO' , $skins['hed'] ) ;
	}

# ÀÚµ¿µî·Ï¹æÁö
	$info['scode'] = str_rand(7,'A1') ;
	$info['frm__autoWD'] = '
			<a href="javascript:;"><img src="/inc/file/secretcode.php?w=140&h=30&scode=' . $info['scode'] . '" onclick="changeSCcode(this);"></a>
			&nbsp;&nbsp;&nbsp;&nbsp;¿ÞÂÊ À̹ÌÁö¸¦ º¸ÀÌ´Â ´ë·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.  <input type="text" name="incode" value="" style="width:80px;" class="form">
	' ;

# end
	$info['name'] = $total['loginname'] ;

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

?>

Copyright © 2017 || Recoded By Mr.Bumblebee