$ad=M('ad')->where("id in(4,5,6,7,8,9)")->select(); foreach($ad as $i=>$d) { if($i==0) $dis=''; else $dis='display: none;';
}

95 % 满意度

出游人数：1000000+

点评人数：80000+

$ad=M('ad')->where(array('id'=>10))->find(); if($ad['status']==0) { } $ad=M('ad')->where(array('id'=>11))->find(); if($ad['status']==0) { }

### 游记攻略

更多

$guide_list=guide_list('','','','8','id'); // print_r($guide_list); foreach($guide_list as $g) {
- {$g.guide_title} {$g.guide_time|date='Y-m-d',###} 浏览：{$g.guide_click} 评论：{$g.comment}
}

$destination_list=destination_list('','',6,'guide','on'); //获取一个目的地列表 foreach($destination_list as $d) {
- {$d.name}({$d.guide})
}

### 旅游主题

更多

$theme_list=theme_list('4','weight'); //获取一个攻略主题 foreach($theme_list as $l) {
- {$l.title}
}

### 问题咨询

更多

$ask_list=ask_list('','','4','id');//获取一个问答列表 foreach($ask_list as $a) {
- {$a.qa_content|stripslashess} {$a.time|date='Y-m-d',###}
}

### 游客评论

更多

$comment_list_line=comment_list_line('','',3,'id'); //获取点评列表 foreach($comment_list_line as $b) { $member=M('member')->field('id,face,email,mobile')->where(array('id'=>$b['uid']))->find(); if($member['mobile']!='') $name=$member['mobile']; else $name=$member['email']; $name=erdai_hideStr($name,'0','4','1');

- {$name}

  echo $b['myd']*100%

  {$b.review_title|stripslashess} {$b.time|date='Y-m-d',###} 赞：{$b.ding}

}

#### 畅销排行榜

$line_list=line_list('','','15','num');//获取一个产品列表 foreach($line_list as $t) {

- {$t.title}

  ￥{$t.minprice}起

}

$ad=M('ad')->where(array('id'=>12))->find(); if($ad['status']==0) { }

$newslist=news_class_list(2,'weight'); foreach($newslist as $i=>$l) {
- {$l.title}
}

$newslist=news_class_list(2,'weight'); foreach($newslist as $i=>$l) { $list=news_list($l['id'],'7');

foreach($list as $ll) { if($ll['bold']==1) $bold='bold'; else $bold='';
- · {$ll.title}
}

}

- 吐血甩卖
- 品质精选
- 特价促销
- 本月TOP10

$smai=line_list('','6','4'); foreach($smai as $s) {
- {$s.title}
  {$s.description|stripslashess|strip_tags} 满意度：echo $s['myd']*100% 点评：{$s.comment}

  优惠¥{$s.minprice}起

}

更多团购

$smai=line_list('','5','4'); foreach($smai as $s) {
- {$s.title}
  {$s.description|stripslashess|strip_tags} 满意度：echo $s['myd']*100% 点评：{$s.comment}

  优惠¥{$s.minprice}起

}

往期推荐

$smai=line_list('','2|3','4','',''); foreach($smai as $s) {
- {$s.title}
  {$s.description|stripslashess|strip_tags} 满意度：echo $s['myd']*100% 点评：{$s.comment}

  优惠¥{$s.minprice}起

}

更多特价

$smai=line_list('','','num','','','0,4'); foreach($smai as $i=>$s) {
- echo $i+1 {$s.title}
} $smai=line_list('','','num','','','4,6'); foreach($smai as $i=>$s) {
- echo $i+5 {$s.title}
}

$ad=M('ad')->where(array('id'=>13))->find(); if($ad['status']==0) { }
$mlist=destination_list('','2','5','weight','yes'); foreach($mlist as $a) {
更多

- {$a.name}
$nlist=destination_list($a['id'],'2','5','weight',$top); foreach($nlist as $i=>$b) { if($b['pic']=='') $picc='/css/'.S('cfg_templates').'/images/place_icon.png'; else $picc=$b['pic'];

- {$b.name}({$b.pinyin}){$b.biaoyu}

}

$u=line_list($a['id'],'','','','','0,1'); foreach($u as $cc) {
- {$cc.title} ¥{$cc.minprice}起
} $u=line_list($a['id'],'','','','','1,3'); foreach($u as $cc) {
- {$cc.title} ¥{$cc.minprice}
}

$nnlist=destination_list($a['id'],'2','5','weight',$top); foreach($nnlist as $iii=>$bb) {

$uu=line_list($bb['id'],'','','','','0,1'); foreach($uu as $ccc) {
- {$ccc.title} ¥{$ccc.minprice}
} $uuu=line_list($bb['id'],'','','','','1,3'); foreach($uuu as $ccc) {
- {$ccc.title} ¥{$ccc.minprice}
}

}
}
if($cfg_visa_show==1) {

## 签证办理

$list=destination_visa(9); foreach( $list as $l) { $more=M('destination')->field('pic,id')->where(array('id'=>$l['destination']))->cache(1800,true)->find();

- {$l.destination_name}签证

  立即办理
}

$list=visa_list('',8); foreach($list as $l) { $more=M('visa')->field('litpic,id')->where(array('destination'=>$l['destination']))->cache(1800,true)->find();

- ##### {$l.visa_title}

  {$l.visa_type|visa_type}

  ￥{$l.visa_price}

}

}