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
|
<?php include_once("./_common2.php"); ?>
<? include("../../manage/category/etaxcommon_pw.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_pw.php?KeyCode=<?=$str;?>&mode=detail&detail=y"; </script> <? } else{ ?> <input name="KeyCode" type="hidden" value="<?=$str2;?>"> <script>
parent.Msg("ÇØ´ç µ¥ÀÌŸ°¡ ¾ø½À´Ï´Ù.´Ù½Ã È®ÀÎÇØ ÁÖ¼¼¿ä"); parent.location.href = "./newetax_pw.php?KeyCode=<?=$str2;?>"; </script> <? } } if($mode == "detail"){ $updateQry = " update tn_eaaa set EMAIL_CHECK = '$stat' WHERE EMAIL_LINK = '$KeyCode'"; mysql_query($updateQry); ?> <script> location.href = "./newetax_01_pw.php?KeyCode=<?=$KeyCode;?>&mode=detail&detail=y&Snumber=<?=$Snumber;?>"; </script> <? } ?>
|