查找代码:
$maintable = ( trim($row[maintable])== ? dede_archives : trim($row[maintable]) );$dsql>ExecuteNoneQuery("Update `dede_arctiny` set arcrank= where id=$aid ");if($row[issystem]==){$dsql>ExecuteNoneQuery("Update `"trim($row[addtable])"` set arcrank= where aid=$aid ");}else{$dsql>ExecuteNoneQuery("Update `$maintable` set arcrank= where id=$aid ");}$pageurl = MakeArt($aidfalse);}ShowMsg("成功审核指定的文档!"$ENV_GOBACK_URL);修改为:$maintable = ( trim($row[maintable])== ? dede_archives : trim($row[maintable]) );$newdate = time();$dsql>ExecuteNoneQuery("Update `dede_arctiny` set sortrank=$newdatesenddate=$newdatearcrank= where id=$aid ");if($row[issystem]==){$dsql>ExecuteNoneQuery("Update `"trim($row[addtable])"` set sortrank=$newdatepubdate=$newdatesenddate=$newdatearcrank= where aid=$aid ");}else{$dsql>ExecuteNoneQuery("Update `$maintable` set sortrank=$newdatepubdate=$newdatesenddate=$newdatearcrank= where id=$aid ");}$pageurl = MakeArt($aidfalse);}ShowMsg("成功审核指定的文档!"$ENV_GOBACK_URL);
新闻热点
疑难解答