NOTICE: Undefined offset: 0 in /www/wwwroot/jianzhuxiehui.com/protected/cache/template/0b8ba5dd904847537ea55ccb5ec0bd0d.1615606484.news_list.html.php on line 24

19.    <table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
20.      <tr>
21.            <td width="240" valign="top"  >
22.       <div class="pleft">
23.                <?php $a sql(" * from w_article_cate where cate_id={$cate['parent_id']} order by seq asc ,cate_id asc"); ?>
24.              <div class="title"><strong><?php echo htmlspecialchars($a[0]['cate_name'], ENT_QUOTES"UTF-8"); ?></strong></div>
25.              
26.              <div class="pcate">
27.              <?php $a acate($cate['parent_id'],10); ?>
28.              <?php $_foreach_v_counter 0$_foreach_v_total count($a);?><?php foreach( $a as $v ) : ?><?php $_foreach_v_index $_foreach_v_counter;$_foreach_v_iteration $_foreach_v_counter 1;$_foreach_v_first = ($_foreach_v_counter == 0);$_foreach_v_last = ($_foreach_v_counter == $_foreach_v_total 1);$_foreach_v_counter++;?>   
29.              <a <?php if ($v['cate_id']== $cate['cate_id']) : ?> class="on" <?php endif; ?> href='<?php echo url(array('c'=>'news''a'=>'list''id'=>$v['cate_id'], ));?>'><?php echo htmlspecialchars($v['cate_name'], ENT_QUOTES"UTF-8"); ?></a>
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();
571.      if(!$GLOBALS['cfg']['debug'])
572.      {
573.          if(!empty($GLOBALS['err_handler']))
88. 
89.              /*$ks = vcache::instance()->key_model('key_list');            
90. 
91.              foreach($ks as $k=>$v){                 
92. 
93.                  $news['content'] = preg_replace('/'.$v['title'].'/i','<a href="'.$v['url'].'" target="_blank" >'.$v['title'].'</a>',$news['content'],1);
94. 
95.              }*/
96. 
97.              
98. 
275.      public function dump_sql(){return $this->sql;}
276.      
277.      public function pager($page$pernum 10$scope 10$total)
278.      {
279.          $this->page null;
280.          if($total $pernum)
281.          {
282.              $total_page ceil($total $pernum);
283.              $page min(intval(max($page1)), $total);
284.              $this->page = array
285.              (