관리자 경로 수정 작업 중

This commit is contained in:
chicpro
2013-03-15 17:57:34 +09:00
parent 79cbd300f9
commit 276a4b9231
6 changed files with 110 additions and 110 deletions

View File

@ -1,18 +1,18 @@
<?
$sub_menu = "400620";
include_once("./_common.php");
$sub_menu = '400620';
include_once('./_common.php');
check_demo();
auth_check($auth[$sub_menu], "w");
// 재고 일괄수정
for ($i=0; $i<count($_POST[it_id]); $i++)
for ($i=0; $i<count($_POST['it_id']); $i++)
{
$sql = "update $g4[yc4_item_table]
set it_stock_qty = '{$_POST[it_stock_qty][$i]}',
it_use = '{$_POST[it_use][$i]}'
where it_id = '{$_POST[it_id][$i]}' ";
$sql = "update {$g4['yc4_item_table']}
set it_stock_qty = '{$_POST['it_stock_qty'][$i]}',
it_use = '{$_POST['it_use'][$i]}'
where it_id = '{$_POST['it_id'][$i]}' ";
sql_query($sql);
}