Smarty Error: Unable to load template file 'index/gl_tpl/main_message.html'

94.       * @param params 传入的参数
95.       */
96.      public function __template_T($params)
97.      {
98.          return T($params['w']);
99.      }
100.  }
101. 
102.  /**
103.   spHtml
104.   静态HTML生成类
201.                  if( null != $method ){
202.                      switch (strtolower($method)) {
203.                          case 'get':
204.                              return $_GET[$name];
205.                          case 'post':
206.                              return $_POST[$name];
207.                          case 'cookie':
208.                              return $_COOKIE[$name];
209.                      }
210.                  }
211.                  return $this->args[$name];
136.          */
137.          $this->tpl('index');
138.      }
139.      function tpl($name){    //选择模版
140.          if($this->tplPath){
141.              $this->display($this->tplPath);
142.          }else{
143.              $this->display(I_TPL.'main_'.$name.'.html');
144.          }
145.      }
146.      /**
132.              $this->wzzc spClass('m_news')->spPager($this->spArgs('page',1),20)->findAll(array('class_id' => 65),'id desc');
133.              
134.              $this->tpl('zhuce');exit;
135.          }
136.          */
137.          $this->tpl('index');
138.      }
139.      function tpl($name){    //选择模版
140.          if($this->tplPath){
141.              $this->display($this->tplPath);
142.          }else{
29.      spLaunch("router_postfilter");
30.  }
31. 
32.  /**
33.   dump  格式化输出变量程序
34.   
35.   * @param vars    变量
36.   * @param output    是否将内容输出
37.   * @param show_trace    是否将使用spError对变量进行追踪输出
38.   */
39.  function dump($vars$output TRUE$show_trace FALSE){
73.  //载入框架
74.  require(SP_PATH."/SpeedPHP.php");
75.  require(APP_PATH.'/model/function.php');
76.  import(APP_PATH.'/controller/top.php');
77. 
78.  spRun();