/home/mjc1/public_html/html/millennium/newtaxProcess.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?php include_once("./_common2.php"); ?>
<?
    
include("../../manage/category/etaxcommon.php");
 
   if( isset(
$companyNum ) && $companyNum !== ""){
  
  
$Qry       =  " select * from tn_eaaa WHERE DMDER_BUSNID_ID=FN_GET_BIZNO('$companyNum') AND EMAIL_LINK = '$KeyCode' ";
  
$Result    =    mysql_query($Qry);
  
$str2        $KeyCode;
  
  if( 
mysql_num_rows($Result) > 0){
    
   
$row   =   mysql_fetch_array($Result);
   
/*
   $str   =  "@$@QTRSFQ3YHQAWR-EHEQT3Q46TEGEWFRE34--634YWGHWHWRW2222-3SGAZEHWE2---".$companyNum;
   $str   =   base64_encode($str);
    */
    
$str $row['EMAIL_LINK'];
    

?>
<script>
 parent.location.href = "./newetax_01.php?KeyCode=<?=$str;?>&mode=detail&detail=y";
</script>
<?         
    
}
   else{
?>
<input name="KeyCode" type="hidden" value="<?=$str2;?>">    
<script>
     parent.Msg("ÇØ´ç µ¥ÀÌÅͰ¡ Á¶È¸µÇÁö ¾Ê½À´Ï´Ù. °ø±ÞÀÚ°¡ °è»ê¼­¸¦ Ãë¼ÒÇßÀ» ¼ö ÀÖÀ¸´Ï ´Ù½Ã È®ÀÎÇØ ÁÖ¼¼¿ä.");
     parent.location.href = "./newetax.php?KeyCode=<?=$str2;?>";
</script>
<?     
       

     }
     
    
/*20130701¿ù º¯¼ö¼±¾ð*/
    
$emailCheck "";
    
$SndCheck "";
    
$admission "";

    
$offerPrice1 "";
    
$offerPrice2 "";
    
$offerPrice3 "";
    
$offerPrice4 "";
    
$offerPrice5 "";
    
$offerPrice6 "";
    
$offerPrice7 "";
    
$offerPrice8 "";
    
$offerPrice9 "";
    
$offerPrice10 "";
    
$offerPrice11 "";

    
$billprice1 "";
    
$billprice2 "";
    
$billprice3 "";
    
$billprice4 "";
    
$billprice5 "";
    
$billprice6 "";
    
$billprice7 "";
    
$billprice8 "";
    
$billprice9 "";
    
$billprice10 "";

    
$month_2 "";
    
$day_2 "";
    
$item_2 "";
    
$standard_2 "";
    
$cnt_2 "";
    
$unitPrice_2 "";
    
$offerPrice_2 "";
    
$billPrice_2 "";
    
$note_2 "";

    
$month_3 "";
    
$day_3 "";
    
$item_3 "";
    
$standard_3 "";
    
$cnt_3 "";
    
$unitPrice_3 "";
    
$offerPrice_3 "";
    
$billPrice_3 "";
    
$note_3 "";

    
$month_4 "";
    
$day_4 "";
    
$item_4 "";
    
$standard_4 "";
    
$cnt_4 "";
    
$unitPrice_4 "";
    
$offerPrice_4 "";
    
$billPrice_4 "";
    
$note_4 "";

    
//20130704 ¼öÁ¤

    
if (isset($_REQUEST['mode'])) {
        
$mode_new $_REQUEST['mode'];
    } else {
        
$mode_new "";
    }
    
/*20130701¿ù º¯¼ö¼±¾ð ³¡*/

   
if($mode_new == "detail"){
     
     
$updateQry  =  " update tn_eaaa set EMAIL_CHECK = '$stat' WHERE EMAIL_LINK = '$KeyCode'";
                      
mysql_query($updateQry);
?>
<script>
   location.href =  "./newetax_01.php?KeyCode=<?=$KeyCode;?>&mode=detail&detail=y&Snumber=<?=$Snumber;?>";
</script>
<?                      
   
}
?>