ҳĬԾ̬html
һеķ ɹʾɼʾվ http://demo.ualink.cn/index.html

   1. ļΪindex.php֣֮ main.php
   2. .ļ htmls/index.htmlĿ¼£ ùߴ򿪣 ҵ index.php?action=html ...  index.phpΪ涨ģ main.php htmls/index.htmlΪ index.html, ͬʱΪдȨ.
   3. ļ
   app/libs/controllers/userpage_controller.php
   ,  
   $tmp_contain['index'] = $inc_path."htmls/"; 
   $tmp_contain['index'] = $inc_path; 
   ȫΪ 
   $tmp_contain['index'] = URL; 
   ļ 
   templates/default/element.top.html 
   templates/ua-admin/mkstatic.html 
    
   <{$smarty.const.URL}>index.php 
   Ϊ 
   <{$smarty.const.URL}>main.php
   4. ļ 
   templates/default/element.banner_2.html
   е
   user/logging.php
   Ϊ
   <{$smarty.const.URL}>user/logging.php
   5. ̨¾̬ļ ԶɼɣҪ2.3, ļ templates/ua-admin/mkstatic.htmlua-admin/mkstatic.php


û¼ˣ htmlҳ棬 ҳ޷жϵ¼״̬ ޸ģ index.php ҵ rebuildHTML Ϊ
 global $htmlcache, $cookiepre; 
 $obj = new xajaxResponse(); 
 $numargs = func_num_args(); 
 if($numargs>0) $page_name = func_get_arg(0); 
 $if_recache = $htmlcache->needRecache(); 
 if($if_recache){ 
	 header("Pragma: no-cache"); 
	 $url = URL."index.php?action=html&token=".md5(AUTH_KEY).""; 
	 $obj->addRedirect($url); 
 } 
 if(!empty($_COOKIE[$cookiepre.'auth'])){ 
	$obj->addAssign("toolbar", "style.display", "none"); 
 } 
 return $obj->getXML();