欧美啄木乌在线播放,青青草手机在线,久亚洲AV无码专区A片,成年无码AV片在线蜜芽爱做久久久久久,国产亚洲av无码专区a∨麻豆,久久久久人妻一区精品性色av,极品尤物被啪

Err: "/www/wwwroot/sqzhongming.com/skins/zhongming/tpl/tag_index.html" is not exists!

455.      }
456. 
457.      public function compile($tempalte_name)
458.      {
459.          $file $this->template_dir.DS.$tempalte_name;
460.          if(!$file realpath($file)) err('Err: "'.$this->template_dir.DS.$tempalte_name.'" is not exists!');
461.          if(!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) err('Err: Directory "'.$this->compile_dir.'" is not writable or readable');
462.          $complied_file $this->compile_dir.DS.md5($file).'.'.filemtime($file).'.'.basename($tempalte_name).'.php';
463.          if(is_file($complied_file)) return $complied_file;
464. 
465.          $template_data file_get_contents($file); 
427.          $this->compile_dir  $compile_dir;
428.      }
429.      
430.      public function render($tempalte_name)
431.      {
432.          $complied_file $this->compile($tempalte_name);
433.          
434.          @ob_start();
435.          extract($this->template_valsEXTR_SKIP);
436.          $_view_obj = & $this;
437.          include $complied_file;
185.      
186.      public function display($tpl_name)
187.      {
188.          if(!$this->_v$this->_v = new View(VIEW_DIRAPP_DIR.DS.'protected'.DS.'cache'.DS.'template');
189.          $this->_v->assign($this->_data);
190.          echo $this->_v->render($tpl_name);
191.      }
192.  }
193. 
194.  class Model
195.  {
27.          if($GLOBALS['cfg']['wap']){
28.              if(is_mobile_device())$div '/mobile/';    
29.          }
30.          
31.          $path $GLOBALS['cfg']['enabled_theme'].$div.$tpl_name;
32.          $this->display($path);
33.      }
34.      
35.      protected function prompt($type null$text ''$redirect null$time 3)
36.      {
37.          if(empty($type)) $type 'default';
31.                  }
32.              }
33.          }
34.          
35.          $this->title $title;
36.          $this->compiler('tag_index.html');
37.      }
38.      
39.      public function action_sitemap()
40.      {    header("Content-type: text/xml");        
41.          $xml vcache::instance()->tag_model('sitemap');
89.  $action_name 'action_'.$__action;
90.  if(!class_exists($controller_nametrue)) {header('location:/404.html');exit();}
91.  $controller_obj = new $controller_name();
92.  if(!method_exists($controller_obj$action_name)) err("Err: Method '$action_name' of '$controller_name' is not exists!");
93. 
94.  $controller_obj->$action_name();
95. 
96.  function url($c 'main'$a 'index'$param = array())
97.  {
98.      if(is_array($c))
99.      {
1.  <?php
2.  define('APP_DIR'realpath('./'));
3.  defined('DS') or define('DS'DIRECTORY_SEPARATOR);
4.  define('INCL_DIR'APP_DIR.DS.'protected'.DS.'include');
5.  require(INCL_DIR.DS.'core.php');