<delect id="xhltl"><video id="xhltl"></video></delect>

<p id="xhltl"><delect id="xhltl"></delect></p>
<video id="xhltl"></video>
<p id="xhltl"><output id="xhltl"><delect id="xhltl"></delect></output></p><video id="xhltl"><p id="xhltl"><delect id="xhltl"></delect></p></video>

<p id="xhltl"><output id="xhltl"></output></p>

<p id="xhltl"><delect id="xhltl"><font id="xhltl"></font></delect></p>

<p id="xhltl"></p>
<output id="xhltl"><output id="xhltl"></output></output>
<video id="xhltl"></video>

<noframes id="xhltl">

<p id="xhltl"></p>
<p id="xhltl"></p><video id="xhltl"><output id="xhltl"><font id="xhltl"></font></output></video>

<p id="xhltl"><delect id="xhltl"></delect></p>

<p id="xhltl"><delect id="xhltl"></delect></p>

<p id="xhltl"></p>

<video id="xhltl"><output id="xhltl"><delect id="xhltl"></delect></output></video>
<p id="xhltl"></p>

select * from utf8_web_sort where parent= order by list desc
執行錯誤: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by list desc' at line 1

57.      {
58.          $this->arrSql[] = $sql;
59.          if( $result mysql_query($sql$this->conn) ){
60.              return $result;
61.          }else{
62.              spError("{$sql}<br />執行錯誤: " mysql_error());
63.          }
64.      }
65.      
66.      /**
67.       返回影響行數
21.       
22.       * @param sql  執行的SQL語句
23.       */
24.      public function getArray($sql)
25.      {
26.          if( ! $result $this->exec($sql) )return FALSE;
27.          if( ! mysql_num_rows($result) )return FALSE;
28.          $rows = array();
29.          while($rows[] = mysql_fetch_array($result,MYSQL_ASSOC)){}
30.          mysql_free_result($result);
31.          array_pop($rows);
241.      public function findSql($sql,$args='')
242.      {    
243.          if($args){
244.              log_class::addLog($args);
245.          }
246.          return $this->_db->getArray($sql);
247.      }
248.      /**
249.       執行SQL語句,相等于執行新增,修改,刪除等操作。
250. 
251.       *
110.          return $rows;
111.      }
112.      
113.      // 右側顯示欄目
114.      function get_right_sort($pid){
115.          $rows $this->findSql("select * from ".$this->table." where parent=".$pid." order by list desc");
116.          return $rows;
117.      }
118.  }
119.  ?>
262.      }
263.      
264.      
265.      //右側欄
266.      function banner($pid){
267.          $rows spClass("utf8_web_sort")->get_right_sort($pid);
268.          // 獲取pid的name
269.          $sort_one spClass("utf8_web_sort")->getSortById($pid);
270.          if(empty($rows)){
271.              $this->sorts $sort_one;
272.          }
2.  import (APP_PATH.'/controller/general.php');
3.  class show extends general
4.  {
5.      function index(){
6.          $pid $this->spArgs('pid');
7.          $this->banner($pid);
8.          $fid $this->spArgs('fid');
9.          if(!$fid){
10.              $fid $pid;
11.              $sec_nav['parent_id'] = $pid;    
12.          }
19.          eval($GLOBALS['G_SP']["dispatcher_error"]);
20.          exit;
21.      }
22.      // 路由并執行用戶代碼
23. 
24.      $handle_controller->$__action();
25.      // 控制器程序運行完畢,進行模板的自動輸出
26. 
27.      if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
28.          $__tplname $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
29.                  $__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼裝模板路徑
6.  define("C_PATH",dirname(__FILE__).'/controller');
7.  $spConfig = array(
8. 
9.  );
10.  require(SP_PATH."/SpeedPHP.php");
11.  spRun();
久久99国产综合精品69堂蜜臀

<delect id="xhltl"><video id="xhltl"></video></delect>

<p id="xhltl"><delect id="xhltl"></delect></p>
<video id="xhltl"></video>
<p id="xhltl"><output id="xhltl"><delect id="xhltl"></delect></output></p><video id="xhltl"><p id="xhltl"><delect id="xhltl"></delect></p></video>

<p id="xhltl"><output id="xhltl"></output></p>

<p id="xhltl"><delect id="xhltl"><font id="xhltl"></font></delect></p>

<p id="xhltl"></p>
<output id="xhltl"><output id="xhltl"></output></output>
<video id="xhltl"></video>

<noframes id="xhltl">

<p id="xhltl"></p>
<p id="xhltl"></p><video id="xhltl"><output id="xhltl"><font id="xhltl"></font></output></video>

<p id="xhltl"><delect id="xhltl"></delect></p>

<p id="xhltl"><delect id="xhltl"></delect></p>

<p id="xhltl"></p>

<video id="xhltl"><output id="xhltl"><delect id="xhltl"></delect></output></video>
<p id="xhltl"></p>