ȫվͨñǩ
{cw:webname} վ
{cw:webhost} վ
{cw:webroot} վװĿ¼
{cw:webstats}վͳ
{cw:nowtime} ʱ
{cw:webkefu} ͷ
ģļ˵(ٷشģ壬õ벻Ҫɾ)
cw_book.html     
cw_index.html    ҳ
cw_map.html      HTMLͼ
cw_news.html     ϢƵ
cw_news_list.htmlϢҳ
cw_news_pic.html ͼƬϢ
cw_news_show.htmlϢ
cw_page.html     ҳ
cw_search.html   
cw_xml.html      XMLͼ
js/cw.js         رJSļ
js/jquery.js     رJSļ
࣬ҳҳģԶ壬Ȼں̨ʹ

ҳǩ
{cw:webtitle}ҳ
{cw:webkey}  ҳؼ
{cw:webdesc} ҳ

ҳ
{cw:class_id}      ID
{cw:class_followid}ุID
{cw:class_title}   
{cw:class_key}     ؼ
{cw:class_desc}    
{cw:class_allid}   ID
{cw:class_url}     
{cw:class_pic}     ͼƬ
{cw:class_position}С
{cw:class_page}    ൱ǰҳ
{cw:html_page}      ҳ

ҳѭ
{@cw:page select * from cw_info where classid in({cw:class_allid}) order by id desc}
{@title}
{@link} 
{@id}   ID
{@pic}  ͼƬ
{@jj}   
{@adddate}ʱ
{/@cw:page}

бѭ
{cw:loop select top 5 * from cw_info order by id desc}
{title}{id}{link}{pic}{jj}{adddate}{classid}{classidname}
{/cw:loop}

ҳǩ
{cw:show_id}
{cw:show_title}
{cw:show_key}
{cw:show_desc}
{cw:show_content}


ҳǩ
{cw:show_id}
{cw:show_title}
{cw:show_key}
{cw:show_desc}
{cw:show_content}
{cw:show_position}
{cw:show_classid}
{cw:show_classname}
{cw:show_classurl}
{cw:show_pic}
{cw:show_tags}

ʱʽת
[@{adddate}#date=yyyy-mm-dd]    ʱת2015-05-05
    [@{adddate}#date=yyyymmdd]ʱת20150505

ַͼ
[@{jj}#len=200] ȡǰ200ַ

ȡID
[cw:news_allclassid(1)]
[cw:info_allclassid(1)]
.....

IFʹ
[if ] [else] [/if]
[if (i mod 2)=0][/if]

ȥHTML
[@{content}#function=nohtml]

ȥHTMLȡǰ100ַ
[@{content}#function=nohtml/len=100]

ؼʺɫ
[@{title}#key=ؼ]

Forѭ
{cw:for a=0 to 9}aaaaa{/cw:for}

άѭʾ
{@cw:loop select top 5 * from cw_class}
   {cw:loop select top 5 * from cw_info where classid={@id} order by id desc}
       {classname}{title}
   {/cw:loop}
{/@cw:loop}