-=[ Mr. Bumblebee ]=-
_Indonesia_
<?php
######################################################
// approve
######################################################
$approve_columns = array (
'now_pass' => 'ºñ¹Ð¹øÈ£' ,
) ;
foreach ( $approve_columns as $key=>$val )
{
if ( empty($_POST[$key])) script_re($total['cmnall'] . '&mode=modify' , $val . 'À» ÀÔ·ÂÇØÁÖ¼¼¿ä' ) ;
}
$info = $exe->qry_fetch ( " from tbl_{$total[table]} where keycode='{$total[code]}' and numid='{$total[loginno]}' " , " * " ) ;
if ( md5($_POST['now_pass']) != $info['pass'] )
script_re($total['cmnall'] , ' ºñ¹Ð¹øÈ£°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù. ' ) ;
######################################################
// cons
######################################################
$action = array (
'last_update' => $total['now'] ,
'ip' => $total['ip'] ,
'tel' => $_POST['tel1'] . '-' . $_POST['tel2'] . '-' . $_POST['tel3'] ,
'hp' => $_POST['hp1'] . '-' . $_POST['hp2'] . '-' . $_POST['hp3'] ,
'email' => $_POST['email1'] . '@' . $_POST['email2'] ,
'zipcode' => $_POST['zip1'] . '-' . $_POST['zip2'] ,
'addr1' => $_POST['addr1'] ,
'addr2' => $_POST['addr2'] ,
) ;
######################################################
// pass check
######################################################
if ( !empty($_POST['hope_pw']))
{
if ( $_POST['hope_pw'] != $_POST['hope_pw_confirm'] )
script_bk ( ' ºñ¹Ð¹øÈ£¸¦ ´Ù½Ã È®ÀÎÇØÁÖ¼¼¿ä ' ) ;
else
$action['pass'] = md5($_POST['hope_pw']) ;
}
######################################################
// end
######################################################
$exe->qry_update( $action , "tbl_{$total[table]} " , " keycode='{$total[code]}' and numid='{$total[loginno]}' " ) ;
$e_action = array (
'sendsms' => $action['sendsms'] ,
'hp' => $action['hp']
) ;
$exe->qry_update ( $e_action , "tbl_{$total[table]}_sms " , " real_no = '{$info[numid]}' " ) ;
$e_action = array (
'sendmail' => $action['sendmail'] ,
'email' => $action['email']
) ;
$exe->qry_update ( $e_action , "tbl_{$total[table]}_email " , " real_no = '{$info[numid]}' " ) ;
script_re($total['cmnall'] , 'ȸ¿øÁ¤º¸°¡ ¼öÁ¤µÇ¾ú½À´Ï´Ù.') ;
?>
Copyright © 2017 || Recoded By Mr.Bumblebee