日期:2014-05-16 浏览次数:20466 次
$sql="delete from `#@__skupdate_class` where id=".$id."";
$bool = $dsql->ExecuteNoneQuery($sql);
if(!$bool)
{
ShowMsg("课程信息回收站删除失败",'-1');
exit();
}else{
ShowMsg("课程信息回收站删除成功",'update_class.php?dopost=recycling&page='.$page.'');
exit();
}
$sql="Update `#@__skupdate_class` set state=1 where id=".$id."";
$bool = $dsql->ExecuteNoneQuery($sql);
if(!$bool)
{
ShowMsg("课程信息恢复失败",'-1');
exit();
}else{
ShowMsg("课程信息恢复成功",'update_class.php?dopost=recycling&page='.$page.'');
exit();
}
delete from `#@__skupdate_class` where id=".$id."