119 lines
3.9 KiB
PHTML
Executable File
119 lines
3.9 KiB
PHTML
Executable File
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<title>ORICO - USB Storage Adapters, Chargers, Hubs, and More</title>
|
||
<meta name="Keywords" content="Computer Peripheral, Phone Peripheral, Electronics ">
|
||
<meta name="Description" content="Online Shopping for reputable consumer electronics. High quality, fast shipping, affordable prices, sold in over 100 countries, and thousands of reviews.">
|
||
{include file="include/head" /}
|
||
<script type="text/javascript">
|
||
var navID = "1";
|
||
</script>
|
||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/js/bxslider/jquery.bxslider.css">
|
||
<script type="text/javascript" src="__PUBLIC__/m_web/js/bxslider/jquery.bxslider.min.js"></script>
|
||
<style>
|
||
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div id="content">
|
||
<!--头部-->
|
||
{include file="include/top" /}
|
||
|
||
<!--banner-->
|
||
{include file="include/banner" /}
|
||
<!--类别-->
|
||
|
||
<?php if (!empty($productCategory)): ?>
|
||
<div class="m_Container category">
|
||
<ul>
|
||
<?php foreach ($productCategory as $key => $value): ?>
|
||
<?php if ($key > 8) break; ?>
|
||
<li>
|
||
<a href="__ORICOROOT__/product/catelists/id/<?php echo $value['id']; ?>">
|
||
<p class=""><img src="<?php echo getImage($value['m_icon']); ?>"></p>
|
||
<p class=""><?php echo str_replace("SSD&Thunderbolt 3", "SSD & Thunderbolt 3", $value['name']) ?></p>
|
||
</a>
|
||
</li>
|
||
<?php endforeach; ?>
|
||
</ul>
|
||
</div>
|
||
<?php endif; ?>
|
||
|
||
<!--视频一-->
|
||
<div class="m_Container img-responsive position_r" style="margin-top:0.4rem;">
|
||
<a href="__ORICOROOT__/Group/special">
|
||
<img src="__PUBLIC__/m_web/images/home/special_index.jpg">
|
||
<div class="position_a"><img src="__PUBLIC__/m_weben/images/home/special_index_button.png"></div>
|
||
</a>
|
||
</div>
|
||
|
||
|
||
<!--研究中心-->
|
||
<div class="m_Container">
|
||
<ul class="Brand_research">
|
||
<a href="__ORICOROOT__/group/odm"><li>Brand ODM Service>></li></a>
|
||
<a href="__ORICOROOT__/group/rdcenter"><li>Group R&D Center>></li></a>
|
||
<a href="__ORICOROOT__/group/industry"><li>Industrial Chain>></li></a>
|
||
</ul>
|
||
</div>
|
||
|
||
|
||
<!--视频二-->
|
||
<?php
|
||
$videos = getDifferentVideo('headline', 1);
|
||
if ($videos):
|
||
?>
|
||
<div class="m_Container">
|
||
<div class="title text_center text_blue margin-top-20">Little change,big difference</div>
|
||
<video class="margin-top-20" controls>
|
||
<source src="__PUBLIC__/web/images/home/brand-video.mp4" type="video/mp4" />
|
||
您的浏览器不支持 video 标签。
|
||
Your browser does not support HTML5 video.
|
||
|
||
</video>
|
||
</div>
|
||
<?php endif; ?>
|
||
|
||
<!--新闻-->
|
||
<div class="m_Container margin-bottom-35">
|
||
<?php
|
||
$articles = getDifferentArticle('headline', 6, ['cid' => 16]);
|
||
if (!empty($articles)):
|
||
?>
|
||
<div class="title text_center text_blue margin-top-20">News</div>
|
||
<ul class="news_list">
|
||
<?php foreach ($articles as $key => $value): ?>
|
||
<li style="padding-bottom: 0.8rem">
|
||
<p class="margin-top-20 img-responsive"><img src="<?php echo getImage($value['picture']); ?>"></p>
|
||
<p class="des text_center text_blue light-height-40 margin-top-30"><?php echo msubstr($value['name'], 0, 50); ?></p>
|
||
<p class="text_gray text_24 line_height_30 text_center margin-top-20"><?php echo date('Y.m.d', $value['createtime']); ?></p>
|
||
<p class="text_24 text_gray line_height_38 text_center margin-top-10"><?php echo msubstr($value['description'], 0, 100); ?></p>
|
||
</li>
|
||
<?php endforeach; ?>
|
||
</ul>
|
||
<?php endif; ?>
|
||
</div>
|
||
<!--底部-->
|
||
{include file="include/bottom" /}
|
||
|
||
|
||
</div>
|
||
<script type="text/javascript">
|
||
/*banner*/
|
||
$(function(){
|
||
$('.banner_list').bxSlider({
|
||
});
|
||
});
|
||
/*banner*/
|
||
$(function(){
|
||
$('.news_list').bxSlider({
|
||
speed:5,
|
||
auto:true,
|
||
pager:false,
|
||
});
|
||
});
|
||
</script>
|
||
</body>
|
||
</html>
|