ģļ˵(ٷشģ壬õ벻Ҫɾ)
cw_book.html     
cw_index.html    ҳ
cw_map_txt.html  HTMLͼ
cw_map_xml.html  XMLͼ
cw_news.html     ϢƵ
cw_product.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:webname} վ
{cw:webhost} վ
{cw:webroot} վװĿ¼
{cw:webstats}վͳ
{cw:nowtime} ʱ

ҳǩ
{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: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:listpage}

бѭ
{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] [end if]
    [if (i mod 2)=0][end 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}