This commit is contained in:
2024-10-29 14:04:59 +08:00
commit 48bf3e6f33
2839 changed files with 762707 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>anti_fake_result</title>
{include file="include/head" /}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/Anti-Fake.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/montserrat.css">
</head>
<body class="bg-gray">
<!--top-->
<header class="header-PC header-Product">
<div id="header" class="theme-black">
{include file="include/top" /}
{include file="include/top-header" /}
</div>
</header>
{include file="include/top-header-mobile" /}
<div class="anti-fake">
<div class="result_title_content">
<div class="result_title">Check result of {$data.fake} anti-counterfeiting code</div>
</div>
<?php if($data['result']==1){?>
<div class="result_content">
<div class="title">Dear Customer:</div>
<?php if($data['chicktime']!=date("Y-m-d H:i:s")){?>
<div class="des"> Anti-counterfeiting code checked, query time: {$data.chicktime}.
Beware
of imitations! Please call the services hotline 400-6696-298 if you have any question.</div>
</div>
<?php }else{?>
<div class="result-t">Were glad to tell you that the product {$data.made_up_articles_name} you inquired is genuine,
please
feel free to use, thanks for choosing the ORICO product. </div>
<?php }?>
<?PHP }else{?>
<div class="result-t">Were sorry that the product you inquired is not genuine, please contact the seller. </div>
<?php }?>
</div>
<script src="__PUBLIC__/adminlte/plugins/iCheck/icheck.min.js"></script>
<script type="text/javascript">
$(function() {
$("#verifyimg, #averifyimg").click(function(event) {
event.preventDefault();
$img = $("#verifyimg");
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
});
});
</script>
<!-- bottom s -->
{include file="include/bottom" /}
<!-- bottom e -->
</body>
</html>

View File

@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>fake_result</title>
{include file="include/head" /}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/subject/Anti-Fake.css">
</head>
<body class="bg-gray">
<!--top-->
<header class="header-PC header-Product">
<div id="header" class="theme-black">
{include file="include/top" /}
{include file="include/top-header" /}
</div>
</header>
{include file="include/top-header-mobile" /}
<div class="indexbox-product">
<div class="swt-Container overflow-f">
<!--div class="product_address "><a href="__ORICOROOT__" class="f-black">Home</a><span class="icon-arrow arrow_address"></span><a href="__ORICOROOT__/index/fake">authentication service
</a><span class="icon-arrow arrow_address"></span>Verify the authenticity</div-->
<div class="bg-white overflow-f text-c font-11 f_blue f_weight_600 fw_result_title "> Check result of {$data.fake} anti-counterfeiting code </div>
<?php if($data['result']==1){?>
<?php if($data['chicktime']!=date("Y-m-d H:i:s")){?>
<div class="bg-white overflow-f text-l font-11 f-black fw_result_title"><div class="fw_l">Dear Customer:<br>{$data.made_up_articles_name}We have inquired the anti-counterfeiting code for youquery time{$data.chicktime}。Beware of imitations! Please call the services hotline 400-6696-298 if you have any question.
</div></div>
<?php }else{?>
<div class="bg-white overflow-f text-l font-11 f-black fw_result_title"><div class="fw_l">Dear Customer:Were glad to tell you that the product {$data.made_up_articles_name} you inquired is genuine, please feel free to use, thanks for choosing the ORICO product. </div></div>
<?php }?>
<div class="bg-white overflow-f" style="margin-bottom: 4vw;">
<!-- <div class="fw_result">
<div class="f-black font-11 f-black">Product Info</div>
<ul>
<li>
<div class="left img-responsive"></div>
<div class="right">
<p class="padding-t-5vw">Name<?php echo $data['made_up_articles_name']; ?></p>
<p class="padding-t-5vw">Model<?php echo $data['specifications_and_models']; ?></p>
<!--<p class="padding-t-5vw">Produce Date<?php echo $data['production_date']; ?></p>
<p class="padding-t-5vw">Warranty Period<?php echo $data['mendtime']; ?></p>-->
<!--<p class="padding-t-5vw">ORICOs product reliability backed by up to 5 yr. warranty and free tech-support services, in case of product failure, please feel free to contact the purchasing platform and ORICO customer service center.</p>
<div class="padding-t-5vw"><a href="__PUBLIC__/weben/images/Anti-Fake/SSD-Warranty.pdf" target="_blank"><span class="fw_button font-16 bg_blue pop_check cursor_p">Warranty details</span></a></div>
</div>
</li>
<li class="img-responsive margin-t-50 padding-t-8vw">
<img src="__PUBLIC__/web/images/Anti-Fake/fake_02.jpg">
<p class="padding-t-8vw">*Note: Warranty void if remove or damage the label sticker. </p>
</li>
</ul>
</div>-->
</div>
<?PHP }else{?>
<div class="bg-white overflow-f text-l font-11 f-black fw_result_title" style="margin-bottom: 2vw;"><div class="fw_l">Dear CustomerWere sorry that the product you inquired is not genuine, please contact the seller</div></div>
<?php }?>
</div>
<div></div>
<script src="__PUBLIC__/adminlte/plugins/iCheck/icheck.min.js"></script>
<script type="text/javascript">
$(function() {
$("#verifyimg, #averifyimg").click(function(event) {
event.preventDefault();
$img = $("#verifyimg");
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
});
});
</script>
<!-- bottom s -->
{include file="include/bottom" /}
<!-- bottom e -->
</body>
</html>

208
app/us/view/antifake/index.phtml Executable file
View File

@@ -0,0 +1,208 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Check Your Product</title>
{include file="include/head" /}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/indexcss.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/theme.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/Anti-Fake.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/montserrat.css">
</head>
<body class="bg-gray">
<!--top-->
<header class="header-PC header-Product">
<div id="header" class="theme-black">
{include file="include/top" /}
{include file="include/top-header" /}
</div>
</header>
{include file="include/top-header-mobile" /}
<div class="anti-fake">
<div class="anti-fake-content">
<!--切换-->
<div class="text-c tab">
<div class="fw_fw_title cursor_p fw_on" id="one">Enter Anti-counterfeiting Code</div>
<div class="fw_fw_title cursor_p" id="two">Enter S/N Code</div>
</div>
<!--内容-->
<div class="fw_01">
<div class="fw_one">
<div class="list">
<p class="img-responsive"><img src="__PUBLIC__/weben/images/Anti-Fake/fw_01.png"></p>
<p class="title">Enter Anti-counterfeiting Code</p>
<p class="sub-title">Please enter the code which below the QR code on the product
label to check the authenticity and detail.</p>
<form action="<?php echo url('antifake/anti_fake_result');?>" method="post" class="fw_form">
<p class="form-title">Anti-counterfeiting Code</p>
<p class="form-input"><input name="fake" id="sn"></p>
<!--p class="form-title">Verification Code</p>
<p class="form-input-code">
<input name="captcha">
<img id="verifyimg" src="<?php echo url('/captcha/authcode');?>" class="img-responsive verifyimg-img">
<span type="button" class="btn-primary cursor_p" id="averifyimg">Change</span>
</p-->
<p class="fw_button fw_button_one cursor_p pop_check">Check</p>
<!--提示信息弹出框-->
<div class="Popup_all" style="display: none;">
<div class="Popup">
<div class="close"><span class="cursor_p"><img
src="__PUBLIC__/weben/images/Anti-Fake/close.png"></span>
</div>
<div class="Popup_content">
<div class="title">Remind</div>
<div class="des">The anti-counterfeiting code can only be inquiry
once,
please beware of imitations if the code used a second time. Please call the hotline
400-6696-298, if any questions.</div>
<p class="text-c"><button class="fw_button fw_button_two cursor_p" type="submit">Check</button></p>
</div>
</div>
</div>
<!--报错信息弹出框-->
<div class="Popup_error" style="display: none;">
<div class="Popup">
<div class="Popup_content Popup_des">
</div>
</div>
</div>
</form>
</div>
<div class="list">
<div class="title">Where to get the anti-counterfeiting code </div>
<div class="sub-title">The code can be seen on the label sticker.</div>
<div class="y-img"><img src="__PUBLIC__/weben/images/Anti-Fake/fake.png"></div>
<div class="sub-title">*Note: Warranty void if remove or damage the label sticker.
</div>
</div>
</div>
<div class="fw_two" style="display: none">
<div class="list">
<p class="img-responsive"><img src="__PUBLIC__/weben/images/Anti-Fake/sn_01.png"></p>
<p class="title">Enter S/N Code</p>
<p class="sub-title">Please enter the S/N code which on the product label to check the authenticity and
detail.</p>
<form action="<?php echo url('antifake/sn_result');?>" method="post" class="fw_form"
onsubmit="return check()" ;>
<p class="form-title">S/N Code</p>
<p class="form-input"><input name="sn" id="sn"></p>
<!--p class="form-title">Verification Code</p>
<p class="form-input-code">
<input name="captcha">
<img id="verifyimg1" src="<?php echo url('/captcha/authcode');?>"
class="img-responsive verifyimg-img"><span type="button" class="btn-primary cursor_p"
id="averifyimg1">Change</span>
</p-->
<p><button class="fw_button fw_button_one cursor_p" type="submit">Check</button></p>
<!--报错信息弹出框-->
<div class="Popup_error" style="display: none;">
<div class="Popup">
<div class="Popup_content Popup_des">
</div>
</div>
</div>
</form>
</div>
<div class="list">
<div class="title">Where to get the S/N code</div>
<div class="sub-title">S/N code can be seen on the label sticker of product</div>
<div class="y-img"><img src="__PUBLIC__/weben/images/Anti-Fake/sn_02.png"></div>
<div class="sub-title">*Note: Warranty void if remove or damage the label sticker.</div>
</div>
</div>
</div>
</div>
</div>
<script src="__PUBLIC__/adminlte/plugins/iCheck/icheck.min.js"></script>
<script type="text/javascript">
/*验证码*/
$(function() {
$("#verifyimg, #averifyimg").click(function(event) {
event.preventDefault();
$img = $("#verifyimg");
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
});
});
/*验证码1*/
$(function() {
$("#verifyimg1, #averifyimg1").click(function(event) {
event.preventDefault();
$img = $("#verifyimg1");
$img = $("#verifyimg1");
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
});
}); /*切换效果*/
$(document).ready(function() {
$("#one").click(function() {
event.preventDefault();
$img = $("#verifyimg");
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
$(this).addClass("fw_on");
$(this).siblings().removeClass("fw_on");
$(".fw_one").show();
$(".fw_two").hide();
});
$("#two").click(function() {
event.preventDefault();
$img = $("#verifyimg1");
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
$(this).addClass("fw_on");
$(this).siblings().removeClass("fw_on")
$(".fw_one").hide();
$(".fw_two").show();
});
/*点击弹出效果*/
$(".Popup_all").hide();
$(".pop_check").click(function() {
var fw = $("input[name='fake'").val().length;
if (fw == 8) {
$(".Popup_all").show();
} else {
$(".Popup_des").append("<div class='des'>Please input 8-digit security code</div>")
$(".Popup_error").show();
setTimeout(() => {
$(".Popup_error").hide();
$(".Popup_des").empty();
}, 1000);
};
});
});
$(".close").click(function() {
$(".Popup_all").hide();
});
/*判断是否提交表单*/
function check() {
var sn = $("input[name='sn'").val().length;
if (sn > 16 || sn < 12) {
$(".Popup_des").append("<div class='des'>Please enter between 12 to 16 digit Sn code</div>")
$(".Popup_error").show();
setTimeout(() => {
$(".Popup_error").hide();
$(".Popup_des").empty();
}, 1000);
return false; //return false; 时,表单不提交
} else {
return true; //return true; 时,表单提交
}
}
</script>
<!-- bottom s -->
{include file="include/bottom" /}
<!-- bottom e -->
</body>
</html>

View File

@@ -0,0 +1,140 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Check Your Product</title>
{include file="include/head" /}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/subject/Anti-Fake.css">
</head>
<body class="bg-gray">
<!--top-->
<header class="header-PC header-Product">
<div id="header" class="theme-black">
{include file="include/top" /}
{include file="include/top-header" /}
</div>
</header>
{include file="include/top-header-mobile" /}
<div class="indexbox-product">
<div class="swt-Container overflow-f padding-b-80">
<div class="product_address "><a href="__ORICOROOT__" class="f-black">Home</a><span class="icon-arrow arrow_address"></span>authentication service
</div>
<div class="overflow-f text-c f-black font-11">
<div class="fw_fw_title fw_on"><span class="cursor_p">Enter Anti-counterfeiting Code</span></div><div class="fw_sn_title"><span class="cursor_p">Enter S/N Code</span></div>
</div>
<div class="bg-white overflow-f">
<div class="fw_01 fw_one">
<ul>
<li>
<p class="fw_search img-responsive"><img src="__PUBLIC__/web/images/Anti-Fake/fw_01.jpg"></p>
<p class="font-11 f-black">Enter Anti-counterfeiting Code</p>
<p class="font-9 f-l-gray padding-t-5vw">Please enter the code which below the QR code on the product label to check the authenticity and detail.</p>
<form action="<?php echo url('antifake/anti_fake_result');?>" method="post" class="fw_form">
<p class="padding-t-8vw"><input placeholder="Anti-counterfeiting Code
" name="fake" id="sn" class="w-65"></p>
<p class="padding-t-8vw"><input placeholder="Verification Code" name="captcha" class="w-25"> <img id="verifyimg" src="<?php echo url('/captcha/authcode');?>" class="img-responsive margin-l-1" style="height: 2.5em;"><button type="button" class="f-gray font-16 btn-primary margin-l-1" id="averifyimg">Change</button></p>
<p class="padding-t-8vw"><span class="fw_button font-16 bg_blue pop_check cursor_p">Check</span></p>
<!--弹出框-->
<div class="Popup_all" style="display: none;">
<div class="Popup">
<div class="close"><span class="cursor_p"><img src="__PUBLIC__/web/images/Anti-Fake/close.jpg"></span></div>
<div class="Popup_content">
<div class="font-11 f-black text-c">Remind</div>
<div class="font-9 f-l-gray margin-t-10vw">The anti-counterfeiting code can only be inquiry once, please beware of imitations if the code used a second time. Please call the hotline 400-6696-298, if any questions.</div>
<p class="text-c margin-t-20vw"><button class="fw_button font-16 bg_blue" type="submit">Check</button></p>
</div>
</div>
</div>
</form>
</li>
<li>
<p class="font-11 f-black">Where to get the anti-counterfeiting code </p>
<p class="font-9 f-l-gray padding-t-5vw">The code can be seen on the label sticker.</p>
<p class="padding-t-5vw img-responsive"><img src="__PUBLIC__/web/images/Anti-Fake/fake.jpg"></p>
<p class="font-9 f-l-gray padding-t-5vw">*Note: Warranty void if remove or damage the label sticker. </p>
</li>
</ul>
</div>
<div class="fw_01 fw_two" style="display: none">
<ul>
<li>
<p class="fw_search img-responsive"><img src="__PUBLIC__/web/images/Anti-Fake/fw_01.jpg"></p>
<p class="font-11 f-black">Enter Anti-counterfeiting Code</p>
<p class="font-9 f-l-gray padding-t-5vw">Please enter the S/N code which on the product label to check the authenticity and detail.</p>
<form action="<?php echo url('antifake/sn_result');?>" method="post" class="fw_form">
<p class="padding-t-8vw"><input placeholder="S/N Code" name="sn" id="sn" class="w-65"></p>
<p class="padding-t-8vw"><input placeholder="Verification Code" name="captcha" class="w-25"> <img id="verifyimg1" src="<?php echo url('/captcha/authcode');?>" class="img-responsive margin-l-1" style="height: 2.5em;"><button type="button" class="f-gray font-16 btn-primary margin-l-1" id="averifyimg1">Change</button></p>
<p class="padding-t-8vw"><button class="fw_button font-16 bg_blue" type="submit">Check</button></p>
</form>
</li>
<li>
<p class="font-11 f-black">Where to get the anti-counterfeiting code </p>
<p class="font-9 f-l-gray padding-t-5vw">The code can be seen on the label sticker.</p>
<p class="padding-t-5vw img-responsive"><img src="__PUBLIC__/web/images/Anti-Fake/sn_01.jpg"></p>
<p class="font-9 f-l-gray padding-t-5vw">*Note: Warranty void if remove or damage the label sticker. </p>
</li>
</ul>
</div>
</div>
</div>
<div>
</div>
<script src="__PUBLIC__/adminlte/plugins/iCheck/icheck.min.js"></script>
<script type="text/javascript">
/*验证码*/
$(function() {
$("#verifyimg, #averifyimg").click(function(event) {
event.preventDefault();
$img = $("#verifyimg");
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
});
});
/*验证码1*/
$(function() {
$("#verifyimg1, #averifyimg1").click(function(event) {
event.preventDefault();
$img = $("#verifyimg1");
$img = $("#verifyimg1");
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
});
}); /*切换效果*/
$(document).ready(function(){
$(".fw_fw_title").click(function(){
$(this).addClass("fw_on");
$(this).siblings().removeClass("fw_on");
$(".fw_one").show();
$(".fw_two").hide();
});
$(".fw_sn_title").click(function(){
$(this).addClass("fw_on");
$(this).siblings().removeClass("fw_on")
$(".fw_one").hide();
$(".fw_two").show();
});
/*点击弹出效果*/
$(".Popup_all").hide();
$(".pop_check").click(function(){
$(".Popup_all").show();
});
$(".close").click(function(){
$(".Popup_all").hide();
});
});
</script>
<!-- bottom s -->
{include file="include/bottom" /}
<!-- bottom e -->
</body>
</html>

View File

@@ -0,0 +1,89 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>sn_result</title>
{include file="include/head" /}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/Anti-Fake.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/montserrat.css">
</head>
<body class="bg-gray">
<!--top-->
<header class="header-PC header-Product">
<div id="header" class="theme-black">
{include file="include/top" /}
{include file="include/top-header" /}
</div>
</header>
{include file="include/top-header-mobile" /}
<div class="anti-fake">
<div class="result_title_content">
<div class="result_title">S/N code <?php echo $data['sn']; ?> Result</div>
</div>
</div>
<div class="result_content">
<?php if($data['result']==1){?>
<div class="product_info">
<div class="left">
<p class="info_title">Product Info</p>
<p class="m-t-16">Checked as genuine</p>
<?php
if (strpos($data['made_up_articles_name'], 'NGFF') !== false) {
$data['aditmend'] = 3;
}
elseif(strpos($data['made_up_articles_name'], 'NVME') !== false){
$data['aditmend'] = 5;
}
else{
$data['aditmend'] = '';
}
if($data['aditmend']){
?>
<p class="m-t-40">ORICO's product reliability backed by up to <?php echo $data['aditmend']; ?> yr.warranty and free tech-support
services, in case of product failure, please feel free to contact the purchasing
platform and ORICO customer service center.</p>
<?php }?>
<!--p class="m-t-8"><span>Warranty Period</span><span></span></p>
<p class="m-t-40">ORICO's product reliability backed by up to 5 yr.warranty and free tech-support
services, in case of product failure, please feel free to contact the purchasing
platform and ORICO customer service center.</p-->
<p><a href="__PUBLIC__/weben/images/Anti-Fake/SSD-Warranty.pdf" target="_blank"><span
class="fw_button fw_button_one cursor_p m-t-40">Warranty details</span></a></p>
</div>
<div class="right">
<img src="__PUBLIC__/weben/images/Anti-Fake/sn_02.png" class="sn_img">
<p class="des">S/N code can only verify the product information. please enter the sequence code (below
the QR code) if need to check the authenticity of product.</p>
<!-- <p class="blue">Query Anti-counterfeiting Code</p> -->
</div>
<?PHP }else{?>
<div>Dear Customer: Were sorry that the product you inquired is not genuine, please contact the seller
</div>
<?php }?>
</div>
</div>
<script src="__PUBLIC__/adminlte/plugins/iCheck/icheck.min.js"></script>
<script type="text/javascript">
$(function() {
$("#verifyimg, #averifyimg").click(function(event) {
event.preventDefault();
$img = $("#verifyimg");
$img.attr("src", "<?php echo url('/captcha/authcode');?>?t=" + Math.random());
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
});
});
</script>
<!-- bottom s -->
{include file="include/bottom" /}
<!-- bottom e -->
</body>
</html>