-=[ Mr. Bumblebee ]=-
_Indonesia_
<?php
function delete_board ( $numid )
{
global $exe , $_POST , $total , $info_db , $config , $info_file , $info_thumb , $info_comment ;
if ( empty($numid)) return false ;
########################################################
// info
########################################################
$info = $exe->qry_fetch ( " from tbl_{$total[table]} where keycode='{$total[code]}' and numid='{$numid}' " , " numid " ) ;
if ( empty($info['numid'])) script_re($total['cmnall'] , ' »èÁ¦µÇ¾ú°Å³ª ¾ø´Â °Ô½Ã¹°ÀÔ´Ï´Ù. ' ) ;
$exe->qry_delete( " tbl_{$total[table]}_sms " , " real_no='{$numid}' ") ;
$exe->qry_delete( " tbl_{$total[table]}_email " , " real_no='{$numid}' ") ;
$exe->qry_delete( " tbl_{$total[table]} " , " keycode='{$total[code]}' and numid='{$numid}' ") ;
return true ;
}
########################################################
// approve
########################################################
if ( is_array($_POST['chkid']))
{
foreach ( $_POST['chkid'] as $val )
{
if ( emptY($val)) continue ;
$return = delete_board ( $val ) ;
}
}
else
{
if ( empty($numid)) script_re($total['cmnall'] , ' Á¢±ÙÇÒ ¼ö ¾ø½À´Ï´Ù. ' ) ;
$return = delete_board ( $numid ) ;
}
########################################################
// end
########################################################
script_re($total['cmnall'] ) ;
?>
Copyright © 2017 || Recoded By Mr.Bumblebee