/home/mjc1/public_html/manage/billProcess01.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
<?
    
include("../manage/category/common.php");
 
   if( isset(
$companyNum ) && $companyNum !== ""){
  
  
$Qry       =  " select * from bill_publish WHERE replace(companyNum,'-','') = '$companyNum' ";
  
$Result    =    mysql_query($Qry);
  
  if( 
mysql_num_rows($Result) > 0){
    
   
$row   =   mysql_fetch_array($Result);
   
$str   =  "@$@QTRSFQ3YHQAWR-EHEQT3Q46TEGEWFRE34--634YWGHWHWRW2222-3SGAZEHWE2---".$companyNum;
   
$str   =   base64_encode($str);
?>
<script>
 parent.location.href = "../manage/admin_etax02.php?KeyCode=<?=$str;?>";
</script>
<?         
    
}
   else{
?>
<script>
 parent.Msg("ÇØ´ç µ¥ÀÌŸ°¡ ¾ø½À´Ï´Ù.´Ù½Ã È®ÀÎÇØ ÁÖ¼¼¿ä");
</script>
<?     
       

     } 
   if(
$mode == "detail"){
     
     
$updateQry  =  " update bill_publish set admission = '$stat' WHERE idx = '$idx'";
                      
mysql_query($updateQry);
?>
<script>
   location.href =  "admin_etax02.php?KeyCode=<?=$KeyCode;?>&mode=detail&idx=<?=$idx;?>&detail=y";
</script>
<?                      
     
}  
?>