-=[ Mr. Bumblebee ]=-
_Indonesia_
<?php
if ( empty($numid)) script_re($total['cmnall'] , ' Á¢±ÙÇÒ ¼ö ¾ø½À´Ï´Ù. ' ) ;
$info = $exe->qry_fetch ( " from tbl_{$total[table]} where keycode='{$total[code]}' and numid='{$numid}' " , " * " ) ;
if ( empty($info['numid'])) script_re( $total['cmnall'] , ' »èÁ¦µÇ¾ú°Å³ª ¾ø´Â µ¥ÀÌÅÍÀÔ´Ï´Ù. ' ) ;
if ( empty($_POST['pass']) || $_POST['pass'] != $info['pass'] )
{
if ( !empty($total['loginid']) && !empty($total['loginno']) && $total['loginlevel'] == $info['real_level'] && $total['loginno'] == $info['real_no'] && $total['loginid'] == $info['real_id'] )
{
// ÀÚ±â±ÛÀÌ¸é ºñ¹Ð¹øÈ£ ÀÔ·ÂÀÌ ÇÊ¿ä¾øÀ½...
}
else
{
// script_re( $total['cmnnb'] . '&mode=pass&next_mode=' . $total['mode'] , ' ºñ¹Ð¹øÈ£°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù. ' ) ;
}
}
if ( $total['options']['self'] == 'on' )
{
// if ( $info['real_id'] != $total['loginid'] ) script_bk( ' ±ÇÇÑÀÌ ¾ø½À´Ï´Ù. ' ) ;
}
# 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' ,
'mov' => 'MOVIE' ,
'state' => 'NOW STATE'
) , $skinfile ) ;
# get data
$info['mode'] = 'update' ;
if ( $total['options']['WYSIWYG'] != 'off' ) {
$EDITOR = createTextEditor() ;
$EDITOR->Value = html_entity_decode($info['contents']) ;
$info['contents'] = $EDITOR->Create();
}
# use sub title
if ( $total['options']['sub_title'] == 'on' )
$info['frm_subtitle'] = str_foreach ( array ( 'title_s' => $info['title_s'] ) , 'INFO' , $skins['sub_tit'] ) ;
# use title(special) image
if ( $total['options']['title_image'] == 'on' )
{
$info['enctype'] = ' enctype="multipart/form-data" ' ;
if ( file_info ( 'files/' . $total['table'] . ${$total['options']['title_info']}['directory'] . '/' . $info['main_image'] ) !== false )
$main_image = '<input type="checkbox" name="del_main_image" value="Y"> ÆÄÀÏ »èÁ¦' ;
$info['frm_titleimage'] = str_foreach ( array ( 'main_image' => $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' => $info['record_type'] ) , 'INFO' , $skins['rec'] ) ;
# use secret
if ( $total['options']['secret'] == 'on' )
$info['frm_secret'] = str_foreach ( array ( 'secret_type' => ($info['secret_type'] == 'Y')?'checked':'' ) , 'INFO' , $skins['sec'] ) ;
# use file upload
if ( $total['options']['file'] == 'on' )
{
$file_list = '' ;
$nowsize = 0 ;
$execute = $exe->qry_one( " from tbl_{$info_file[table]} where keycode='{$total[code]}' and parent_numid = '{$numid}' order by write_date asc " , " fileno , file_size, orig_file_name " ) ;
while ( $rs = $exe->fetch ( $execute))
{
$nowsize+= $rs['file_size'] ;
$file_list.= '<option value="' . $rs['fileno'] . '">' . $rs['orig_file_name'] . '</option>' ;
}
$info['frm_file'] = str_foreach ( array ( 'nowsize' => $nowsize , 'temp_code' => time() . str_rand(10) , 'filelist' => $file_list ) , '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['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" ' ;
if ( file_info ( 'files/' . $info_file['mov_dir'] . '/' . $info['mov_video'] ) !== false )
$mov_video = '<input type="checkbox" name="del_mov_video" value="Y"> ÆÄÀÏ »èÁ¦' ;
if ( file_info ( 'files/' . $info_file['mov_dir'] . '/' . $info['mov_image'] ) !== false )
$mov_image = '<input type="checkbox" name="del_mov_image" value="Y"> ÆÄÀÏ »èÁ¦' ;
$info['frm_movie'] = str_foreach ( array ( 'mov_image' => $mov_image , 'mov_video' => $mov_video , 'mov_video_link' => $info['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['head_contents'] ) , 'INFO' , $skins['hed'] ) ;
}
# cf config
if ( $info['msg_level'] < 1 ) { // ´ä±ÛÀÌ ¾Æ´Ò¶§¸¸.
$board_cf_state = '' ;
foreach ( $config[$total['code']][5] as $k=>$v) {
$board_cf_state.= (empty($board_cf_state) ? '' : ',' ) . "new Option('{$v}','{$k}')" ;
}
$info['frm_nstate'] = str_foreach ( array(
'bstate' => $info['bstate'] ,
'BOARDCFSTATE' => $board_cf_state
) , 'INFO' , $skins['state']) ;
}
# end
$result = str_foreach ( $info , 'INFO' , $skins['frm'] ) ;
?>
Copyright © 2017 || Recoded By Mr.Bumblebee