136 lines
4.6 KiB
PHTML
Executable File
136 lines
4.6 KiB
PHTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Manual</title>
|
|
{include file="include/head" /}
|
|
<script type="text/javascript">
|
|
var navID = "1";
|
|
</script>
|
|
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/software.css">
|
|
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/montserrat.css">
|
|
</head>
|
|
|
|
<body class="bg-gray">
|
|
<!--top-->
|
|
<header class="header-PC header-Index">
|
|
<div id="header" class="theme-white">
|
|
{include file="include/top" /}
|
|
{include file="include/top-header" /}
|
|
</div>
|
|
</header>
|
|
{include file="include/top-header-mobile" /}
|
|
<!--内容-->
|
|
<!--banner-->
|
|
<div class="Swt-Banner position-r">
|
|
<img src="__PUBLIC__/weben/images/software/banner_01.png" alt="" />
|
|
<div class="banner_title">Software and Drivers</div>
|
|
</div>
|
|
<!--banner-->
|
|
<div class="contact_c">
|
|
<!--搜索-->
|
|
<div class="search_all">
|
|
<input type="text" name="textfield" placeholder="Search model" id="search_input">
|
|
<div class="searchbtn" id="search-btn"><img src="__PUBLIC__/weben/images/software/search.png"></div>
|
|
</div>
|
|
<!--搜索-->
|
|
<!--tab切换-->
|
|
<div class="tab">
|
|
<a href="__ORICOROOT__/download.html" class="list">Software Drives</a>
|
|
<a href="<?php echo url('us/download/catelists_down?id=45')?>" class="list on">Manual</a>
|
|
<a href="__ORICOROOT__/video/category/36.html" class="list">Videos</a>
|
|
</div>
|
|
<!--tab切换-->
|
|
<!--Manual-->
|
|
<div class="manual">
|
|
<?php if($list):?>
|
|
<?php foreach ($list as $detail): ?>
|
|
<div class="list">
|
|
<div class="left_img">
|
|
<?php if($detail['picture']):?>
|
|
<img src="<?php echo $detail['picture']; ?>" alt="" />
|
|
<?php else:?>
|
|
<img src="__PUBLIC__/weben/images/software/manual.png" alt="" />
|
|
<?php endif;?>
|
|
</div>
|
|
<div>
|
|
<p class="title"><?php echo $detail['name']; ?></p>
|
|
<p class="m-t-24">
|
|
<span class="sub_title">Supported Models: </span>
|
|
<span class="des"><?php echo $detail['app_model']; ?></span>
|
|
</p>
|
|
<p>
|
|
<?php
|
|
$downloadpath = explode(',', $detail['downloadpath']);
|
|
$downloadpath64 = explode(',', $detail['downloadpath64']);
|
|
foreach ($downloadpath as $k => $dl):
|
|
//$dlname = empty($downloadpath64[$k]) ? 'Download' : $downloadpath64[$k];
|
|
//$url=url('index/download/download', ['id' => $detail['id'], 'bit' => $k]);
|
|
?>
|
|
<a href="<?php echo url('/') . trim($dl, '/'); ?>" data-cod="dl" data-id="<?php echo $detail['id']; ?>" target="_blank"><span class="l_button"><?php echo 'Download'; ?></span></a>
|
|
<?php endforeach; ?>
|
|
|
|
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
<?php else:?>
|
|
<div class="list clearfix">No Manual!</div>
|
|
<?php endif;?>
|
|
<!--Manual-->
|
|
</div>
|
|
<!-- 分页 s -->
|
|
<?php
|
|
if ($page) {
|
|
echo $page;
|
|
}
|
|
?>
|
|
<!-- 分页 e -->
|
|
</div>
|
|
|
|
<!--内容 -->
|
|
|
|
<!-- bottom s -->
|
|
{include file="include/bottom" /}
|
|
<!-- bottom e -->
|
|
</body>
|
|
|
|
</html>
|
|
<script type="text/javascript">
|
|
/*定位光标*/
|
|
document.querySelector('#search_input').focus();
|
|
$(function() {
|
|
//
|
|
$("#search-btn").bind("click", function(event) {
|
|
var skeyword = $("#search_input").val();
|
|
if (skeyword) {
|
|
var href = "<?php echo url('Download/catelists_down?id=45')?>?skeyword=" + encodeURIComponent(skeyword);
|
|
location.href = href;
|
|
}
|
|
else{
|
|
var href = "<?php echo url('Download/catelists_down?id=45')?>";
|
|
location.href = href;
|
|
}
|
|
});
|
|
$("#search_input").keyup(function(event) {
|
|
if (event && event.keyCode === 13) {
|
|
$("#search-btn").trigger("click");
|
|
}
|
|
});
|
|
var $category = $(".navlist");
|
|
$category.hide();
|
|
$(".navul li").mouseleave(function() {
|
|
$(this).children("a").addClass("aons");
|
|
$(this).children("dl").stop(true, true).slideUp(500);
|
|
|
|
});
|
|
$(".navul li").mouseenter(function() {
|
|
$category.hide();
|
|
$(this).children("dl").stop(true, true).slideDown(500);
|
|
});
|
|
|
|
|
|
});
|
|
</script>
|