select * from dy_article a left join dy_article_field b on (a.id=b.aid) where id= and isshow=1 limit 1
执行错误: 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 'and isshow=1 limit 1' at line 1

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);
118.          return $this->update($conditions, array($field=>$value));
119.      }
120. 
121.      public function findSql($sql)
122.      {
123.          return $this->_db->getArray($sql);
124.      }
125. 
126.      public function runSql($sql)
127.      {
128.          return $this->_db->exec($sql);
17.          if($this->syArgs('file',1)!=''){
18.              $this->article=syDB('article')->findSql('select * from '.$this->db.' a left join '.$this->db.'_field b on (a.id=b.aid) where (htmlfile="'.$this->syArgs('file',1).'" or id='.$this->syArgs('file').') and isshow=1 limit 1');
19.              $id $this->article['id'];
20.          }else{
21.              $id $this->syArgs('id');
22.              $this->article=syDB('article')->findSql('select * from '.$this->db.' a left join '.$this->db.'_field b on (a.id=b.aid) where id='.$id.' and isshow=1 limit 1');
23.          }
24.          if(!$this->article){message("指定内容不存在或未审核");}
25.          $this->article=$this->article[0];
26.          $this->article=array_merge($this->article,array('tid_leafid'=>$this->sy_class_type->leafid($this->article['tid'])));
27.          if($this->article['mrank']>0){
7.      $handle_controller syClass($__controllernull$GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
8.      if(!is_object($handle_controller) || !method_exists($handle_controller$__action)){
9.          syError('route Error');
10.          exit;
11.      }
12.      $handle_controller->$__action();
13.      if(FALSE != $GLOBALS['G_DY']['view']['auto_display']){
14.          $__tplname $__controller.$GLOBALS['G_DY']['view']['auto_display_sep'].
15.                  $__action.$GLOBALS['G_DY']['view']['auto_display_suffix']; 
16.          $handle_controller->auto_display($__tplname);
17.      }
1.  <?php
2.  require("config.php");
3.  $doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
4.  require(DOYO_PATH."/sys.php");
5.  spRun();

PHP网站源码松岗网站优化按天收费永湖网站优化排名罗湖网站设计爱联网站搭建西乡网站优化按天扣费大芬品牌网站设计西乡阿里店铺运营龙岗百搜标王南澳网站优化按天扣费石岩网站推广方案丹竹头设计公司网站大浪SEO按效果付费惠州seo排名坪地网站关键词优化平湖网络营销平湖SEO按天收费爱联标王福田百度seo东莞网站设计模板荷坳关键词按天计费坪地网站推广系统坂田百度爱采购坪山网络广告推广大鹏营销型网站建设盐田百度标王大运网站优化按天扣费西乡网站优化按天计费罗湖外贸网站制作龙岗网络推广木棉湾关键词排名包年推广歼20紧急升空逼退外机英媒称团队夜以继日筹划王妃复出草木蔓发 春山在望成都发生巨响 当地回应60岁老人炒菠菜未焯水致肾病恶化男子涉嫌走私被判11年却一天牢没坐劳斯莱斯右转逼停直行车网传落水者说“没让你救”系谣言广东通报13岁男孩性侵女童不予立案贵州小伙回应在美国卖三蹦子火了淀粉肠小王子日销售额涨超10倍有个姐真把千机伞做出来了近3万元金手镯仅含足金十克呼北高速交通事故已致14人死亡杨洋拄拐现身医院国产伟哥去年销售近13亿男子给前妻转账 现任妻子起诉要回新基金只募集到26元还是员工自购男孩疑遭霸凌 家长讨说法被踢出群充个话费竟沦为间接洗钱工具新的一天从800个哈欠开始单亲妈妈陷入热恋 14岁儿子报警#春分立蛋大挑战#中国投资客涌入日本东京买房两大学生合买彩票中奖一人不认账新加坡主帅:唯一目标击败中国队月嫂回应掌掴婴儿是在赶虫子19岁小伙救下5人后溺亡 多方发声清明节放假3天调休1天张家界的山上“长”满了韩国人?开封王婆为何火了主播靠辱骂母亲走红被批捕封号代拍被何赛飞拿着魔杖追着打阿根廷将发行1万与2万面值的纸币库克现身上海为江西彩礼“减负”的“试婚人”因自嘲式简历走红的教授更新简介殡仪馆花卉高于市场价3倍还重复用网友称在豆瓣酱里吃出老鼠头315晚会后胖东来又人满为患了网友建议重庆地铁不准乘客携带菜筐特朗普谈“凯特王妃P图照”罗斯否认插足凯特王妃婚姻青海通报栏杆断裂小学生跌落住进ICU恒大被罚41.75亿到底怎么缴湖南一县政协主席疑涉刑案被控制茶百道就改标签日期致歉王树国3次鞠躬告别西交大师生张立群任西安交通大学校长杨倩无缘巴黎奥运

PHP网站源码 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化