Continue from the previous article!
This article enables your website to store tens of millions of articles without requiring you to manually review and publish them every day!
However, you need to modify the template invocation to set it as follows:newstime <= '.time().'
After some thought, I realized that certain websites are experiencing excessive API calls; manually modifying each call tag would be absolutely exhausting!
Therefore, we can directly embed this condition into the Empire PHP code, which eliminates the need to write this SQL statement every time the function is called!
Let's get started!
Step 1: Find/e/class/t_functions.php。
Since the Dynamic Tag and Universal Tag are the most commonly used, simply modify the code corresponding to these two tags!
Universal Label Modification
search:sys_GetEcmsInfo
The function is located around line 612; we have:
Add the following:
as shown in the figure:

And that's it – the universal tag modification is complete!
Dynamic Tag Modification
Search next灵动标签!
Approximately 669 lines; modifications are shown in the figure:

After this modification, the invocation of the Lingdong Tag now defaults to including the newstime check!
After making these changes, as long as your website uses either the Dynamic Tag or the Universal Tag, you can schedule regular content publishing!
List page modification
The modification of the list page differs from the previous case; since it is dynamic, the file we need to locate is:/e/action/InfoType/index.php
Open and then search:$query="select ".ReturnSqlListF($mid)." from {$dbtbpre}ecms_".$tbname." where ".$yhadd.$add
Approximately 215 lines!
be revised as:
The modified code is shown in the figure:
Search List Modification
finde/search/result/index.phpFind the code variable$queryThis is a variable in an SQL statement; locate it and add the following code:
After completing the above modifications, the job is done!

