/home/mjc1/public_html/html/smarttax/addorderProcess.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php include_once("./_common2.php");?>
<? session_start
(); ?>

<?
$today 
date("Y-m-d"); //¿À´Ã³¯Â¥ 
$todaytime date("Y-m-d H:s:i"); //¿À´Ã³¯Â¥½Ã°£
$time date("ymdHi");    
    if( 
$pcusid == "" ){ 
?>
<SCRIPT LANGUAGE='JavaScript'> 
    alert("·Î±×ÀΠÈÄ¿¡ À̿밡´ÉÇÕ´Ï´Ù.");
    location.href = "./intro.php";
</script>
<? }

 include(
"./commonST.php");
?>

<?
    $tiqry 
"INSERT INTO ordbook_m ( part, route, ordstate, ocode, ccode, orddate, deldate, ordtime, bigo, gcode, ucode) 
                              VALUE ( '
$cmode', '0', '0', '$psacode', '$ccode', '$today', '$date', '$time', '', '0', '$pcuscode')";
//    echo $tiqry;
    
mysql_query($tiqry);
 
?>
 <SCRIPT LANGUAGE="JavaScript">
    parent.productd();
 </SCRIPT>