-=[ Mr. Bumblebee ]=-
_Indonesia_

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

<?php

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

# skin file
	$skins = $skin->skin (	array (
								'frm'			=> 'FORM' ,
								'sub_tit'		=> 'SUB TITLE' ,
								'm_img'			=> 'TITLE IMAGE' ,
								'rec'			=> 'RECORD' ,
								'sec'			=> 'SECRET' ,
								'file'			=> 'FILE' ,
								'slt'			=> 'SELECT' ,
								'hed'			=> 'HEAD' ,
								'cate'			=> 'CATEGORY' ,
								'mov'			=> 'MOVIE' ,
							#	'preview'		=> 'PREVIEW' ,
							) , $skinfile ) ;

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

	if ( $total['options']['WYSIWYG'] != 'off' ) {
		$EDITOR = createTextEditor() ;
		$EDITOR->Value      = '' ;
		$info['contents'] = $EDITOR->Create();
	}
	$info['text_type'] = $text_type ;

########################################################
// use preview image
########################################################
/*
	if ( $total['options']['preview'] == 'on' ) {
		$info['enctype'] = ' enctype="multipart/form-data" ' ;
		$info['frm_preview'] = str_foreach ( array (
												'del_preview'	=> '' ,
												'size_w'		=> $info_thumb['width'] ,
												'size_h'		=> $info_thumb['height'] ,
											 ) , 'INFO' , $skins['preview'] ) ;
	}
*/
########################################################
// use sub title
########################################################

	if ( $total['options']['sub_title'] == 'on' )
		$info['frm_subtitle'] = str_foreach ( array ( 'title_s' => '' ) , 'INFO' , $skins['sub_tit'] ) ;

########################################################
// use title(special) image
########################################################

	if ( $total['options']['title_image'] == 'on' )
	{
		$info['enctype'] = ' enctype="multipart/form-data" ' ;
		$info['frm_titleimage'] = str_foreach ( array ( 'main_image' => '' , 'width' => ${$total['options']['title_info']}['width'] , 'height' => ${$total['options']['title_info']}['height'] , 'message' => ${$total['options']['title_info']}['comment'] ) , 'INFO' , $skins['m_img'] ) ;
	}

########################################################
// use record
########################################################

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

########################################################
// use secret
########################################################

	if ( $total['options']['secret'] == 'on' ) $info['frm_secret'] = str_foreach ( array ( 'secret_type' => '' ) , 'INFO' , $skins['sec'] ) ;

########################################################
// use file upload
########################################################

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

########################################################
// select
########################################################

	if ( $total['options']['select'] == 'on' )
	{
		$info['frm_select'] = str_foreach ( array (
																'slt_type'			=> $total['options']['slt_type'] ,
																'slt_name'		=> $total['options']['slt_name'] ,
																'select_main'	=> ''
															) , 'INFO' , $skins['slt'] ) ;
	}

########################################################
// category
########################################################

	if ( $total['options']['category'] == 'on' )
	{
		$category_info = get_categories ( $total['code'] , $total['table'] . '_category' ) ;
		$info['frm_category'] = str_foreach ( array (
																	'category_info'			=> $category_info ,
																	'category_numid'		=> $info['category_numid'] ,
																	'btn_category'			=> '<a href="' . $total['cmnall'] . '&mode=category">' . $button_adminmode['btn_category'] . '</a>' ,
																  ) , 'INFO' , $skins['cate'] ) ;
	}

########################################################
// movie
########################################################

	if ( $total['options']['movie'] == 'on' )
	{
		$info['enctype'] = ' enctype="multipart/form-data" ' ;
		$info['frm_movie'] = str_foreach ( array ( 'mov_image'	=> '' , 'mov_video'	=> '' , 'mov_video_link' => '') , 'INFO' , $skins['mov'] ) ;
		$hint['use_movie'] = '
		µ¿¿µ»óÆÄÀÏÀÌ ¿ÜºÎ¸µÅ©¿Í ÷ºÎ°¡ µ¿½Ã¿¡ ÀÔ·ÂµÉ °æ¿ì ÷ºÎÆÄÀÏÀ» ¿ì¼±Çؼ­ º¸¿©Áý´Ï´Ù.
		<br>¿ÜºÎ¸µÅ©´Â http:// ¶Ç´Â mms:// ¸¦ Æ÷ÇÔÇÏ¿© urlÀ» Á¤È®È÷ ÀÔ·ÂÇØÁÖ¼¼¿ä.
		' ;
	}

########################################################
// use head
########################################################

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

########################################################
// end
########################################################

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

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

?>

Copyright © 2017 || Recoded By Mr.Bumblebee