dedecms采集文档审核后生成文档以采集时间显示
$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);
☉本站提供的源码、模板、软件工具等其他资源,都不包含技术服务,请大家谅解!
pbootcms模板网 » dedecms采集文档审核后生成文档以采集时间显示