fcontex˵
===============

themesĿ¼УÿһĿ¼һ׶fcontex⣬ģļԴɡ
ں̨½ǵͼ꣬ڵվýпԸվ⡣

رҪ
--------
ģļҪ<!--left-->HTML<!--left-->HTMLעͱǩʾã
1ģļ׶
2·͵Ĳҳ档

ȫעͱǩ嵥£
<!--header-->             ҳͷ
<!--search-->            
<!--navi-->              
<!--container-->         ȫҳ
<!--position-->          ǰҳλʾ
<!--center-->            еʾ
<!--left-->              ʾ
<!--content-->           ʾ
<!--right-->             
<!--category-->          Ŀʾ
<!--tags-->              ǩʾ
<!--footer-->            ҳ
<!--comment_js-->        JS
<!--comment-->           
<!--comment_list-->      б
<!--gbook_js-->          JS
<!--gbook-->             
<!--gbook_form-->        Ա
<!--gbook_list-->        б
<!--count_js-->          ҳͳJS
<!--scrolltop_js-->      JS
<!--highlight_js-->      JS

ϵͳԴĿ¼µĸģļ


һ
-------------------

theme.php       ǰļ
images          ǰͼƬԴĴĿ¼

int.footer.php  ҳ
int.header.php  ҳͷ
int.sider.php   

list.php        бҳ    [ҳ][бҳ]ǩ[ҳ]ؼ[ҳ]ʱ
read.php        ҳ    [ҳ][ͨҳ]硰ڡʱ
comment.php     ҳ    Ajaxʽ[]ʱ
gbook.php       ҳ    [ҳ]ʱ
404.php         404ҳ
rss.php         RSSҳ     [RSSҳ]ʱ


ģ˵
============


--------

module/startup.phpжгģļзʣеĶӦļֱΪ
$A  =>  module/system/library/cls.application.php
$U  =>  module/member/library/cls.member.php
$D  =>  module/system/library/cls.database.php
$T  =>  module/system/library/cls.template.php
$R  =>  module/system/library/cls.router.php
$P  =>  module/system/library/cls.plugin.php
$C  =>  module/content/library/cls.content.php
Ҫ˽ЩЩԼԴЩļ鿴

$position       飬˵ǰҳλϢʾ硰ҳ>Ŀ>λõ
                foreach($position as $pos){}﷨$posҲһ飬Ԫ£
$pos['text']    λ
$pos['link']    λ

ҳ涼Ч


ҳ/бҳ
-----------

$category['id']       ǰĿID
$category['title']    ǰĿ
$pager                ҳ
$turnner              ҳ

$items                飬˵ǰĿǰҳݡ
                      foreach($items as $item){}﷨$itemһ飬ҪԪ£
$item['ct_id']            ID
$item['ct_uid']           ID
$item['ct_username']      
$item['ct_title']         
$item['ct_tags']          ǩԶŷָ
$item['ct_summary']       
$item['ct_content']       
$item['ct_inserttime']    ʱ
$item['ct_cover']         ·
$item['ct_hits']          
$item['ct_talks']         


ǩҳ
--------------

$tag        ǰıǩ
$items      [бҳ]$itemsͬ
$pager      ҳ
$turnner    ҳ


ؼҳ
----------------

$keyw       ǰĹؼ
$items      [бҳ]$itemsͬ
$pager      ҳ
$turnner    ҳ

ҳ
------

$page    飬ĻԪغ[бҳ]$itemͬȫԪؿԴsqlite.sqlfc_contentñֶζԵá


ҳ
------

$quiet       Ƿ

$comments    飬ǰҳݡ
             foreach($comments as $item){}﷨$itemҲһ飬ҪԪ£
$item['cm_id']         ID
$item['cm_cid']        ۵µID
$item['cm_ctitle']     ۵µı
$item['cm_topid']      ظIDǰǻظʱΪ0ֵ
$item['cm_name']       
$item['cm_content']    
$item['cm_time']       ʱ
ȫԪؿԴsqlite.sqlfc_commentñֶζԵá

$pager      ҳ
$turnner    ҳ


ҳ
------

$quiet       Ƿ

$gbook    飬ǰҳݡ
          foreach($gbook as $item){}﷨$itemҲһ飬ҪԪ£
$item['gb_id']         ID
$item['gb_cid']        ԵµID
$item['gb_ctitle']     Եµı
$item['gb_topid']      ظIDǰǻظʱΪ0ֵ
$item['gb_name']       
$item['gb_content']    
$item['gb_time']       ʱ
ȫԪؿԴsqlite.sqlfc_gbookñֶζԵá

$pager      ҳ
$turnner    ҳ
