Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
home
/
egg.eemo.co.kr
/
public_html
/
super5
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/egg.eemo.co.kr/public_html/super5/lot_serial_out_cancel_do.php
<? session_cache_limiter('no-cache, must-revalidate'); session_start(); header("Pragma: no-cache"); header("Cache-Control: no-cache,must-revalidate"); header("Content-Type: text/html; charset=UTF-8"); foreach($_GET as $key => $value) { ${$key}=base64_decode(urldecode($value)); } include_once("dbconn.php"); include_once("lib.php"); if(!$_SESSION[mem_id]) { echo "<script>alert('권한이 없습니다.');history.back();</script>"; exit; } $rs=RS("select * from lot_serial where no='$no' "); mysql_query("update lot_serial set out_scan_date=null, as_edate=null, order_jupsu_no=0, buy_name='', buy_tel='' where no='$no' ") or die(); if($rs[order_jupsu_no]) { mysql_query("update order_jupsu set z_serial='' where no='{$rs[order_jupsu_no]}' ") or die(); mysql_query("insert into chulgo_cancel set z_serial='{$rs[vcode]}', order_jupsu_no='{$rs[order_jupsu_no]}', regdate=now() ") or die(); } echo "<meta http-equiv='refresh' content='0;url=lot_serial.php'>"; ?>