if($amode == "all_modify") {
for($i=0;$i<count($uid_hidden);$i++) {
if($uid_hidden[$i]) {
$list = qhoo_fetch_array(qhoo_query("select * from $qhoo_goods_tab where uid = '$uid_hidden[$i]'"));
if(($list[goods_point] != $uid_point[$i] or $list[goods_sale_price] != $uid_price[$i] or $list[goods_stock] != $uid_stock[$i]) and $uid_hidden[$i]) {
$query = " update $qhoo_goods_tab set
goods_point = '$uid_point[$i]', goods_stock = '$uid_stock[$i]', goods_sale_price = '$uid_price[$i]'
where uid = '$uid_hidden[$i]'";
qhoo_query($query);
}
}
}