if($dopost=="delStow"){ CheckRank(0,0); $type=empty($type)? 'sys' : trim($type); $ENV_GOBACK_URL = empty($_COOKIE['ENV_GOBACK_URL']) ? "mystow.php" : $_COOKIE['ENV_GOBACK_URL']; $dsql->ExecuteNoneQuery("DELETE FROM dede_member_stow WHERE aid='$aid ' AND mid='".$cfg_ml->M_ID."' AND type='$type';"); //更新用户统计 $row = $dsql->GetOne("SELECT COUNT(*) AS nums FROM `dede_member_stow` WHERE `mid`='".$cfg_ml->M_ID."' "); $dsql->ExecuteNoneQuery("UPDATE dede_member_tj SET `stow`='$row[nums]' WHERE `mid`='".$cfg_ml->M_ID."'"); ShowMsg("成功删除一条收藏记录!",$ENV_GOBACK_URL); exit();}
版权声明: 本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联系,我们将在24小时内删除!谢谢!