年轻漂亮的妺妺6中文字幕版,成人看片黄app免费看软件,國產精品久久蜜桃天美精東,国产欧美日韩专区发布

UPDATE contents_description SET hits = hits + 1 WHERE id = 11 執行錯誤

178.          
179.          $result $this->db->query($sql);
180. 
181.          if($result===false)
182.              //echo "查詢出錯!{$sql}";
183.              JError("{$sql} 執行錯誤");
184.              
185.          $this->lastResult $result;
186.          return $result;
187.      }
188.      
397.      public function incrField($conditions$field$optval 1)
398.      {
399.          $where $this->_db->getWhere($conditions);        
400.          $values "{$field} = {$field} + {$optval}";
401.          $sql "UPDATE {$this->tbl_name} SET {$values} {$where}";
402.          return $this->_db->exec($sql);
403.      }
404.      
405.      /**
406.       為設定的字段值減少
407.       * @param conditions    數組形式,查找條件,此參數的格式用法與getOne/getAll的查找條件參數是相同的。
24.          $language$this->getLang();
25.          
26.          $contents_description JLoadClass('contents_description');
27.          if($content_description $contents_description->getOne(array('content_id' => $content_id'language' => $language))) {
28.              $cdid intval($content_description['id']);
29.              $contents_description->incrField(array('id'=>$cdid), 'hits');
30. 
31.              $model $content_description['model'];
32.              $model_obj JLoadClass($model);
33.              $cond = array(
34.                  $model_obj->cpk => $content_id,
26.          eval($GLOBALS['G_JCONFIG']["dispatcher_error"]);
27.          exit;
28.      }
29. 
30.      // 執行用戶代碼    
31.      $__handle_controller->$__actionFunc();
32. 
33.      //顯示前執行自定義代碼
34.      JInject("before_display");
35. 
36.      // 控制器程序運行完畢,進行模板的自動輸出
63.  if(count($server_info) > 1) {
64.      $server_domain $server_info[count($server_info)-2];
65.      define('DOMAIN'$server_domain);
66.  }
67. 
68.  JStart();
69.  ?>
主站蜘蛛池模板: 自贡市| 汝州市| 阜宁县| 航空| 满洲里市| 精河县| 祁东县| 桃园市| 兴仁县| 崇左市| 德昌县| 城步| 石河子市| 黑水县| 临海市| 深泽县| 金昌市| 东丽区| 山东省| 始兴县| 普兰县| 两当县| 新竹市| 托克托县| 霍城县| 酒泉市| 滁州市| 安溪县| 孟连| 玛沁县| 辽宁省| 望城县| 海门市| 阿荣旗| 陕西省| 富顺县| 专栏| 南涧| 五峰| 湟中县| 革吉县|