ģļ˵(ٷشģ壬õ벻Ҫɾ)
cw_book.html     
cw_index.html    ҳ
cw_map_txt.html  HTMLͼ
cw_map_xml.html  XMLͼ
cw_news.html     ϢƵ
cw_product_list.html  ƷƵ
cw_product_show.html  ƷƵ
cw_news_list.htmlϢ
cw_news_pic.html ͼƬ
cw_news_show.htmlϢ
cw_page.html     ҳ
cw_search.html   
cw_kefu.html     ߿ͷ
js/cw.js         رJSļ
js/jquery.js     رJSļ
࣬ҳҳģԶ壬Ȼں̨ʹ

ȫվͨñǩ
{cw:web_name} վ
{cw:web_host} վ
{cw:web_root} վװĿ¼
{cw:web_stats}վͳ
{cw:nowtime} ʱ

ҳǩ
{cw:web_title}ҳ
{cw:web_keyword}  ҳؼ
{cw:web_description} ҳ

ҳ
{cw:class_id}      ID
{cw:class_followid}ุID
{cw:class_title}   
{cw:class_keyword}     ؼ
{cw:class_description}    
{cw:class_allid}   ID
{cw:class_url}     
{cw:class_pic}     ͼƬ
{cw:class_position}С
{cw:class_page}    ൱ǰҳ
{cw:listpage}      ҳ

ҳѭ
{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:html_page}{cw:list_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}


{@reuser}
{@adddate}
{@content}
{@huifu}
{cw:bookpage}


ȡID
[cw:allclassid(1)]

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

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

ȥHTML
[@{content}#html=no]

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

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

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

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}