In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method that the title of the latest post shows red within 24 hours, which has a certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
Dream weaving the latest post how to achieve the title of red within 24 hours?
Dream Weaving DEDECMS's latest post has a red title within 24 hours.
How does DEDECMS modify the newly published content to show red within 24 hours and change to a common color setting after 24 hours? We all know that the newly published call tag is in the home template of the template directory, and we open templets/default/index.htm. Let's assume that the following code is the newly published tag that calls this site:
Newly published {dede:arclist titlelen='60' noflag='h' row='13'} [field:pubdate function= "MyDate ('m murdhi dongju dongjie)" /] [field:title/] {/ dede:arclist}
The following code is the call tag with the title red within 24 hours after we modify it:
Newly published {dede:arclist titlelen='60' noflag='h' row='13'} [field:pubdate runphp='yes'] $a = ""; $d = "; $b ="; $c=strftime ("% Mmurf% d "," @ me "); $ntime = time (); $oneday = 3600 * 24; if (($ntime-@ me))
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.