Files
qc.ifish7.com/Application/Data/sqlBake/qcbona_20210313181336/db_template_1.php
T
2021-04-18 18:51:51 +08:00

685 lines
33 KiB
PHP

<?php
$this->E_D("DROP TABLE IF EXISTS `db_template`;");
$this->E_C("CREATE TABLE `db_template` (
`template_id` smallint(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`lang` varchar(20) DEFAULT NULL COMMENT '语言',
`type` varchar(20) NOT NULL COMMENT 'index,list,view,public',
`myvar` varchar(20) DEFAULT NULL COMMENT '变更名称',
`sort` int(6) NOT NULL DEFAULT '0',
`isdefault` tinyint(1) NOT NULL DEFAULT '0' COMMENT '默认首页模板',
`content` longtext NOT NULL,
PRIMARY KEY (`template_id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8");
$this->E_D("replace into `db_template` values('1','首页模板','','index','','0','1','&lt;!DOCTYPE html&gt;
&lt;html class=&quot;&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html&quot; /&gt;
&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;
&lt;meta name=&quot;renderer&quot; content=&quot;webkit&quot; /&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no&quot;&gt;
&lt;title&gt;[!--sitename--]&lt;/title&gt;
&lt;meta name=&quot;keywords&quot; content=&quot;[!--pagekey--]&quot;&gt;
&lt;meta name=&quot;description&quot; content=&quot;[!--pagedes--]&quot;&gt;
&lt;link href=&quot;/public/skin/css/animate.min.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/font-awesome.min.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/nav.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/nav2.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/slick-min.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot;/&gt;
&lt;link href=&quot;/public/skin/css/global.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;/head&gt;
&lt;style&gt;
.pc_top .pc_top_content .top_content_left .content_left_nav .left_nav_left .nav_left_down{ display:block;}
&lt;/style&gt;
&lt;body&gt;
[!--public.header--]
&lt;div class=&quot;banner&quot;&gt;
&lt;div class=&quot;slider&quot;&gt;
&lt;cmsinfo table=&quot;ad&quot; adid=&quot;7&quot; status=&quot;1&quot; order=&quot;sort asc&quot;&gt;
&lt;div class=&quot;item&quot;&gt;
&lt;a href=&quot;{\$v.link}&quot;&gt;&lt;img src=&quot;{\$v.thumb}&quot; /&gt;
&lt;if condition=&quot;\$v.name eq ''无''&quot;&gt;
&lt;else /&gt;
&lt;dd&gt;{\$v.name}&lt;/dd&gt;
&lt;/if&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;/cmsinfo&gt;
&lt;/div&gt;
&lt;div class=&quot;banner_content&quot;&gt;
&lt;div class=&quot;login&quot;&gt;
&lt;div class=&quot;login_top&quot;&gt;
&lt;div class=&quot;login_top_title clear&quot;&gt;
&lt;dd class=&quot;fl&quot;&gt;&lt;img src=&quot;/public/skin/images/bn3.png&quot; /&gt;&lt;/dd&gt;
&lt;dt class=&quot;fl&quot;&gt;
&lt;p&gt;Hi!~您好!&lt;/p&gt;
&lt;span&gt;欢迎光临埃迈诺冠&lt;/span&gt;
&lt;/dt&gt;
&lt;/div&gt;
&lt;div class=&quot;login_top_bottom clear&quot;&gt;
&lt;if condition=&quot;\$Think.session.member.member_id gt 0&quot;&gt;
&lt;a href=&quot;{:U(''Member/Index/index'')}&quot; class=&quot;fl on&quot;&gt;个人中心&lt;/a&gt;
&lt;a href=&quot;{:U(''Shop/ShopOrder/index'')}&quot; class=&quot;fl&quot;&gt;我的订单&lt;/a&gt;
&lt;else /&gt;
&lt;a href=&quot;{:U(''Member/Public/register'')}&quot; class=&quot;fl on&quot;&gt;注册&lt;/a&gt;
&lt;a href=&quot;{:U(''Member/Public/login'')}&quot; class=&quot;fl&quot;&gt;请登录&lt;/a&gt;
&lt;/if&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;login_news&quot;&gt;
&lt;div class=&quot;login_news_title clear&quot;&gt;
&lt;dd class=&quot;fl&quot;&gt;快讯&lt;/dd&gt;
&lt;a href=&quot;/11/index.html&quot; class=&quot;fr&quot;&gt;更多&lt;span class=&quot;fa fa-angle-right&quot;&gt;&lt;/span&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;login_news_content&quot;&gt;
&lt;cmsinfo catid=&quot;11&quot; checked=&quot;1&quot; limit=&quot;20&quot; order=&quot;newstime desc&quot; &gt;
&lt;div class=&quot;news_content_list on clear&quot;&gt;
&lt;span class=&quot;fl&quot;&gt;{\$v.pagetitle}&lt;/span&gt;
&lt;a href=&quot;{\$v.titleurl}&quot; class=&quot;fl&quot;&gt;{\$v.title}&lt;/a&gt;
&lt;/div&gt;
&lt;/cmsinfo&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
[!--public.footer--]
&lt;script type=&quot;text/javascript&quot; src=&quot;/public/skin/js/jquery-1.8.3.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/global.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/nav.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/slick.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/plugin.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
jQuery(&quot;.indexProduct_content_txt&quot;).slide({mainCell:&quot;.content_txt_right&quot;,autoPlay:false,titCell:&quot;.content_txt_left dt a&quot;,trigger:''click''});
&lt;/script&gt;
&lt;!--首页banner图--&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
\$(''.slider'').slick({
autoplay:true,//自动播放
slidesToShow: 1 ,//显示个数
slidesToScroll: 1,//滚动个数
accessibility:true,//启用Tab键和箭头键导航
autoplaySpeed:5000,//自动播放间隔
arrows: false,
dots: true,
speed: 500,
infinite: true, //循环播放
touchThreshold: 100,
pauseOnHover: true, //速比移动上去禁止滚动
})
//首页banner图
\$(''.content_left_img'').slick({
autoplay:true,//自动播放
slidesToShow: 1 ,//显示个数
slidesToScroll: 1,//滚动个数
accessibility:true,//启用Tab键和箭头键导航
autoplaySpeed:3000,//自动播放间隔
arrows: false,
dots: true,
speed: 500,
infinite: true, //循环播放
touchThreshold: 100,
pauseOnHover: true, //速比移动上去禁止滚动
touchMove: true,
swipe: true,
//fade: true,
//cssEase: ''linear'',
asNavFor: &quot;.content_left_txt dd&quot;,
responsive: [ //响应式
{
breakpoint: 480,
settings: {
arrows: false,
slidesToShow: 1 ,//显示个数
}
}
]
});
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;');");
$this->E_D("replace into `db_template` values('3','产品内容模板','','view','','0','0','&lt;!DOCTYPE html&gt;
&lt;html class=&quot;&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html&quot; /&gt;
&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;
&lt;meta name=&quot;renderer&quot; content=&quot;webkit&quot; /&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no&quot;&gt;
&lt;title&gt;[!--pagetitle--]-[!--sitename--]&lt;/title&gt;
&lt;meta name=&quot;keywords&quot; content=&quot;[!--pagekey--]&quot;&gt;
&lt;meta name=&quot;description&quot; content=&quot;[!--pagedes--]&quot;&gt;
&lt;link href=&quot;/public/skin/css/animate.min.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/font-awesome.min.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/nav.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/nav2.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/slick-min.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot;/&gt;
&lt;link href=&quot;/public/skin/css/global.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
[!--public.header--]
&lt;div class=&quot;indexProduct UserCenter_nav productDetails_nav&quot;&gt;
&lt;div class=&quot;indexProduct_content clear all&quot;&gt;{:nav()}&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;indexProduct UserCenter shopping productDetails&quot;&gt;
&lt;div class=&quot;indexProduct_content clear all&quot;&gt;
&lt;div class=&quot;productDetails_top clear&quot;&gt;
&lt;div class=&quot;productDetails_top_left fl&quot;&gt;
&lt;div class=&quot;top_left_Bimg&quot;&gt;&lt;img src=&quot;{\$r.thumb}&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;top_left_Simg clear fa&quot;&gt;
&lt;?php
\$morepic_arr=explode(&quot;\\\\r\\\\n&quot;,\$r[&quot;morepic&quot;]);
foreach(\$morepic_arr as \$v){
if(!\$v){break;};
\$vs=explode(&quot;||&quot;,\$v);
?&gt;
&lt;a href=&quot;javascript:;&quot; class=&quot;left_Simg_list fl on&quot;&gt;&lt;img src=&quot;&lt;?=\$vs[1]?&gt;&quot; alt=&quot;&lt;?=\$vs[2]?&gt;&quot;/&gt;&lt;/a&gt;
&lt;?php
}
?&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;productDetails_top_right fr&quot;&gt;
&lt;div class=&quot;top_right_title&quot;&gt;
&lt;div class=&quot;right_title_top&quot;&gt;{\$r.title}&lt;/div&gt;
&lt;div class=&quot;right_title_price clear&quot;&gt;
&lt;dd class=&quot;fl&quot;&gt;价格&lt;/dd&gt;
&lt;dt class=&quot;fl&quot;&gt;
&lt;span&gt;¥{\$r[''price2'']?\$r[''price2'']:\$r[''price'']} / 个&lt;/span&gt;
&lt;if condition=&quot;\$r[''price2'']&quot;&gt;&lt;s&gt;¥{\$r.price} / 个&lt;/s&gt;&lt;/if&gt;
&lt;/dt&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;top_right_content&quot;&gt;
&lt;div class=&quot;right_content_list clear&quot;&gt;
&lt;div class=&quot;content_list_left fl&quot;&gt;型号&lt;/div&gt;
&lt;div class=&quot;content_list_right fl&quot;&gt;{\$r.type_no}&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;right_content_list clear&quot;&gt;
&lt;div class=&quot;content_list_left fl&quot;&gt;服务说明&lt;/div&gt;
&lt;div class=&quot;content_list_right fl&quot;&gt;
&lt;p&gt;1:发货,并提供售后服务。&lt;/p&gt;
&lt;p&gt;2:因库存实时变化,请购买时确认库存数量。具体发货时间以实际发货为准!&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;right_content_list clear&quot;&gt;
&lt;div class=&quot;content_list_left fl&quot;&gt;采购量&lt;/div&gt;
&lt;div class=&quot;content_list_right fl bottom_content_list&quot;&gt;
&lt;i class=&quot;min fl&quot; /&gt;-&lt;/i&gt;
&lt;input name=&quot;&quot; type=&quot;number&quot; value=&quot;1&quot; class=&quot;quantity fl&quot; /&gt;
&lt;i class=&quot;add fl&quot; /&gt;+&lt;/i&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;top_right_bottom clear&quot;&gt;
&lt;div class=&quot;right_bottom_left fl clear&quot;&gt;
&lt;a href=&quot;javascript:add_shop_cart_andBuy({\$r.id})&quot; class=&quot;fl buy&quot;&gt;立即购买&lt;/a&gt;
&lt;a href=&quot;javascript:add_shop_cart({\$r.id})&quot; class=&quot;fl&quot;&gt;加入购物车&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;right_bottom_right fr&quot;&gt;产品图片仅供参考&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;productDetails_bottom clear&quot;&gt;
&lt;div class=&quot;productDetails_bottom_left fl&quot;&gt;
&lt;div class=&quot;bottom_left_title&quot;&gt;销售排行榜&lt;/div&gt;
&lt;div class=&quot;bottom_left_content clear&quot;&gt;
&lt;cmsinfo table=&quot;cms_product&quot; field=&quot;id,catid,title,thumb,type_no,price,price2&quot; checked=&quot;1&quot; order=&quot;sales desc&quot; limit=&quot;5&quot;&gt;
&lt;a href=&quot;{\$v.titleurl}&quot; class=&quot;left_content_list fl&quot;&gt;
&lt;div class=&quot;content_list_img&quot;&gt;&lt;img src=&quot;{\$v.thumb}&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;content_list_txt&quot;&gt;
&lt;dd&gt;{\$v.title}&lt;/dd&gt;
&lt;dt&gt;商品型号:{\$v.type_no}&lt;/dt&gt;
&lt;p&gt;¥{\$v[''price2'']?\$v[''price2'']:\$v[''price'']}&lt;/p&gt;
&lt;/div&gt;
&lt;/a&gt;
&lt;/cmsinfo&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;productDetails_bottom_right fr&quot;&gt;
&lt;div class=&quot;bottom_right_title clear&quot;&gt;
&lt;a href=&quot;javascript:;&quot; class=&quot;fl on&quot;&gt;商品详情&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;bottom_right_content&quot;&gt;
&lt;div class=&quot;right_content_list&quot;&gt;
{:htmlspecialchars_decode(\$r[newstext])}
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
[!--public.footer--]
&lt;script type=&quot;text/javascript&quot; src=&quot;/public/skin/js/jquery-1.8.3.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/global.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/Home/js/shop.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/nav.js&quot;&gt;&lt;/script&gt;
&lt;script type=''text/javascript'' src=''/Public/Home/js/globals.js''&gt;&lt;/script&gt;
&lt;script type=''text/javascript'' src=''/Public/Admin/layer/layer.js''&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/plugin.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/slick.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
jQuery(&quot;.productDetails_bottom_right&quot;).slide({mainCell:&quot;.bottom_right_content&quot;,autoPlay:false,titCell:&quot;.bottom_right_title a&quot;,trigger:''click''});
\$(''.top_left_Simg'').slick({
autoplay:false,//自动播放
slidesToShow: 4 ,//显示个数
slidesToScroll: 1,//滚动个数
accessibility:true,//启用Tab键和箭头键导航
autoplaySpeed:5000,//自动播放间隔
arrows: true,
dots: false,
speed: 500,
infinite: false, //循环播放
touchThreshold: 100,
pauseOnHover: true, //速比移动上去禁止滚动
})
\$(document).ready(function(){
var \$miaobian=\$(''.left_Simg_list'');
var \$huantu=\$(''.top_left_Bimg img'');
\$miaobian.mousemove(function(){miaobian(this);});
function miaobian(thisMb){
for(var i=0; i&lt;\$miaobian.length; i++){
\$miaobian[i].style.borderColor = ''#e5e5e5'';
}
thisMb.style.borderColor = ''#e50012'';
\$huantu[0].src = thisMb.children[0].src;
}
function miaobian1(thisMb1){
for(var i=0; i&lt;\$miaobian1.length; i++){
\$miaobian1[i].style.borderColor = ''#e5e5e5'';
}
\$miaobian.css(''border-color'',''#e5e5e5'');
thisMb1.style.borderColor = ''#e50012'';
\$huantu[0].src = thisMb1.children[0].src;
}
})
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;');");
$this->E_D("replace into `db_template` values('4','单页模板 ','','page','','0','0','单页模板 ');");
$this->E_D("replace into `db_template` values('5','公共头部','','public','header','0','0','&lt;div class=&quot;xf&quot;&gt;
&lt;div class=&quot;xf_nei&quot;&gt;
&lt;div class=&quot;xf_xun&quot;&gt;
&lt;a href=&quot;#&quot; target=&quot;_blank&quot; class=&quot;xf_xun_title&quot;&gt;
&lt;dd&gt;&lt;img src=&quot;/Public/skin/images/chat.png&quot;&gt;&lt;/dd&gt;
&lt;dt&gt;在线咨询&lt;/dt&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;xf_xun&quot;&gt;
&lt;a href=&quot;javascript:;&quot; class=&quot;xf_xun_title&quot;&gt;
&lt;dd&gt;&lt;img src=&quot;/Public/skin/images/mobile.png&quot;&gt;&lt;/dd&gt;
&lt;dt&gt;电话咨询&lt;/dt&gt;
&lt;/a&gt;
&lt;div class=&quot;xf_xun_xiala animated fadeInLeft&quot;&gt;400-888-8888&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;xf_xun&quot;&gt;
&lt;a href=&quot;mailto:service@jijinweb.com&quot; class=&quot;xf_xun_title&quot;&gt;
&lt;dd&gt;&lt;img src=&quot;/Public/skin/images/email.png&quot;&gt;&lt;/dd&gt;
&lt;dt&gt;电子邮箱&lt;/dt&gt;
&lt;/a&gt;
&lt;div class=&quot;xf_xun_xiala animated fadeInLeft&quot;&gt;service@jijinweb.com&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;xf_xun&quot; onclick=&quot;auth_change()&quot;&gt;
&lt;a href=&quot;javascript:;&quot; class=&quot;xf_xun_title&quot;&gt;
&lt;dd&gt;&lt;i class=&quot;fa fa-caret-up&quot;&gt;&lt;/i&gt;&lt;/dd&gt;
&lt;dt&gt;TOP&lt;/dt&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;pc_top pc_deader&quot;&gt;
&lt;div class=&quot;pc_top_content clear&quot;&gt;
&lt;div class=&quot;pc_deader_left fl&quot;&gt;您好,欢迎访问我们的网站!&lt;/div&gt;
&lt;div class=&quot;pc_deader_right fr clear&quot;&gt;
&lt;a href=&quot;javascript:;&quot; class=&quot;fl&quot;&gt;全国热线:&lt;span&gt;400-888-8888&lt;/span&gt;&lt;/a&gt;
&lt;if condition=&quot;\$Think.session.member.member_id gt 0&quot;&gt;
&lt;a href=&quot;{:U(''Member/Index/index'')}&quot; class=&quot;fl&quot;&gt;个人中心&lt;/a&gt;
&lt;a href=&quot;{:U(''Shop/ShopOrder/index'')}&quot; class=&quot;fl&quot;&gt;我的订单&lt;/a&gt;
&lt;a href=&quot;{:U(''Member/Public/logout'')}&quot; class=&quot;fl&quot; onClick=&quot;return confirm(''您确定要退出吗?'')&quot;&gt;退出&lt;/a&gt;
&lt;else /&gt;
&lt;a href=&quot;{:U(''Member/Public/login'')}&quot; class=&quot;fl&quot;&gt;请登录&lt;/a&gt;
&lt;a href=&quot;{:U(''Member/Public/register'')}&quot; class=&quot;fl&quot;&gt;注册&lt;/a&gt;
&lt;/if&gt;
&lt;a href=&quot;{:U(''Shop/ShopCart/index'')}&quot; class=&quot;fl&quot;&gt;&lt;img src=&quot;/public/skin/images/bn89.png&quot;&gt;购物车(&lt;span&gt;{\$shopCartNum}&lt;/span&gt;)&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;pc_top&quot;&gt;
&lt;div class=&quot;pc_top_content clear&quot;&gt;
&lt;div class=&quot;top_content_left fl&quot;&gt;
&lt;div class=&quot;content_left_top clear&quot;&gt;
&lt;a href=&quot;/&quot; class=&quot;left_top_logo fl&quot;&gt;&lt;img src=&quot;/public/skin/images/logo.png&quot; /&gt;&lt;/a&gt;
&lt;div class=&quot;left_top_search fr&quot;&gt;
&lt;div class=&quot;top_search_title clear&quot;&gt;
&lt;form action=&quot;/15/index.html&quot; method=&quot;get&quot; onsubmit=&quot;return check_search()&quot; class=&quot;search_title_form fl clear&quot;&gt;
&lt;dd class=&quot;fl&quot;&gt;&lt;input type=&quot;search&quot; name=&quot;keywords&quot; value=&quot;{\$_GET[''keywords'']}&quot; id=&quot;global_search&quot; placeholder=&quot;请输入您要搜索的产品名称、品牌或型号&quot; /&gt;&lt;/dd&gt;
&lt;dt class=&quot;fl&quot;&gt;&lt;input type=&quot;submit&quot; value=&quot;搜索&quot; /&gt;&lt;/dt&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;div class=&quot;top_search_content clear&quot;&gt;
&lt;?php
\$hotKeywords=C(&quot;setting.hotKeywords&quot;);
\$hotKeywords_arr=explode(&quot;\\\\r\\\\n&quot;,\$hotKeywords);
foreach(\$hotKeywords_arr as \$v){
echo ''&lt;a href=&quot;/index.php/Home/Search/index/?keywords_all=''.\$v.''&quot; class=&quot;search_content_list fl&quot;&gt;''.\$v.''&lt;/a&gt;'';
}
?&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;content_left_nav clear&quot;&gt;
&lt;div class=&quot;left_nav_left fl&quot;&gt;
&lt;div class=&quot;nav_left_title&quot;&gt;全部商品分类&lt;/div&gt;
&lt;div class=&quot;nav_left_down&quot;&gt;
&lt;cmsinfo table=&quot;cat&quot; pid=&quot;15&quot; status=&quot;1&quot; order=&quot;sort asc,catid asc&quot;&gt;
&lt;div class=&quot;left_down_list&quot;&gt;
&lt;div class=&quot;down_list_title clear&quot;&gt;
&lt;a href=&quot;{:caturl(\$v[catid])}&quot; class=&quot;fl&quot;&gt;{\$v.name}&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;down_list_down&quot;&gt;
&lt;div class=&quot;list_down_list clear&quot;&gt;
&lt;dt class=&quot;fl&quot;&gt;
&lt;cmsinfo field=&quot;name,catid&quot; table=&quot;cat&quot; pid=&quot;\$v[catid]&quot; order=&quot;sort asc&quot;&gt;
&lt;a href=&quot;{:caturl(\$v[catid])}}&quot;&gt;{\$v.name}&lt;/a&gt;
&lt;/cmsinfo&gt;
&lt;/dt&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/cmsinfo&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;left_nav_right fl clear&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;top_content_right fr&quot;&gt;&lt;img src=&quot;/public/skin/images/bg1.jpg&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;hight&quot;&gt;&lt;/div&gt;&lt;!-- #EndLibraryItem --&gt;');");
$this->E_D("replace into `db_template` values('6','产品-列表模板','','list','','0','0','&lt;!DOCTYPE html&gt;
&lt;html class=&quot;&quot;&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html&quot; /&gt;
&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;
&lt;meta name=&quot;renderer&quot; content=&quot;webkit&quot; /&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no&quot;&gt;
&lt;title&gt;[!--pagetitle--]-[!--sitename--]&lt;/title&gt;
&lt;meta name=&quot;keywords&quot; content=&quot;[!--pagekey--]&quot;&gt;
&lt;meta name=&quot;description&quot; content=&quot;[!--pagedes--]&quot;&gt;
&lt;link href=&quot;/public/skin/css/animate.min.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/font-awesome.min.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/nav.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/nav2.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;link href=&quot;/public/skin/css/slick-min.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot;/&gt;
&lt;link href=&quot;/public/skin/css/global.css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
[!--public.header--]
&lt;div class=&quot;indexProduct UserCenter_nav productDetails_nav&quot;&gt;
&lt;div class=&quot;indexProduct_content clear all&quot;&gt;{:nav()}&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;indexProduct UserCenter_nav PSelection_nav&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;indexProduct UserCenter PSelection&quot;&gt;
&lt;div class=&quot;indexProduct_content clear all&quot;&gt;
&lt;div class=&quot;PSelection_title&quot;&gt;
&lt;?php
\$filter_arr=\\\\Home\\\\Controller\\\\ListController::filterData(\$table,\$where,''type_no'');
if(\$filter_arr){
?&gt;
&lt;div class=&quot;PSelection_title_list clear&quot;&gt;
&lt;div class=&quot;title_list_left fl&quot;&gt;型号&lt;/div&gt;
&lt;div class=&quot;title_list_right fl&quot;&gt;
&lt;foreach name=&quot;filter_arr&quot; item=&quot;v&quot;&gt;
&lt;if condition=&quot;\$_GET[type_no] eq \$v&quot;&gt;
&lt;a href=&quot;{:reurl(''type_no'')}&quot; class=&quot;on&quot;&gt;{\$v} &lt;div class=&quot;p_close&quot;&gt;&lt;/div&gt;&lt;/a&gt;
&lt;else/&gt;
&lt;a href=&quot;{:reurl(''type_no'',\$v)}&quot;&gt;{\$v}&lt;/a&gt;
&lt;/if&gt;
&lt;/foreach&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;?php
}
\$filter_arr=\\\\Home\\\\Controller\\\\ListController::filterData(\$table,\$where,''pro_group'');
if(\$filter_arr){
?&gt;
&lt;div class=&quot;PSelection_title_list clear&quot;&gt;
&lt;div class=&quot;title_list_left fl&quot;&gt;产品系列&lt;/div&gt;
&lt;div class=&quot;title_list_right fl&quot;&gt;
&lt;foreach name=&quot;filter_arr&quot; item=&quot;v&quot;&gt;
&lt;if condition=&quot;\$_GET[pro_group] eq \$v&quot;&gt;
&lt;a href=&quot;{:reurl(''pro_group'')}&quot; class=&quot;on&quot;&gt;{\$v} &lt;div class=&quot;p_close&quot;&gt;&lt;/div&gt;&lt;/a&gt;
&lt;else/&gt;
&lt;a href=&quot;{:reurl(''pro_group'',\$v)}&quot;&gt;{\$v}&lt;/a&gt;
&lt;/if&gt;
&lt;/foreach&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;?php
}
?&gt;
&lt;/div&gt;
&lt;div class=&quot;PSelection_search clear&quot;&gt;
&lt;div class=&quot;PSelection_search_right fr&quot;&gt;
&lt;form action=&quot;{:caturl(\$_GET[catid])}&quot; class=&quot;clear&quot;&gt;
&lt;dd class=&quot;fl&quot;&gt;精确查询&lt;/dd&gt;
&lt;dt class=&quot;fl clear&quot;&gt;
&lt;input type=&quot;text&quot; name=&quot;keywords&quot; value=&quot;{\$_GET[keywords]}&quot; placeholder=&quot;请输入您要搜索的商品名、订货号、型号&quot; class=&quot;PSelection_search_txt fl&quot; /&gt;
&lt;input type=&quot;submit&quot; value=&quot;&quot; class=&quot;PSelection_search_submit fr&quot; /&gt;
&lt;/dt&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;?php
if(!\$data){
?&gt;
&lt;div class=&quot;error-search-title&quot;&gt;非常抱歉没有找到&lt;i&gt;“{\$keywords}”!&lt;/i&gt;&lt;/div&gt;
&lt;?php
}else{
?&gt;
&lt;div class=&quot;PSelection_bottom&quot;&gt;
&lt;div class=&quot;PSelection_bottom_txter&quot;&gt;
&lt;div class=&quot;PSelection_bottom_title clear&quot;&gt;
&lt;dd class=&quot;fl&quot;&gt;商品图片&lt;/dd&gt;
&lt;dd class=&quot;fl&quot;&gt;商品名称&lt;/dd&gt;
&lt;dd class=&quot;fl&quot;&gt;系列&lt;/dd&gt;
&lt;dd class=&quot;fl&quot;&gt;型号&lt;/dd&gt;
&lt;dd class=&quot;fl&quot;&gt;价格&lt;/dd&gt;
&lt;dd class=&quot;fl&quot;&gt;购买&lt;/dd&gt;
&lt;/div&gt;
&lt;div class=&quot;PSelection_bottom_content&quot;&gt;
&lt;foreach name=&quot;data&quot; item=&quot;v&quot;&gt;
&lt;div class=&quot;bottom_content_list clear&quot;&gt;
&lt;div class=&quot;content_list_img fl&quot;&gt;&lt;a href=&quot;{\$v.titleurl}&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;{\$v.thumb}&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;content_list_title fl&quot;&gt;&lt;a href=&quot;{\$v.titleurl}&quot; target=&quot;_blank&quot;&gt;{\$v.title}&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;content_list_title fl&quot;&gt;{\$v.pro_group}&lt;/div&gt;
&lt;div class=&quot;content_list_title fl&quot;&gt;{\$v.type_no}&lt;/div&gt;
&lt;div class=&quot;content_list_title fl&quot;&gt;
&lt;p&gt;¥{\$v[''price2'']?\$v[''price2'']:\$v[''price'']} / 个&lt;/p&gt;
&lt;if condition=&quot;\$v[''price2'']&quot;&gt;&lt;s&gt;¥{\$v.price} / 个&lt;/s&gt;&lt;/if&gt;
&lt;/div&gt;
&lt;div class=&quot;content_list_title fl clear&quot;&gt;
&lt;span class=&quot;fl&quot;&gt;
&lt;i class=&quot;min fl&quot; /&gt;-&lt;/i&gt;
&lt;input class=&quot;quantity fl&quot; name=&quot;&quot; type=&quot;number&quot; value=&quot;1&quot; /&gt;
&lt;i class=&quot;add fl&quot; /&gt;+&lt;/i&gt;
&lt;/span&gt;
&lt;a onclick=&quot;add_shop_cart2(''{\$v.id}'',this)&quot; class=&quot;fl&quot;&gt;购买&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/foreach&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;page vertical&quot;&gt;[!--listpage--]&lt;/div&gt;
&lt;/div&gt;
&lt;?php
}
?&gt;
&lt;/div&gt;
&lt;/div&gt;
[!--public.footer--]
&lt;script type=&quot;text/javascript&quot; src=&quot;/public/skin/js/jquery-1.8.3.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/global.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/nav.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/Home/js/shop.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;/public/skin/js/nav.js&quot;&gt;&lt;/script&gt;
&lt;script type=''text/javascript'' src=''/Public/Home/js/globals.js''&gt;&lt;/script&gt;
&lt;script type=''text/javascript'' src=''/Public/Admin/layer/layer.js''&gt;&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;');");
$this->E_D("replace into `db_template` values('7','新闻内容模板','','view','','0','0','&lt;!doctype html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;[!--pagetitle--]&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
{:abc()}
&lt;h1&gt;{\$r.title}&lt;/h1&gt;
&lt;h2&gt;{\$r.newstime|date=&quot;Y年m月d日&quot;,###}&lt;/h2&gt;
{:htmlspecialchars_decode(\$r[newstext])}
&lt;/body&gt;
&lt;/html&gt;
');");
$this->E_D("replace into `db_template` values('8','新闻列表','','list','','0','0','&lt;!doctype html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot;&gt;
&lt;title&gt;[!--pagetitle--]&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;[!--pagetitle--]&lt;/h1&gt;
&lt;table width=&quot;800&quot; border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;foreach name=&quot;data&quot; item=&quot;v&quot;&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;{\$v.titleurl}&quot; target=&quot;_blank&quot;&gt;{\$v.title}&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;{\$v.newstime|date=&quot;Y年m月d日&quot;,###}&lt;/td&gt;
&lt;/tr&gt;
&lt;/foreach&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;H2&gt;[!--listpage--]&lt;/H2&gt;
&lt;/body&gt;
&lt;/html&gt;
');");
$this->E_D("replace into `db_template` values('9','公共底部',NULL,'public','footer','0','0','&lt;div class=&quot;indexProduct footer&quot;&gt;
&lt;div class=&quot;indexProduct_content clear all&quot;&gt;
&lt;div class=&quot;footer_top clear&quot;&gt;
&lt;div class=&quot;footer_top_list fl clear&quot;&gt;
&lt;div class=&quot;top_list_icon fl&quot;&gt;&lt;img src=&quot;/public/skin/images/bg8.jpg&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;top_list_txt fl&quot;&gt;
&lt;dd&gt;品牌直销&lt;/dd&gt;
&lt;dt&gt;原厂直销,一站直营&lt;/dt&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;footer_top_list fl clear&quot;&gt;
&lt;div class=&quot;top_list_icon fl&quot;&gt;&lt;img src=&quot;/public/skin/images/bg9.jpg&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;top_list_txt fl&quot;&gt;
&lt;dd&gt;一对一客服&lt;/dd&gt;
&lt;dt&gt;选型询价,快速响应&lt;/dt&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;footer_top_list fl clear&quot;&gt;
&lt;div class=&quot;top_list_icon fl&quot;&gt;&lt;img src=&quot;/public/skin/images/bg10.jpg&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;top_list_txt fl&quot;&gt;
&lt;dd&gt;货期保障&lt;/dd&gt;
&lt;dt&gt;原厂直发 ,货期无忧&lt;/dt&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;footer_top_list fl clear&quot;&gt;
&lt;div class=&quot;top_list_icon fl&quot;&gt;&lt;img src=&quot;/public/skin/images/bg11.jpg&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;top_list_txt fl&quot;&gt;
&lt;dd&gt;售后无忧&lt;/dd&gt;
&lt;dt&gt;超百名技术工程师技术支持&lt;/dt&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;indexProduct Copyright&quot;&gt;
&lt;div class=&quot;indexProduct_content clear&quot;&gt;
&lt;div class=&quot;Copyright_left fl&quot;&gt;Copyright©2018-2022 &lt;a style=&quot;font-size: 12px;color: #111; margin-left:15px;&quot; href=&quot;http://www.miitbeian.gov.cn/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;沪ICP备8888888号-1&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;mo_footer_height&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;mo_footer clear&quot;&gt;
&lt;a href=&quot;/&quot; class=&quot;mo_footer_list fl clear&quot;&gt;
&lt;dd class=&quot;&quot;&gt;&lt;i class=&quot;fa fa-home&quot;&gt;&lt;/i&gt;&lt;/dd&gt;
&lt;dt class=&quot;&quot;&gt;首页&lt;/dt&gt;
&lt;/a&gt;
&lt;a href=&quot;#&quot; class=&quot;mo_footer_list fl clear&quot;&gt;
&lt;dd class=&quot;&quot;&gt;&lt;i class=&quot;fa fa-navicon&quot;&gt;&lt;/i&gt;&lt;/dd&gt;
&lt;dt class=&quot;&quot;&gt;产品&lt;/dt&gt;
&lt;/a&gt;
&lt;a href=&quot;/index.php?m=Shop&amp;c=ShopCart&amp;a=index&quot; class=&quot;mo_footer_list fl clear&quot;&gt;
&lt;dd class=&quot;&quot;&gt;&lt;i class=&quot;fa fa-shopping-cart&quot;&gt;&lt;/i&gt;&lt;/dd&gt;
&lt;dt class=&quot;&quot;&gt;购物车&lt;/dt&gt;
&lt;/a&gt;
&lt;a href=&quot;/index.php?m=Member&amp;c=Index&amp;a=index&quot; class=&quot;mo_footer_list fl clear&quot;&gt;
&lt;dd class=&quot;&quot;&gt;&lt;i class=&quot;fa fa-user&quot;&gt;&lt;/i&gt;&lt;/dd&gt;
&lt;dt class=&quot;&quot;&gt;我的&lt;/dt&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/public/skin/js/jquery-1.8.3.min.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
function auth_change(){
\$(&quot;html,body&quot;).animate({scrollTop: 0},&quot;slow&quot;);
}
&lt;/script&gt;');");
?>