-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/zbk_20220209_admin/php/member/
File Upload :
Current File : /var/www/html/zbk_20220209_admin/php/member/act.update.php

<?php

######################################################
// approve
######################################################

	$info = $exe->qry_fetch ( " from tbl_{$total[table]} where keycode='{$total[code]}' and numid='{$numid}' " , " numid , name , id , joingroup " ) ;
	if ( empty($info['numid'])) script_re($total['cmnall'] , ' »èÁ¦µÇ¾ú°Å³ª ¾ø´Â °Ô½Ã¹°ÀÔ´Ï´Ù. ' ) ;

######################################################
// cons
######################################################

	$action = array (
		'ip'				=> $total['ip'] ,
		'level'				=> $_POST['level'] ,
		'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'] ,
	) ;

	if ( !empty($_POST['hope_pw'])) {
		$action['pass'] = md5($_POST['hope_pw']) ;
	}

######################################################
// execute
######################################################

	$exe->qry_update( $action , "tbl_{$total[table]} " , " keycode='{$total[code]}' and numid='{$numid}' " ) ;

	$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]}' " ) ;

######################################################
// end
######################################################

	script_re($total['cmnnb'] . '&mode=view' , 'ȸ¿øÁ¤º¸°¡ ¼öÁ¤µÇ¾ú½À´Ï´Ù.') ;

?>

Copyright © 2017 || Recoded By Mr.Bumblebee