-=[ Mr. Bumblebee ]=-
_Indonesia_
<?php
switch ( $total['mode'] )
{
// category
case 'category_del' : $phpfile = 'board/act.category.del.php' ; break;
case 'category_up' : $phpfile = 'board/act.category.up.php' ; break;
case 'category' : $phpfile = 'board/skn.category.php' ; $skinfile = 'board/category.html' ; break;
// reply
case 're_in' : $phpfile = 'board/act.reply.insert.php' ; break ;
case 'reply' : $phpfile = 'board/skn.reply.php' ; $skinfile = 'board/action.html' ; break ;
// base info
case 'delete' : $phpfile = 'board/act.delete.php' ; break ;
case 'update' : $phpfile = $total['design'] . '/act.update.php' ; break ;
case 'insert' : $phpfile = $total['design'] . '/act.insert.php' ; break ;
case 'pass' : $phpfile = 'board/skn.pass.php' ; $skinfile = 'board/pass.html' ; break ;
case 'modify' : $phpfile = $total['design'] . '/skn.modify.php' ; $skinfile = $total['design'] . '/action.html' ; break ;
case 'write' : $phpfile = $total['design'] . '/skn.write.php' ; $skinfile = $total['design'] . '/action.html' ; break ;
case 'view' : $phpfile = $total['design'] . '/skn.view.php' ; $skinfile = $total['design'] . '/view.html' ; break ;
default : $phpfile = $total['design'] . '/skn.list.php' ; $skinfile = $total['design'] . '/list.html' ; break ;
}
$text_type = 'html' ;
function createTextEditor() {
include $_SERVER['DOCUMENT_ROOT'] . '/fckeditor/fckeditor.php' ;
$EDITOR = new FCKeditor('contents'); // textarea name
$EDITOR->BasePath = '/fckeditor/'; // ¼³Ä¡ÇÑ Æú´õ ÁöÁ¤
$EDITOR->Width = '100%'; // width
$EDITOR->Height = 400; // height
$EDITOR->Config['SkinPath'] = $EDITOR->BasePath . 'editor/skins/' . htmlspecialchars('silver') . '/' ;
$EDITOR->ToolbarSet = htmlspecialchars('Classic');
return $EDITOR ;
}
if ( $total['options']['category'] == 'on' && strpos($total['mode'] , 'category') === false ) {
if (empty($ccode)) {
$ccode = $exe->qry_fetch ( " from tbl_{$total[table]}_category where keycode='{$total[code]}' order by sequence asc limit 1 " , "numid " , "numid" ) ;
if ( emptY($ccode)) {
script_bk ( ' »ý¼ºµÈ °Ô½ÃÆÇÀÌ ¾ø½À´Ï´Ù. ' ) ;
}
} else {
$total['cmnurl'] = $total['selfurl'] . 'code=' . $total['code'] . '&ccode=' . $ccode ;
$total['cmnval'] = $total['cmnurl'] . $total['scode'] . $total['fcode'] . $total['ecode'] . $total['acode'] . $total['bcode'] ;
$total['cmnall'] = $total['cmnval'] . '&page=' . $total['nowpage'] ;
$total['cmnnb'] = $total['cmnall'] . '&numid=' . $total['numid'] ;
}
}
?>
Copyright © 2017 || Recoded By Mr.Bumblebee