Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Dede has a very bad place, after collecting the article after the generation of documents is the time to collect, this loophole so many beginners do not know how to do?
There are many ways to modify the Web, but the real changes can never be implemented to change to the current time or simply in the update is an error! When I first started to do the station I have also encountered this problem, but also in accordance with the various methods on the Internet have been modified, but the outcome is as above said! This problem until I met a Dede to do the station with the kind master to the solution to me, now selfless dedication to the novice friends, so you can avoid being vexed by this problem!
Here's how to modify it:
Open the archives_do.php file in the directory where the Dede background (default is Dede) (if you can't find the file, I can't help it), find the following code: (Seriously find, the file inside you accidentally find the wrong location, in the comparison below, find the audit document that part of)
$maintable = (Trim ($row [' maintable ']) = = '? ' Dede_archives ': Trim ($row [' maintable ']);
$dsql->executenonequery ("Update" Dede_arctiny ' set arcrank= ' 0 ' where id= ' $aid ');
if ($row [' IsSystem ']==-1)
{
$dsql->executenonequery ("Update". Trim ($row [' addtable ']). " ' Set arcrank= ' 0 ' where aid= ' $aid ');
}
Else
{
$dsql->executenonequery ("Update" $maintable ' set arcrank= ' 0 ' where id= ' $aid ');
}
$pageurl = Makeart ($aid, false);
}
ShowMsg ("Successfully audits the specified document!", $ENV _goback_url);
Replace the above code with the following code:
$maintable = (Trim ($row [' maintable ']) = = '? ' Dede_archives ': Trim ($row [' maintable ']);
$newdate = time ();
$dsql->executenonequery ("Update" Dede_arctiny ' Set sortrank= ' $newdate ', senddate= ' $newdate ', arcrank= ' 0 ' where id= ' $aid ');
if ($row [' IsSystem ']==-1)
{
$dsql->executenonequery ("Update". Trim ($row [' addtable ']). " ' Set sortrank= ' $newdate ', pubdate= ' $newdate ', senddate= ' $newdate ', arcrank= ' 0 ' where aid= ' $aid ');
}
Else
{
$dsql->executenonequery ("Update" $maintable ' Set sortrank= ' $newdate ', pubdate= ' $newdate ', senddate= ' $newdate ', arcrank= ' 0 ' where id= ' $aid ');
}
$pageurl = Makeart ($aid, false);
}
ShowMsg ("Successfully audits the specified document!", $ENV _goback_url);
Just try to review a document to see if it's time to become current.
Said so much also do advertising: my garbage station www.dearqq.net, if you have any questions about Dede, in the ability to help everyone free of charge!