init
This commit is contained in:
42
app/th/view/include/banner.phtml
Executable file
42
app/th/view/include/banner.phtml
Executable file
@@ -0,0 +1,42 @@
|
||||
<!-- 轮播 s -->
|
||||
<?php
|
||||
$bigbanners = getBannerList(31, 6);
|
||||
if ($bigbanners):
|
||||
?>
|
||||
<div class="homebans">
|
||||
<div class="hd">
|
||||
<ul class="banner_no">
|
||||
<?php foreach ($bigbanners as $k => $banner): ?>
|
||||
<li id="<?php echo $banner['alt'];?>"><?php echo $k + 1; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<?php foreach ($bigbanners as $banner): ?>
|
||||
<li><a href="<?php echo $banner['url']; ?>"><img src="<?php echo getImage($banner['picture']); ?>"/></a></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
jQuery(".homebans").slide({mainCell: ".bd ul", autoPlay: true, delayTime: 3000});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(".homebans").slide(
|
||||
{mainCell: ".bd ul", autoPlay: true, delayTime: 100}
|
||||
|
||||
);
|
||||
$(function(){
|
||||
function aa() {
|
||||
var color = $(".banner_no li[class='on']").attr('id');
|
||||
$(".header-Index #header").removeClass().addClass(color);
|
||||
//console.log(color);
|
||||
}
|
||||
|
||||
window.setInterval(aa,300);
|
||||
})
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<!-- 轮播 e -->
|
||||
149
app/th/view/include/bottom.phtml
Executable file
149
app/th/view/include/bottom.phtml
Executable file
@@ -0,0 +1,149 @@
|
||||
<!--底部-->
|
||||
<div class="footer_all">
|
||||
<div class="footer">
|
||||
<div class="footl">
|
||||
<dl>
|
||||
<dt class="Under-line"><p class="icon-On-line"></p>ORICO Store<span class="icon-arrow font-11 arrow"></span></dt>
|
||||
<dd><a href="https://orico.tmall.com/?spm=a1z10.5-b.1997427721.d4918089.I" target="_blank">Tmall Office Store</a></dd>
|
||||
<dd><a href="http://orico-easy-your-pc.jd.com/" target="_blank">JD ORICO Office Store</a></dd>
|
||||
<dd><a href="https://www.newegg.com/ORICO-TECHNOLOGIES-CO-LTD" target="_blank">Newegg</a></dd>
|
||||
<dd><a href="https://www.amazon.com/sp?_encoding=UTF8&asin=&isAmazonFulfilled=&isCBA=&marketplaceID=ATVPDKIKX0DER&orderID=&seller=A2S4EXOOJ8Z82D&tab=&vasStoreID=" target="_blank">Amazon</a></dd>
|
||||
<dd><a href="https://orico.aliexpress.com/store/105327?spm=2114.12010108.pcShopHead_5959929.0" target="_blank">AliExpress</a></dd>
|
||||
<dd><a href="https://bokcore.1688.com/">1688 ORICO International</a></dd>
|
||||
<dd><a href="https://orico.en.alibaba.com/" target="_blank">Alibaba</a></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt class="On-line"><p class="icon-Under-line"></p>ORICO Offline Retail<span class="icon-arrow font-11 arrow"></span></dt>
|
||||
<!--<dd><a href="/us/Group/distributor">Dealer Network</a></dd>
|
||||
<dd><a href="">Domestic Channel</a></dd>
|
||||
<dd><a href="">Overseas Channel</a></dd>-->
|
||||
|
||||
</dl>
|
||||
<dl>
|
||||
<dt class="support"><p class="icon-support"></p>Technical Support<span class="icon-arrow font-11 arrow"></span></dt>
|
||||
<dd><a href="__ORICOROOT__/Group/fq">FAQ</a></dd>
|
||||
<dd><a href="__ORICOROOT__<?php echo url_rewrite('video'); ?>">วีดีโอ การใช้งาน</a></dd>
|
||||
<!--<dd><a href="">Knowledge-base</a></dd>
|
||||
<dd><a href="faq-1222.html">如何成为经销商</a></dd>-->
|
||||
<dd><a href="__ORICOROOT__/Group/policy">การรับประกัน</a></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt class="media"><p class="icon-media"></p>Media<span class="icon-arrow font-11 arrow"></span></dt>
|
||||
<dd><a href="tencent://message/?uin=429090372&Site=www.oricogroup.com.cn&Menu=yes" target="_blank">ORICO Followers</a></dd>
|
||||
<dd><a href="http://bbs.orico.com.cn/portal.php" target="_blank">ORICO Community</a></dd>
|
||||
<dd><a href="https://weibo.com/p/1006063158162522/home?from=page_100606&mod=TAB&is_all=1#place" target="_blank">Weibo</a></dd>
|
||||
<dd><a href="">WeChat</a></dd>
|
||||
<!--<dd><a href="">Facebook</a></dd>
|
||||
<dd><a href="https://twitter.com/ORICO_Official">Twitter</a></dd>
|
||||
<dd><a href="https://www.youtube.com/channel/UCi1NX8JcV3mJ1AnqrxhuLHw?view_as=public">Youtube</a></dd>-->
|
||||
</dl>
|
||||
<dl>
|
||||
<dt class="join"><p class="icon-join"></p>Join Us<span class="icon-arrow font-11 arrow"></span></dt>
|
||||
<dd><a href="__ORICOROOT__/Group/odm">Cooperation</a></dd>
|
||||
<!--<dd><a href="/us/Group/job" >Jobs</a></dd>-->
|
||||
</dl>
|
||||
</div>
|
||||
<div class="footr text-l f-gray">
|
||||
<div class="font-18">ติ<span>ดต่อเรา</span><span><a href="__PUBLIC__/weben/images/home/SKMBT_C35319110614220.pdf" target="_blank"><img src="__PUBLIC__/web/images/home/statement.png">Terms of Use</a></span></div>
|
||||
<p class="padding-t-8vw">Add: 19/F, Block 14A, Zhonghaixin Science &Technology Park, Longgang District, Shenzhen, China </p>
|
||||
<p>After-sale & Support: 400-6696-298</p>
|
||||
<p>E-mail:supports@orico.com.cn</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container img-responsive footer_bg position-r">
|
||||
<div style="position: absolute; bottom:0; z-index: 0;"><img src="__PUBLIC__/web/images/home/footer_bg.jpg"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer_bottom">
|
||||
<div class="rha text-c">
|
||||
<a href="https://www.youtube.com/user/ORICOVlog" target="_blank"><div class="footr-icon"><span class="icon1-youtube"></span></div>
|
||||
<a href="https://twitter.com/ORICO_Official" target="_blank"><div class="footr-icon"><span class="icon1-twitter"></span></div>
|
||||
<a href="https://www.instagram.com/orico__technologies" target="_blank"><div class="footr-icon"><span class="icon1-instagram"></span></div></a>
|
||||
<a href="https://www.facebook.com/ORICOOfficial" target="_blank"><div class="footr-icon"><span class="icon1-facebook"></span></div></a>
|
||||
</div>
|
||||
2015 ORICO Technologies Co.,Ltd copyright
|
||||
(<a href="http://www.miitbeian.gov.cn" style="color:#fff" target="_blank">GuangDong ICP No. 15,025,109</a>)</div>
|
||||
{include file="include/kefu" /}
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/owl.carousel.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/html5shiv.v3.72.min.js"></script>
|
||||
|
||||
<script>
|
||||
/*头部菜单栏*/
|
||||
$( function () {
|
||||
var $category = $( ".navlist" );
|
||||
$category.hide();
|
||||
$( ".navul li" ).mouseleave( function () {
|
||||
$( this ).children( "a" ).addClass( "aons" );
|
||||
$( ".nav" ).removeAttr("style");
|
||||
$( ".navlist_c" ).removeAttr("style");
|
||||
$( ".navul" ).find( "a" ).removeClass("menu_a");
|
||||
$( this ).find("span").removeClass("arrow-down");
|
||||
$(".all-logo").show();
|
||||
$(".all-logo-black").hide();
|
||||
//$( this ).children( "dl" ).stop( true, true ).slideUp( 500 );
|
||||
$( this ).children( "dl" ).stop().slideUp( 500 );
|
||||
} );
|
||||
$( ".navul li" ).mouseenter( function () {
|
||||
$category.hide();
|
||||
$( ".navlist_c" ).removeAttr("style");
|
||||
$( ".nav" ).css("background-color", "#FFFFFF");
|
||||
$( ".navul" ).find( "a" ).addClass("menu_a");
|
||||
$(this).find("span").addClass("arrow-down");
|
||||
$(".all-logo").hide();
|
||||
$(".all-logo-black").show();
|
||||
//$( this ).children( "dl" ).stop( true, true ).slideDown( 500 );
|
||||
$( this ).children( "dl" ).stop().slideDown( 500 );
|
||||
} );
|
||||
//搜索框
|
||||
$( ".top-R span" ).click( function () {
|
||||
$( ".search" ).slideToggle();
|
||||
} );
|
||||
// 城市
|
||||
$( ".zg" ).click( function () {
|
||||
$( ".topnav" ).slideToggle(500);
|
||||
} );
|
||||
|
||||
$(".icon-close").click(function(){
|
||||
$( ".topnav" ).slideUp(500);
|
||||
})
|
||||
|
||||
} );
|
||||
/*底部菜单弹出*/
|
||||
var body_width = $(window).width();
|
||||
if(body_width < 767){
|
||||
$(function(){
|
||||
$(".footl dt").click(function(){
|
||||
$(this).nextAll().toggle(500);
|
||||
$(this).children("span").toggleClass( "arrow-r" )
|
||||
}).mouseout(function(){
|
||||
$(".bottom_cn_box").hide();
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
/*新导航*/
|
||||
$(function(){
|
||||
$(".ca_lists").mouseover(function(){
|
||||
$(this).addClass('on').siblings().removeClass('on');
|
||||
$(this).siblings().children('div').hide();
|
||||
$(this).children('div').show();
|
||||
});
|
||||
|
||||
});
|
||||
/*底部菜单弹出*/
|
||||
var body_width = $(window).width();
|
||||
if(body_width < 767){
|
||||
$(function(){
|
||||
$(".footl dt").click(function(){
|
||||
$(this).nextAll().toggle(500);
|
||||
$(this).children("span").toggleClass( "arrow-r" )
|
||||
}).mouseout(function(){
|
||||
$(".bottom_cn_box").hide();
|
||||
});
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
50
app/th/view/include/catbanner.phtml
Executable file
50
app/th/view/include/catbanner.phtml
Executable file
@@ -0,0 +1,50 @@
|
||||
<!-- 轮播 s -->
|
||||
<?php
|
||||
if (isset($last_cate) && $last_cate)
|
||||
{
|
||||
$banners = getBannerList(34, 1, [['exp', \think\Db::raw('FIND_IN_SET(\'' . $category['pid'] . '\',`categoryid`)')]]);
|
||||
}
|
||||
else
|
||||
{
|
||||
$banners = getBannerList(34, 1, [['exp', \think\Db::raw('FIND_IN_SET(\'' . $category['id'] . '\',`categoryid`)')]]);
|
||||
}
|
||||
|
||||
if ($banners):
|
||||
?>
|
||||
<div class="homeban">
|
||||
<div class="hd">
|
||||
<ul >
|
||||
<?php /*foreach ($banners as $k => $banner): ?>
|
||||
<li id="<?php echo $banner['alt'];?>"><?php echo $k + 1; ?></li>
|
||||
<?php endforeach;*/?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bd">
|
||||
<ul class="banner_no">
|
||||
<?php foreach ($banners as $banner): ?>
|
||||
<li id="<?php echo $banner['alt'];?>"><a href="<?php echo $banner['url']; ?>"><img src="<?php echo getImage($banner['picture']); ?>"></a></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
jQuery(".homeban").slide({mainCell: ".bd ul", autoPlay: true, delayTime: 3000});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
jQuery(".homeban").slide(
|
||||
{mainCell: ".bd ul", autoPlay: true, delayTime: 100}
|
||||
|
||||
);
|
||||
$(function(){
|
||||
function aa() {
|
||||
var color = $(".banner_no li").attr('id');
|
||||
|
||||
$(".header-Index #header").removeClass().addClass(color);
|
||||
//console.log(color);
|
||||
}
|
||||
|
||||
window.setInterval(aa,300);
|
||||
})
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<!-- 轮播 e -->
|
||||
31
app/th/view/include/head-product.phtml
Executable file
31
app/th/view/include/head-product.phtml
Executable file
@@ -0,0 +1,31 @@
|
||||
|
||||
<!-- Google Tag Manager -->
|
||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','GTM-55H3CV5');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/css_whir.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/owl.carousel.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/swiper.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/jquery.mCustomScrollbar.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/fonts.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/public_1200.css">
|
||||
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery-1.8.3.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/common.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/swiper.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/owl.carousel.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/html5shiv.v3.72.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.SuperSlide.2.1.1.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.mCustomScrollbar.concat.min.js"></script>
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-55H3CV5"
|
||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
|
||||
5
app/th/view/include/head-seo.phtml
Executable file
5
app/th/view/include/head-seo.phtml
Executable file
@@ -0,0 +1,5 @@
|
||||
|
||||
<title><?php echo $seo_title; ?></title>
|
||||
<meta name="keywords" content="<?php echo $seo_keyword; ?>">
|
||||
<meta name="description" content="<?php echo $seo_description; ?>">
|
||||
|
||||
33
app/th/view/include/head.phtml
Executable file
33
app/th/view/include/head.phtml
Executable file
@@ -0,0 +1,33 @@
|
||||
|
||||
<!-- Google Tag Manager -->
|
||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','GTM-55H3CV5');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="icon" type="image/gif" href="__PUBLIC__/web/images/animated_favicon.png">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/css_whir.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/owl.carousel.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/swiper.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/jquery.mCustomScrollbar.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/fonts.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/webth/css/public_1440.css">
|
||||
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery-1.8.3.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/common.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/swiper.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/owl.carousel.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/html5shiv.v3.72.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.SuperSlide.2.1.1.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/webth/scripts/jquery.mCustomScrollbar.concat.min.js"></script>
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-55H3CV5"
|
||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
|
||||
210
app/th/view/include/kefu.phtml
Executable file
210
app/th/view/include/kefu.phtml
Executable file
@@ -0,0 +1,210 @@
|
||||
<!-- 在线客服 s -->
|
||||
<div class="suspension Swt-Phone">
|
||||
<div class="suspension-box">
|
||||
<div href="javascript:;" class="a a-acart">
|
||||
<i class="l3 icon-ys1"></i><p>Email</p>
|
||||
</div>
|
||||
<div href="javascript:;" class="a a-service-phone" style="border-bottom:1px solid #f1f1f1;">
|
||||
<i class="l4 icon-kf1"></i><p>Contact Us</p>
|
||||
<div class="d d-service-phone">
|
||||
<i class="arrow"></i>
|
||||
<div class="inner-box" style="display: block">
|
||||
<div class="d-service-item clearfix">
|
||||
<span class="circle"><i class="i-tel"></i></span>
|
||||
<div class="text">
|
||||
<p>Free Service Hotline</p>
|
||||
<p class="number"><?php echo config('website_tel'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div href="javascript:;" class="a a-top" style="border-bottom:1px solid #f1f1f1;margin-top:10px;">
|
||||
<i class="l5 icon-top1"></i><p>Top</p>
|
||||
</div>
|
||||
<div class="d d-qrcode">
|
||||
<i class="arrow"></i>
|
||||
<div class="inner-box">
|
||||
<?php if (!empty($erweima[0])): ?>
|
||||
<div class="qrcode-img"><img src="<?php echo getImage($erweima[0]['picture']); ?>" alt="<?php echo $erweima[0]['alt']; ?>"></div>
|
||||
<?php endif; ?>
|
||||
<p>更多惊喜请加微信</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="show">
|
||||
<div class="w1440 smask">
|
||||
<div class="w1200 sarea">
|
||||
<div class="stop1">
|
||||
<span>Feedback</span>
|
||||
<a href="javascript:;" class="cha"><i class="icon-close"></i></a>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<form id="feedback">
|
||||
<div class="feed">
|
||||
<div class="finput">
|
||||
<label>Type:</label>
|
||||
<select name="feedback_type">
|
||||
<?php
|
||||
$feedback_type = config('website_feedback_type_us');
|
||||
if ($feedback_type):
|
||||
foreach ($feedback_type as $type):
|
||||
?>
|
||||
<option value="<?php echo $type; ?>"><?php echo $type; ?></option>
|
||||
<?php
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="finput">
|
||||
<label>Your name:</label>
|
||||
<input type="text" name="name" value="" id="name">
|
||||
</div>
|
||||
<div class="finput">
|
||||
<label>Subject:</label>
|
||||
<input type="text" name="subject" value="" class="them">
|
||||
</div>
|
||||
<div class="finput">
|
||||
<label class="fla">Details:</label>
|
||||
<textarea name="content"></textarea>
|
||||
</div>
|
||||
<div class="finput">
|
||||
<label class="fla">Contact:</label>
|
||||
<select class="emal" name="way">
|
||||
<option value="E-mail">E-mail</option>
|
||||
</select>
|
||||
<input type="text" name="contact" value="" id="contact" class="them1">
|
||||
</div>
|
||||
<div class="finput">
|
||||
<label>Security code:</label>
|
||||
<input type="text" name="authcode" value="" id="authcode">
|
||||
<a href="javascript:;" class="yzm"><img id="yanzhengma" src="<?php echo url('captcha/authcode/verify', ['id' => 'authcode']); ?>"></a>
|
||||
</div>
|
||||
<a href="javascript:;" class="feda sendbtn">Send</a>
|
||||
<a href="javascript:;" class="feda resetbtn">Reset</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
/* ----- 侧边悬浮 ---- */
|
||||
$(document).on("mouseenter", ".suspension .a", function() {
|
||||
var _this = $(this);
|
||||
var s = $(".suspension");
|
||||
var isService = _this.hasClass("a-service");
|
||||
var isServicePhone = _this.hasClass("a-service-phone");
|
||||
var isQrcode = _this.hasClass("a-qrcode");
|
||||
if (isService) {
|
||||
s.find(".d-servcie").show().siblings(".d").hide();
|
||||
}
|
||||
if (isServicePhone) {
|
||||
s.find(".d-service-phone").show().siblings(".d").hide();
|
||||
}
|
||||
if (isQrcode) {
|
||||
s.find(".d-qrcode").show().siblings(".d").hide();
|
||||
}
|
||||
});
|
||||
$(document).on("mouseleave", ".suspension .a, .suspension .a-top", function() {
|
||||
$(".suspension").find(".d").hide();
|
||||
});
|
||||
$(document).on("mouseenter", ".suspension .a-top", function() {
|
||||
$(".suspension").find(".d").hide();
|
||||
});
|
||||
$(document).on("click", ".suspension .a-top", function() {
|
||||
$("html,body").animate({scrollTop: 0});
|
||||
});
|
||||
$(window).scroll(function() {
|
||||
var st = $(document).scrollTop();
|
||||
var $top = $(".suspension .a-top");
|
||||
if (st > 400) {
|
||||
$top.css({display: 'block'});
|
||||
} else {
|
||||
if ($top.is(":visible")) {
|
||||
$top.show();
|
||||
}
|
||||
}
|
||||
});
|
||||
$(".a-acart").click(function() {
|
||||
$(".show").show();
|
||||
$("a.yzm").click();
|
||||
})
|
||||
$(".cha").click(function() {
|
||||
$(".show").hide();
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<!-- 在线客服 e -->
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("form a.yzm").click(function(event) {
|
||||
event.preventDefault();
|
||||
$("#yanzhengma").attr("src", "<?php echo url('captcha/authcode/verify', ['id' => 'authcode']); ?>" + "?" + Math.random());
|
||||
});
|
||||
$("form a.resetbtn").click(function(e) {
|
||||
if (confirm('确认重置所有表单项吗?')) {
|
||||
this.form.reset();
|
||||
}
|
||||
});
|
||||
$("form a.sendbtn").bind("click", function(event) {
|
||||
var nameObj = document.getElementById('name');
|
||||
if (isNull(trim(nameObj.value))) {
|
||||
alert('名称必须填写');
|
||||
nameObj.focus();
|
||||
return false;
|
||||
}
|
||||
var authcodeObj = document.getElementById('authcode');
|
||||
if (isNull(trim(authcodeObj.value))) {
|
||||
alert('验证码不能为空');
|
||||
authcodeObj.focus();
|
||||
return false;
|
||||
}
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "<?php echo url('index/index/feedback'); ?>",
|
||||
data: $("form#feedback").serialize(),
|
||||
dataType: "json",
|
||||
success: function(data, status, xhr) {
|
||||
if (data.code) {
|
||||
alert(data.msg);
|
||||
$("form#feedback").get(0).reset();
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
beforeSend: function() {
|
||||
$('form a.sendbtn').prop('disabled', true);
|
||||
},
|
||||
complete: function() {
|
||||
$('form a.sendbtn').prop('disabled', false);
|
||||
$("form a.yzm").click();
|
||||
}
|
||||
});
|
||||
event.preventDefault();
|
||||
});
|
||||
});
|
||||
function isNull(data) {
|
||||
return (data == "" || data == undefined || data == null) ? true : false;
|
||||
}
|
||||
function trim(str) {
|
||||
return str.replace(/(^\s*)|(\s*$)/g, '');
|
||||
}
|
||||
function isTelephone(value) {
|
||||
var isMobile = /^1[345789]\d{9}$/;
|
||||
return isMobile.test(value);
|
||||
}
|
||||
function validEmail(email) {
|
||||
//对电子邮件的验证
|
||||
var reg = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
|
||||
return reg.test(email);
|
||||
}
|
||||
|
||||
</script>
|
||||
214
app/th/view/include/top-header-mobile.phtml
Executable file
214
app/th/view/include/top-header-mobile.phtml
Executable file
@@ -0,0 +1,214 @@
|
||||
<header class="header-M">
|
||||
<div class="header-fixed">
|
||||
<div class="logo img-responsive"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png"></a></div>
|
||||
<div class="Menu icon-menu"></div>
|
||||
<div class="Country"><img src="__PUBLIC__/web/images/countries/UK.png"></div>
|
||||
</div>
|
||||
<div class="m-Menu" style="display: none;">
|
||||
<ul>
|
||||
<li><a href="__ORICOROOT__">HOME</a></li>
|
||||
<li><a href="__ORICOROOT__<?php echo url_rewrite('product'); ?>">สินค้า&บริการ</a><div class="icon-arrow font-18 arrow"><span></span></div>
|
||||
<div class="S-Menu" style="display: none">
|
||||
<ul>
|
||||
<?php foreach ($productCategory as $k => $pc): ?>
|
||||
<li><a href="__ORICOROOT__<?php echo url_rewrite('product', ['id' => $pc['id']]); ?>"><?php echo $pc['name']; ?></a></li>
|
||||
<?php endforeach; ?>
|
||||
<li><a href="__ORICOROOT__/Group/special">Featured Products</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li><a href="">Value & Mission</a><div class="icon-arrow font-18 arrow"><span></span></div>
|
||||
<div class="S-Menu" style="display: none">
|
||||
<ul>
|
||||
<a href="__ORICOROOT__/Group/weare">เราคือ</a>
|
||||
<a href="__ORICOROOT__/Group/wewill">เราจะ</a>
|
||||
<a href="__ORICOROOT__/Group/culture">ค่านิยมและวัฒนธรรม</a>
|
||||
<a href="__ORICOROOT__/Group/vision">เป้าหมายและวิสัยทัศน์</a>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li><a href="">ที่มาและนวัตกรรม</a><div class="icon-arrow font-18 arrow"><span></span></div>
|
||||
<div class="S-Menu" style="display: none">
|
||||
<ul>
|
||||
<li><a href="__ORICOROOT__<?php echo url_rewrite('article'); ?>">ข่าวสาร</a></li>
|
||||
<li><a href="__ORICOROOT__/Group/brand">Brand Course</a></li>
|
||||
<li><a href="__ORICOROOT__/Group/honor">เกียติยศและใบรับรอง</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li><a href="__ORICOROOT__/Group/job">เข้าร่วมกับเรา</a></li>
|
||||
<li><a href="__ORICOROOT__/Group/Contact">ติดต่อเรา</a></li>
|
||||
</ul>
|
||||
<div class="SingIn-button text-c"><a href="__ORICOROOT__/register.html">Registry</a><a href="__ORICOROOT__/login.html">Login</a></div>
|
||||
<a href="__ORICOROOT__/Group/search"><div class="search">
|
||||
<button class="updown_search_btn" type="sumbit" id="bnt_email"><span class="icon-search"></span></button>
|
||||
<input class="form-control" name="keywords" placeholder="Search" value="" type="text">
|
||||
</div> </a>
|
||||
</div>
|
||||
<div class="m-Country" style="display: none;">
|
||||
<ul>
|
||||
<li><a href="http://www.orico.com.cn"><p>China</p></a></li>
|
||||
<li><a href="http://www.orico.cc/th"><p>USA</p></a></li>
|
||||
<li><a href=""><p>Vietnam</p></a></li>
|
||||
<li><a href=""><p>Thailand</p></a></li>
|
||||
<!--
|
||||
<li><a href=""><p>Australia</p></a></li>
|
||||
<li><a href=""><p>Canada</p></a></li>
|
||||
<li><a href=""><p>Japan</p></a></li>
|
||||
<li><a href=""><p>France</p></a></li>
|
||||
<li><a href=""><p>Germany</p></a></li>
|
||||
|
||||
<li><a href=""><p>Egyiptom</p></a></li>
|
||||
<li><a href=""><p>Kazakhstan</p></a></li>
|
||||
<li><a href=""<p>Palestine</p></a></li>
|
||||
|
||||
|
||||
<li><a href=""><p>Ghána</p></a></li>
|
||||
<li><a href=""><p>Dubai</p></a></li>
|
||||
<li><a href=""><p>Korea</p></a></li>
|
||||
<li><a href=""><p>Philippines</p></a></li>
|
||||
<li><a href=""><p>Alba</p></a></li>
|
||||
|
||||
<li><a href=""><p>Morocco</p></a></li>
|
||||
<li><a href=""><p>Hong Kong,China</p></a></li>
|
||||
<li><a href=""><p>Kuwait</p></a></li>
|
||||
<li><a href=""><p>Saudi Arabia</p></a></li>
|
||||
<li><a href=""><p>Ausztria</p></a></li>
|
||||
|
||||
<li><a href=""><p>Nigéria</p></a></li>
|
||||
<li><a href=""><p>India</p></a></li>
|
||||
<li><a href=""><p>Laosz</p></a></li>
|
||||
<li><a href=""><p>Singapore</p></a></li>
|
||||
<li><a href=""><p>Belgium</p></a></li>
|
||||
|
||||
<li><a href=""><p>South Africa</p></a></li>
|
||||
<li><a href=""><p>Indonesia</p></a></li>
|
||||
<li><a href=""><p>Libanon</p></a></li>
|
||||
<li><a href=""><p>Srí Lanka</p></a></li>
|
||||
<li><a href=""><p>Bulgaria</p></a></li>
|
||||
|
||||
<li><a href=""><p>Tunézia</p></a></li>
|
||||
<li><a href=""><p>Iordan</p></a></li>
|
||||
<li><a href=""><p>Malaysia</p></a></li>
|
||||
<li><a href=""><p>Syria</p></a></li>
|
||||
<li><a href=""><p>Csehország</p></a></li>
|
||||
|
||||
<li><a href=""><p>Zambia</p></a></li>
|
||||
<li><a href=""><p>Iran</p></a></li>
|
||||
<li><a href=""><p>Maldives</p></a></li>
|
||||
<li><a href=""><p>Taiwan,China</p></a></li>
|
||||
<li><a href=""><p>Cyprus</p></a></li>
|
||||
|
||||
<li><a href=""><p>Azerbaijan</p></a></li>
|
||||
<li><a href=""><p>Iraq</p></a></li>
|
||||
<li><a href=""><p>Myanmar</p></a></li>
|
||||
|
||||
<li><a href=""><p>Denmark</p></a></li>
|
||||
|
||||
<li><a href=""><p>Bengal</p></a></li>
|
||||
<li><a href=""><p>Israel</p></a></li>
|
||||
<li><a href=""><p>Nepal</p></a></li>
|
||||
<li><a href=""><p>Turkey</p></a></li>
|
||||
<li><a href=""><p>Estonia</p></a></li>
|
||||
|
||||
|
||||
<li><a href=""><p>Cambodia</p></a></li>
|
||||
<li><a href=""><p>Pakistan</p></a></li>
|
||||
<li><a href=""><p>United Arab Emirates</p></a></li>
|
||||
|
||||
<li><a href=""><p>Pápua Új-Guinea</p></a></li>
|
||||
<li><a href=""><p>Colombia</p></a></li>
|
||||
<li><a href=""><p>Peru</p></a></li>
|
||||
<li><a href=""><p>Uruguay</p></a></li>
|
||||
|
||||
<li><a href=""><p>Brazil</p></a></li>
|
||||
<li><a href=""><p>Chile</p></a></li>
|
||||
<li><a href=""><p>Mexikó</p></a></li>
|
||||
<li><a href=""><p>Argentína</p></a></li>
|
||||
|
||||
<li><a href=""><p>Romania</p></a></li>
|
||||
<li><a href=""><p>Spain</p></a></li>
|
||||
<li><a href=""><p>Switzerland</p></a></li>
|
||||
<li><a href=""><p>Ukraine</p></a></li>
|
||||
<li><a href=""><p>Bolivia</p></a></li>
|
||||
|
||||
<li><a href=""><p>Russia</p></a></li>
|
||||
<li><a href=""><p>Sweden</p></a></li>
|
||||
<li><a href=""><p>Szlovákia</p></a></li>
|
||||
<li><a href=""><p>Netherlands</p></a></li>
|
||||
<li><a href=""><p>Portugal</p></a></li>
|
||||
|
||||
|
||||
<li><a href=""><p>Hungary</p></a></li>
|
||||
<li><a href=""><p>Italy</p></a></li>
|
||||
<li><a href=""><p>Norway</p></a></li>
|
||||
<li><a href=""><p>New Zealand</p></a></li>
|
||||
|
||||
<li><a href=""><p>Greece</p></a></li>
|
||||
<li><a href=""><p>Ireland</p></a></li>
|
||||
<li><a href=""><p>Lithuania</p></a></li>
|
||||
<li><a href=""><p>Poland</p></a></li>
|
||||
-->
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<script>
|
||||
/*菜单栏*/
|
||||
$( function () {
|
||||
$( ".Menu" ).click( function () {
|
||||
$( this ).toggleClass( "icon-close" );
|
||||
$( ".Country" ).children().show();
|
||||
$( ".m-Menu" ).slideToggle( 500 );
|
||||
$( ".Country" ).removeClass( "icon-close" );
|
||||
$( ".m-Country" ).hide();
|
||||
$( ".m-Menu ul" ).animate( {
|
||||
fontSize: "1em"
|
||||
} );
|
||||
} );
|
||||
} )
|
||||
/*国家栏*/
|
||||
$( function () {
|
||||
$( ".Country" ).click( function () {
|
||||
$( this ).children().toggle();
|
||||
$( this ).toggleClass( "icon-close" );
|
||||
$( ".Menu" ).removeClass( "icon-close" );
|
||||
$( ".m-Country" ).slideToggle( 500 );
|
||||
$( ".m-Menu" ).hide();
|
||||
} );
|
||||
} )
|
||||
/*箭头下拉*/
|
||||
$( function () {
|
||||
$( ".m-Menu .arrow" ).click( function () {
|
||||
$( this ).parent().find( ".S-Menu" ).slideToggle( 500 );
|
||||
$( this ).toggleClass( "arrow-r" )
|
||||
} );
|
||||
} )
|
||||
|
||||
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
/*固定头部*/
|
||||
|
||||
|
||||
var theme_color= $("#header").attr("class");
|
||||
var header_class = $("header").attr("class");
|
||||
/*滚动条大于100固定头部*/
|
||||
$(window).scroll(function() {
|
||||
// 当滚动到最底部以上100像素时, 固定头部
|
||||
if ($(this).scrollTop() > 100) {
|
||||
$("header").removeClass("header-Index").addClass("header-Product");
|
||||
$("#header").removeClass(theme_color).addClass("theme-black");
|
||||
}
|
||||
else
|
||||
{
|
||||
$("header").removeClass("header-Product").addClass(header_class);
|
||||
$("#header").removeClass("theme-black").addClass(theme_color);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
122
app/th/view/include/top-header.phtml
Executable file
122
app/th/view/include/top-header.phtml
Executable file
@@ -0,0 +1,122 @@
|
||||
<div class="nav">
|
||||
<div class="swt-Container overflow-f">
|
||||
<div class="all-logo position-r">
|
||||
<div class="logo logo-black"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png" alt="图片描述"></a></div>
|
||||
<div class="logo logo-white"><a href="__ORICOROOT__"><img src="/uploads/default/logo-white.png" alt="图片描述"></a></div>
|
||||
</div>
|
||||
<div class="all-logo-black position-r" style="display: none">
|
||||
<div class="logo"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png" alt="图片描述"></a></div>
|
||||
</div>
|
||||
<div class="navfl">
|
||||
<ul class="navul">
|
||||
<li id="index" class="products"><a href="__ORICOROOT__">HOME</a></li>
|
||||
<li id="nav1" class="products main_nav">
|
||||
<a href="<?php echo url_rewrite('us'); ?>" class="aons">สินค้า&บริการ<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist_c" style="display: none">
|
||||
<div class="swt-Container ca_list text-left">
|
||||
<?php if (!empty($productCategory)): ?>
|
||||
<?php foreach ($productCategory as $key => $value):
|
||||
if (isset($category['id']) && $category['id'] == $value['id'])
|
||||
$oneLevelCategory = isset($value['child']) ? $value['child'] : [];
|
||||
$have_3_child = 0;
|
||||
if (!empty($value['child']))
|
||||
{
|
||||
foreach ($value['child'] as $k => $v)
|
||||
{
|
||||
if (!empty($v['child']))
|
||||
{
|
||||
$have_3_child = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<div class="ca_lists">
|
||||
<a href="__ORICOROOT__/product/category/<?php echo $value['id']?>.html" class="nav_title one_category"><img src="<?php echo $value['m_icon']?>"><?php echo $value['name']; ?><i class="icon-r-arrow arrow_title"></i></a>
|
||||
<?php if ($have_3_child == 0): ?>
|
||||
<div class="two_nav two_nav_other" style="display: none;">
|
||||
<?php if (!empty($value['child'])): ?>
|
||||
|
||||
<?php foreach ($value['child'] as $k => $v): ?>
|
||||
<div class=""><a href="__ORICOROOT__/product/subcategory/<?php echo $v['id']?>.html"><img src="<?php echo $v['m_icon']; ?>"><?php echo $v['name']; ?></a></div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
<div style="<?php if ($key != 0): ?> display: none <?php endif; ?>">
|
||||
<?php if (!empty($value['child'])): ?>
|
||||
<div class="two_nav_<?php echo $value['id']; ?> two_nav">
|
||||
<?php foreach ($value['child'] as $k => $v): ?>
|
||||
<dl>
|
||||
<dt class="nav_list_title"><a href="__ORICOROOT__/product/subcategory/<?php echo $v['id']?>.html"><img src="<?php echo $v['m_icon']; ?>"><?php echo $v['name']; ?></a></dt>
|
||||
<?php if (!empty($v['child'])): ?>
|
||||
<?php foreach ($v['child'] as $index => $item): ?>
|
||||
<dd><a href="__ORICOROOT__/product/subcategory/<?php echo $item['id']?>.html"><img src="<?php echo $item['picture']; ?>"><?php echo $item['shortname']; ?></a></dd>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</dl>
|
||||
|
||||
</li>
|
||||
<li id="nav2" class="products">
|
||||
<a href="#">เป้าหมายขององค์กร<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist2">
|
||||
<dd class="navdd">
|
||||
<div class="ddfl">
|
||||
<a href="__ORICOROOT__/Group/weare">เราคือ</a>
|
||||
<a href="__ORICOROOT__/Group/wewill">เราจะ</a>
|
||||
<a href="__ORICOROOT__/Group/culture">ค่านิยมและวัฒนธรรม</a>
|
||||
<a href="__ORICOROOT__/Group/vision">เป้าหมายและวิสัยทัศน์</a>
|
||||
</div>
|
||||
<div class="ddrh"><img src="__PUBLIC__/web/uploadfiles/image/dd1.jpg">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<li id="nav3">
|
||||
<a href="#">ที่มาและนวัตกรรม<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist1">
|
||||
<dd class="navdd">
|
||||
<div class="ddfl">
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('article'); ?>">ข่าวสาร</a>
|
||||
<a href="__ORICOROOT__/Group/brand">Brand Course</a>
|
||||
<a href="__ORICOROOT__/Group/honor">เกียรติบัตรและใบรับรอง</a>
|
||||
</div>
|
||||
<div class="ddrh"><img src="__PUBLIC__/web/uploadfiles/image/dd3.jpg">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<!--<li id="nav2" class="products"><a href="/index/Group/culture">价值与使命</a>
|
||||
</li>
|
||||
<li id="nav3" class="products"><a href="#">历史与创新</a>
|
||||
</li>-->
|
||||
<li id="nav4" class="products"><a href="__ORICOROOT__/Group/job">เข้าร่วมกับเรา</a>
|
||||
</li>
|
||||
<li id="nav5" class="products"><a href="__ORICOROOT__/Group/Contact">ติดต่อเรา</a>
|
||||
</li>
|
||||
<li id="nav6" class="products"><a href="__ORICOROOT__<?php echo url_rewrite('download'); ?>">ดาวโหลดไดร์เวอร์</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="navfl">
|
||||
<ul class="navul">
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
99
app/th/view/include/top-header20191015.phtml
Executable file
99
app/th/view/include/top-header20191015.phtml
Executable file
@@ -0,0 +1,99 @@
|
||||
<div class="nav">
|
||||
<div class="swt-Container overflow-f">
|
||||
<div class="all-logo position-r">
|
||||
<div class="logo logo-black"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png" alt="图片描述"></a></div>
|
||||
<div class="logo logo-white"><a href="__ORICOROOT__"><img src="/uploads/default/logo-white.png" alt="图片描述"></a></div>
|
||||
</div>
|
||||
<div class="all-logo-black position-r" style="display: none">
|
||||
<div class="logo"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png" alt="图片描述"></a></div>
|
||||
</div>
|
||||
<div class="navfl">
|
||||
<ul class="navul">
|
||||
<li id="index" class="products"><a href="__ORICOROOT__">HOME</a></li>
|
||||
<li id="nav1" class="products">
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('product'); ?>" class="aons">สินค้า&บริการ<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist_c" style="display: block">
|
||||
<div class="swt-Container ca_list text-left">
|
||||
<?php if (!empty($productCategory)): ?>
|
||||
<?php foreach ($productCategory as $key => $value):
|
||||
if (isset($category['id']) && $category['id'] == $value['id'])
|
||||
$oneLevelCategory = isset($value['child']) ? $value['child'] : []
|
||||
?>
|
||||
<div class="ca_lists">
|
||||
<a href="__ORICOROOT__/product/category/<?php echo $value['id']?>.html" class="nav_title"><span><?php echo $value['name']; ?></span></a>
|
||||
<div style="<?php if ($value['id'] != 75): ?> display: none <?php endif; ?>">
|
||||
<?php if (!empty($value['child'])): ?>
|
||||
<div class="two_nav_<?php echo $value['unique_id']; ?> two_nav">
|
||||
<div class="swt-Container">
|
||||
<?php foreach ($value['child'] as $k => $v): ?>
|
||||
<dl>
|
||||
<dt class="nav_list_title"><a href="__ORICOROOT__/product/subcategory/<?php echo $v['id']?>.html"><?php echo $v['name']; ?></a></dt>
|
||||
<?php if (!empty($v['child'])): ?>
|
||||
<?php foreach ($v['child'] as $index => $item): ?>
|
||||
<dd><a href="__ORICOROOT__/product/subcategory/<?php echo $item['id']?>.html"><?php echo $item['shortname']; ?></a></dd>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
<div class="ca_list_line"></div>
|
||||
</div>
|
||||
</dl>
|
||||
</li>
|
||||
<li id="nav2" class="products">
|
||||
<a href="#">เป้าหมายขององค์กร<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist2">
|
||||
<dd class="navdd">
|
||||
<div class="ddfl">
|
||||
<a href="__ORICOROOT__/Group/weare">เราคือ</a>
|
||||
<a href="__ORICOROOT__/Group/wewill">เราจะ</a>
|
||||
<a href="__ORICOROOT__/Group/culture">ค่านิยมและวัฒนธรรม</a>
|
||||
<a href="__ORICOROOT__/Group/vision">เป้าหมายและวิสัยทัศน์</a>
|
||||
</div>
|
||||
<div class="ddrh"><img src="__PUBLIC__/web/uploadfiles/image/dd1.jpg">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<li id="nav3">
|
||||
<a href="#">ที่มาและนวัตกรรม<span class="icon-arrow arrow"></span></a>
|
||||
<dl class="navlist navlist1">
|
||||
<dd class="navdd">
|
||||
<div class="ddfl">
|
||||
<a href="__ORICOROOT__<?php echo url_rewrite('article'); ?>">ข่าวสาร</a>
|
||||
<a href="__ORICOROOT__/Group/brand">Brand Course</a>
|
||||
<a href="__ORICOROOT__/Group/honor">เกียรติบัตรและใบรับรอง</a>
|
||||
</div>
|
||||
<div class="ddrh"><img src="__PUBLIC__/web/uploadfiles/image/dd3.jpg">
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<!--<li id="nav2" class="products"><a href="/index/Group/culture">价值与使命</a>
|
||||
</li>
|
||||
<li id="nav3" class="products"><a href="#">历史与创新</a>
|
||||
</li>-->
|
||||
<li id="nav4" class="products"><a href="__ORICOROOT__/Group/job">เข้าร่วมกับเรา</a>
|
||||
</li>
|
||||
<li id="nav5" class="products"><a href="__ORICOROOT__/Group/Contact">ติดต่อเรา</a>
|
||||
</li>
|
||||
<li id="nav6" class="products"><a href="__ORICOROOT__<?php echo url_rewrite('download'); ?>">ดาวโหลดไดร์เวอร์</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="navfl">
|
||||
<ul class="navul">
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
31
app/th/view/include/top.phtml
Executable file
31
app/th/view/include/top.phtml
Executable file
@@ -0,0 +1,31 @@
|
||||
<div class="top">
|
||||
<div class="swt-Container">
|
||||
<div class="top-R" style="vertical-align:bottom">
|
||||
<?php if(empty($customer_info)){ ?>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/register.html">Registry</a></span>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/login.html">Login</a></span>
|
||||
<?php }else{ ?>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/customer/personal.html">Personal</a></span>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/customer/new_logout.html">Sign out</a></span>
|
||||
<?php }?>
|
||||
<span id="tuichu1"><a href="__ORICOROOT__/search.html"><span class="icon-search" style="vertical-align:bottom; "></span></a></span>
|
||||
<div class="state zg"><img src="__PUBLIC__/web/images/countries/TH.png">
|
||||
<div class="top-country topnav" style="display: none;">
|
||||
<div class="swt-Container">
|
||||
<?php if(!empty($country_list)): ?>
|
||||
<ul>
|
||||
<?php foreach($country_list as $key => $value): ?>
|
||||
<?php if ($value['code'] != 'TH'): ?>
|
||||
<li><a href="<?php echo $value['url']; ?>"><p class="countries <?php echo $value['code']; ?>"></p><p><?php echo $value['country_name']; ?></p></a></li>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user