-=[ Mr. Bumblebee ]=-
_Indonesia_
<?php
########################################################
// approve
########################################################
if ( empty($numid)) script_re($total['cmnall'] , ' Á¢±ÙÇÒ ¼ö ¾ø½À´Ï´Ù. ' ) ;
$info = $exe->qry_fetch ( " from tbl_{$total[table]} where keycode='{$total[code]}' and numid='{$numid}' " , " numid " ) ;
if ( empty($info['numid'])) script_re( $total['cmnall'] , ' »èÁ¦µÇ¾ú°Å³ª ¾ø´Â µ¥ÀÌÅÍÀÔ´Ï´Ù. ' ) ;
$count = $exe->qry_fetch ( " from tbl_{$total[table]}_ip where keycode='{$total[code]}' and s_type = 'vot' and parent_numid='{$numid}' and date_format( write_date , '%Y-%m-%d') = '" . date('Y-m-d') . "' and ip = '{$total[ip]}' " , " count(numid) as cntnum " , "cntnum" ) ;
if ( $count > 0 ) script_re( $total['cmnnb'] . '&mode=view' , ' ÀÌ¹Ì ÃßõÇϽŠ°Ô½Ã¹°ÀÔ´Ï´Ù. ' ) ;
$exe->qry_insert( array (
'keycode' => $total['code'] ,
's_type' => 'vot' ,
'write_date' => $total['now'] ,
'ip' => $total['ip'] ,
'parent_numid' => $numid
) , "tbl_{$total[table]}_ip " ) ;
$exe->qry_update( " recom_count = recom_count + 1 " , "tbl_{$total[table]}" , " keycode='{$total[code]}' and numid='{$numid}' ") ;
script_re($total['cmnnb'] . '&mode=view' , ' ÃßõÀÌ Á¤»óÀûÀ¸·Î 󸮵Ǿú½À´Ï´Ù. ' ) ;
?>
Copyright © 2017 || Recoded By Mr.Bumblebee