/home/mjc1/public_html/manage/reviewBoardEnd.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
<?   
    
include("./_common.php");
 include(
"category/common.php");
 if (
$exCode == "end_change"){ // ¿Ï·á¼öÁ¤

     
$admin_info admin_member_info();
    if(
$admin_info['psn_auth']=='0' || substr($admin_info['psn_rwed'],2,1)=='0'){
        echo 
"<script>alert('ÇØ´ç ¼öÁ¤±ÇÇÑÀÌ ¾ø½À´Ï´Ù.');window.history.go(-1);</script>"; exit;
    }

        
$WhereQry   =  "UPDATE event_review SET proResult = $codevalue WHERE uid = $uid";
        
mysql_query($WhereQry);

        
auth_access_log("EDIT");
/*
  } elseif ($exCode == "process_change") { // Ã³¸®³»¿ë ¼öÁ¤
        $WhereQry   =  "UPDATE event_review SET process = '$codevalue' , admin = '$admin' WHERE uid = $uid";
        mysql_query($WhereQry);
        //echo ($WhereQry);
*/
  
} else if($exCode == "apply_change") { // Àû¿ë¿©ºÎ
      
$WhereQry   =  "UPDATE event_review SET apply_flg = $apply_flg WHERE uid = $idx";
      
mysql_query($WhereQry);

      
auth_access_log("EDIT");
  }
?>

<script>
 //parent.Msg("¼öÁ¤ ¿Ï·á µÇ¾ú½À´Ï´Ù.");
 alert("¼öÁ¤ ¿Ï·á µÇ¾ú½À´Ï´Ù.");
</script>  

<?

  
?>