WARNING: Invalid argument supplied for foreach() in /www/wwwroot/kedigroup.com.cn/protected/model/tag_model.php on line 20

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();
15.      }
16.      public function tags_id()
17.      {
18.          $tag_id = array();
19.          $tag $this->find_all();
20.          foreach($tag as $k=>$v){
21.              $tag_id[$v['tag_name']] = $v['id'];
22.          }
23.          return $tag_id;
24.           
25.      }
35.          if($args[2] == -1) return $this->delete($key);
36.          $cache $this->get($key);
37.          if(FALSE === $cache)
38.          {
39.              $obj = new $outer();
40.              $data call_user_func_array(array($obj$args[0]), $args[1]);
41.              $this->set($key$data$args[2]);
42.              return $data;
43.          }
44.          return $cache;
45.      }
4.      public function action_index()
5.      {
6.          $id = (int)request('id'0);
7.          $tag_model = new tag_model();
8.          $this->tag_list vcache::instance()->tag_model('tags');
9.          $this->tag_id vcache::instance()->tag_model('tags_id');
10.          $title '标签';
11.          if(!empty($id)){
12.              if($this->tag $tag_model->find(array('id'=>$id))){
13.                  $title $this->tag['tag_name'];                
14.                  if(!empty($this->tag['aid'])){
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');
日日摸日日碰夜夜爽无码,青青青爽在线视频观看,国产精品七七在线播放,91精品专区国产在线观看高清