News Management -> Add news
Return to the management page
Description: Station news is a small feature set for webmasters to publish site announcements. To read information that includes the text field, periodically delete outdated information, otherwise templates may slow down. If you do not have the option to display the channel, then using this flag in this channel will be replaced by the flag of "All locations ...".
Station news call code: {dede:mynews row='条数' titlelen='Title length'}Innertext{/dede:mynews},Innertext Supported fields are:[field:title /],[field:writer /],[field:senddate /](time),[field:body /]。
Title:
Display channel:
SetQuery("Select id,typename From #@__arctype where reid=0 order by ABS(".$myNews['typeid']." - id) asc"); $dsql->Execute(); while($row = $dsql->GetObject()) { echo "
".$row->typename."
\r\n"; } if($myNews['typeid']=="0") echo "
All locations...
\r\n"; else echo "
All locations...
\r\n"; ?>
spokesman:
date:
information: