/home/mjc1/public_html/adm/vender/itemuseformupdate.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
<?php
$sub_menu 
'400200';
include_once(
'./_common.php');

check_demo();

if (
$w == 'd')
    
auth_check($auth[$sub_menu], "d");
else
    
auth_check($auth[$sub_menu], "w");

if (
$w == "u")
{
    
$sql "update {$g5['g5_shop_item_use_table']}
               set is_subject = '
$is_subject',
                   is_content = '
$is_content',
                   is_confirm = '
$is_confirm'
             where is_id = '
$is_id' ";
    
sql_query($sql);

    
update_use_cnt($_POST['it_id']);

    
goto_url("./itemuseform.php?w=$w&amp;is_id=$is_id&amp;sca=$sca&amp;$qstr");
}
else
{
    
alert();
}
?>