DESCRIBE dy_classtype
執行錯誤: Can't create/write to file 'C:\Users\NpointMYSQL_W1\AppData\Local\Temp\#sql_7fc_0.MYD' (Errcode: 13)

34.          $this->arrSql[] = $sql;
35.          if( $result mysql_query($sql$this->conn) ){
36.              return $result;
37.          }else{
38.              if(mysql_error()!=''){
39.                  syError("{$sql}<br />執行錯誤: " mysql_error());
40.              }else{
41.                  return TRUE;
42.              }
43.          }
44.      }
3.  class db_mysql {
4.      public $conn;
5.      public $arrSql;
6.      public function getArray($sql)
7.      {
8.          if( ! $result $this->exec($sql) )return array();
9.          if( ! mysql_num_rows($result) )return array();
10.          $rows = array();
11.          while($rows[] = mysql_fetch_array($result,MYSQL_ASSOC)){}
12.          mysql_free_result($result);
13.          array_pop($rows);
48.          return mysql_affected_rows($this->conn);
49.      }
50. 
51.      public function getTable($tbl_name)
52.      {
53.          return $this->getArray("DESCRIBE {$tbl_name}");
54.      }
55. 
56.      public function __construct($dbConfig)
57.      {
58.          $linkfunction = ( TRUE == $dbConfig['persistent'] ) ? 'mysql_pconnect' 'mysql_connect';
205. 
206.  function syDB($tbl_name$pk null){
207.      $modelObj syClass("syModel");
208.      $modelObj->tbl_name = (TRUE == $GLOBALS['G_DY']["db_spdb_full_tblname"]) ? $tbl_name :    $GLOBALS['G_DY']['db']['prefix'] . $tbl_name;
209.      if( !$pk ){
210.          @list($pk) = $modelObj->_db->getTable($modelObj->tbl_name);$pk $pk['Field'];
211.      }
212.      $modelObj->pk $pk;
213.      return $modelObj;
214.  }
215. 
60.              syClass('symember')->p_v($this->type['mrank']);
61.          }
62.          $this->type=array_merge($this->type,array('tid_leafid'=>$this->sy_class_type->leafid($this->article['tid'])));
63.          $this->positions='<a href="'.$GLOBALS["WWW"].'">首頁</a>';
64.          foreach($this->sy_class_type->navi($this->article['tid']) as $v){
65.              $d_pos=syDB('classtype')->find(array('tid'=>$v['tid']),null,'tid,molds,htmldir,htmlfile,mrank');
66.              $this->positions.='  &gt;  <a href="'.html_url('classtype',$d_pos).'">'.$v['classname'].'</a>';
67.          }
68.          $this->display('article/'.$this->type['t_content']);
69.      }
70.      function type(){
11.      $handle_controller syClass($__controllernull$GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
12.      if(!is_object($handle_controller) || !method_exists($handle_controller$__action)){
13.          syError('route Error');
14.          exit;
15.      }
16.      $handle_controller->$__action();
17.      if(FALSE != $GLOBALS['G_DY']['view']['auto_display']){
18.          $__tplname $__controller.$GLOBALS['G_DY']['view']['auto_display_sep'].
19.                  $__action.$GLOBALS['G_DY']['view']['auto_display_suffix']; 
20.          $handle_controller->auto_display($__tplname);
21.      }
21.    $doyoConfig['ext']['view_themes'] = $_GET['theme'];
22.    setcookie('theme'$doyoConfig['ext']['view_themes']);
23.  }*/
24.  $doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
25.  require(DOYO_PATH."/sys.php");
26.  spRun();
囯产色欲一区二区精品久久呦,久久精品这里能看,香蕉久久精品国产亚洲,久久亚洲AV永久无码精品