사용후기 관련된 코드 변경
This commit is contained in:
29
adm/shop_admin/itemuseformupdate.php
Normal file
29
adm/shop_admin/itemuseformupdate.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
$sub_menu = '400650';
|
||||
include_once('./_common.php');
|
||||
|
||||
check_demo();
|
||||
|
||||
if ($w == 'd')
|
||||
auth_check($auth[$sub_menu], "d");
|
||||
else
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
$qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
|
||||
if ($w == "u")
|
||||
{
|
||||
$sql = "update {$g4['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);
|
||||
|
||||
goto_url("./itemuseform.php?w=$w&is_id=$is_id&$qstr");
|
||||
}
|
||||
else
|
||||
{
|
||||
alert();
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user