productview.php
详情页
节点表模型类
信息表模型类
<?php if(!isset($GLOBALS["DR"])){$GLOBALS["DR"] = str_replace("\\", "/", $_SERVER["DOCUMENT_ROOT"]);} if(!isset($GLOBALS["webroot"])){$GLOBALS["webroot"] = preg_replace("/(.*\/).*/", "$1", str_replace("\\", "/", __DIR__));} require_once $GLOBALS["webroot"] . "/db.php"; require_once $GLOBALS["DR"] . "/base.php"; require $GLOBALS["DR"] . "/admin/require/html/id.php"; require $GLOBALS["DR"] . "/admin/require/html/rid.php"; //如果需要调用上下片,则加入下两行代码,否则删除 $prenexttitlemaxlen = 36; //上下片标题最大长度 require $GLOBALS["DR"] . "/admin/require/html/prenext.php"; //如果需要调用属性,则加入下一行代码,否则删除 require $GLOBALS["DR"] . "/admin/require/html/attr.php"; //如果需要调用相册,则加入下两代码,否则删除 $isaddpicurl = true; //相册是否加入基本选项卡中的图片 require $GLOBALS["DR"] . "/admin/require/html/pic.php"; //如果需要调用相关阅读,则加入下四行代码,否则删除 $othertitlemaxlen = 36; //相关标题最大长度 $otherabstractmaxlen = 180; //相关摘要最大长度,摘要的文字即可来源于基本中的简介,也可以来自于详情 $othernum = 6; //相关阅读数量 require $GLOBALS["DR"] . "/admin/require/html/other.php"; ?> <!doctype html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="Cache-Control" content="no-siteapp" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="renderer" content="webkit"> <title> <?=$title;?> </title> <meta name="keywords" content="<?=$keywords;?>" /> <meta name="description" content="<?=$description;?>" /> <link rel="stylesheet" href="/_backup/wap/css/amazeui_min.css"> <link rel="stylesheet" href="/_backup/wap/css/swiper_min.css"> <!--<link rel="stylesheet" href="/_mfmb/0001/_backup/wap/css/banner.css">--> <link rel="stylesheet" href="/_backup/wap/css/app.css"> <link rel="canonical" href="http://www.sznest.net/_mfmb/0001/cpzs/shjd/43.html" /> </head> <body> <header class="header"> <div class="am-fr"> <!--注意,首页与其它页面就这里有点不同,如果是首页是下面的第一行,否则是第二行--> <a href="/_mfmb/0001/admin/" class="am-icon-user am-icon-sm"></a> <a href="javascript:history.go(-1)" class="am-icon-chevron-left am-icon-sm"></a> </div> <div class="am-fl"> <a href="javascript:;" class="am-icon-bars am-icon-sm" data-am-offcanvas="{target:'#nav_top'}"></a> </div> <div class="logo"> <a href="http://www.sznest.net/_mfmb/0001/index_wap.html"> <img src="/_backup/_upload/wap-logo.png" alt="" /></a> </div> <div class="clear"></div> </header> <div class="nav am-offcanvas" id="nav_top"> <div class="am-offcanvas-bar"> <ul id="collapase-nav"> <li class="am-panel"> <a href="http://www.sznest.net/_mfmb/0001/index_wap.html" title="首页">首页</a> </li> <li class="am-panel"> <span class="am-icon-angle-right" data-am-collapse="{parent:'#collapase-nav', target:'#nav_2'}"></span> <a href="http://www.sznest.net/_mfmb/0001/gywm/index_wap.html" title="关于我们">关于我们</a> <ul class="am-collapse" id="nav_2"> <li><a href="http://www.sznest.net/_mfmb/0001/gywm/index_wap.html" title="公司简介">公司简介</a></li> <li class = 'lastli'><a href="http://www.sznest.net/_mfmb/0001/gywm/qywh_wap.html" title="企业文化">企业文化</a></li> </ul> </li> <li class="am-panel"> <span class="am-icon-angle-right" data-am-collapse="{parent:'#collapase-nav', target:'#nav_3'}"></span> <a href="http://www.sznest.net/_mfmb/0001/xwzx/index_wap.html" title="新闻中心">新闻中心</a> <ul class="am-collapse" id="nav_3"> <li><a href="http://www.sznest.net/_mfmb/0001/xwzx/hyzx/index_wap.html" title="行业资迅">行业资迅</a></li> <li class = 'lastli'><a href="http://www.sznest.net/_mfmb/0001/xwzx/gsdt/index_wap.html" title="公司动态">公司动态</a></li> </ul> </li> <li class="am-panel"> <span class="am-icon-angle-right" data-am-collapse="{parent:'#collapase-nav', target:'#nav_4'}"></span> <a href="http://www.sznest.net/_mfmb/0001/cpzs/index_wap.html" title="产品展示">产品展示</a> <ul class="am-collapse" id="nav_4"> <li><a href="http://www.sznest.net/_mfmb/0001/cpzs/shjd/index_wap.html" title="生活家电">生活家电</a></li> <li class = 'lastli'><a href="http://www.sznest.net/_mfmb/0001/cpzs/znjd/index_wap.html" title="智能家电">智能家电</a></li> </ul> </li> <li class="am-panel"> <a href="http://www.sznest.net/_mfmb/0001/khal/index_wap.html" title="客户案例">客户案例</a> </li> <li class="am-panel lastli"> <a href="http://www.sznest.net/_mfmb/0001/lxwm/index_wap.html" title="联系我们">联系我们</a> </li> </ul> </div> </div> <div class="nav am-offcanvas" id="nav"> <div class="am-offcanvas-bar am-offcanvas-bar-flip"> <ul id="collapase-nav"> <li class="am-panel"> <a href="http://www.sznest.net/_mfmb/0001/cpzs/shjd/index_wap.html" title="生活家电">生活家电</a> <ul class="am-collapse" id="nav_10"> </ul> </li> <li class="am-panel"> <a href="http://www.sznest.net/_mfmb/0001/cpzs/znjd/index_wap.html" title="智能家电">智能家电</a> <ul class="am-collapse" id="nav_10"> </ul> </li> </ul> </div> </div> <article> <section> <div class="subject"> <span class="more"> <a href="javascript:;" class="am-icon-bars am-icon-sm" data-am-offcanvas="{target:'#nav'}"></a> </span> <b><a href='http://www.sznest.net/_mfmb/0001/index_wap.html'>首页</a> >> <a href='http://www.sznest.net/_mfmb/0001/cpzs/index_wap.html'>产品展示</a> >> <a href='http://www.sznest.net/_mfmb/0001/cpzs/shjd/index_wap.html'>生活家电</a></b> </div> <div class="pro_show"> <div class="swiper-container"> <div class="swiper-wrapper"> <div class="swiper-slide"> <a href="javascript:void(0);"> <img src="/_backup/_upload/20210507110920_7398.jpg" /></a> </div> <div class="swiper-slide"> <a href="javascript:void(0);"> <img src="/_backup/_upload/20210507110920_5316.jpg" /></a> </div> <div class="swiper-slide"> <a href="javascript:void(0);"> <img src="/_backup/_upload/20210507110920_6329.jpg" /></a> </div> <div class="swiper-slide"> <a href="javascript:void(0);"> <img src="/_backup/_upload/20210507110920_8629.jpg" /></a> </div> </div> <div class="swiper-pagination"></div> </div> <!--<div class="c-banner"> <div class="banner"> <ul> <li><img src="https://m.yaole.cc/upfile/2017/01/14849013367.jpg"></li> <li><img src="https://m.yaole.cc/upfile/2017/01/14849013364.jpg"></li> <li><img src="https://m.yaole.cc/upfile/2017/01/14849013360.jpg"></li> </ul> </div> <div class="nexImg"> <img src="img/nexImg.png" /> </div> <div class="preImg"> <img src="img/preImg.png" /> </div> <div class="jumpBtn"> <ul> <li jumpImg="0"></li> <li jumpImg="1"></li> <li jumpImg="2"></li> </ul> </div> </div>--> <h1>电水壶 1.5l 6d全钢 双层防烫防烧干 自动断电 h215e4b</h1> <div class="intro">自动断电 h215e4b</div> </div> </section> <section> <div class="subject"> <b>产品介绍</b> </div> <div class="clear"></div> <div class="news_show"> <div class="intro"> <p><img title="2_01.jpg" src="/_backup/_upload/20210507110920_3306.jpg"/><img title="2_02.jpg" src="/_backup/_upload/20210507110920_6560.jpg"/><img title="2_03.jpg" src="/_backup/_upload/20210507110920_5652.jpg"/><img title="2_04.jpg" src="/_backup/_upload/20210507110920_5652.jpg"/><img title="2_05.jpg" src="/_backup/_upload/20210507110920_9839.jpg"/><img title="2_06.jpg" src="/_backup/_upload/20210507110920_6032.jpg"/><img title="2_07.jpg" src="/_backup/_upload/20210507110920_3306.jpg"/><img title="2_08.jpg" src="/_backup/_upload/20210507110920_9839.jpg"/></p> <div class="clear"></div> </div> </div> </section> <section> <div class="subject"> <b>规格参数</b> </div> <div class="clear"></div> <div class="pro_show"> <ul class="extend"> <li> <em>产地:</em>东莞</li> <li> <em>材质:</em>铁</li> <li> <em>电压:</em>6v</li> <li> <em>电流:</em>5a</li> <li> <em>功率:</em>9w</li> <li> <em>单位:</em>台</li> </ul> </div> </section> <section> <div class="subject"> <b>相关内容</b> </div> <div class="clear"></div> <div class="home_pro"> <ul> <li> <a href="http://www.sznest.net/_mfmb/0001/cpzs/shjd/41_wap.html" title="电水壶 1.5l 4分钟沸腾 双层防烫保温 tm1502b"> <div> <img src="/_backup/_upload/20210507110917_5955.jpg" alt="电水壶 1.5l 4分钟沸腾 双层防烫保温 tm1502b"></div> <p class="title">电水壶1.5l4分钟沸腾双层防烫保温tm1502b</p> </a> </li> <li> <a href="http://www.sznest.net/_mfmb/0001/cpzs/shjd/40_wap.html" title="电水壶 1.5l 金色磨砂质感 三层彩钢防烫 食品级不锈钢 mk-hj1507"> <div> <img src="/_backup/_upload/20210507110916_6830.jpg" alt="电水壶 1.5l 金色磨砂质感 三层彩钢防烫 食品级不锈钢 mk-hj1507"></div> <p class="title">电水壶1.5l金色磨砂质感三层彩钢防烫食品级不锈钢mk-hj…</p> </a> </li> <li> <a href="http://www.sznest.net/_mfmb/0001/cpzs/shjd/39_wap.html" title="电水壶 1.7l 双层防烫 食品级不锈钢 wh517e2g"> <div> <img src="/_backup/_upload/20210507110914_8645.jpg" alt="电水壶 1.7l 双层防烫 食品级不锈钢 wh517e2g"></div> <p class="title">电水壶1.7l双层防烫食品级不锈钢wh517e2g</p> </a> </li> <li> <a href="http://www.sznest.net/_mfmb/0001/cpzs/znjd/49_wap.html" title="小白拟脑机器人 智能幼童遥控陪伴"> <div> <img src="/_backup/_upload/20210507111421_3907.jpg" alt="小白拟脑机器人 智能幼童遥控陪伴"></div> <p class="title">小白拟脑机器人智能幼童遥控陪伴</p> </a> </li> <li> <a href="http://www.sznest.net/_mfmb/0001/cpzs/znjd/48_wap.html" title="wifi智能插座微联智能定时插座"> <div> <img src="/_backup/_upload/20210507111420_9318.jpg" alt="wifi智能插座微联智能定时插座"></div> <p class="title">wifi智能插座微联智能定时插座</p> </a> </li> <li> <a href="http://www.sznest.net/_mfmb/0001/cpzs/znjd/46_wap.html" title="三档触控led护眼台灯 黑色"> <div> <img src="/_backup/_upload/20210507111417_1062.jpg" alt="三档触控led护眼台灯 黑色"></div> <p class="title">三档触控led护眼台灯黑色</p> </a> </li> </ul> <div class="clear"></div> </section> </article> <footer> <p>深圳市网巢科技有限公司 版权所有 © 2008-2018 Inc. 粤ICP备11083046号</p> </footer> <figure class="footnav"> <div class="search"> <form action="http://www.sznest.net/_mfmb/0001/search/index_wap.php" method="get"> <span><a href="javascript:void(0);" onClick="$('.search').toggle()" class="am-close">×</a>站内搜索:</span> <input type="text" name="keyword" placeholder="请输入关键字" /> <button type="submit" /> 搜索 </button> </form> </div> <ul> <li> <a href="http://www.sznest.net/_mfmb/0001/index_wap.html"> <span class="am-icon-home"></span>首页</a> </li> <li> <a href="tel:13798214959"> <span class="am-icon-phone"></span>手机</a> </li> <li> <a href="http://www.sznest.net/_mfmb/0001/zxly/index_wap.html"> <span class="am-icon-comment-o"></span>留言</a> </li> <li> <a href="javascript:void(0);" onClick="$('.search').toggle()"> <span class="am-icon-search"></span>搜索</a> </li> </ul> </figure> <script src="/_backup/wap/js/jquery_min.js"></script> <script src="/_backup/wap/js/amazeui_min.js"></script> <script src="/_backup/wap/js/app.js"></script> <script> $(".am-panel span").click(function(){ var classstr = $(this).attr("class"); if(classstr == 'am-icon-angle-right' || classstr == 'am-icon-angle-right am-collapsed'){ $(this).attr("class","am-icon-angle-down"); }else{ $(this).attr("class","am-icon-angle-right"); } }); </script> <script src="/_backup/wap/js/swipe.js"></script> <!--<script src="/_mfmb/0001/_backup/wap/js/banner.js"></script>--> </body> </html>
<?php if(!isset($GLOBALS["DR"])){$GLOBALS["DR"] = str_replace("\\", "/", $_SERVER["DOCUMENT_ROOT"]);} if(!isset($GLOBALS["webroot"])){$GLOBALS["webroot"] = preg_replace("/(.*\/).*/", "$1", str_replace("\\", "/", __DIR__));} require_once $GLOBALS["webroot"] . "/db.php"; require_once $GLOBALS["DR"] . "/base.php"; require $GLOBALS["DR"] . "/admin/require/html/id.php"; require $GLOBALS["DR"] . "/admin/require/html/rid.php"; //如果需要调用上下片,则加入下两行代码,否则删除 $prenexttitlemaxlen = 36; //上下片标题最大长度 require $GLOBALS["DR"] . "/admin/require/html/prenext.php"; //如果需要调用属性,则加入下一行代码,否则删除 require $GLOBALS["DR"] . "/admin/require/html/attr.php"; //如果需要调用相册,则加入下两代码,否则删除 $isaddpicurl = true; //相册是否加入基本选项卡中的图片 require $GLOBALS["DR"] . "/admin/require/html/pic.php"; //如果需要调用相关阅读,则加入下四行代码,否则删除 $othertitlemaxlen = 36; //相关标题最大长度 $otherabstractmaxlen = 180; //相关摘要最大长度,摘要的文字即可来源于基本中的简介,也可以来自于详情 $othernum = 6; //相关阅读数量 require $GLOBALS["DR"] . "/admin/require/html/other.php"; ?> <!doctype html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="Cache-Control" content="no-siteapp" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="renderer" content="webkit"> <title> <?=$title;?> </title> <meta name="keywords" content="<?=$keywords;?>" /> <meta name="description" content="<?=$description;?>" /> <link rel="stylesheet" href="/_backup/wap/css/amazeui_min.css"> <link rel="stylesheet" href="/_backup/wap/css/swiper_min.css"> <!--<link rel="stylesheet" href="/_mfmb/0001/_backup/wap/css/banner.css">--> <link rel="stylesheet" href="/_backup/wap/css/app.css"> <link rel="canonical" href="<?=$canonical;?>" /> </head> <body> <?php require Web::getWapPath() . "bodytop.php";?> <div class="nav am-offcanvas" id="nav"> <div class="am-offcanvas-bar am-offcanvas-bar-flip"> <ul id="collapase-nav"> <?php $nodetrs = Node::getTrs($rid); foreach ($nodetrs as $nodetr) { ?> <li class="am-panel"> <a href="<?=Node::getSiteUrl($nodetr['id']);?>" title="<?=$nodetr['name'];?>"><?=$nodetr['name'];?></a> <ul class="am-collapse" id="nav_10"></ul> </li> <?php }?> </ul> </div> </div> <article> <section> <div class="subject"> <?php if ($nodetrs) {?> <span class="more"> <a href="javascript:;" class="am-icon-bars am-icon-sm" data-am-offcanvas="{target:'#nav'}"></a> </span> <?php }?> <b><?=$navigationhtml;?></b> </div> <div class="pro_show"> <div class="swiper-container"> <div class="swiper-wrapper"> <?php foreach ($pictrs as $key => $pictr) {?> <div class="swiper-slide"> <a href="javascript:void(0);"><img src="<?=$pictr['picurl'];?>" /></a> </div> <?php }?> </div> <div class="swiper-pagination"></div> </div> <!--<div class="c-banner"> <div class="banner"> <ul> <li><img src="https://m.yaole.cc/upfile/2017/01/14849013367.jpg"></li> <li><img src="https://m.yaole.cc/upfile/2017/01/14849013364.jpg"></li> <li><img src="https://m.yaole.cc/upfile/2017/01/14849013360.jpg"></li> </ul> </div> <div class="nexImg"> <img src="img/nexImg.png" /> </div> <div class="preImg"> <img src="img/preImg.png" /> </div> <div class="jumpBtn"> <ul> <li jumpImg="0"></li> <li jumpImg="1"></li> <li jumpImg="2"></li> </ul> </div> </div>--> <h1><?=$curtr['title'];?></h1> <div class="intro"><?=$curtr['ftitle'];?></div> </div> </section> <section> <div class="subject"> <b>产品介绍</b> </div> <div class="clear"></div> <div class="news_show"> <div class="intro"> <?=$curtr['content'];?> <div class="clear"></div> </div> </div> </section> <?php if ($attrtrs) {?> <section> <div class="subject"> <b>规格参数</b> </div> <div class="clear"></div> <div class="pro_show"> <ul class="extend"> <?php foreach ($attrtrs as $key => $attrtr) {?> <li> <em><?=$attrtr['attrname'];?>:</em><?=$attrtr['attrvalue'];?> </li> <?php }?> </ul> </div> </section> <?php }?> <?php if ($otherrandtrs) {?> <section> <div class="subject"> <b>相关内容</b> </div> <div class="clear"></div> <div class="home_pro"> <ul> <?php foreach ($otherrandtrs as $key => $otherrandtr) {?> <li> <a href="<?=Info::getSiteUrl($otherrandtr['id']);?>" title="<?=$otherrandtr['title'];?>"> <div> <img src="<?=$otherrandtr['picurl'];?>" alt="<?=$otherrandtr['title'];?>"></div> <p class="title"><?=CutStr($otherrandtr['title'], 30);?></p> </a> </li> <?php }?> </ul> <div class="clear"></div> </section> <?php }?> </article> <?php require Web::getWapPath() . 'bodyfoot.php';?> <script src="/_backup/wap/js/jquery_min.js"></script> <script src="/_backup/wap/js/amazeui_min.js"></script> <script src="/_backup/wap/js/app.js"></script> <script> $(".am-panel span").click(function(){ var classstr = $(this).attr("class"); if(classstr == 'am-icon-angle-right' || classstr == 'am-icon-angle-right am-collapsed'){ $(this).attr("class","am-icon-angle-down"); }else{ $(this).attr("class","am-icon-angle-right"); } }); </script> <script src="/_backup/wap/js/swipe.js"></script> <!--<script src="/_mfmb/0001/_backup/wap/js/banner.js"></script>--> </body> </html>