|
|
关键字描述:内容 方法 采集 删除 增加 批量 clearall)
{
$dsql = new DedeSql(false);
$dsql-ExecuteNoneQuery(Delete From xkzzz_courl);
$dsql-Close();
ShowMsg(成功清空所有采集内容!,co_main.php);
exit();
}else if($dopost==clearundown)
{
$dsql = new DedeSql(false);
$dsql-ExecuteNoneQuery(Delete From xkzzz_courl where isdown=0);
$dsql-Close();
ShowMsg(成功删除所有未下载内容!,co_main.php);
exit();
}else if($dopost==clearisex)
{
$dsql = new DedeSql(false);
$dsql-ExecuteNoneQuery(Delete From xkzzz_courl where isex=1);
$dsql-Close();
ShowMsg(成功删除所有已经导出内容!,co_main.php);
exit();
}
//复制节点[/quote]
2,dede/templets/co_url.htm
找到
Quote:/script
style type=text/css
改成
Quote:function DelAll()
{
location.href = co_do.php?dopost=clearall;
}
function DelunDown()
{
location.href = co_do.php?dopost=clearundown;
}
function Delisex()
{
location.href = co_do.php?dopost=clearisex;
}
/script
style type=text/css
找到
Quote:input type=button name=b5 value=删除所选网址 class=inputbut onClick=DelSel(); 在下面加入
Quote:[quote]input type=button name=b5 value=清空所有采集内容 class=inputbut onClick=DelAll();
input type=button name=b5 value=清空未下载内容 class=inputbut onClick=DelunDown();
上一页12 下一页 阅读全文 |
|