NOTICE: Undefined index: cate in /www/wwwroot/shouli315.com/protected/include/core.php on line 183

560.          case E_NOTICE$msg "NOTICE"; break;
561.          case E_STRICT$msg "STRICT"; break;
562.          case 8192$msg "DEPRECATED"; break;
563.          default : $msg "Unknown Error Type";
564.      }
565.      err("$msg$errstr in $errfile on line $errline");
566.  }
567. 
568.  function err($msg)
569.  {
570.      $traces debug_backtrace();
178.      private $_v;
179.      private $_data = array();
180. 
181.      public function init(){}
182.      public function __construct(){$this->init();}
183.      public function __get($name){return $this->_data[$name];}
184.      public function __set($name$value){$this->_data[$name] = $value;}
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');
51.              $this->news $news;
52.              
53.              
54.              $article_model->query("update {$article_model->table_name} set hits=hits+1 where id=$id");
55.              
56.              $this->compiler($this->cate['con_tpl']);
57.          }
58.          else
59.          {
60.              jump(url('main''404'));
61.          }
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');