injian.inc.php
466 Bytes
<?php
global $_GPC, $_W;
$GLOBALS['frames'] = $this->getMainMenu2();
$storeid=$_COOKIE["storeid"];
$cur_store = $this->getStoreById($storeid);
$list=pdo_getall('cjdc_reduction',array('store_id'=>$storeid));
if($_GPC['id']){
$res=pdo_delete('cjdc_reduction',array('id'=>$_GPC['id']));
if($res){
message('删除成功!', $this->createWebUrl('injian'), 'success');
}else{
message('删除失败!','','error');
}
}
include $this->template('web/injian');