The default home bulletin board call method in Destoon is as follows:
Copy Code code as follows:
<!–{tag ("table=announce&condition=totime=0 or totime> $today _endtime-86400&areaid= $cityid & Pagesize=3&datetype=2&order=listorder desc,addtime Desc&target=_blank ")}–>
The template file referenced by this label is a template/default/tag/list.htm file.
When we don't want to use this list.htm file and want to use our own style and template, we can copy the file and change the file name to List-new.htm for example.
Styles and labels can be changed by reference to the list.htm calling rules.
At this time on the home page we can call the following method:
Copy Code code as follows:
<!–{tag ("table=announce&condition=totime=0 or totime> $today _endtime-86400&length=30&areaid=$ Cityid&pagesize=3&datetype=2&order=listorder desc,addtime Desc&target=_blank &template= List-new")}–>
That is, write your own template file on the basis of the original call.