-=[ Mr. Bumblebee ]=-
_Indonesia_
<?
if ( empty($numid)) script_re ( $total['cmnall'] , ' À߸øµÈ Á¢±ÙÀÔ´Ï´Ù. ' ) ;
if ( empty($_POST['title'])) script_re ( $total['cmnall'] , ' ÇʼöÇ׸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä ' ) ;
$info = $exe->qry_fetch(" from tbl_{$total[table]} where keycode='{$total[code]}' and numid = '{$total[numid]}' " , " numid , img1 " ) ;
if ( empty($info['numid'])) script_re ( $total['cmnall'] , ' ¾ø´Â °Ô½Ã¹°ÀÔ´Ï´Ù. ' ) ;
$action = array(
'title' => str_convert($_POST['title']) ,
'seq' => ( is_numeric($_POST['seq']) ? $_POST['seq'] : 1 ) ,
) ;
if ( $_POST['del_img1'] == 'Y' || !empty($_FILES['img1']['name'])) {
$upimg = $info['img1'] ;
file_delete('files/' . $total['table'] . '/' . $total['options']['dir'] . '/' . $upimg) ;
$action['img1'] = '' ;
if ( !empty($_FILES['img1']['name'])) {
$action['img1'] = file_upload( $_FILES['img1']['tmp_name'] , $_FILES['img1']['name'] , 'files/' . $total['table'] . '/' . $total['options']['dir'] ) ;
}
}
$exe->qry_update ( $action , "tbl_{$total[table]}" , " numid='{$total[numid]}' " ) ;
script_re ( $total['cmnall'] . '&numid=' . $total['numid'] , '¼öÁ¤µÇ¾ú½À´Ï´Ù.' ) ;
?>
Copyright © 2017 || Recoded By Mr.Bumblebee