main.php 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. <?php
  2. /* @var $this \yii\web\View */
  3. /* @var $content string */
  4. use frontend\assets\AppAsset;
  5. use yii\helpers\Html;
  6. AppAsset::register($this);
  7. //导航
  8. $sysmenu = new \common\models\Frontend();
  9. // $sysmenu->pid = 156;
  10. $sysmenu->pid = 226;
  11. $sysrows = $sysmenu->SonList(8, ['name', 'url', 'icon', 'id', 'function']);
  12. ?>
  13. <?php $this->beginPage() ?>
  14. <!DOCTYPE html>
  15. <html lang="<?= Yii::$app->language ?>">
  16. <head>
  17. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  18. <meta charset="<?= Yii::$app->charset ?>">
  19. <meta name="author" content="品房海外"/>
  20. <meta name="Copyright" content="品房海外版权所有"/>
  21. <meta name="renderer" content="webkit"/>
  22. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
  23. <?= Html::csrfMetaTags() ?>
  24. <link rel="shortcut icon" href="/image/favicon.ico" type="image/x-icon"/>
  25. <title><?= Html::encode($this->title) ?></title>
  26. <?php $this->head() ?>
  27. <!-- Facebook Pixel Code -->
  28. <!-- <script>-->
  29. <!-- !function(f,b,e,v,n,t,s)-->
  30. <!-- {if(f.fbq)return;n=f.fbq=function(){n.callMethod?-->
  31. <!-- n.callMethod.apply(n,arguments):n.queue.push(arguments)};-->
  32. <!-- if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';-->
  33. <!-- n.queue=[];t=b.createElement(e);t.async=!0;-->
  34. <!-- t.src=v;s=b.getElementsByTagName(e)[0];-->
  35. <!-- s.parentNode.insertBefore(t,s)}(window, document,'script',-->
  36. <!-- 'https://connect.facebook.net/en_US/fbevents.js');-->
  37. <!-- fbq('init', '681786625694446');-->
  38. <!-- fbq('track', 'PageView');-->
  39. <!-- </script>-->
  40. <!-- <noscript>< img height="1" width="1" style="display:none"-->
  41. <!-- src="https://www.facebook.com/tr?id=681786625694446&ev=PageView&noscript=1"-->
  42. <!-- /></noscript>-->
  43. <!-- End Facebook Pixel Code -->
  44. </head>
  45. <body>
  46. <?php $this->beginBody() ?>
  47. <!-- 导航 -->
  48. <div class="y_puicdh_c">
  49. <div class="y_puicdh_cmain puic_wid c">
  50. <div class="y_puicdhleft fl c">
  51. <div class="y_logo fl"><a href="/"><img src="/image/v2/logo_m.png" alt=""></a></div>
  52. <div class="y_dhqy fl">
  53. <div class="y_dhqytpo">
  54. <a href="javascript:;">
  55. <!-- <em>-->
  56. <!-- <img src="/overseas/img/ico_31.png" alt="">-->
  57. <!-- </em>-->
  58. <!-- <span>--><? //= \common\fm\Opencc::ConvertHn('广东') ?><!--</span>-->
  59. <i>
  60. <!-- <img src="/overseas/img/ico_32.png" alt="">-->
  61. </i>
  62. </a>
  63. <!-- <div class="y_dhqynone c">-->
  64. <!-- <div class="aera_btn">-->
  65. <!-- <dl>-->
  66. <!-- <dd class="on" data-id="inland">国内</dd>-->
  67. <!-- <dd data-id="overseas">海外</dd>-->
  68. <!-- </dl>-->
  69. <!-- </div>-->
  70. <!-- 国内-->
  71. <!-- <div id="inland" class="inl" style="display:none;">-->
  72. <!-- <a href="">全国</a>-->
  73. <!-- <a href="">海南</a>-->
  74. <!-- <a href="">海南</a>-->
  75. <!-- </div>-->
  76. <!-- <div id="overseas" class="inl" style="display:none;">-->
  77. <!-- <a href="">马来西亚</a>-->
  78. <!-- <a href="">马来西亚</a>-->
  79. <!-- </div>-->
  80. <!-- </div>-->
  81. </div>
  82. </div>
  83. </div>
  84. <div class="y_puicdhcent fl">
  85. <ul class="c">
  86. <?php
  87. $sysrows = [];
  88. $sysmenu = new \common\models\Frontend();
  89. $sysmenu->pid = 4;
  90. $sysrows = $sysmenu->SonList(7,['name','url','icon','function']);
  91. if (!empty($sysrows)) {
  92. foreach ($sysrows as $val) { ?>
  93. <li>
  94. <a target="_blank"href="<?= $val['url'] ?>"><?= $val['name'] ?><?php echo empty($val['icon']) ? '' : '<i><img src="'.Yii::$app->params['httpImg']['host'].Yii::$app->params['httpImg']['city'].$val['icon'].'"></i>' ?></a>
  95. </li>
  96. <?php }
  97. } else { ?>
  98. <li><a target="_blank" href="/">首页</a></li>
  99. <li><a target="_blank" href="/house/search?py=hainan&city=68">所有楼盘</a></li>
  100. <li><a target="_blank" href="/house/search?zhuti=16">海景房</a></li>
  101. <li><a target="_blank" href="/house/search?zhuti=33">别墅房源</a></li>
  102. <li><a target="_blank" href="/news/home">资讯</a></li>
  103. <li><a target="_blank" href="/knowledgebase/list">购房攻略</a></li>
  104. <?php } ?>
  105. </ul>
  106. </div>
  107. <div class="telBox fr" style="position: relative; top:10px; margin-left:30px; display: none">
  108. <a style="height:30px; width:30px; display: inline-block;" href="https://www.facebook.com/pinfanggerealty/"><img
  109. width="100%" height="100%" src="/overseas/img/facebook.png"></a>
  110. </div>
  111. <div class="yv2_puicHeadTell fr">
  112. <div class="yv2_puicHeadTell_main">
  113. <img src="/overseas/img/v2image/v2_ico44.png" alt="">
  114. <em>咨询电话</em>
  115. <span>0898-88597913</span>
  116. </div>
  117. </div>
  118. <!-- <div class="y_puicdhright fr c">
  119. <div class="y_puicdhright_inpu" id="puic_search">
  120. <a class="y_inputtext">请输入楼盘名称</a>
  121. <a class="y_sous" href="javascript:;"><img src="/overseas/img/ico_33.png" alt=""></a>
  122. </div>
  123. <div class="y_puicdhmap">
  124. <a target="_blank" href="/map/home/"><i><img src="/overseas/img/ico_34.png"
  125. alt=""></i><span>地图找房</span></a>
  126. </div>
  127. </div> -->
  128. </div>
  129. </div>
  130. <!-- v2 改版 面包屑导航 -->
  131. <?php if(Yii::$app->controller->id != 'index'){?>
  132. <div class="yv2_bread">
  133. <div class="yv2_breadBox puic_wid">
  134. <!-- --><?php //var_dump(Yii::$app->controller->id);?>
  135. <div class="yv2_bread_left">
  136. <span>您的位置:</span>
  137. <!-- <a href="/">首页 ></a>-->
  138. <!-- <a href="javascript:;">楼盘列表</a>-->
  139. <?php if(!empty(Yii::$app->params['HainanZhanCrumbs'][Yii::$app->controller->id])){ foreach (Yii::$app->params['HainanZhanCrumbs'][Yii::$app->controller->id] as $val){?>
  140. <a href="<?=$val['url']?>"><?=$val['title']?></a>
  141. <?php }}?>
  142. <?php if(!empty($this->params['TargetCrumbs'])){?>
  143. <a href="<?=$this->params['TargetCrumbs']['url']?>"><?=$this->params['TargetCrumbs']['title']?></a>
  144. <?php }?>
  145. </div>
  146. <div class="yv2_bread_right">
  147. <div class="yv2_bread_search js_yv2_bread_search">
  148. <div class="bread_search_top">
  149. <img src="/overseas/img/v2image/v2_ico2.png" alt="">
  150. <input type="text" class="bread_search_int js_puicSearch_text" onfocus="this.placeholder=''" onblur="this.placeholder='请输入区域、楼盘名称开始搜索...'" placeholder="请输入区域、楼盘名称开始搜索...">
  151. <input type="button" class="bread_search_button js_js_puicSearch_buttom" value="搜索">
  152. </div>
  153. <div class="bread_search_show js_hotHomee_list">
  154. <div class="hotHome_title">
  155. <span>热搜楼盘</span>
  156. <em class="yv2_puicTime">有效期至</em>
  157. </div>
  158. <ul>
  159. <?php if(!empty($this->params['hothousev2'])){ foreach ($this->params['hothousev2'] as $val) {?>
  160. <li>
  161. <a href="/house/<?=$val['id']?>">
  162. <p class="left_name">
  163. <b></b>
  164. <span><?=$val['name']?></span>
  165. <em>[<?=$val['city_name']?>]</em>
  166. </p>
  167. <?php if(!empty($val['sale_price'])){?>
  168. <i><?=$val['sale_price']?><?=$val['price_unit']?></i>
  169. <?php }else{?>
  170. <i>待定</i>
  171. <?php }?>
  172. </a>
  173. </li>
  174. <?php }} ?>
  175. </ul>
  176. </div>
  177. <div class="bread_search_show js_searchHone_list" id="y_search_show">
  178. <!-- <ul>
  179. <li class="active">
  180. <a href="">
  181. <p class="left_name">
  182. <span>雅居乐清华</span><em>[三亚市]</em>
  183. </p>
  184. <i>2020元/</i>
  185. </a>
  186. </li>
  187. </ul> -->
  188. </div>
  189. </div>
  190. <div class="yv2_bread_map">
  191. <a href="/map/home"><img src="/overseas/img/v2image/v2_ico3.png" alt="">地图找房</a>
  192. </div>
  193. </div>
  194. </div>
  195. </div>
  196. <?php }?>
  197. <?= $content ?>
  198. <!-- 公共底部 -->
  199. <div class="y_footmzsm puic_wid">
  200. <p> 免责声明:本页面旨在为广大用户提供更多信息的无偿服务,所有楼盘信息以开发商最终公布为准,不声明或保证所提供信息的准确性和完整性。刊载的楼盘资料不视为楼盘已达到可售标 准,仅供参考和借鉴, 买楼者
  201. 在买楼时需慎重考虑。参阅本网站的用户,应被视为已确认得悉上述立场。</p>
  202. </div>
  203. <div class="yv2_puicFooter">
  204. <div class="yv2_puicFooter_main puic_wid">
  205. <div class="yv2_puicFooter_logo">
  206. <div class="yv2_footer_logo">
  207. <a href="/"><img src="/image/v2/logo_m.png" alt=""></a>
  208. </div>
  209. <div class="yv2_footer_right">
  210. <p>客服热线</p>
  211. <span>0898-88597913</span>
  212. </div>
  213. </div>
  214. <div class="yv2_puicFooter_tab">
  215. <div class="footer_tabNav">
  216. <a href="javascript:;">海南房产</a>
  217. </div>
  218. <div class="footer_tabList">
  219. <a href="/house/search?py=sanyashi&city=6">三亚房产</a>
  220. <a href="/house/search?py=lingshuixian&city=30">陵水房产</a>
  221. <a href="/house/search?py=wanningshi&city=12">万宁房产</a>
  222. <a href="/house/search?py=ledongxian&city=11">乐东房产</a>
  223. <a href="/house/search?py=haikoushi&city=1">海口房产</a>
  224. <a href="/house/search?py=lingaoxian&city=7">临高房产</a>
  225. <a href="/house/search?py=wuzhishanshi&city=14">五指山房产</a>
  226. </div>
  227. </div>
  228. <div class="footer_contact">
  229. <p><img src="/overseas/img/v2image/v2_ico46.png" alt="">客服热线:0898-88597913 (周一至周日 24小时在线)</p>
  230. <p><img src="/overseas/img/v2image/v2_ico47.png" alt="">Email:1054493670@qq.com</p>
  231. </div>
  232. <div class="footer_records">
  233. <div class="footer_records_l">
  234. <p>本网站任何信息和活动的最终解释权归广西品房阁房地产营销策划有限公司所有。</p>
  235. <p>品房海外版权所有,备案号:<span><a style="color:#999" target="_blank" href="http://www.miitbeian.gov.cn/"><?= empty(Yii::$app->hostserver->webconfig['record']) ? '桂ICP备18003631号-23' : Yii::$app->hostserver->webconfig['record']; ?></a></span></p>
  236. </div>
  237. <div class="footer_records_r">
  238. <a target="_blank" href="http://si.trustutn.org/info?sn=945180104031549979168"><img src="/overseas/img/ico_35.png" alt=""></a>
  239. <a href=""><img src="/overseas/img/ico_36.png" alt=""></a>
  240. </div>
  241. </div>
  242. </div>
  243. </div>
  244. <div class="yv2_rightXg js_yv2_rightXg">
  245. <div class="yv2_rightXg_main">
  246. <ul>
  247. <li>
  248. <a href="javascript:;" class="pic_jjtz" data-buttom="立即获取" data-title="免费资料" data-hid="0" data-text="深入了解楼盘信息,解锁更多优质房源?立即获取,为您及时提供楼盘一手情报,好盘早知道。" data-source="130"><img src="/overseas/img/v2image/v2_ico48.png" alt=""></a>
  249. </li>
  250. <li>
  251. <a href="javascript:;" onclick="$53click()"><img src="/overseas/img/v2image/v2_ico49.gif" alt=""></a>
  252. </li>
  253. <li>
  254. <a href="javascript:;" class="pic_jjtz" data-buttom="立即获取" data-title="帮我找房" data-hid="0" data-text="房源太多,信息太杂,选不到心仪楼盘?立即获取,一键匹配优质房源,好盘一键秒杀。" data-source="131"><img src="/overseas/img/v2image/v2_ico50.png" alt=""></a>
  255. </li>
  256. <li>
  257. <a href="javascript:;" class="pic_jjtz" data-buttom="立即免费电话" data-title="免费回电" data-hid="0" data-text="买房政策不清楚,房产投资价值不了解?立即拨打电话, 为您提供专属1对1房产介绍服务。" data-source="132"><img src="/overseas/img/v2image/v2_ico51.gif" alt=""></a>
  258. </li>
  259. <li class="showTop js_returnTop">
  260. <a href="javascript:;"><img src="/overseas/img/v2image/v2_ico52.png" alt=""></a>
  261. </li>
  262. </ul>
  263. </div>
  264. </div>
  265. <!-- 百度统计2020-07-26 -->
  266. <script>
  267. var _hmt = _hmt || [];
  268. (function() {
  269. var hm = document.createElement("script");
  270. hm.src = "https://hm.baidu.com/hm.js?a3614fa3892fb95db04baadc1b89b845";
  271. var s = document.getElementsByTagName("script")[0];
  272. s.parentNode.insertBefore(hm, s);
  273. })();
  274. </script>
  275. <!-- 20200806 360统计 -->
  276. <script>
  277. (function(b,a,e,h,f,c,g,s){b[h]=b[h]||function(){(b[h].c=b[h].c||[]).push(arguments)};
  278. b[h].s=!!c;g=a.getElementsByTagName(e)[0];s=a.createElement(e);
  279. s.src="//s.union.360.cn/"+f+".js";s.defer=!0;s.async=!0;g.parentNode.insertBefore(s,g)
  280. })(window,document,"script","_qha",353652,false);
  281. </script>
  282. <div class="y_maskbg"></div>
  283. <!--新的引入底部横幅-->
  284. <?php $this->beginContent('@app/views/public/bottom.php'); ?>
  285. <?php $this->endContent(); ?>
  286. <!-- 商务通写在这下面-->
  287. <?php echo Yii::$app->hostserver->Cityshangwu() ?>
  288. <?php $this->endBody() ?>
  289. </body>
  290. </html>
  291. <?php $this->endPage() ?>