init
This commit is contained in:
778
app/us/common.php
Executable file
778
app/us/common.php
Executable file
@@ -0,0 +1,778 @@
|
||||
<?php
|
||||
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\Request;
|
||||
use \app\common\model\ProductBkImage;
|
||||
/**
|
||||
* 把两个日期格式的字符串转化成unix时间戳,然后相减获得时间戳差,最后判断剩余时间,生成类似(2小时30分钟20秒前发布)这样的时间格式。
|
||||
* $time_s int 起始日期的Unix时间
|
||||
* $time_n int 当前日期的Unix时间
|
||||
*/
|
||||
|
||||
define('COUNTRY_CODE', 'US');
|
||||
function getHMStime($time_s, $time_n) {
|
||||
//$time_s = strtotime($time_s);
|
||||
//$time_n = strtotime($time_n);
|
||||
//$time_n = time();
|
||||
$strtime = '';
|
||||
$time = $time_n - $time_s;
|
||||
if ($time >= 86400) {
|
||||
return $strtime = date('Y-m-d H:i', $time_s);
|
||||
}
|
||||
if ($time >= 3600) {
|
||||
$strtime .= intval($time / 3600) . '小时';
|
||||
$time = $time % 3600;
|
||||
} else {
|
||||
$strtime .= '';
|
||||
}
|
||||
if ($time >= 60) {
|
||||
$strtime .= intval($time / 60) . '分钟';
|
||||
$time = $time % 60;
|
||||
} else {
|
||||
$strtime .= '';
|
||||
}
|
||||
if ($time > 0) {
|
||||
$strtime .= intval($time) . '秒前';
|
||||
} else {
|
||||
$strtime = '时间错误';
|
||||
}
|
||||
return $strtime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 计算剩余天时分。
|
||||
* $unixEndTime string 终止日期的Unix时间
|
||||
*/
|
||||
function getDHMtime($unixEndTime = 0) {
|
||||
if ($unixEndTime <= time()) { // 如果过了活动终止日期
|
||||
return '0天0时0分';
|
||||
}
|
||||
// 使用当前日期时间到活动截至日期时间的毫秒数来计算剩余天时分
|
||||
$time = $unixEndTime - time();
|
||||
$days = 0;
|
||||
if ($time >= 86400) { // 如果大于1天
|
||||
$days = (int) ($time / 86400);
|
||||
$time = $time % 86400; // 计算天后剩余的毫秒数
|
||||
}
|
||||
$xiaoshi = 0;
|
||||
if ($time >= 3600) { // 如果大于1小时
|
||||
$xiaoshi = (int) ($time / 3600);
|
||||
$time = $time % 3600; // 计算小时后剩余的毫秒数
|
||||
}
|
||||
$fen = (int) ($time / 60); // 剩下的毫秒数都算作分
|
||||
return $days . '天' . $xiaoshi . '时' . $fen . '分';
|
||||
}
|
||||
|
||||
|
||||
function getArticleList($limit = 3, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 3;
|
||||
}
|
||||
$arg_where = array_merge( ['cid' => 16,'stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['*'];
|
||||
$arg_order = ['createtime' => 'desc'];
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
|
||||
$arg_wheres = array_merge( ['cid' => 32,'stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$rest = Loader::model('Article')->getList($arg_wheres, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
|
||||
$array = array_merge($result, $rest);
|
||||
//echo Loader::model('Article')->getLastSQL();die;
|
||||
|
||||
return $array;
|
||||
}
|
||||
|
||||
function getDifferentProduct($type, $limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0, 'is_show' => 0, 'country_code' => COUNTRY_CODE], $where);//print_r($where);die;
|
||||
$arg_field = ['id', 'cid', 'name', 'shortname', 'sort', 'ishot', 'isnew', 'isfeatured', 'recommend', 'viewcount', 'tags', 'description', 'picture', 'picture_back', 'bk_img', 'bk_img_back','list_bk_img', 'createtime'];
|
||||
$bkinfo = ['id','product_id','image_url','image_bk_color','image_color','original_url'];
|
||||
|
||||
switch ($type) {
|
||||
case 'recommend':
|
||||
// $arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['recommend'] = 1;
|
||||
$result = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
|
||||
/*$bkid = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);//print_r($bkid);die;
|
||||
$id = '';
|
||||
$result = '';
|
||||
foreach ($bkid as $v){
|
||||
$where= $id['product_id'] = $v['id'];//print_r($where);die;
|
||||
$arr = Loader::model('ProductBkImg')->getList($where, array_merge($order), $bkinfo, $limit);
|
||||
$result[]= $arr;
|
||||
}
|
||||
$result['info'] = $bkid;
|
||||
//print_r($result);die;*/
|
||||
break;
|
||||
case 'headline':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['headline'] = 1;
|
||||
$result = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'ishot':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['ishot'] = 1;
|
||||
$result = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'isfeatured':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['isfeatured'] = 1;
|
||||
$result = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'isnew':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order ['id'] = 'desc';
|
||||
$arg_where['isnew'] = 1;
|
||||
$result = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
default:
|
||||
if (!empty($order)) {
|
||||
$arg_order = $order;
|
||||
}
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$result = Loader::model('Product')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getDifferentArticle($type, $limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
//$arg_where['is_onsale'] = 1;
|
||||
$arg_field = ['id', 'cid', 'name', 'jump_link', 'sort', 'headline', 'ishot', 'recommend', 'zancount', 'viewcount', 'description', 'picture', 'createtime'];
|
||||
switch ($type) {
|
||||
case 'recommend':
|
||||
$arg_order['createtime'] = 'desc';
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['recommend'] = 1;
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'headline':
|
||||
$arg_order['createtime'] = 'desc';
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['headline'] = 1;
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'ishot':
|
||||
$arg_order['createtime'] = 'desc';
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['ishot'] = 1;
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
default:
|
||||
$arg_order['createtime'] = 'desc';
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getDifferentVideo($type, $limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
//$arg_where['is_onsale'] = 1;
|
||||
$arg_field = ['id', 'cid', 'name', 'sort', 'headline', 'ishot', 'recommend', 'viewcount', 'videopath', 'videourl', 'description', 'picture', 'createtime'];
|
||||
switch ($type) {
|
||||
case 'recommend':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['recommend'] = 1;
|
||||
$result = Loader::model('Video')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
$arg_where['headline'] = 1;
|
||||
if (Config ::get('news_headline')) {
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
} else {
|
||||
$arg_order['id'] = 'desc';
|
||||
}
|
||||
case 'headline':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
|
||||
$arg_where['headline'] = 1;
|
||||
$result = Loader::model('Video')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'ishot':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['ishot'] = 1;
|
||||
$result = Loader::model('Video')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
default:
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$result = Loader::model('Video')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getDifferentDownload($type, $limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
//$arg_where['is_onsale'] = 1;
|
||||
$arg_field = ['id', 'cid', 'name', 'sort', 'headline', 'ishot', 'recommend', 'app_model', 'support_os', 'format', 'viewcount', 'downloadcount', 'description', 'picture', 'tags', 'downloadpath', 'downloadpath64', 'createtime'];
|
||||
switch ($type) {
|
||||
case 'recommend':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['recommend'] = 1;
|
||||
$result = Loader::model('Download')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
$arg_where['headline'] = 1;
|
||||
if (Config ::get('news_headline')) {
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
} else {
|
||||
$arg_order['id'] = 'desc';
|
||||
}
|
||||
case 'headline':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
|
||||
$arg_where['headline'] = 1;
|
||||
$result = Loader::model('Download')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
case 'ishot':
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['ishot'] = 1;
|
||||
$result = Loader::model('Download')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
default:
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$result = Loader::model('Download')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getProductChildCate($pid, $limit = 12, $where = array(), $order = array()) {
|
||||
$argc_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$argc_field = ['id', 'pid', 'haschild', 'name', 'shortname', 'description', 'sort', 'isshow', 'recommend', 'picture', 'createtime'];
|
||||
$argc_order['sort'] = 'asc';
|
||||
$argc_order['id'] = 'desc';
|
||||
|
||||
$argc_where['pid'] = $pid;
|
||||
$result = Loader::model('ProductCategory')->getList($argc_where, array_merge($argc_order, $order), $argc_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getArticleChildCate($pid, $limit = 12, $where = array(), $order = array()) {
|
||||
$argc_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$argc_field = ['id', 'pid', 'haschild', 'name', 'shortname', 'description', 'sort', 'isshow', 'recommend', 'picture', 'createtime'];
|
||||
$argc_order['sort'] = 'asc';
|
||||
$argc_order['id'] = 'desc';
|
||||
$argc_where['pid'] = $pid;
|
||||
$result = Loader::model('ArticleCategory')->getList($argc_where, array_merge($argc_order, $order), $argc_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getCateProduct($cid, $limit = 12, $where = array(), $haschild = false, $order = array()) {
|
||||
$arg_where = array_merge(['p.stat' => 0, 'c.stat' => 0, 'p.country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['p.id', 'p.cid', 'p.name', 'p.shortname', 'p.sort', 'p.ishot', 'p.isnew', 'p.recommend', 'p.viewcount', 'p.tags', 'p.description', 'p.picture','p.list_bk_img', 'p.picture_back', 'p.createtime', 'p.createtime', 'c.name' => 'categoryname', 'c.id' => 'categoryid'];
|
||||
$arg_order['p.sort'] = 'asc';
|
||||
$arg_order['p.id'] = 'desc';
|
||||
if ($haschild && $cid) {
|
||||
$cidarray = Loader::model('ProductCategory')->getChildIDArray($cid);
|
||||
$arg_where['p.cid'] = ['in', $cidarray];
|
||||
} else {
|
||||
$arg_where['p.cid'] = $cid;
|
||||
}
|
||||
$result = Loader::model('Product')->getCateProductList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return
|
||||
|
||||
$result;
|
||||
}
|
||||
|
||||
function getCateoneProduct($cid, $limit = 12, $where = array(), $haschild = false, $order = array()) {
|
||||
$arg_where = array_merge(['p.stat' => 0, 'c.stat' => 0, 'p.country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['p.bk_img_back_color','p.bk_img_color','p.picture_back_color','p.picture_color','p.id', 'p.cid', 'p.name', 'p.shortname', 'p.sort', 'p.ishot', 'p.isnew','p.brand_id', 'p.recommend', 'p.viewcount', 'p.tags','p.list_bk_img', 'p.description', 'p.picture', 'p.picture_back', 'p.createtime', 'p.createtime', 'c.name' => 'categoryname', 'c.id' => 'categoryid'];
|
||||
$arg_order['p.id'] = 'desc';
|
||||
$arg_order['p.sort'] = 'asc';
|
||||
if ($haschild && $cid) {
|
||||
$cidarray = Loader::model('ProductCategory')->getChildIDArray($cid);
|
||||
$arg_where['p.cid'] = ['in', $cidarray];
|
||||
// tiaoshi($arg_where);die;
|
||||
} else {
|
||||
$arg_where['p.cid'] = $cid;
|
||||
}
|
||||
|
||||
$result = Loader::model('Product')->getCateProductList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
// 获取二级图片
|
||||
foreach ($result as $key => $value) {
|
||||
$res = model('ProductTwoImg')->field('image_url,image_bk_color,image_color,original_url,product_id,id,image_color')->where(['product_id' => $value['id']])->select();
|
||||
$result[$key]['product_two_img'] = $res;
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
$result;
|
||||
}
|
||||
|
||||
function getCateArticle($cid, $limit = 12, $where = array(), $haschild = false, $order = array()) {
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['id', 'cid', 'name', 'sort', 'headline', 'ishot', 'recommend', 'viewcount', 'description', 'picture', 'createtime'];
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
if ($haschild && $cid) {
|
||||
$cidarray = Loader::model('ArticleCategory')->getChildIDArray($cid);
|
||||
$arg_where['cid'] = ['in', $cidarray];
|
||||
} else {
|
||||
$arg_where['cid'] = $cid;
|
||||
}
|
||||
$result = Loader::model('Article')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getCateVideo($cid, $limit = 12, $where = array(), $haschild = false, $order = array()) {
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['id', 'cid', 'name', 'product', 'sort', 'headline', 'ishot', 'recommend', 'tags', 'playcount', 'description', 'picture', 'videopath', 'createtime'];
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
if ($haschild && $cid) {
|
||||
$cidarray = Loader::model('VideoCategory')->getChildIDArray($cid);
|
||||
$arg_where['cid'] = ['in', $cidarray];
|
||||
} else {
|
||||
|
||||
|
||||
$arg_where['cid'] = $cid;
|
||||
} $result = Loader::model('Video')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getBannerList($tid = 0, $limit = 12, $where = array(), $field = array('*'), $order = array()) {
|
||||
$arg_where = array_merge(['stat' => 0, 'country_code' => COUNTRY_CODE], $where);
|
||||
$arg_order = ['sort' => 'asc', 'id' => 'desc'];
|
||||
$arg_field = $field;
|
||||
if ($tid) {
|
||||
$arg_where['typeid'] = $tid;
|
||||
}
|
||||
$result = model('banner')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getBanner($id = 0) {
|
||||
$result = Loader::model('Banner')->getRow($id);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getFlink($tid = 0, $limit = 12, $where = array(), $field = array('*'), $order = array()) {
|
||||
$arg_where = array_merge(['stat' => 0], $where);
|
||||
$arg_order = ['sort' => 'asc', 'id' => 'desc'];
|
||||
$arg_field = $field;
|
||||
if ($tid) {
|
||||
$arg_where['typeid'] = $tid;
|
||||
}
|
||||
$result = Loader::model('Flink')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getQuestion($limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0], $where);
|
||||
$arg_field = ['*'];
|
||||
$arg_order = ['sort' =>
|
||||
'asc', 'id' => 'desc'];
|
||||
$result = Loader::model('Question')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getBlogList($limit = 5, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 6;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 1, 'country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['*'];
|
||||
$arg_order = ['id' => 'desc'];
|
||||
$result = Loader::model('Blog')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getFaqList($limit = 6, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 6;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0,'is_home' => 1, 'country_code' => COUNTRY_CODE], $where);
|
||||
$arg_field = ['*'];
|
||||
$arg_order = ['sort' =>
|
||||
'asc', 'id' => 'desc'];
|
||||
$result = Loader::model('fq')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
// function getProduct($id = 0) {
|
||||
// $result = Loader::model('Product')->getRow(['id'=> $id], ['id', 'name']);
|
||||
// return $result;
|
||||
// }
|
||||
|
||||
function getProductCount($cid, $where = array(), $haschild = false) {
|
||||
$arg_where = array_merge(['stat' =>0, 'country_code' => COUNTRY_CODE], $where);
|
||||
if ($haschild && $cid) {
|
||||
$cidarray = Loader::model('ProductCategory')->getChildIDArray($cid);
|
||||
$arg_where['cid'] = ['in', $cidarray];
|
||||
} else {
|
||||
$arg_where['cid'] = $cid;
|
||||
}
|
||||
$result = Loader::model('Product')->where($arg_where)->count();
|
||||
return $result;
|
||||
}
|
||||
|
||||
// function getArticleCategory($id = 0) {
|
||||
// $result = Loader::model('ArticleCategory')->getRow(['id' => $id], ['id', 'name']);
|
||||
// return $result;
|
||||
// }
|
||||
|
||||
function getSinglepageChild($pid, $limit = 12, $where = array(), $order = array()) {
|
||||
$argc_where = array_merge(['stat' => 0], $where);
|
||||
$argc_field = ['id', 'pid', 'name', 'description', 'sort', 'isshow', 'recommend', 'picture', 'content', 'createtime'];
|
||||
$argc_order['sort'] = 'asc';
|
||||
$argc_order['id'] = 'desc';
|
||||
$argc_where['pid'] = $pid;
|
||||
$result = Loader:: model('Singlepage')->getList($argc_where, array_merge($argc_order, $order), $argc_field, $limit);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getSinglepage($id = 0) {
|
||||
$result = Loader::model('Singlepag e')->getRow($id, ['id', 'pid', 'name', 'description', 'sort', 'isshow', 'recommend', 'picture', 'content', 'createtime']);
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getDifferentPinglun($type, $limit = 12, $where = array(), $order = array()) {
|
||||
if (empty($limit)) {
|
||||
$limit = Config::get('list_rows') > 0 ? Config::get('list_rows') : 12;
|
||||
}
|
||||
$arg_where = array_merge(['stat' => 0, 'display' => 1], $where);
|
||||
$arg_field = ['id', 'pid', 'customer_id', 'cname', 'content_id', 'typeid', 'ishot', 'content', 'tx', 'createtime', 'ip', 'display'];
|
||||
switch ($type) {
|
||||
case 'ishot':
|
||||
$arg_order['id'] = 'desc';
|
||||
$arg_where['ishot'] = 1;
|
||||
$result = Loader::model('Pinglun')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
default:
|
||||
if (!empty($order)) {
|
||||
$arg_order = $order;
|
||||
}
|
||||
$arg_order['sort'] = 'asc';
|
||||
$arg_order['id'] = 'desc';
|
||||
$result = Loader::model('Pinglun')->getList($arg_where, array_merge($arg_order, $order), $arg_field, $limit);
|
||||
break;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
function getBkImag($type, $limit = 12, $where = array(), $order = array()){
|
||||
/*$result = \app\common\model\Product::where("recommend",1)->field('id,cid')->with("ProductImg")->limit($limit)->select();*/
|
||||
//print_r($type);die;
|
||||
$where = ['recommend'=>1,'stat'=>0, 'country_code' => COUNTRY_CODE];
|
||||
$result = \app\common\model\Product::where($where)
|
||||
->field('id,cid,name,shortname')
|
||||
->with(["ProductImg"=>function($query){
|
||||
/** @var $query \think\db\Query */
|
||||
$query->field('image_url,image_bk_color,image_color,original_url,product_id,id');
|
||||
}])
|
||||
// ->where('id', 130)
|
||||
->order('id desc')
|
||||
->select();
|
||||
|
||||
/** @var $result array */
|
||||
$result = collection($result)->toArray();
|
||||
return $result;
|
||||
}
|
||||
|
||||
function getSonCategoryProduct($parent_id)
|
||||
{
|
||||
if (empty($parent_id)) {
|
||||
return "无父ID";
|
||||
}
|
||||
$where = ['recommend'=>1,'stat'=>0,'is_show'=>0];
|
||||
$result = \app\common\model\Product::where('cid', 'in', function ($query) use ($parent_id) {
|
||||
/** @var $query \think\db\Query */
|
||||
$query->table('cod_product_category')->where('pid', $parent_id)->field('id');
|
||||
})->with(["ProductImg"=>function($query){
|
||||
/** @var $query \think\db\Query */
|
||||
$query->field('image_url,image_bk_color,image_color,original_url,product_id,id');
|
||||
}])->where($where)
|
||||
->field('id,cid,name,shortname')
|
||||
->select();
|
||||
if (!empty($result)) {
|
||||
$result = collection($result)->toArray();
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
function getCateColor($cid, $limit, $where = array(), $haschild = false, $order = array()) {
|
||||
$where = ['stat'=>0,'is_show'=>0,'cid'=>$cid, 'country_code' => COUNTRY_CODE];
|
||||
$result = \app\common\model\Product::where($where)
|
||||
->field('id,cid,name,brand_id')
|
||||
->with(["ProductTwoImg"=>function($query){
|
||||
/** @var $query \think\db\Query */
|
||||
$query->where('stat',0)->field('image_url,image_bk_color,image_color,original_url,product_id,id,image_color');
|
||||
}])
|
||||
->limit($limit)
|
||||
->order($order)
|
||||
->select();
|
||||
|
||||
/** @var $result array */
|
||||
$result = collection($result)->toArray();
|
||||
return $result;
|
||||
}
|
||||
function getProductReated($id,$limit = 12, $where = array(), $haschild = false, $order = array()){
|
||||
$where = ['product_id'=>$id,'stat'=>0, 'country_code' => COUNTRY_CODE];//print_r($where);die;
|
||||
$result = Loader::model('ProductTwoImg')->where($where)->field('image_url')->select();
|
||||
$result = collection($result)->toArray();//var_dump($result);die;
|
||||
return $result;
|
||||
}
|
||||
/*没有上级分类的爆款查询*/
|
||||
function getCategoryProduct($parent_id)
|
||||
{//print_r($parent_id);die;
|
||||
if (empty($parent_id)) {
|
||||
return "无父ID";
|
||||
}
|
||||
$where = ['recommend'=>1,'stat'=>0,'cid'=>$parent_id];
|
||||
$result = \app\common\model\Product::where($where)
|
||||
->field('id,cid,name,shortname')
|
||||
->with(["ProductImg"=>function($query){
|
||||
/** @var $query \think\db\Query */
|
||||
$query->field('image_url,image_bk_color,image_color,original_url,product_id,id');
|
||||
}])
|
||||
// ->limit('sort')
|
||||
->order('id desc')
|
||||
->select();
|
||||
|
||||
/** @var $result array */
|
||||
$result = collection($result)->toArray();
|
||||
return $result;
|
||||
}
|
||||
/*没有上级的产品查询*/
|
||||
function getProductColor($pid,$limit){
|
||||
if(empty($pid)){
|
||||
return "无父级ID";
|
||||
}
|
||||
$where = ['stat'=>0,'cid'=>$pid, 'country_code' => COUNTRY_CODE];
|
||||
$result = \app\common\model\Product::where($where)
|
||||
->field('id,cid,name,shortname')
|
||||
->with(["ProductTwoImg"=>function($query){
|
||||
/** @var $query \think\db\Query */
|
||||
$query->where('stat',0)->field('image_url,image_bk_color,image_color,original_url,product_id,id,image_color');
|
||||
}])
|
||||
->limit($limit)
|
||||
->order('id desc')
|
||||
->select();
|
||||
|
||||
/** @var $result array */
|
||||
$result = collection($result)->toArray();//print_r($result);die;
|
||||
return $result;
|
||||
}
|
||||
|
||||
//获取当前IP地址
|
||||
function getip() {
|
||||
|
||||
static $ip = '';
|
||||
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
|
||||
if(isset($_SERVER['HTTP_CDN_SRC_IP'])) {
|
||||
|
||||
$ip = $_SERVER['HTTP_CDN_SRC_IP'];
|
||||
|
||||
} elseif (isset($_SERVER['HTTP_CLIENT_IP']) && preg_match('/^([0-9]{1,3}\.){3}[0-9]{1,3}$/', $_SERVER['HTTP_CLIENT_IP'])) {
|
||||
|
||||
$ip = $_SERVER['HTTP_CLIENT_IP'];
|
||||
|
||||
} elseif(isset($_SERVER['HTTP_X_FORWARDED_FOR']) AND preg_match_all('#\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}#s', $_SERVER['HTTP_X_FORWARDED_FOR'], $matches)) {
|
||||
|
||||
foreach ($matches[0] AS $xip) {
|
||||
|
||||
if (!preg_match('#^(10|172\.16|192\.168)\.#', $xip)) {
|
||||
|
||||
$ip = $xip;
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $ip;
|
||||
|
||||
}
|
||||
|
||||
|
||||
function get_os($agent) {
|
||||
$os = false;
|
||||
if (preg_match ( '/win/i', $agent ) && strpos ( $agent, '95' )) {
|
||||
$os = 'Windows 95';
|
||||
} else if (preg_match ( '/win 9x/i', $agent ) && strpos ( $agent, '4.90' )) {
|
||||
$os = 'Windows ME';
|
||||
} else if (preg_match ( '/win/i', $agent ) && preg_match ( '/98/i', $agent )) {
|
||||
$os = 'Windows 98';
|
||||
} else if (preg_match ( '/win/i', $agent ) && preg_match ( '/nt 6.0/i', $agent )) {
|
||||
$os = 'Windows Vista';
|
||||
} else if (preg_match ( '/win/i', $agent ) && preg_match ( '/nt 6.1/i', $agent )) {
|
||||
$os = 'Windows 7';
|
||||
} else if (preg_match ( '/win/i', $agent ) && preg_match ( '/nt 6.2/i', $agent )) {
|
||||
$os = 'Windows 8';
|
||||
} else if (preg_match ( '/win/i', $agent ) && preg_match ( '/nt 10.0/i', $agent )) {
|
||||
$os = 'Windows 10'; // 添加win10判断
|
||||
} else if (preg_match ( '/win/i', $agent ) && preg_match ( '/nt 5.1/i', $agent )) {
|
||||
$os = 'Windows XP';
|
||||
} else if (preg_match ( '/win/i', $agent ) && preg_match ( '/nt 5/i', $agent )) {
|
||||
$os = 'Windows 2000';
|
||||
} else if (preg_match ( '/win/i', $agent ) && preg_match ( '/nt/i', $agent )) {
|
||||
$os = 'Windows NT';
|
||||
} else if (preg_match ( '/win/i', $agent ) && preg_match ( '/32/i', $agent )) {
|
||||
$os = 'Windows 32';
|
||||
} else if (preg_match ( '/linux/i', $agent )) {
|
||||
if(preg_match("/Mobile/", $agent)){
|
||||
if(preg_match("/QQ/i", $agent)){
|
||||
$os = "Android QQ Browser";
|
||||
}else{
|
||||
$os = "Android Browser";
|
||||
}
|
||||
}else{
|
||||
$os = 'PC-Linux';
|
||||
}
|
||||
} else if (preg_match ( '/Mac/i', $agent )) {
|
||||
if(preg_match("/Mobile/", $agent)){
|
||||
if(preg_match("/QQ/i", $agent)){
|
||||
$os = "IPhone QQ Browser";
|
||||
}else{
|
||||
$os = "IPhone Browser";
|
||||
}
|
||||
}else{
|
||||
$os = 'Mac OS X';
|
||||
}
|
||||
} else if (preg_match ( '/unix/i', $agent )) {
|
||||
$os = 'Unix';
|
||||
} else if (preg_match ( '/sun/i', $agent ) && preg_match ( '/os/i', $agent )) {
|
||||
$os = 'SunOS';
|
||||
} else if (preg_match ( '/ibm/i', $agent ) && preg_match ( '/os/i', $agent )) {
|
||||
$os = 'IBM OS/2';
|
||||
} else if (preg_match ( '/Mac/i', $agent ) && preg_match ( '/PC/i', $agent )) {
|
||||
$os = 'Macintosh';
|
||||
} else if (preg_match ( '/PowerPC/i', $agent )) {
|
||||
$os = 'PowerPC';
|
||||
} else if (preg_match ( '/AIX/i', $agent )) {
|
||||
$os = 'AIX';
|
||||
} else if (preg_match ( '/HPUX/i', $agent )) {
|
||||
$os = 'HPUX';
|
||||
} else if (preg_match ( '/NetBSD/i', $agent )) {
|
||||
$os = 'NetBSD';
|
||||
} else if (preg_match ( '/BSD/i', $agent )) {
|
||||
$os = 'BSD';
|
||||
} else if (preg_match ( '/OSF1/i', $agent )) {
|
||||
$os = 'OSF1';
|
||||
} else if (preg_match ( '/IRIX/i', $agent )) {
|
||||
$os = 'IRIX';
|
||||
} else if (preg_match ( '/FreeBSD/i', $agent )) {
|
||||
$os = 'FreeBSD';
|
||||
} else if (preg_match ( '/teleport/i', $agent )) {
|
||||
$os = 'teleport';
|
||||
} else if (preg_match ( '/flashget/i', $agent )) {
|
||||
$os = 'flashget';
|
||||
} else if (preg_match ( '/webzip/i', $agent )) {
|
||||
$os = 'webzip';
|
||||
} else if (preg_match ( '/offline/i', $agent )) {
|
||||
$os = 'offline';
|
||||
} else {
|
||||
$os = '未知操作系统';
|
||||
}
|
||||
return $os;
|
||||
}
|
||||
/**
|
||||
* 获取 客户端的浏览器类型
|
||||
* @return string
|
||||
*/
|
||||
function get_broswer($sys){
|
||||
if (stripos($sys, "Firefox/") > 0) {
|
||||
preg_match("/Firefox\/([^;)]+)+/i", $sys, $b);
|
||||
$exp[0] = "Firefox";
|
||||
$exp[1] = $b[1]; //获取火狐浏览器的版本号
|
||||
} elseif (stripos($sys, "Maxthon") > 0) {
|
||||
preg_match("/Maxthon\/([\d\.]+)/", $sys, $aoyou);
|
||||
$exp[0] = "傲游";
|
||||
$exp[1] = $aoyou[1];
|
||||
} elseif (stripos($sys, "MSIE") > 0) {
|
||||
preg_match("/MSIE\s+([^;)]+)+/i", $sys, $ie);
|
||||
$exp[0] = "IE";
|
||||
$exp[1] = $ie[1]; //获取IE的版本号
|
||||
} elseif (stripos($sys, "OPR") > 0) {
|
||||
preg_match("/OPR\/([\d\.]+)/", $sys, $opera);
|
||||
$exp[0] = "Opera";
|
||||
$exp[1] = $opera[1];
|
||||
} elseif(stripos($sys, "Edge") > 0) {
|
||||
//win10 Edge浏览器 添加了chrome内核标记 在判断Chrome之前匹配
|
||||
preg_match("/Edge\/([\d\.]+)/", $sys, $Edge);
|
||||
$exp[0] = "Edge";
|
||||
$exp[1] = $Edge[1];
|
||||
} elseif (stripos($sys, "Chrome") > 0) {
|
||||
preg_match("/Chrome\/([\d\.]+)/", $sys, $google);
|
||||
$exp[0] = "Chrome";
|
||||
$exp[1] = $google[1]; //获取google chrome的版本号
|
||||
} elseif(stripos($sys,'rv:')>0 && stripos($sys,'Gecko')>0){
|
||||
preg_match("/rv:([\d\.]+)/", $sys, $IE);
|
||||
$exp[0] = "IE";
|
||||
$exp[1] = $IE[1];
|
||||
}else {
|
||||
$exp[0] = "未知浏览器";
|
||||
$exp[1] = "";
|
||||
}
|
||||
return $exp[0].'('.$exp[1].')';
|
||||
}
|
||||
/**
|
||||
* 根据 客户端IP 获取到其具体的位置信息
|
||||
* @param unknown $ip
|
||||
* @return string
|
||||
*/
|
||||
function get_address_by_ip($ip) {
|
||||
$url = "http://ip.taobao.com/service/getIpInfo.php?ip=".$ip;
|
||||
$curl = curl_init();
|
||||
curl_setopt($curl, CURLOPT_URL, $url);
|
||||
curl_setopt($curl, CURLOPT_HEADER, 0);
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
|
||||
$info = curl_exec($curl);
|
||||
curl_close($curl);
|
||||
return $info;
|
||||
}
|
||||
function clientlog() {
|
||||
$useragent = $_SERVER ['HTTP_USER_AGENT'];
|
||||
$clientip = $_SERVER ['REMOTE_ADDR'];
|
||||
$client_info = get_os ( $useragent ) . "---" . get_broswer ( $useragent );
|
||||
$rawdata_position = get_address_by_ip ( $clientip );
|
||||
$rawdata_position = json_decode($rawdata_position, true);
|
||||
$country = $rawdata_position['data']['country'];
|
||||
$province = $rawdata_position['data']['region'];
|
||||
$city = $rawdata_position['data']['city'];
|
||||
$nettype = $rawdata_position['data']['isp'];
|
||||
|
||||
$time = date ( 'y-m-d h:m:s' );
|
||||
$data = "来自{$country} {$province} {$city }{$nettype} 的客户端: {$client_info},IP为:{$clientip},在{$time}时刻访问";
|
||||
return $data;
|
||||
}
|
||||
30
app/us/config.php
Executable file
30
app/us/config.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
//管理员用户ID
|
||||
'user_administrator' => 0,
|
||||
//是否启用布局
|
||||
'template' => [
|
||||
'layout_on' => false,
|
||||
'layout_name' => 'public/layout',
|
||||
// 模板路径
|
||||
//'view_path' => __DIR__ . '/view/',
|
||||
// 模板后缀
|
||||
'view_suffix' => 'phtml',
|
||||
// 模板文件名分隔符
|
||||
//'view_depr' => DS,
|
||||
],
|
||||
'view_replace_str' => [
|
||||
'__PUBLIC__' => '/frontend',
|
||||
//'__TEMPLATE__' => '/public/static',
|
||||
'__PREFIX__' => '',
|
||||
// '__ORICOROOT__' => 'http://dev.com/us',
|
||||
'__ORICOROOT__' => 'http://www.orico.cc/us'
|
||||
],
|
||||
//分页配置
|
||||
'paginate' => [
|
||||
'type' => '\pagination\FrontPagination',
|
||||
'var_page' => 'page',
|
||||
'list_rows' => 12,
|
||||
],
|
||||
];
|
||||
188
app/us/controller/Ad.php
Executable file
188
app/us/controller/Ad.php
Executable file
@@ -0,0 +1,188 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use app\common\controller\BaseController;
|
||||
|
||||
class Ad extends BaseController {
|
||||
private $country_code = 'US';
|
||||
public function tags($tags = '', $num = 1) {
|
||||
if ($tags) {
|
||||
$nocache = $this->request->param('nocache', 0);
|
||||
$cacheTag = 'adus-' . md5($tags);
|
||||
$htmlbody = $nocache ? '' : $this->cacheGet($cacheTag);
|
||||
// tiaoshi($htmlbody);die;
|
||||
if (empty($htmlbody)) {
|
||||
$list = Loader::model('Ad')->getList(['stat' => ['eq', 0], 'tags' => $tags, 'country_code' => $this->country_code], ['sort' => 'asc', 'id' => 'desc'], ['id', 'typeid', 'name', 'sort', 'tags', 'timeset', 'starttime', 'endtime', 'normbody', 'expbody'], $num);
|
||||
if (empty($list)) {
|
||||
$this->cacheTag('adTagUs')->set($cacheTag, "<!--\r\ndocument.write(\"<!--403-->\");\r\n-->\r\n");
|
||||
exit;
|
||||
}
|
||||
$htmlbody = '';
|
||||
$expire = 3600;
|
||||
foreach ($list as $row) {
|
||||
$adbody = '';
|
||||
if ($row['timeset'] == 0) {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = 0;
|
||||
} else {
|
||||
$ntime = time();
|
||||
if ($ntime > $row['endtime'] || $ntime < $row['starttime']) {
|
||||
$adbody = $row['expbody'];
|
||||
$exp = $ntime < $row['starttime'] ? $row['starttime'] - $ntime : 0;
|
||||
} else {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = $row['endtime'] - $ntime;
|
||||
}
|
||||
}
|
||||
$expire = $exp > 0 && $exp < $expire ? $exp : $expire;
|
||||
$adbody = str_replace('"', '\"', $adbody);
|
||||
$adbody = str_replace("\r", "\\r", $adbody);
|
||||
$adbody = str_replace("\n", "\\n", $adbody);
|
||||
$htmlbody .= "<!--\r\ndocument.write(\"{$adbody}\");\r\n-->\r\n";
|
||||
//print_r($htmlbody);exit;
|
||||
}
|
||||
$this->cacheTag('adTagUs')->set($cacheTag, $htmlbody, $expire);
|
||||
}
|
||||
echo $htmlbody;
|
||||
exit;
|
||||
}
|
||||
exit(' Error! ');
|
||||
}
|
||||
|
||||
public function tagsli($tags = '', $num = 1) {
|
||||
if ($tags) {
|
||||
$nocache = $this->request->param('nocache', 0);
|
||||
$cacheTag = 'adus-' . md5($tags);
|
||||
$htmlbody = $nocache ? '' : $this->cacheGet($cacheTag);
|
||||
|
||||
if (empty($htmlbody)) {
|
||||
$list = Loader::model('Ad')->getList(['stat' => 0, 'tags' => $tags, 'typeid' => 26, 'country_code' => $this->country_code], ['sort' => 'asc', 'id' => 'desc'], ['id', 'typeid', 'name', 'sort', 'tags', 'timeset', 'starttime', 'endtime', 'normbody', 'expbody'], $num);
|
||||
|
||||
if (empty($list)) {
|
||||
$this->cacheTag('adTagUs')->set($cacheTag, "<!--\r\ndocument.write(\"<!--408-->\");\r\n-->\r\n");
|
||||
exit;
|
||||
}
|
||||
$htmlbody = '';
|
||||
$expire = 3600;
|
||||
foreach ($list as $k => $row) {
|
||||
$adbody = '';
|
||||
if ($row['timeset'] == 0) {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = 0;
|
||||
} else {
|
||||
$ntime = time();
|
||||
if ($ntime > $row['endtime'] || $ntime < $row['starttime']) {
|
||||
$adbody = $row['expbody'];
|
||||
$exp = $ntime < $row['starttime'] ? $row['starttime'] - $ntime : 0;
|
||||
} else {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = $row['endtime'] - $ntime;
|
||||
}
|
||||
}
|
||||
$expire = $exp > 0 && $exp < $expire ? $exp : $expire;
|
||||
$adbody = str_replace('"', '\"', $adbody);
|
||||
$adbody = str_replace("\r", "\\r", $adbody);
|
||||
$adbody = str_replace("\n", "\\n", $adbody);
|
||||
$htmlbody .= "<!--\r\ndocument.write(\"<li class=\\\"li" . ($k + 2) . "\\\">{$adbody}</li>\");\r\n-->\r\n";
|
||||
//print_r($htmlbody);exit;
|
||||
}
|
||||
$this->cacheTag('adTagUs')->set($cacheTag, $htmlbody, $expire);
|
||||
}
|
||||
echo $htmlbody;
|
||||
exit;
|
||||
}
|
||||
exit(' Error! ');
|
||||
}
|
||||
|
||||
public function index($id = 0) {
|
||||
if ($id > 0) {
|
||||
$nocache = $this->request->param('nocache', 0);
|
||||
$cacheTag = 'adus-' . $id;
|
||||
$adbody = $nocache ? '' : $this->cacheGet($cacheTag);
|
||||
if (empty($adbody)) {
|
||||
$row = Loader::model('Ad')->where(['stat' => ['eq', 0], 'id' => $id, 'country_code' => $this->country_code])->find();
|
||||
if (empty($row)) {
|
||||
$this->cacheTag('adTagUs')->set($cacheTag, "<!--\r\ndocument.write(\"<!--405-->\");\r\n-->\r\n");
|
||||
exit;
|
||||
}
|
||||
$adbody = '';
|
||||
if ($row['timeset'] == 0) {
|
||||
$adbody = $row['normbody'];
|
||||
$expire = 0;
|
||||
} else {
|
||||
$ntime = time();
|
||||
if ($ntime > $row['endtime'] || $ntime < $row['starttime']) {
|
||||
$adbody = $row['expbody'];
|
||||
$expire = $ntime < $row['starttime'] ? $row['starttime'] - $ntime : 0;
|
||||
} else {
|
||||
$adbody = $row['normbody'];
|
||||
$expire = $row['endtime'] - $ntime;
|
||||
}
|
||||
}
|
||||
$adbody = str_replace('"', '\"', $adbody);
|
||||
$adbody = str_replace("\r", "\\r", $adbody);
|
||||
$adbody = str_replace("\n", "\\n", $adbody);
|
||||
$adbody = "<!--\r\ndocument.write(\"{$adbody}\");\r\n-->\r\n";
|
||||
$this->cacheTag('adTagUs')->set($cacheTag, $adbody, $expire);
|
||||
}
|
||||
echo $adbody;
|
||||
exit;
|
||||
}
|
||||
exit(' Error! ');
|
||||
}
|
||||
|
||||
public function cat($id = '', $num = 1) {
|
||||
if ($id) {
|
||||
$nocache = $this->request->param('nocache', 0);
|
||||
$cacheTag = 'adus-' . $id;
|
||||
$htmlbody = $nocache ? '' : $this->cacheGet($cacheTag);
|
||||
if (empty($htmlbody)) {
|
||||
$list = Loader::model('Ad')->getList(['stat' => ['eq', 0], 'typeid' => $id, 'country_code' => $this->country_code], ['sort' => 'asc', 'id' => 'desc'], ['id', 'typeid', 'name', 'sort', 'tags', 'timeset', 'starttime', 'endtime', 'normbody', 'expbody'], $num);
|
||||
if (empty($list)) {
|
||||
$this->cacheTag('adTagUs')->set($cacheTag, "<!--\r\ndocument.write(\"<!--406-->\");\r\n-->\r\n");
|
||||
exit;
|
||||
}
|
||||
$htmlbody = '';
|
||||
$expire = 3600;
|
||||
foreach ($list as $row) {
|
||||
$adbody = '';
|
||||
if ($row['timeset'] == 0) {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = 0;
|
||||
} else {
|
||||
$ntime = time();
|
||||
if ($ntime > $row['endtime'] || $ntime < $row['starttime']) {
|
||||
$adbody = $row['expbody'];
|
||||
$exp = $ntime < $row['starttime'] ? $row['starttime'] - $ntime : 0;
|
||||
} else {
|
||||
$adbody = $row['normbody'];
|
||||
$exp = $row['endtime'] - $ntime;
|
||||
}
|
||||
}
|
||||
$expire = $exp > 0 && $exp < $expire ? $exp : $expire;
|
||||
$adbody = str_replace('"', '\"', $adbody);
|
||||
$adbody = str_replace("\r", "\\r", $adbody);
|
||||
$adbody = str_replace("\n", "\\n", $adbody);
|
||||
$htmlbody .= "<!--\r\ndocument.write(\"{$adbody}\");\r\n-->\r\n";
|
||||
}
|
||||
$this->cacheTag('adTagUs')->set($cacheTag, $htmlbody, $expire);
|
||||
}
|
||||
echo $htmlbody;
|
||||
exit;
|
||||
}
|
||||
exit(' Error! ');
|
||||
}
|
||||
|
||||
public function previewjs($id) {
|
||||
$id = intval($id);
|
||||
if ($id > 0) {
|
||||
echo '<script src="' . url('us/ad/index', ['id' => $id]) . '?nocache=1" language="javascript"></script>';
|
||||
}
|
||||
exit();
|
||||
}
|
||||
|
||||
}
|
||||
176
app/us/controller/Agents.php
Executable file
176
app/us/controller/Agents.php
Executable file
@@ -0,0 +1,176 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
use think\Session;
|
||||
|
||||
class Agents extends BaseController {
|
||||
|
||||
public function agents() {
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
/*$article = Loader::model('Article')->getRow($id);
|
||||
if (empty($article)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
//$addarticle = Loader::model('ArticleAddition')->getRow(['aid' => $article['id']]);
|
||||
$category = Loader::model('ArticleCategory')->getRow($article['cid']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$template = $category['tempdetail'];
|
||||
//$prev_detail = Loader::model('Article')->getRow(['id' => ['gt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'asc']);
|
||||
//$next_detail = Loader::model('Article')->getRow(['id' => ['lt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'desc']);
|
||||
$value = [
|
||||
'detail' => $article,
|
||||
//'addarticle' => $addarticle,
|
||||
'category' => $category,
|
||||
//'prev_detail' => $prev_detail,
|
||||
//'next_detail' => $next_detail,
|
||||
];
|
||||
//$topid = Loader::model('ArticleCategory')->getTopParentID($article['cid']);
|
||||
//$value['topid'] = $topid;
|
||||
$arg_where = ['content_id' => $id, 'stat' => 0, 'display' => 1];
|
||||
$arg_order = ['id' => 'desc'];
|
||||
$arg_field = ['*'];
|
||||
$dataObject = Loader::model('Pinglun')->getPageList($arg_where, $arg_order, $arg_field, 5);
|
||||
//header('content-type:text/html;charset=utf-8;');
|
||||
$value['list'] = $dataObject->isEmpty() ? null : $dataObject->items();
|
||||
$value['total'] = $dataObject->total();
|
||||
$value['seo_title'] = $article['seo_title']? : $article['name'] . '-' . config('website_seo_title');
|
||||
$value['seo_keyword'] = $article['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $article['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->viewcount($id);*/
|
||||
//return $this->fetch($template);
|
||||
return $this->fetch();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected function viewcount($id) {
|
||||
/*$view = Cookie::get('articleview', 'history'); //print_r($history);exit;
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('Article')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('articleview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}*/
|
||||
}
|
||||
|
||||
protected function historyarticle($id) {
|
||||
/*$article = Cookie::get('article', 'history'); //print_r($history);exit;
|
||||
if (isset($article) && !empty($article)) {
|
||||
$article_ids = explode(',', $article);
|
||||
if ($article_ids[0] != $id) {
|
||||
array_unshift($article_ids, $id);
|
||||
$article_ids = array_unique($article_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$article_ids = array_slice($article_ids, 0, $num);
|
||||
while (count($article_ids) > $num) {
|
||||
array_pop($article_ids);
|
||||
}
|
||||
Cookie::set('article', implode(',', $article_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('article', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}*/
|
||||
}
|
||||
public function create()
|
||||
{
|
||||
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data))
|
||||
return $this->json(403, 'Data error ');
|
||||
|
||||
if ($data['company'] == '')
|
||||
return $this->json(403-2, 'Company name cannot be empty');
|
||||
/*if ($data['name'] == '' && $data['last_name'])
|
||||
return $this->json(403-3, 'Your name cannot be empty');*/
|
||||
if ($data['email'] == '')
|
||||
return $this->json(403-4, 'Email cannot be empty');
|
||||
/*if ($data['country'] == '')
|
||||
return $this->json(403-5, 'Distribution region cannot be empty');*/
|
||||
if ($data['business_type'] == '')
|
||||
return $this->json(403-6, 'Business type cannot be empty');
|
||||
if ($data['enterprise_size'] == '')
|
||||
return $this->json(403-7, 'Enterprise size cannot be empty');
|
||||
if ($data['phone'] == '')
|
||||
return $this->json(403-8, 'Phone cannot be empty');
|
||||
// if ($data['buy_source'] == '')
|
||||
// return $this->json(-5, '购买渠道不能为空');
|
||||
|
||||
/*if ($data['customer_telephone'] != '' && !preg_match("/^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/", $data['customer_telephone']))
|
||||
return $this->json(-6, 'Phone format error ');*/
|
||||
if ($data['email'] != '' && !preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $data['email']))
|
||||
return $this->json(403-6, 'Email Address format error');
|
||||
|
||||
|
||||
$referer = isset($data['refer']) ? $data['refer'] : '';
|
||||
$url = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
|
||||
|
||||
$searchFeed = getKeywords($referer);
|
||||
$channel = isset($searchFeed['channel']) ? $searchFeed['channel'] : '';
|
||||
$keyword = isset($searchFeed['search']) ? $searchFeed['search'] : '';
|
||||
|
||||
$fed = visitLog();
|
||||
|
||||
$insert_data = [
|
||||
'company' => $data['company'],
|
||||
'uri' => $data['uri'],
|
||||
'name' => isset($data['name']) ? $data['name'] : '',
|
||||
'last_name' => isset($data['last_name']) ? $data['last_name'] : '',
|
||||
'email' => $data['email'],
|
||||
'phone' => trim($data['phone']),
|
||||
'country' => isset($data['country']) ? $data['country'] : '',
|
||||
'message' => isset($data['message']) ? $data['message'] : '',
|
||||
'interest' => isset($data['interested']) ? $data['interested'] : $data['message'],
|
||||
'is_inventory' => isset($data['is_inventory']) ? $data['is_inventory'] : '',
|
||||
'createtime' => date("Y-m-d H:i:s"),
|
||||
'siteid' => $this->siteid,
|
||||
'country_code' => $this->country_code,
|
||||
|
||||
|
||||
'refer' => $referer,
|
||||
'url' => $url,
|
||||
'channel' => $channel,
|
||||
'keyword' => $keyword,
|
||||
'ip' => $fed['ip'],
|
||||
'state' => $fed['country'],
|
||||
'province' => $fed['province'],
|
||||
'city' => $fed['city'],
|
||||
'drvice' => $fed['drive'],
|
||||
'user_agent' => $fed['system']." ".$fed['brower'],
|
||||
|
||||
|
||||
|
||||
'refer' => $referer,
|
||||
'url' => $url,
|
||||
'channel' => $channel,
|
||||
'keyword' => $keyword,
|
||||
'ip' => $fed['ip'],
|
||||
'state' => $fed['country'],
|
||||
'province' => $fed['province'],
|
||||
'city' => $fed['city'],
|
||||
'drvice' => $fed['drive'],
|
||||
'user_agent' => $fed['system']." ".$fed['brower'],
|
||||
|
||||
];
|
||||
|
||||
$result = model('agents')->insert($insert_data);
|
||||
if (!$result)
|
||||
return $this->json(201, 'Failure to submit');
|
||||
|
||||
return $this->json(200, 'ok');
|
||||
}
|
||||
|
||||
}
|
||||
128
app/us/controller/Antifake-bak.php
Executable file
128
app/us/controller/Antifake-bak.php
Executable file
@@ -0,0 +1,128 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: ORICO
|
||||
* Date: 2019-07-23
|
||||
* Time: 15:40
|
||||
*/
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
|
||||
use think\Loader;
|
||||
|
||||
class Antifake extends BaseController
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
public function sn_result()
|
||||
{
|
||||
if ($_POST) {
|
||||
$post = $this->request->post();
|
||||
$this->verify_check($post['captcha'], 'authcode') || $this->error('验证码有误', url('antifake/index'));
|
||||
$snnum = $post['sn'];
|
||||
$ssd = Loader::model('Ssd');
|
||||
$where = ['sn' => $post['sn']];
|
||||
$arr = $ssd->where($where)->find();
|
||||
if ($arr) {
|
||||
$data = $arr;//dump($data['sn']);die;
|
||||
$data['result'] = 1;
|
||||
$this->assign('data', $data);
|
||||
} else {
|
||||
$sn = https_request('http://mes.orico.com.cn:8084/api/SN/', $snnum);
|
||||
$sn = json_decode($sn, true);
|
||||
$sn = json_decode($sn, true);
|
||||
if ($sn['result'] == 1) {
|
||||
$data['sn'] = $sn['serial_number'];
|
||||
$data['fake'] = '';
|
||||
$data['specifications_and_models'] = $sn['specifications_and_models'];
|
||||
$data['69_code'] = $sn['69_code'];
|
||||
$data['production_date'] = $sn['production_date'];
|
||||
$data['Customer_name'] = $sn['supplier'];
|
||||
$data['delivery_time'] = $sn['delivery_time'];
|
||||
$data['department'] = $sn['B2B_B2C'];
|
||||
$data['made_up_articles_name'] = $sn['made_up_articles_name'];
|
||||
$data['chicktime'] = date("Y-m-d H:i:s");
|
||||
$time = strtotime($data['delivery_time']);
|
||||
$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+5year", $time));
|
||||
if($data['department']=='B2B'){
|
||||
$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+1 month",strtotime($data['mendtime'])));
|
||||
}
|
||||
$data['material_ID'] = $sn['material_ID'];
|
||||
|
||||
$where = ['sku'=>$data['specifications_and_models']];
|
||||
$productid = Loader::model('product_sku')->where($where)->find();
|
||||
$img = Loader::model('product_two_img')->where(['product_id'=>$productid['product_id']])->find();
|
||||
$img = $img['image_url'];
|
||||
$data['img']=$img;
|
||||
$add = $ssd->save($data);
|
||||
$data['result'] = $sn['result'];
|
||||
$this->assign('data',$data);
|
||||
} else {
|
||||
$data['sn']=$snnum;
|
||||
$data['result'] = $sn['result'];
|
||||
$this->assign('data',$data);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $this->fetch();
|
||||
|
||||
}
|
||||
|
||||
public function anti_fake_result()
|
||||
{
|
||||
if ($_POST) {
|
||||
$post = $this->request->post();
|
||||
$this->verify_check($post['captcha'], 'authcode') || $this->error('验证码有误', url('antifake/index'));
|
||||
$fake = $post['fake'];
|
||||
$ssd = Loader::model('Ssd');
|
||||
$where = ['fake' => $fake];
|
||||
$arr = $ssd->where($where)->find();
|
||||
if ($arr) {
|
||||
$data = $arr;//dump($data['sn']);die;
|
||||
$data['result'] = 1;
|
||||
$this->assign('data', $data);
|
||||
} else {
|
||||
$sn = https_request('http://mes.orico.com.cn:8084/api/values/', $fake);
|
||||
$sn = json_decode($sn, true);
|
||||
$sn = json_decode($sn, true);//dump($sn);die;
|
||||
if ($sn['result'] == 1) {
|
||||
$data['sn'] = $sn['serial_number'];
|
||||
$data['fake'] = $fake;
|
||||
$data['specifications_and_models'] = $sn['specifications_and_models'];
|
||||
$data['69_code'] = $sn['69_code'];
|
||||
$data['production_date'] = $sn['production_date'];
|
||||
$data['Customer_name'] = $sn['supplier'];
|
||||
$data['delivery_time'] = $sn['delivery_time'];
|
||||
$data['department'] = $sn['B2B_B2C'];
|
||||
$data['made_up_articles_name'] = $sn['made_up_articles_name'];
|
||||
$data['chicktime'] = date("Y-m-d H:i:s");
|
||||
$time = strtotime($data['delivery_time']);
|
||||
$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+5year", $time));
|
||||
if($data['department']=='B2B'){
|
||||
$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+1 month",strtotime($data['mendtime'])));
|
||||
}
|
||||
$data['material_ID'] = $sn['material_ID'];
|
||||
|
||||
$where = ['sku'=>$data['specifications_and_models']];
|
||||
$productid = Loader::model('product_sku')->where($where)->find();
|
||||
$img = Loader::model('product_two_img')->where(['product_id'=>$productid['product_id']])->find();
|
||||
$img = $img['image_url'];
|
||||
$data['img']=$img;
|
||||
$add = $ssd->save($data);
|
||||
$data['result'] = $sn['result'];
|
||||
$this->assign('data',$data);
|
||||
} else {
|
||||
$data['fake']=$fake;
|
||||
$data['result'] = $sn['result'];
|
||||
$this->assign('data',$data);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $this->fetch();
|
||||
|
||||
}
|
||||
}
|
||||
186
app/us/controller/Antifake.php
Executable file
186
app/us/controller/Antifake.php
Executable file
@@ -0,0 +1,186 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: ORICO
|
||||
* Date: 2019-07-23
|
||||
* Time: 15:40
|
||||
*/
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
|
||||
use think\Loader;
|
||||
|
||||
class Antifake extends BaseController
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$this->redirect("https://anti-fake-checking.com/index");
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
public function sn_result()
|
||||
{
|
||||
if ($_POST) {
|
||||
$post = $this->request->post();
|
||||
//$this->verify_check($post['captcha'], 'authcode') || $this->error('验证码有误', url('antifake/index'));
|
||||
$snnum = $post['sn'];
|
||||
$snnum = str_replace('-','',$snnum);
|
||||
|
||||
$ssd = Loader::model('Ssd');
|
||||
$where = ['sn' => $post['sn']];
|
||||
$arr = $ssd->where($where)->find();//dump($arr);die;
|
||||
if ($arr) {
|
||||
$data = $arr;//dump($data['sn']);die;
|
||||
$data['result'] = 1;
|
||||
$this->assign('data', $data);
|
||||
} else {
|
||||
$postdata = ['sn'=>$snnum];
|
||||
$postdata = http_build_query($postdata);
|
||||
$sn = CurlRequest('http://mes.orico.com.cn:8081/content/mes/web/api/fwm.aspx', $postdata);
|
||||
//echo "<pre>=="; print_r($sn);die;
|
||||
$sn = json_decode($sn, true);
|
||||
if ($sn['result'] == 1) {
|
||||
$data['sn'] = $post['sn'];
|
||||
$data['fake'] = '';
|
||||
$data['specifications_and_models'] = $sn['specifications_and_models'];
|
||||
$data['69_code'] = $sn['69_code'];
|
||||
$data['production_date'] = $sn['production_date'];
|
||||
$data['Customer_name'] = $sn['Customer_name'];
|
||||
|
||||
|
||||
//$data['department'] = $sn['B2B_B2C'];
|
||||
$data['made_up_articles_name'] = $sn['made_up_articles_name'];
|
||||
if (strpos($data['made_up_articles_name'], 'NGFF') !== false) {
|
||||
$data['aditmend'] = 5;
|
||||
|
||||
if($sn['delivery_time']){
|
||||
$data['delivery_time'] = $sn['delivery_time'];
|
||||
$time = strtotime($data['delivery_time']);
|
||||
$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+5year", $time));
|
||||
}
|
||||
else{
|
||||
$data['delivery_time'] = '';
|
||||
}
|
||||
}
|
||||
elseif(strpos($data['made_up_articles_name'], 'NVME') !== false){
|
||||
$data['aditmend'] = 3;
|
||||
if($sn['delivery_time']){
|
||||
$data['delivery_time'] = $sn['delivery_time'];
|
||||
$time = strtotime($data['delivery_time']);
|
||||
$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+3year", $time));
|
||||
}
|
||||
else{
|
||||
$data['delivery_time'] = '';
|
||||
}
|
||||
}
|
||||
|
||||
$data['chicktime'] = date("Y-m-d H:i:s");
|
||||
//if($data['department']=='B2B'){
|
||||
//$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+1 month",strtotime($data['mendtime'])));
|
||||
//}
|
||||
$data['material_ID'] = $sn['material_ID'];
|
||||
|
||||
$where = ['sku'=>$data['specifications_and_models']];
|
||||
$productid = Loader::model('ProductSku')->where($where)->find();
|
||||
$img = Loader::model('product_two_img')->where(['product_id'=>$productid['product_id']])->find();
|
||||
$img = $img['image_url'];
|
||||
$data['img']=$img;
|
||||
$add = $ssd->save($data);
|
||||
$data['result'] = $sn['result'];
|
||||
$this->assign('data',$data);
|
||||
} else {
|
||||
$data['sn']=$snnum;
|
||||
$data['result'] = $sn['result'];
|
||||
$this->assign('data',$data);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $this->fetch();
|
||||
|
||||
}
|
||||
|
||||
public function anti_fake_result()
|
||||
{
|
||||
if ($_POST) {
|
||||
$post = $this->request->post();
|
||||
//$this->verify_check($post['captcha'], 'authcode') || $this->error('验证码有误', url('antifake/index'));
|
||||
$fake = $post['fake'];
|
||||
$ssd = Loader::model('Ssd');
|
||||
$where = ['fake' => $fake];
|
||||
$arr = $ssd->where($where)->find();
|
||||
if ($arr) {
|
||||
$data = $arr;//dump($data['sn']);die;
|
||||
$data['result'] = 1;
|
||||
$this->assign('data', $data);
|
||||
} else {
|
||||
$postdata = ['fwm'=>$fake];
|
||||
$postdata = http_build_query($postdata);
|
||||
$sn = CurlRequest('http://mes.orico.com.cn:8081/content/mes/web/api/fwm.aspx', $postdata);//dump($sn);die;
|
||||
$sn = json_decode($sn, true);
|
||||
|
||||
|
||||
|
||||
if ($sn['result'] == 1) {
|
||||
$data['sn'] = $sn['serial_number'];
|
||||
$data['fake'] = $fake;
|
||||
$data['specifications_and_models'] = $sn['specifications_and_models'];
|
||||
$data['69_code'] = $sn['69_code'];
|
||||
$data['production_date'] = $sn['production_date'];
|
||||
$data['Customer_name'] = $sn['Customer_name'];
|
||||
$data['delivery_time'] = $sn['delivery_time'];
|
||||
//$data['department'] = $sn['B2B_B2C'];
|
||||
$data['made_up_articles_name'] = $sn['made_up_articles_name'];
|
||||
$data['chicktime'] = date("Y-m-d H:i:s");
|
||||
|
||||
|
||||
if (strpos($data['made_up_articles_name'], 'NGFF') !== false) {
|
||||
$data['aditmend'] = 5;
|
||||
|
||||
if($sn['delivery_time']){
|
||||
$data['delivery_time'] = $sn['delivery_time'];
|
||||
$time = strtotime($data['delivery_time']);
|
||||
$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+5year", $time));
|
||||
}
|
||||
else{
|
||||
$data['delivery_time'] = '';
|
||||
}
|
||||
}
|
||||
elseif(strpos($data['made_up_articles_name'], 'NVME') !== false){
|
||||
$data['aditmend'] = 3;
|
||||
if($sn['delivery_time']){
|
||||
$data['delivery_time'] = $sn['delivery_time'];
|
||||
$time = strtotime($data['delivery_time']);
|
||||
$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+3year", $time));
|
||||
}
|
||||
else{
|
||||
$data['delivery_time'] = '';
|
||||
}
|
||||
}
|
||||
|
||||
/* $time = strtotime($data['delivery_time']);
|
||||
$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+5year", $time));
|
||||
//if($data['department']=='B2B'){
|
||||
$data['mendtime'] = date('Y-m-d H:i:s', strtotime("+1 month",strtotime($data['mendtime'])));*/
|
||||
// }
|
||||
$data['material_ID'] = $sn['material_ID'];
|
||||
|
||||
$where = ['sku'=>$data['specifications_and_models']];
|
||||
$productid = Loader::model('product_sku')->where($where)->find();
|
||||
$img = Loader::model('product_two_img')->where(['product_id'=>$productid['product_id']])->find();
|
||||
$img = $img['image_url'];
|
||||
$data['img']=$img;
|
||||
$add = $ssd->save($data);
|
||||
$data['result'] = $sn['result'];
|
||||
$this->assign('data',$data);
|
||||
} else {
|
||||
$data['fake']=$fake;
|
||||
$data['result'] = $sn['result'];
|
||||
$this->assign('data',$data);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $this->fetch();
|
||||
|
||||
}
|
||||
}
|
||||
217
app/us/controller/Article.php
Executable file
217
app/us/controller/Article.php
Executable file
@@ -0,0 +1,217 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
|
||||
class Article extends BaseController {
|
||||
|
||||
public function lists() {
|
||||
$arg_where = ['a.country_code' => $this->country_code];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
|
||||
$search = array();
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode,strval');
|
||||
if ($skeyword != '') {
|
||||
$arg_where['a.name'] =['like', '%' . $search['skeyword'] . '%'];
|
||||
$search['name'] = $search['skeyword'];
|
||||
|
||||
}
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.jump_link', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.writer', 'a.source', 'a.viewcount', 'a.zancount', 'a.commentcount', 'a.description', 'a.picture', 'a.tags', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('Article')->getCateArticleLists($arg_where, $arg_order, $arg_field, 12);
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
'category' => ['id' => 0, 'name' => '新闻资讯'],
|
||||
];
|
||||
|
||||
$cate_list = model('article_category')->where(['country_code' => $this->country_code, 'pid' => 0, 'isshow' => 1, 'stat' => 0])->order(['sort' => 'asc'])->select();
|
||||
$value['cate_list'] = $cate_list;
|
||||
|
||||
$value['seo_title'] = config('article_seo_title')? : config('website_seo_title');
|
||||
$value['seo_keyword'] = config('article_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('article_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->assign('search',$search);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function catelists($id = 0) {
|
||||
if ($id > 0) {
|
||||
$category = Loader::model('ArticleCategory')->getRow($id);
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
|
||||
$arg_where = ['cid' => $id, 'a.country_code' => $this->country_code];
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode,strval');
|
||||
if ($skeyword != '') {
|
||||
$skeyword = trim($skeyword);
|
||||
$search['skeyword'] = $skeyword;
|
||||
$arg_where['a.name'] = ['like', '%' . $search['skeyword'] . '%'];
|
||||
Config::set('paginate.query', ['skeyword' => $skeyword]); //分页参数
|
||||
$value['search'] = $search;
|
||||
}
|
||||
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
$arg_order = ['a.createtime' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.jump_link', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.writer', 'a.source', 'a.viewcount', 'a.zancount', 'a.commentcount', 'a.description', 'a.picture', 'a.tags', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('Article')->getCateArticleLists($arg_where, $arg_order, $arg_field, 12);
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
|
||||
$cate_list = model('article_category')->where(['country_code' => $this->country_code, 'pid' => 0, 'isshow' => 1, 'stat' => 0])->order(['sort' => 'asc'])->select();
|
||||
$value['cate_list'] = $cate_list;
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch($template);
|
||||
}
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
$article = Loader::model('Article')->getRow($id);
|
||||
if (empty($article)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
//$addarticle = Loader::model('ArticleAddition')->getRow(['aid' => $article['id']]);
|
||||
$category = Loader::model('ArticleCategory')->getRow($article['cid']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$template = $category['tempdetail'];
|
||||
//$prev_detail = Loader::model('Article')->getRow(['id' => ['gt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'asc']);
|
||||
//$next_detail = Loader::model('Article')->getRow(['id' => ['lt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'desc']);
|
||||
$value = [
|
||||
'detail' => $article,
|
||||
//'addarticle' => $addarticle,
|
||||
'category' => $category,
|
||||
//'prev_detail' => $prev_detail,
|
||||
//'next_detail' => $next_detail,
|
||||
];
|
||||
//$topid = Loader::model('ArticleCategory')->getTopParentID($article['cid']);
|
||||
//$value['topid'] = $topid;
|
||||
$arg_where = ['content_id' => $id, 'stat' => 0, 'display' => 1];
|
||||
$arg_order = ['createtime' => 'desc'];
|
||||
$arg_field = ['*'];
|
||||
$dataObject = Loader::model('Pinglun')->getPageList($arg_where, $arg_order, $arg_field, 5);
|
||||
//header('content-type:text/html;charset=utf-8;');
|
||||
$value['list'] = $dataObject->isEmpty() ? null : $dataObject->items();
|
||||
$value['total'] = $dataObject->total();
|
||||
$value['seo_title'] = $article['seo_title']? : $article['name'] . '-' . config('website_seo_title');
|
||||
$value['seo_keyword'] = $article['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $article['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->viewcount($id);
|
||||
return $this->fetch($template);
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
public function zan($id = 0) {
|
||||
$id = intval($id);
|
||||
if ($id > 0) {
|
||||
$article = Loader::model('Article')->getRow(['id' => $id], ['id', 'zancount']);
|
||||
if (empty($article)) {
|
||||
return $this->error('Error');
|
||||
}
|
||||
$article['zancount'] = $article['zancount'] + 1;
|
||||
$result = $article->save();
|
||||
if ($result) {
|
||||
return $this->success('Zan', null, $article['zancount']);
|
||||
} else {
|
||||
return $this->error('Zan Error');
|
||||
}
|
||||
}
|
||||
return $this->error('Error');
|
||||
}
|
||||
|
||||
protected function viewcount($id) {
|
||||
$view = Cookie::get('articleview', 'history'); //print_r($history);exit;
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('Article')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('articleview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function historyarticle($id) {
|
||||
$article = Cookie::get('article', 'history'); //print_r($history);exit;
|
||||
if (isset($article) && !empty($article)) {
|
||||
$article_ids = explode(',', $article);
|
||||
if ($article_ids[0] != $id) {
|
||||
array_unshift($article_ids, $id);
|
||||
$article_ids = array_unique($article_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$article_ids = array_slice($article_ids, 0, $num);
|
||||
while (count($article_ids) > $num) {
|
||||
array_pop($article_ids);
|
||||
}
|
||||
Cookie::set('article', implode(',', $article_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('article', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
}
|
||||
|
||||
//添加留言 2024-03-01 Martin
|
||||
public function addcomment()
|
||||
{
|
||||
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data))
|
||||
return $this->json(403, 'Data error ');
|
||||
|
||||
if (trim($data['name']) == '')
|
||||
return $this->json(403-2, 'Name cannot be empty');
|
||||
if (trim($data['email']) == '')
|
||||
return $this->json(403-4, 'Email cannot be empty');
|
||||
if (trim($data['comment']) == '')
|
||||
return $this->json(403-5, 'Comment cannot be empty');
|
||||
// if ($data['buy_source'] == '')
|
||||
// return $this->json(-5, '购买渠道不能为空');
|
||||
|
||||
/*if ($data['customer_telephone'] != '' && !preg_match("/^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/", $data['customer_telephone']))
|
||||
return $this->json(-6, 'Phone format error ');*/
|
||||
if ($data['email'] != '' && !preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $data['email']))
|
||||
return $this->json(403-6, 'Email Address format error');
|
||||
|
||||
$insert_data = [
|
||||
'article_id' => trim($data['article_id']),
|
||||
'name' => trim($data['name']),
|
||||
'email' => trim($data['email']),
|
||||
'content' => trim($data['comment']),
|
||||
'add_time' => date("Y-m-d H:i:s",time()),
|
||||
'siteid' => $this->siteid,
|
||||
'country_code' => $this->country_code,
|
||||
];
|
||||
|
||||
$result = model('article_comment')->insert($insert_data);
|
||||
if (!$result)
|
||||
return $this->json(201, 'Failure to submit');
|
||||
|
||||
return $this->json(200, 'ok');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
31
app/us/controller/Authcode.php
Executable file
31
app/us/controller/Authcode.php
Executable file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use app\common\controller\BaseController;
|
||||
|
||||
class Authcode extends BaseController {
|
||||
|
||||
public function index($id = "") {
|
||||
$verify = new \verify\Verify((array) Config::get('captcha'));
|
||||
return $verify->entry($id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证码
|
||||
*/
|
||||
public function check($code, $id = '') {
|
||||
return $this->verify_check($code, $id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证码
|
||||
*/
|
||||
public function verify($id = '') {
|
||||
return $this->verify_build($id);
|
||||
}
|
||||
|
||||
}
|
||||
298
app/us/controller/BaseController.php
Executable file
298
app/us/controller/BaseController.php
Executable file
@@ -0,0 +1,298 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\Session;
|
||||
use think\Cookie;
|
||||
use app\common\controller\BaseController as Controller;
|
||||
|
||||
//<!--#include file="([0-9a-zA-Z/._-]+?)\.html" -->
|
||||
class BaseController extends Controller {
|
||||
|
||||
//当前用户
|
||||
protected $customer_id = 0;
|
||||
|
||||
protected $country_code = 'US';
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
// 初始化
|
||||
protected function _initialize() {
|
||||
parent::_initialize();
|
||||
|
||||
|
||||
if ($this->check_true_login())
|
||||
{
|
||||
$customer_info = json_decode(Cookie::get('c'), true);
|
||||
$this->view->assign('customer_info', $customer_info);
|
||||
$this->customer_id = $customer_info['id'];
|
||||
$this->customer_info = $customer_info;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->_logout();
|
||||
}
|
||||
|
||||
$website_email = (string) Config::get('website_email');
|
||||
$this->view->assign('website_email', $website_email);
|
||||
|
||||
$website_phone = (string) Config::get('website_phone');
|
||||
$this->view->assign('website_phone', $website_phone);
|
||||
|
||||
$business_email = (string) Config::get('business_email');
|
||||
$this->view->assign('business_email', $business_email);
|
||||
|
||||
$this->view->assign('seo_title', (string) Config::get('website_seo_title_us'));
|
||||
$this->view->assign('seo_keyword', (string) Config::get('website_seo_keyword'));
|
||||
$this->view->assign('seo_description', (string) Config::get('website_seo_description'));
|
||||
//$this->categoryList = $this->cacheGet('productCategoryList');
|
||||
if (empty($this->productCategory)) {
|
||||
$this->categoryList = Loader::model('ProductCategory')->getList(['stat' => 0, 'siteid' => $this->siteid,'isshow'=>1, 'country_code' => $this->country_code], ['sort' => 'asc', 'id' => 'asc'], ['id', 'pid', 'haschild', 'name', 'shortname', 'sort', 'description', 'isshow', 'recommend', 'picture', 'icon', 'image', 'm_icon', 'unique_id']);
|
||||
$this->cacheTag('ProductCategoryTag')->set('productCategoryList', $this->categoryList);
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($this->cacheHas('country_list')) {
|
||||
$this->country_list = $this->cacheGet('country_list');
|
||||
} else {
|
||||
$this->country_list = model('country')->where(['stat' => 0])->order(['sort' => 'asc'])->select();
|
||||
$this->cacheSet('country_list', $this->country_list, 3600);
|
||||
}
|
||||
|
||||
$this->view->assign('country_list', $this->country_list);
|
||||
|
||||
//搜索推荐产品
|
||||
$search_views = Loader::model('Product')->where(['stat' => 0, 'siteid' => $this->siteid,'is_show'=>0, 'country_code' => $this->country_code])->limit(3)->order(['sort' => 'asc'])->select();
|
||||
$this->view->assign('popular_list', $search_views);
|
||||
|
||||
//$historyList = getBannerList(79, 5);
|
||||
$historyList = Loader::model('banner')->getList(['typeid'=>79,'stat' => 0, 'country_code' => COUNTRY_CODE], ['sort' => 'asc', 'id' => 'desc'], array('*'), 3);
|
||||
$this->view->assign('historyList', $historyList);
|
||||
|
||||
//echo "<pre>=="; print_r($historyList);
|
||||
//导航
|
||||
$navigation =self::navInit();
|
||||
$this->nav_header = $navigation['header'];
|
||||
$this->nav_footer = $navigation['footer'];
|
||||
$this->assign('nav_header', $this->nav_header);
|
||||
$this->assign('nav_footer', $this->nav_footer);
|
||||
|
||||
$product_country_code = "products_".strtolower($this->country_code)."_color";
|
||||
$productColor = config($product_country_code);
|
||||
$this->view->assign('productColor', $productColor);
|
||||
//echo $product_country_code."<pre>=="; print_r($this->nav_header);die;
|
||||
|
||||
//echo Loader::model('banner')->getlastsql();
|
||||
$this->productCategory = $this->list_to_tree($this->categoryList);
|
||||
$this->view->assign('productCategory', $this->productCategory);
|
||||
$this->view->assign('allCategoryList', $this->categoryList);
|
||||
}
|
||||
|
||||
//导航初始化
|
||||
private function navInit(){
|
||||
// 读取缓存数据
|
||||
//$header = $this->cacheGet('cache_common_nav_header_key');
|
||||
//$footer = $this->cacheGet('cache_common_nav_footer_key');
|
||||
|
||||
// 导航模型
|
||||
$field = array('id', 'pid', 'name', 'url', 'value', 'data_type', 'is_new_window_open');
|
||||
|
||||
// 缓存没数据则从数据库重新读取,顶部菜单
|
||||
//if(empty($header))
|
||||
//{
|
||||
$headerData = Loader::model('Navigation')->field($field)->where(array('nav_type'=>'header', 'stat'=>0, 'pid'=>0, 'country_code' => COUNTRY_CODE))->order('sort')->select();
|
||||
$header = self::navDataDealWith($headerData);
|
||||
if(!empty($header))
|
||||
{
|
||||
foreach($header as &$v)
|
||||
{
|
||||
$childData = Loader::model('Navigation')->field($field)->where(array('nav_type'=>'header', 'stat'=>0, 'pid'=>$v['id'], 'country_code' => COUNTRY_CODE))->order('sort')->select();
|
||||
$v['items'] = self::navDataDealWith($childData);
|
||||
}
|
||||
}
|
||||
//$this->cacheSet('cache_common_nav_header_key', $header, 3600);
|
||||
|
||||
// }
|
||||
|
||||
// 底部导航
|
||||
//if(empty($footer))
|
||||
// {
|
||||
$footerdata = Loader::model('Navigation')->field($field)->where(array('nav_type'=>'footer', 'stat'=>0, 'pid'=>0, 'country_code' => COUNTRY_CODE))->order('sort')->select();
|
||||
$footer = self::navDataDealWith($footerdata);
|
||||
if(!empty($footer))
|
||||
{
|
||||
foreach($footer as &$v)
|
||||
{
|
||||
$childData = Loader::model('Navigation')->field($field)->where(array('nav_type'=>'footer', 'stat'=>0, 'pid'=>$v['id'], 'country_code' => COUNTRY_CODE))->order('sort')->select();
|
||||
$v['items'] = self::navDataDealWith($childData);
|
||||
}
|
||||
}
|
||||
//$this->cacheSet('cache_common_nav_footer_key', $footer, 3600);
|
||||
//}
|
||||
|
||||
return [
|
||||
'header' => $header,
|
||||
'footer' => $footer,
|
||||
];
|
||||
}
|
||||
/**
|
||||
* [NavDataDealWith 导航数据处理]
|
||||
* @author martin
|
||||
* @version 0.0.1
|
||||
* @datetime 2023-11-23T21:36:46+0800
|
||||
* @param [array] $data [需要处理的数据]
|
||||
* @return [array] [处理好的数据]
|
||||
*/
|
||||
public function NavDataDealWith($data)
|
||||
{
|
||||
if(!empty($data) && is_array($data))
|
||||
{
|
||||
foreach($data as $k=>&$v)
|
||||
{
|
||||
// url处理
|
||||
switch($v['data_type'])
|
||||
{
|
||||
// 文章分类
|
||||
case 'article':
|
||||
$v['url'] = 'article/detail/'.$v['value'].'.html';
|
||||
break;
|
||||
|
||||
// 博客
|
||||
case 'blog':
|
||||
$v['url'] = 'blog/detail/id/'.$v['value'].'.html';
|
||||
break;
|
||||
|
||||
// 商品分类
|
||||
case 'goods_category':
|
||||
$category = Loader::model('ProductCategory')->getRow(['stat' => 0, 'id' => $v['value'], 'country_code' => $this->country_code], null, ['id' => 'asc']);
|
||||
|
||||
if($category['pid'] == 0) {
|
||||
$v['url'] = '/product/catelists/'.$v['value'].'.html';
|
||||
}
|
||||
else{
|
||||
$v['url'] = '/product/subcategory/'.$v['value'].'.html';
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
$data[$k] = $v;
|
||||
}
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 节点遍历
|
||||
* @param $list
|
||||
* @param string $pk
|
||||
* @param string $pid
|
||||
* @param string $child
|
||||
* @param int $root
|
||||
* return array
|
||||
*/
|
||||
protected function list_to_tree($list, $pk = 'id', $pid = 'pid', $child = 'child', $root = 0) {
|
||||
//dump($root);die;
|
||||
//header('content-type:text/html;charset=utf-8;');
|
||||
// 创建Tree
|
||||
$tree = [];
|
||||
if (is_array($list)) {
|
||||
// 创建基于主键的数组引用
|
||||
$refer = [];
|
||||
foreach ($list as $key => $data) {
|
||||
$list[$key] = $data->toArray();
|
||||
$refer[$data[$pk]] = & $list[$key];
|
||||
}
|
||||
foreach ($list as $key => $data) {
|
||||
// 判断是否存在parent
|
||||
$parentId = $data[$pid];
|
||||
if ($root == $parentId) {
|
||||
$tree[] = & $list[$key];
|
||||
} else {
|
||||
if (isset($refer[$parentId])) {
|
||||
$parent = & $refer[$parentId];
|
||||
$parent[$child][] = & $list[$key];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return $tree;
|
||||
}
|
||||
|
||||
private function check_login_token($customer_id, $curr_time, $p)
|
||||
{
|
||||
$expire = 86400 * 30;
|
||||
if (time() - $curr_time > $expire)
|
||||
return false;
|
||||
|
||||
$temp_p = $this->make_pwd($customer_id, $curr_time);
|
||||
if ($temp_p !== $p)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function set_login_token($customer_info)
|
||||
{
|
||||
$curr_time = time();
|
||||
$p = $this->make_pwd($customer_info['id'], $curr_time);
|
||||
|
||||
$customer_info['telephone'] = $customer_info['telephone'] != '' ? substr_replace($customer_info['telephone'], '****', 3, 4) : '';
|
||||
$customer_info['email'] = $customer_info['email'] != '' ? substr_replace($customer_info['email'], '****', 2, 6) : '';
|
||||
$customer_info['have_pwd'] = $customer_info['password'] != '' ? 1 : 0;
|
||||
unset($customer_info['password']);
|
||||
|
||||
$customer_info['ct'] = $curr_time;
|
||||
$customer_info['p'] = $p;
|
||||
|
||||
$expire = 86400 * 30;
|
||||
Cookie::init(['expire' => $expire]);
|
||||
Cookie::set('c', $customer_info);
|
||||
}
|
||||
|
||||
private function make_pwd($customer_id, $curr_time)
|
||||
{
|
||||
$salt = 'Orico2019.';
|
||||
$p = md5(md5($customer_id . $curr_time . $salt));
|
||||
|
||||
return $p;
|
||||
}
|
||||
|
||||
private function check_login()
|
||||
{
|
||||
return Cookie::has('c');
|
||||
}
|
||||
|
||||
protected function check_true_login()
|
||||
{
|
||||
// 校验用户是否登录,且校验cookie合法性
|
||||
if (!$this->check_login())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$customer_info = json_decode(Cookie::get('c'), true);
|
||||
|
||||
$ct = isset($customer_info['ct']) ? $customer_info['ct'] : '';
|
||||
$p = isset($customer_info['p']) ? $customer_info['p'] : '';
|
||||
return $this->check_login_token($customer_info['id'], $ct, $p);
|
||||
}
|
||||
|
||||
protected function _logout()
|
||||
{
|
||||
if (Cookie::has('c'))
|
||||
Cookie::delete('c');
|
||||
|
||||
$this->customer_id = 0;
|
||||
}
|
||||
|
||||
}
|
||||
189
app/us/controller/Blog.php
Executable file
189
app/us/controller/Blog.php
Executable file
@@ -0,0 +1,189 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
use think\Db;
|
||||
|
||||
class Blog extends BaseController {
|
||||
|
||||
public function index() {
|
||||
$data = $this->request->param();
|
||||
$arg_where = ['siteid' => $this->siteid,'stat' => 1, 'country_code' => $this->country_code,'public_time'=>['<=',date("Y-m-d")]];
|
||||
|
||||
$search = array();
|
||||
if (isset($data['name']) && $data['name'] != ''){
|
||||
$arg_where['title'] = ['like', "%$data[name]%"];
|
||||
$search['name'] = $data['name'];
|
||||
|
||||
}
|
||||
|
||||
$arg_order = ['is_top'=>'desc','id' => 'desc'];
|
||||
$arg_field = ['*'];
|
||||
|
||||
$dataObject = Loader::model('blog')->getBlogLists($arg_where, $arg_order, $arg_field, 12);
|
||||
//echo Loader::model('blog')->getLastsql();
|
||||
//echo "<pre>====22222222======"; print_r($dataObject);die;
|
||||
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
|
||||
];
|
||||
$value['seo_title'] = config('article_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('article_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('article_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->assign('search',$search);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
||||
public function blog() {
|
||||
$data = $this->request->param();
|
||||
$arg_where = ['siteid' => $this->siteid,'stat' => 1, 'country_code' => $this->country_code,'public_time'=>['<=',date("Y-m-d")]];
|
||||
|
||||
$search = array();
|
||||
if (isset($data['name']) && $data['name'] != ''){
|
||||
$arg_where['title'] = ['like', "%$data[name]%"];
|
||||
$search['name'] = $data['name'];
|
||||
|
||||
}
|
||||
|
||||
$arg_order = ['is_top'=>'desc','id' => 'desc'];
|
||||
$arg_field = ['*'];
|
||||
|
||||
$dataObject = Loader::model('blog')->getBlogLists($arg_where, $arg_order, $arg_field, 12);
|
||||
//echo Loader::model('blog')->getLastsql();
|
||||
//echo "<pre>====22222222======"; print_r($dataObject);die;
|
||||
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
|
||||
];
|
||||
$value['seo_title'] = config('article_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('article_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('article_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->assign('search',$search);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
$blog = Loader::model('Blog')->getRow($id);
|
||||
if (empty($blog)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
//echo "<pre>====6666======".$id; print_r($blog); die;
|
||||
|
||||
$arg_where = ['blog_remark.b_id' => $id, 'blog_remark.stat' => 1];
|
||||
$arg_order = ['blog_remark.id' => 'desc'];
|
||||
$arg_field = ['blog_remark.*'];
|
||||
$dataObject = Loader::model('blog')->getRemarkList($arg_where, $arg_order, $arg_field, 10);
|
||||
|
||||
$value['list'] = $dataObject->isEmpty() ? null : $dataObject->items();
|
||||
$value['total'] = $dataObject->total();
|
||||
$value['page'] = $dataObject->render();
|
||||
|
||||
|
||||
|
||||
$value['seo_title'] = $blog['seo_title']? : $blog['title'] . '-' . config('website_seo_title');
|
||||
$value['seo_keyword'] = $blog['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $blog['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->assign('blog', $blog);
|
||||
$this->viewcount($id);
|
||||
//return $this->fetch($template);
|
||||
|
||||
$disCount = $dataObject->isEmpty() ? null : count($dataObject->items());
|
||||
|
||||
if($disCount) {
|
||||
$counts = get_rand_number(1,10,$disCount);
|
||||
$this->assign('counts', $counts);
|
||||
}
|
||||
|
||||
|
||||
$curUrl = 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
|
||||
$this->assign('curUrl', $curUrl);
|
||||
|
||||
return $this->fetch();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected function viewcount($id) {
|
||||
$view = Cookie::get('blogview', 'history'); //print_r($history);exit;
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('blog')->where(['id' => $id])->setInc('visit_count');
|
||||
Cookie::set('blogview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function historyarticle($id) {
|
||||
/*$article = Cookie::get('article', 'history'); //print_r($history);exit;
|
||||
if (isset($article) && !empty($article)) {
|
||||
$article_ids = explode(',', $article);
|
||||
if ($article_ids[0] != $id) {
|
||||
array_unshift($article_ids, $id);
|
||||
$article_ids = array_unique($article_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$article_ids = array_slice($article_ids, 0, $num);
|
||||
while (count($article_ids) > $num) {
|
||||
array_pop($article_ids);
|
||||
}
|
||||
Cookie::set('article', implode(',', $article_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('article', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}*/
|
||||
}
|
||||
|
||||
//添加评论 2021-06-01 Martin
|
||||
public function addcomment()
|
||||
{
|
||||
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data))
|
||||
return $this->json(403, 'Data error ');
|
||||
|
||||
if (trim($data['name']) == '')
|
||||
return $this->json(403-2, 'Name cannot be empty');
|
||||
if (trim($data['email']) == '')
|
||||
return $this->json(403-4, 'Email cannot be empty');
|
||||
if (trim($data['comment']) == '')
|
||||
return $this->json(403-5, 'Comment cannot be empty');
|
||||
// if ($data['buy_source'] == '')
|
||||
// return $this->json(-5, '购买渠道不能为空');
|
||||
|
||||
/*if ($data['customer_telephone'] != '' && !preg_match("/^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/", $data['customer_telephone']))
|
||||
return $this->json(-6, 'Phone format error ');*/
|
||||
if ($data['email'] != '' && !preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $data['email']))
|
||||
return $this->json(403-6, 'Email Address format error');
|
||||
|
||||
$insert_data = [
|
||||
'b_id' => trim($data['b_id']),
|
||||
'name' => trim($data['name']),
|
||||
'email' => trim($data['email']),
|
||||
'content' => trim($data['comment']),
|
||||
'add_time' => date("Y-m-d H:i:s",time()),
|
||||
'siteid' => $this->siteid,
|
||||
'country_code' => $this->country_code,
|
||||
];
|
||||
|
||||
$result = model('blog_remark')->insert($insert_data);
|
||||
if (!$result)
|
||||
return $this->json(201, 'Failure to submit');
|
||||
|
||||
return $this->json(200, 'ok');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
118
app/us/controller/Bulk.php
Executable file
118
app/us/controller/Bulk.php
Executable file
@@ -0,0 +1,118 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
use think\Session;
|
||||
|
||||
class Bulk extends BaseController {
|
||||
|
||||
public function Bulk() {
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
|
||||
return $this->fetch();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected function viewcount($id) {
|
||||
/*$view = Cookie::get('articleview', 'history'); //print_r($history);exit;
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('Article')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('articleview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}*/
|
||||
}
|
||||
|
||||
protected function historyarticle($id) {
|
||||
/*$article = Cookie::get('article', 'history'); //print_r($history);exit;
|
||||
if (isset($article) && !empty($article)) {
|
||||
$article_ids = explode(',', $article);
|
||||
if ($article_ids[0] != $id) {
|
||||
array_unshift($article_ids, $id);
|
||||
$article_ids = array_unique($article_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$article_ids = array_slice($article_ids, 0, $num);
|
||||
while (count($article_ids) > $num) {
|
||||
array_pop($article_ids);
|
||||
}
|
||||
Cookie::set('article', implode(',', $article_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('article', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}*/
|
||||
}
|
||||
public function create()
|
||||
{
|
||||
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data))
|
||||
return $this->json(403, 'Data error ');
|
||||
|
||||
|
||||
if ($data['name'] == '' && $data['last_name'])
|
||||
return $this->json(403-3, 'Your name cannot be empty');
|
||||
if ($data['email'] == '')
|
||||
return $this->json(403-4, 'Email cannot be empty');
|
||||
|
||||
// if ($data['buy_source'] == '')
|
||||
// return $this->json(-5, '购买渠道不能为空');
|
||||
|
||||
/*if ($data['customer_telephone'] != '' && !preg_match("/^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/", $data['customer_telephone']))
|
||||
return $this->json(-6, 'Phone format error ');*/
|
||||
if ($data['email'] != '' && !preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $data['email']))
|
||||
return $this->json(403-6, 'Email Address format error');
|
||||
|
||||
$referer = isset($data['refer']) ? $data['refer'] : '';
|
||||
$url = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
|
||||
|
||||
$searchFeed = getKeywords($referer);
|
||||
$channel = isset($searchFeed['channel']) ? $searchFeed['channel'] : '';
|
||||
$keyword = isset($searchFeed['search']) ? $searchFeed['search'] : '';
|
||||
|
||||
$fed = visitLog();
|
||||
|
||||
$insert_data = [
|
||||
'company' => isset($data['company']) ? $data['company'] : '',
|
||||
'first_name' => $data['name'],
|
||||
'last_name' => isset($data['last_name']) ?$data['last_name'] : '',
|
||||
'email' => $data['email'],
|
||||
'phone' => isset($data['last_name']) ? $data['phone'] : '',
|
||||
'country' => isset($data['last_name']) ? $data['country'] : '',
|
||||
'interested' => isset($data['last_name']) ? $data['interested'] : '',
|
||||
'message' => $data['message'],
|
||||
'ip' => get_ip(),
|
||||
'refer_url' => $_SERVER["HTTP_REFERER"],
|
||||
'createtime' => date("Y-m-d H:i:s"),
|
||||
'siteid' => $this->siteid,
|
||||
'country_code' => $this->country_code,
|
||||
|
||||
'refer' => $referer,
|
||||
'url' => $url,
|
||||
'channels' => $channel,
|
||||
'keyword' => $keyword,
|
||||
'state' => $fed['country'],
|
||||
'province' => $fed['province'],
|
||||
'city' => $fed['city'],
|
||||
'drvice' => $fed['drive'],
|
||||
'user_agent' => $fed['system']." ".$fed['brower'],
|
||||
];
|
||||
|
||||
$result = model('Bulk')->insert($insert_data);
|
||||
if (!$result)
|
||||
return $this->json(201, 'Failure to submit');
|
||||
|
||||
return $this->json(200, 'ok');
|
||||
}
|
||||
|
||||
}
|
||||
119
app/us/controller/BulkInquiry.php
Executable file
119
app/us/controller/BulkInquiry.php
Executable file
@@ -0,0 +1,119 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
use think\Session;
|
||||
|
||||
class BulkInquiry extends BaseController {
|
||||
|
||||
public function BulkInquiry() {
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
|
||||
return $this->fetch();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected function viewcount($id) {
|
||||
/*$view = Cookie::get('articleview', 'history'); //print_r($history);exit;
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('Article')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('articleview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}*/
|
||||
}
|
||||
|
||||
protected function historyarticle($id) {
|
||||
/*$article = Cookie::get('article', 'history'); //print_r($history);exit;
|
||||
if (isset($article) && !empty($article)) {
|
||||
$article_ids = explode(',', $article);
|
||||
if ($article_ids[0] != $id) {
|
||||
array_unshift($article_ids, $id);
|
||||
$article_ids = array_unique($article_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$article_ids = array_slice($article_ids, 0, $num);
|
||||
while (count($article_ids) > $num) {
|
||||
array_pop($article_ids);
|
||||
}
|
||||
Cookie::set('article', implode(',', $article_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('article', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}*/
|
||||
}
|
||||
public function create()
|
||||
{
|
||||
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data))
|
||||
return $this->json(403, 'Data error ');
|
||||
|
||||
if ($data['company'] == '')
|
||||
return $this->json(403-2, 'Company name cannot be empty');
|
||||
if ($data['name'] == '' && $data['last_name'])
|
||||
return $this->json(403-3, 'Your name cannot be empty');
|
||||
if ($data['email'] == '')
|
||||
return $this->json(403-4, 'Email cannot be empty');
|
||||
// if ($data['buy_source'] == '')
|
||||
// return $this->json(-5, '购买渠道不能为空');
|
||||
|
||||
/*if ($data['customer_telephone'] != '' && !preg_match("/^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/", $data['customer_telephone']))
|
||||
return $this->json(-6, 'Phone format error ');*/
|
||||
if ($data['email'] != '' && !preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $data['email']))
|
||||
return $this->json(403-6, 'Email Address format error');
|
||||
|
||||
$referer = isset($data['refer']) ? $data['refer'] : '';
|
||||
$url = isset($data['url']) ? $data['url'] : '';
|
||||
|
||||
$searchFeed = getKeywords($referer);
|
||||
$channel = isset($searchFeed['channel']) ? $searchFeed['channel'] : '';
|
||||
$keyword = isset($searchFeed['search']) ? $searchFeed['search'] : '';
|
||||
|
||||
$fed = visitLog();
|
||||
|
||||
|
||||
$insert_data = [
|
||||
'company' => $data['company'],
|
||||
'first_name' => $data['name'],
|
||||
'last_name' => $data['last_name'],
|
||||
'email' => $data['email'],
|
||||
'phone' => trim($data['phone']),
|
||||
'interest' => $data['interested'],
|
||||
'message' => $data['message'],
|
||||
'ip' => get_ip(),
|
||||
'refer_url' => $_SERVER["HTTP_REFERER"],
|
||||
'createtime' => date("Y-m-d H:i:s"),
|
||||
'siteid' => $this->siteid,
|
||||
'country_code' => $this->country_code,
|
||||
|
||||
'refer' => $referer,
|
||||
'url' => $url,
|
||||
'channel' => $channel,
|
||||
'keyword' => $keyword,
|
||||
'ip' => $fed['ip'],
|
||||
'state' => $fed['country'],
|
||||
'province' => $fed['province'],
|
||||
'city' => $fed['city'],
|
||||
'drvice' => $fed['drive'],
|
||||
'user_agent' => $fed['system']." ".$fed['brower'],
|
||||
];
|
||||
|
||||
$result = model('bulk_inquiry')->insert($insert_data);
|
||||
if (!$result)
|
||||
return $this->json(201, 'Failure to submit');
|
||||
|
||||
return $this->json(200, 'ok');
|
||||
}
|
||||
|
||||
}
|
||||
37
app/us/controller/Clicksum.php
Executable file
37
app/us/controller/Clicksum.php
Executable file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: ORICO
|
||||
* Date: 2018-12-10
|
||||
* Time: 13:48
|
||||
*/
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Controller;
|
||||
use think\Session;
|
||||
|
||||
class ClickSum extends Controller {
|
||||
|
||||
public function add_click() {
|
||||
$data = $this->request->post();
|
||||
// tiaoshi($data);die;
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->json(-1, '数据错误');
|
||||
}
|
||||
|
||||
$insert_data = [
|
||||
'content_id' => $data['content_id'],
|
||||
'type' => $data['type'],
|
||||
'customer_id' => $data['customer_id'],
|
||||
'country_code' => $data['country_code'],
|
||||
'url' => $data['url'],
|
||||
'click_ip' => get_ip(),
|
||||
'create_time' => date('Y-m-d H:i:s')
|
||||
];
|
||||
|
||||
model('click_sum')->insert($insert_data);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
505
app/us/controller/Customer.php
Executable file
505
app/us/controller/Customer.php
Executable file
@@ -0,0 +1,505 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Cookie;
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\Session;
|
||||
use think\Cache;
|
||||
|
||||
class Customer extends BaseController {
|
||||
|
||||
public function index() {
|
||||
if ($this->customer_id > 0)
|
||||
{
|
||||
$this->redirect(url('us/customer/personal'));
|
||||
}
|
||||
|
||||
$url = $this->request->get('url');
|
||||
$url = $url != '' ? $url : '';
|
||||
$this->assign('url', $url);
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
# 用旧密码改新密码
|
||||
public function update_pwd()
|
||||
{
|
||||
$data = $this->request->post();
|
||||
// tiaoshi($data);die;
|
||||
if (empty($data) || $this->customer_id <= 0)
|
||||
{
|
||||
return $this->json(-1, 'Data error');
|
||||
}
|
||||
|
||||
if ($this->customer_info['have_pwd'])
|
||||
{
|
||||
$customer_info = model('customer')->where(['id' => $this->customer_id])->find();
|
||||
if (md5($data['old_password']) != $customer_info['password'])
|
||||
{
|
||||
return $this->json(-2, 'Old password incorrect');
|
||||
}
|
||||
}
|
||||
|
||||
$update_data = [
|
||||
'password' => md5($data['password']),
|
||||
'salt' => $data['password']
|
||||
];
|
||||
|
||||
$result = model('customer')->where(['id' => $this->customer_id])->update($update_data);
|
||||
if (!$result)
|
||||
{
|
||||
return $this->json(-4, 'New passwords do not match.');
|
||||
}
|
||||
|
||||
$customer_info = model('customer')->getBasicInfo($this->customer_id);
|
||||
|
||||
$this->set_login_token($customer_info);
|
||||
return $this->json(200, 'Your password has been updated.');
|
||||
}
|
||||
|
||||
# 用邮箱改密码
|
||||
public function update_forget_pwd()
|
||||
{
|
||||
$data = $this->request->post();
|
||||
// tiaoshi($data);die;
|
||||
if (empty($data))
|
||||
{
|
||||
return $this->json(-1, 'Data error');
|
||||
}
|
||||
|
||||
if (!preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $data['email']))
|
||||
{
|
||||
return $this->json(-2, 'Error Mail Form');
|
||||
}
|
||||
|
||||
$customer_info = model('customer')->getBasicInfoByEmail($data['email']);
|
||||
if (empty($customer_info))
|
||||
{
|
||||
return $this->json(-3, 'The email is not registered');
|
||||
}
|
||||
|
||||
$token = md5($data['email'] . 'forgetpwd');
|
||||
$this->cacheSet($token, $data['email'], 3600);
|
||||
|
||||
$result = $this->send_forgetpwd_email($data['email'], $token);
|
||||
if ($result['code'] < 0)
|
||||
{
|
||||
return $this->json(-4, $result['msg']);
|
||||
}
|
||||
|
||||
$this->_logout();
|
||||
return $this->json(200, 'The email sending successful');
|
||||
}
|
||||
|
||||
public function retrieve_password()
|
||||
{
|
||||
return view();
|
||||
}
|
||||
|
||||
public function change_password()
|
||||
{
|
||||
$token = $this->request->post('token');
|
||||
$password = $this->request->post('password');
|
||||
$email = $this->cacheGet($token, '');
|
||||
|
||||
if ($email == '')
|
||||
{
|
||||
return $this->json(-1, 'Link Invalid');
|
||||
}
|
||||
if (!preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $email))
|
||||
{
|
||||
return $this->json(-2, 'Error Mail Form');
|
||||
}
|
||||
if (!preg_match("/^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&*-.]+$)[a-zA-Z\d!@#$%^&*-.]{8,20}$/", $password))
|
||||
{
|
||||
return $this->json(-3, 'The password must contain 8-20 characters and at least two types of characters.');
|
||||
}
|
||||
|
||||
model('customer')->where(['stat' => 0, 'email' => $email])->update(['password' => md5($password)]);
|
||||
$this->cacheDelete($token);
|
||||
return $this->json(200, 'Your password has been updated.');
|
||||
}
|
||||
|
||||
public function check_forgetpwd_email()
|
||||
{
|
||||
$token = $this->request->param('token');
|
||||
$email = $this->cacheGet($token, '');
|
||||
if ($email == '' || !preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $email))
|
||||
{
|
||||
return $this->json(-1, 'Error Mail Form');
|
||||
}
|
||||
|
||||
$password = $this->request->post('password');
|
||||
if (!preg_match("/^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&*-.]+$)[a-zA-Z\d!@#$%^&*-.]{8,20}$/", $data['password']))
|
||||
{
|
||||
return $this->json(-2, 'The password must contain 8-20 characters and at least two types of characters.');
|
||||
}
|
||||
|
||||
$customer = model('customer')->where(['stat' => 0, 'email' => $email])->find();
|
||||
if (empty($customer))
|
||||
{
|
||||
return $this->json(-3, 'The email is not registered');
|
||||
}
|
||||
|
||||
model('customer')->where(['stat' => 0, 'email' => $email])->update(['password' => md5($password)]);
|
||||
|
||||
$this->cacheDelete($token);
|
||||
return $this->json(200, 'Your password has been updated.');
|
||||
}
|
||||
|
||||
private function send_forgetpwd_email($email, $token)
|
||||
{
|
||||
//邮件标题
|
||||
$subject = $this->request->host() . '-retrieve_password';
|
||||
//邮件内容
|
||||
$body = "<p>Dear $email,</p>
|
||||
<p>We recently received a request to reset your password.</p>
|
||||
<p>You may change your password to something secure and memorable here:</p>
|
||||
<p>http://www.orico.cc/us/forgetpwd.html?token=$token</p>
|
||||
<p>If you did not request to reset your password, please ignore this email and log in with your existing password.</p>
|
||||
<p>Feel free to get in touch if you have any questions.</p>
|
||||
<p>The Orico Team</p>
|
||||
<p>supports@orico.com.cn</p>";
|
||||
|
||||
$res = $this->sendemail($email, $email, $subject, $body, 'oricogroup@orico.com.cn');
|
||||
if ($res['code'] == 200) {
|
||||
return ['code' => 200, 'msg' => "We’ll send you a link so you can please confirm."];
|
||||
} else {
|
||||
return ['code' => -3, 'msg' => $res['msg']];
|
||||
}
|
||||
}
|
||||
|
||||
public function activation()
|
||||
{
|
||||
$email = $this->request->param('email');
|
||||
$email = isset($email) ? $email : '';
|
||||
|
||||
$this->assign('email', $email);
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function forgetpwd_email()
|
||||
{
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function new_register()
|
||||
{
|
||||
$data = $this->request->post();
|
||||
// tiaoshi($data);die;
|
||||
if (empty($data) || $this->customer_id > 0)
|
||||
{
|
||||
return $this->json(-1, 'data error');
|
||||
}
|
||||
|
||||
if (!preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $data['email']))
|
||||
{
|
||||
return $this->json(-2, 'Error Mail Form');
|
||||
}
|
||||
|
||||
if (!isset($data['re_send']) && !preg_match("/^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&*-.]+$)[a-zA-Z\d!@#$%^&*-.]{8,20}$/", $data['password']))
|
||||
{
|
||||
return $this->json(-3, 'The password must contain 8-20 characters and at least two types of characters.');
|
||||
}
|
||||
|
||||
if (!isset($data['re_send']) && !$this->verify_check($data['captcha'], 'authcode'))
|
||||
{
|
||||
return $this->json(-4, 'Verification code error');
|
||||
}
|
||||
|
||||
$customer = model('customer')->where(['email' => $data['email'], 'stat' => 0])->find();
|
||||
if (!empty($customer))
|
||||
{
|
||||
return $this->json(-5, 'This email has previously been used.');
|
||||
}
|
||||
|
||||
// if (!isset($data['re_send']))
|
||||
// {
|
||||
|
||||
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// $token = md5($data['email'] . 'register');
|
||||
// if ($this->cacheHas($token))
|
||||
// {
|
||||
// $this->cacheSet($token, $this->cacheGet($token), 3600);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// return $this->json(-100, '该链接已失效,请重新获取');
|
||||
// }
|
||||
// }
|
||||
|
||||
$token = md5($data['email'] . 'register');
|
||||
$result = $this->send_register_email($data['email'], $token);
|
||||
if ($result['code'] < 0)
|
||||
{
|
||||
return $this->json(-6, $result['msg']);
|
||||
}
|
||||
|
||||
if (!isset($data['re_send']))
|
||||
{
|
||||
$delimiter = '$*$%&';
|
||||
$this->cacheSet($token, $data['email'] . $delimiter . md5($data['password']), 3600);
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($this->cacheHas($token))
|
||||
{
|
||||
$this->cacheSet($token, $this->cacheGet($token), 3600);
|
||||
}
|
||||
else
|
||||
{
|
||||
return $this->json(-100, '该链接已失效');
|
||||
}
|
||||
}
|
||||
|
||||
return $this->json(200, 'Send Success');
|
||||
}
|
||||
|
||||
public function check_register_email()
|
||||
{
|
||||
$token = $this->request->param('token');
|
||||
|
||||
$data = $this->cacheGet($token, '');
|
||||
if ($data == '')
|
||||
{
|
||||
echo '<script>alert("Captcha Invalid")</script>';
|
||||
exit;
|
||||
}
|
||||
|
||||
$delimiter = '$*$%&';
|
||||
$arr = explode($delimiter, $data);
|
||||
if (!is_array($arr) || !isset($arr[0]) || !isset($arr[1]))
|
||||
{
|
||||
echo '<script>alert("Data Invalid")</script>';
|
||||
exit;
|
||||
}
|
||||
|
||||
$email = $arr[0];
|
||||
$password = $arr[1];
|
||||
|
||||
if (!preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $email))
|
||||
{
|
||||
echo '<script>alert("Error Mail Form")</script>';
|
||||
exit;
|
||||
}
|
||||
|
||||
$customer = model('customer')->where(['stat' => 0, 'email' => $email])->find();
|
||||
if (!empty($customer))
|
||||
{
|
||||
echo '<script>alert("This email has previously been used.")</script>';
|
||||
exit;
|
||||
}
|
||||
|
||||
$firstname = 'Orico' . rand(10000000, 99999999);
|
||||
$insert_data = [
|
||||
'firstname' => $firstname,
|
||||
'email' => $email,
|
||||
'password' => $password,
|
||||
'country_code' => $this->country_code
|
||||
];
|
||||
|
||||
$customer_id = model('customer')->insertGetId($insert_data);
|
||||
if (!$customer_id)
|
||||
{
|
||||
echo '<script>alert("Registry Faild")</script>';
|
||||
}
|
||||
|
||||
$customer_info = model('customer')->getBasicInfo($customer_id);
|
||||
|
||||
$this->set_login_token($customer_info);
|
||||
$this->cacheDelete($token);
|
||||
|
||||
echo '<script>
|
||||
alert("Registry Success");
|
||||
location.href="http://www.orico.cc/us";
|
||||
</script>';
|
||||
exit;
|
||||
}
|
||||
|
||||
private function send_register_email($email, $token)
|
||||
{
|
||||
//邮件标题
|
||||
$subject = $this->request->host() . '-registry';
|
||||
//邮件内容
|
||||
$body = "<p>Dear $email</p><p>Thank you for registering at orico, we’re excited to have you with us!</p><p>Click the link below to activate your account:</p><p>http://www.orico.cc/us/customer/check_register_email.html?token=$token</p><p>The Orico Team</p><p>support@orico.com.cn</p>";
|
||||
|
||||
$res = $this->sendemail($email, $email, $subject, $body, 'oricogroup@orico.com.cn');
|
||||
if ($res['code'] == 200) {
|
||||
return ['code' => 200, 'msg' => "We’ll send you a link so you can please confirm."];
|
||||
} else {
|
||||
return ['code' => -3, 'msg' => $res['msg']];
|
||||
}
|
||||
}
|
||||
|
||||
public function new_login()
|
||||
{
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || $this->customer_id > 0)
|
||||
{
|
||||
return $this->json(-1, 'Data error');
|
||||
}
|
||||
|
||||
$where = [
|
||||
'stat' => 0,
|
||||
'email' => $data['email']
|
||||
];
|
||||
|
||||
$customer_info = model('customer')->where($where)->field('id, firstname, picture, sex, email, telephone, qq, birthday, password')->find();
|
||||
if (empty($customer_info))
|
||||
{
|
||||
return $this->json(-2, 'The email is not registered');
|
||||
}
|
||||
|
||||
if ($customer_info['password'] != md5($data['password']) || empty($data['password']))
|
||||
{
|
||||
return $this->json(-3, 'Email address or password incorrect');
|
||||
}
|
||||
|
||||
$this->set_login_token($customer_info);
|
||||
return $this->json(200, 'Login Successful');
|
||||
}
|
||||
|
||||
public function register() {
|
||||
if ($this->customer_id > 0) {
|
||||
return $this->redirect(url('us/customer/index'));
|
||||
}
|
||||
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function personal()
|
||||
{
|
||||
if ($this->customer_id <= 0)
|
||||
{
|
||||
$this->redirect(url('us/customer/index'));
|
||||
}
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function my_collection()
|
||||
{
|
||||
if ($this->customer_id <= 0)
|
||||
{
|
||||
$this->redirect(url('us/customer/index'));
|
||||
}
|
||||
|
||||
$param = $this->request->param();
|
||||
// tiaoshi($param);die;
|
||||
$where = ['a.stat' => 0, 'b.stat' => 0, 'a.customer_id' => $this->customer_id, 'b.country_code' => $this->country_code];
|
||||
if (isset($param['cid']))
|
||||
{
|
||||
$cid_arr = model('product_category')->getChildIDArray($param['cid']);
|
||||
$where['b.cid'] = ['in', $cid_arr];
|
||||
$cid = $param['cid'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$cid = 0;
|
||||
}
|
||||
|
||||
$field = ['b.id', 'b.cid', 'b.name', 'b.shortname', 'b.isnew', 'b.ishot', 'b.recommend', 'b.viewcount', 'b.brand_id'];
|
||||
$order = ['a.id' => 'desc'];
|
||||
$list = model('collection')->getList($where, $order, $field, 10);
|
||||
|
||||
foreach ($list as $key => $value) {
|
||||
$product_two_img = model('product_two_img')->where(['product_id' => $value['id']])->find();
|
||||
$list[$key]['product_two_img'] = $product_two_img['image_url'];
|
||||
}
|
||||
|
||||
$data = [
|
||||
'list' => $list->isEmpty() ? null : $list->items(),
|
||||
'page' => $list->render(),
|
||||
'cid' => $cid
|
||||
];
|
||||
|
||||
$this->assign($data);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function new_logout()
|
||||
{
|
||||
$this->_logout();
|
||||
return $this->redirect('us/customer/index');
|
||||
}
|
||||
|
||||
public function forgetpwd() {
|
||||
$token = $this->request->param('token') ? $this->request->param('token') : '';
|
||||
|
||||
$this->assign('token', $token);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function sendemail($to, $to_name, $subject, $body, $from_email = '', $from_name = 'ORICO') {
|
||||
$email_host = (string) Config::get('email_host');
|
||||
$email_tls = (string) Config::get('email_tls');
|
||||
$email_port = (string) Config::get('email_port');
|
||||
$email_user = (string) Config::get('email_user');
|
||||
$email_pass = (string) Config::get('email_pass');
|
||||
$email_code = (string) Config::get('email_code');
|
||||
$email_replyaddr = (string) Config::get('email_replyaddr');
|
||||
$website_email = (string) Config::get('website_email');
|
||||
|
||||
// Passing `true` enables exceptions
|
||||
$mail = new \mail\PHPMailer\PHPMailer(true);
|
||||
try {
|
||||
//Tell PHPMailer to use SMTP
|
||||
$mail->isSMTP();
|
||||
//$mail->setLanguage('en');
|
||||
//Enable SMTP debugging
|
||||
// 0 = off (for production use)
|
||||
// 1 = client messages
|
||||
// 2 = client and server messages
|
||||
$mail->SMTPDebug = 0;
|
||||
$mail->Host = $email_host;
|
||||
// if your network does not support SMTP over IPv6
|
||||
//Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission
|
||||
$mail->Port = $email_port;
|
||||
$mail->CharSet = strtolower($email_code);
|
||||
$mail->Encoding = 'base64';
|
||||
$mail->SMTPKeepAlive = true;
|
||||
//Set the encryption system to use - ssl (deprecated) or tls
|
||||
$mail->SMTPSecure = strtolower($email_tls);
|
||||
//Whether to use SMTP authentication
|
||||
$mail->SMTPAuth = true;
|
||||
//Username to use for SMTP authentication - use full email address for gmail
|
||||
$mail->Username = $email_user;
|
||||
//Password to use for SMTP authentication
|
||||
$mail->Password = $email_pass;
|
||||
//Set who the message is to be sent from
|
||||
if ($from_email) {
|
||||
$mail->setFrom($from_email, $from_name);
|
||||
} else {
|
||||
$mail->setFrom($email_replyaddr, 'Sender');
|
||||
}
|
||||
//Set an alternative reply-to address
|
||||
if ($website_email) {
|
||||
$mail->addReplyTo($website_email, 'Reply');
|
||||
}
|
||||
//Set who the message is to be sent to
|
||||
$mail->addAddress($to, $to_name);
|
||||
//$mail->addAddress($website_email, 'Recipient');
|
||||
//Set the subject line
|
||||
$mail->Subject = $subject;
|
||||
//Read an HTML message body from an external file, convert referenced images to embedded,
|
||||
//convert HTML into a basic plain-text alternative body
|
||||
$mail->msgHTML($body);
|
||||
//$mail->Body = 'This is the HTML message body <b>in bold!</b>';
|
||||
//Replace the plain text body with one created manually
|
||||
$mail->AltBody = 'This is a plain-text message body';
|
||||
$mail->WordWrap = 60;
|
||||
//send the message, check for errors
|
||||
if (!$mail->send()) {
|
||||
$result = ['code' => -1, 'msg' => 'The email sending failed, try again later. '];
|
||||
} else {
|
||||
$result = ['code' => 200, 'msg' => 'The email sending successful'];
|
||||
}
|
||||
} catch (\mail\PHPMailer\Exception $e) {
|
||||
$result = ['code' => -2, 'msg' => 'The email sending failed, try again later. '];
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
328
app/us/controller/Download.php
Executable file
328
app/us/controller/Download.php
Executable file
@@ -0,0 +1,328 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
|
||||
class Download extends BaseController {
|
||||
|
||||
public function search($id = 0) {
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode');
|
||||
$arg_where = ['a.siteid' => $this->siteid, 'country_code' => $this->country_code];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.app_model', 'a.support_os', 'a.format', 'a.viewcount', 'a.downloadcount', 'a.description', 'a.picture', 'a.tags', 'a.downloadpath', 'a.downloadpath64', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
if (!empty($skeyword)) {
|
||||
$skeyword = trim($skeyword);
|
||||
$arg_where['a.name'] = ['like', '%' . $skeyword . '%'];
|
||||
Config::set('paginate.query', ['skeyword' => $skeyword]); //分页参数
|
||||
}
|
||||
if ($id > 0) {
|
||||
$category = Loader::model('DownloadCategory')->getRow($id);
|
||||
}
|
||||
$dataObject = Loader::model('Download')->getCateDownloadLists($arg_where, $arg_order, $arg_field, 12);
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, true, '下载列表');
|
||||
}
|
||||
$downloadCategory = Loader::model('DownloadCategory')->getList(['siteid' => $this->siteid, 'stat' => 0, 'pid' => 2], ['sort', 'id']);
|
||||
$value['downloadCategoryEn'] = $downloadCategory;
|
||||
$value['skeyword'] = $skeyword;
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = config('download_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('download_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('download_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch('catelists');
|
||||
}
|
||||
|
||||
public function get_filter() {
|
||||
$dl_name = model('download')->where(['stat' => 0, 'country_code' => $this->country_code])->field('name')->select();
|
||||
$data = [
|
||||
'dl_name' => $dl_name,
|
||||
];
|
||||
|
||||
return $this->json(200, 'ok', $data);
|
||||
}
|
||||
|
||||
public function catelists($id = 0) {
|
||||
$arg_where = [
|
||||
'a.siteid' => $this->siteid,
|
||||
'a.country_code' => $this->country_code
|
||||
|
||||
];
|
||||
|
||||
if($this->country_code == 'US'){
|
||||
$arg_where['a.cid'] = '22';
|
||||
}
|
||||
else{
|
||||
$arg_where['a.cid'] = '1';
|
||||
}
|
||||
|
||||
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode,strval');
|
||||
if ($skeyword != '') {
|
||||
$skeyword = trim($skeyword);
|
||||
$search['skeyword'] = $skeyword;
|
||||
$arg_where['a.name'] = ['like', '%' . $search['skeyword'] . '%'];
|
||||
Config::set('paginate.query', ['skeyword' => $skeyword]); //分页参数
|
||||
$value['search'] = $search;
|
||||
}
|
||||
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.app_model', 'a.support_os', 'a.format', 'a.viewcount', 'a.downloadcount', 'a.description', 'a.picture', 'a.tags', 'a.downloadpath', 'a.downloadpath64', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('Download')->getCateDownloadLists($arg_where, $arg_order, $arg_field, 12);
|
||||
//echo \think\Db::table('download')->getLastSql();die;
|
||||
// tiaoshi($dataObject->items());die;
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, true, '下载列表');
|
||||
}
|
||||
|
||||
//echo "<pre>=="; print_r($dataObject->getCollection()->toArray());die;
|
||||
$downloadCategory = Loader::model('DownloadCategory')->getList(['siteid' => $this->siteid, 'stat' => 0, 'pid' => 2, 'country_code' => $this->country_code], ['sort', 'id']);
|
||||
// tiaoshi($downloadCategory);die;
|
||||
$value['downloadCategory'] = $downloadCategory;
|
||||
$value['skeyword'] = '';
|
||||
$this->assign($value);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
$detail = Loader::model('Download')->getRow($id);
|
||||
if (empty($detail)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
//$adddownload = Loader::model('DownloadAddition')->getRowAddition(['aid' => $detail['id']]);
|
||||
$category = Loader::model('DownloadCategory')->getRow($detail['cid']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$prev_detail = Loader::model('Download')->getRow(['id' => ['gt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'asc']);
|
||||
$next_detail = Loader::model('Download')->getRow(['id' => ['lt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'desc']);
|
||||
$value = [
|
||||
'detail' => $detail,
|
||||
//'adddownload' => $adddownload,
|
||||
'category' => $category,
|
||||
'prev_detail' => $prev_detail,
|
||||
'next_detail' => $next_detail,
|
||||
];
|
||||
$value['seo_title'] = $detail['seo_title']? : $detail['name'] . '-' . config('website_seo_title');
|
||||
$value['seo_keyword'] = $detail['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $detail['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->viewcount($id);
|
||||
return $this->fetch();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
public function download($id = 0, $bit = 0) {
|
||||
$id = intval($id);
|
||||
$bit = intval($bit);
|
||||
if ($id > 0) {
|
||||
$detail = Loader::model('Download')->getRow($id);
|
||||
if (empty($detail)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$docDir = request()->server('DOCUMENT_ROOT');
|
||||
$rootDir = request()->root();
|
||||
$directory = $docDir . $rootDir;
|
||||
$downloadpath = explode(',', $detail['downloadpath']);
|
||||
//$downloadpath64 = explode(',', $detail['downloadpath64']);
|
||||
if (empty($downloadpath[$bit])) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$fileinfo = pathinfo($downloadpath[$bit]);
|
||||
$download = $directory . $downloadpath[$bit]; // 文件要下载的地址
|
||||
Loader::model('Download')->updateRow(['downloadcount' => \think\Db::raw('`downloadcount`+1')], ['id' => $id]);
|
||||
|
||||
ob_clean();
|
||||
header('Content-type: application/octet-stream');
|
||||
header('Content-Disposition: attachment; filename=' . $fileinfo['basename']);
|
||||
header('Content-Length: ' . filesize($download));
|
||||
readfile($download);
|
||||
exit();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
public function dlcount($id = 0) {
|
||||
$id = intval($id);
|
||||
if ($id > 0) {
|
||||
$download = Loader::model('Download')->getRow(['id' => $id], ['id', 'downloadcount']);
|
||||
if (empty($download)) {
|
||||
return $this->error('Error');
|
||||
}
|
||||
$download['downloadcount'] = $download['downloadcount'] + 1;
|
||||
$result = $download->save();
|
||||
if ($result) {
|
||||
return $this->success('Download', null, $download['downloadcount']);
|
||||
} else {
|
||||
return $this->error('Download Error');
|
||||
}
|
||||
}
|
||||
return $this->error('Error');
|
||||
}
|
||||
|
||||
public function prodownload($id = 0) {
|
||||
if ($id > 0) {
|
||||
$detail = Loader::model('ProductDl')->getRow($id);
|
||||
if (empty($detail)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$docDir = request()->server('DOCUMENT_ROOT');
|
||||
$rootDir = request()->root();
|
||||
$directory = $docDir . $rootDir;
|
||||
$fileinfo = pathinfo($detail['dl_url']);
|
||||
$download = $directory . $detail['dl_url']; // 文件要下载的地址
|
||||
Loader::model('ProductDl')->updateRow(['dl_count' => \think\Db::raw('`dl_count`+1')], ['id' => $id]);
|
||||
|
||||
ob_clean();
|
||||
header('Content-type: application/octet-stream');
|
||||
header('Content-Disposition: attachment; filename=' . $fileinfo['basename']);
|
||||
header('Content-Length: ' . filesize($download));
|
||||
readfile($download);
|
||||
exit();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
protected function viewcount($id) {
|
||||
$view = Cookie::get('downloadview', 'history'); //print_r($history);exit;
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('Download')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('downloadview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function historydownload($id) {
|
||||
$download = Cookie::get('download', 'history'); //print_r($history);exit;
|
||||
if (isset($download) && !empty($download)) {
|
||||
$download_ids = explode(',', $download);
|
||||
if ($download_ids[0] != $id) {
|
||||
array_unshift($download_ids, $id);
|
||||
$download_ids = array_unique($download_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$download_ids = array_slice($download_ids, 0, $num);
|
||||
while (count($download_ids) > $num) {
|
||||
array_pop($download_ids);
|
||||
}
|
||||
Cookie::set('download', implode(',', $download_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('download', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
}
|
||||
public function catelists_down($id = 0) {
|
||||
//dump($id);die;
|
||||
|
||||
$arg_where = ['a.siteid' => $this->siteid];
|
||||
if ($id > 0) {
|
||||
$arg_where['cid'] = $id;
|
||||
$category = Loader::model('DownloadCategory')->getRow($id);
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
|
||||
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode,strval');
|
||||
if ($skeyword != '') {
|
||||
$skeyword = trim($skeyword);
|
||||
$search['skeyword'] = $skeyword;
|
||||
$arg_where['a.name'] = ['like', '%' . $search['skeyword'] . '%'];
|
||||
Config::set('paginate.query', ['skeyword' => $skeyword]); //分页参数
|
||||
$value['search'] = $search;
|
||||
}
|
||||
|
||||
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.app_model', 'a.support_os', 'a.format', 'a.viewcount', 'a.downloadcount', 'a.description', 'a.picture', 'a.tags', 'a.downloadpath', 'a.downloadpath64', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('Download')->getCateDownloadLists($arg_where, $arg_order, $arg_field, 12);
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, true, 'Download');
|
||||
}
|
||||
$downloadCategory = Loader::model('DownloadCategory')->getList(['siteid' => $this->siteid, 'stat' => 0, 'pid' => 2], ['sort', 'id']);
|
||||
$value['downloadCategory'] = $downloadCategory;
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
$value['skeyword'] = '';
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch($template);
|
||||
}
|
||||
public function index($id = 0) {
|
||||
//dump($id);die;
|
||||
$arg_where = ['a.siteid' => $this->siteid];
|
||||
if ($id > 0) {
|
||||
$arg_where['cid'] = $id;
|
||||
$category = Loader::model('DownloadCategory')->getRow($id);
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.app_model', 'a.support_os', 'a.format', 'a.viewcount', 'a.downloadcount', 'a.description', 'a.picture', 'a.tags', 'a.downloadpath', 'a.downloadpath64', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('Download')->getCateDownloadLists($arg_where, $arg_order, $arg_field, 12);
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, true, '下载列表');
|
||||
}
|
||||
$downloadCategory = Loader::model('DownloadCategory')->getList(['siteid' => $this->siteid, 'stat' => 0, 'pid' => 2], ['sort', 'id']);
|
||||
$value['downloadCategory'] = $downloadCategory;
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
$value['skeyword'] = '';
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch($template);
|
||||
}
|
||||
|
||||
}
|
||||
38
app/us/controller/Email.php
Executable file
38
app/us/controller/Email.php
Executable file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: kingliang
|
||||
* Date: 2020-10-21
|
||||
* Time: 14:57
|
||||
*/
|
||||
|
||||
namespace app\us\controller;
|
||||
use think\Request;
|
||||
use think\Config;
|
||||
use think\Loader;
|
||||
class Email extends BaseController
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->json(404, 'Email not find!!');
|
||||
}
|
||||
$model = Loader::model('Email');
|
||||
$data['ip'] = Request::instance()->ip();
|
||||
$data['createtime'] = time();
|
||||
$chick = $model->chickEmail($data['email']);
|
||||
if($chick==false){
|
||||
return $this->json(500, 'Duplicate mailbox!');
|
||||
}
|
||||
$model = $model->insertRow($data);
|
||||
if ($model) {
|
||||
return $this->json(200, 'Success');
|
||||
} else {
|
||||
return $this->json(500, 'Internal server error');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
241
app/us/controller/Group.php
Executable file
241
app/us/controller/Group.php
Executable file
@@ -0,0 +1,241 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: ORICO
|
||||
* Date: 2018-09-21
|
||||
* Time: 17:36
|
||||
*/
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
|
||||
class Group extends BaseController
|
||||
{
|
||||
public function index(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
public function odm(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function special(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function job(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function policy(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function culture(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function fan(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function charger(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
public function submission(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
public function honor(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function question(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function industry(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function weare(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function wewill(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function vision(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function rdcenter(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
public function search(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function transparent(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
public function headset(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function h_speed(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function decennial(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function ssd(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function oricoindex()
|
||||
{
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function thunderbolt_3(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function stripe(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function series_95(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function series_35(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function pssd(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function backup_treasure(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function backuper(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function report()
|
||||
{
|
||||
if ($this->customer_id <= 0)
|
||||
$this->redirect('/login.html');
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/********20230720 顶部导航栏目************/
|
||||
public function brand(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function product(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function achievement(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
public function fq(){
|
||||
|
||||
$where = ['stat' => 0, 'country_code' => $this->country_code];
|
||||
$order = [
|
||||
'sort' => 'asc',
|
||||
'id' => 'desc'
|
||||
];
|
||||
$fq_list = model('fq')->where($where)->order($order)->paginate(6);
|
||||
// echo model('question')->getLastSql();die;
|
||||
// tiaoshi($question_list->items());die;
|
||||
|
||||
$value = [
|
||||
'fq_list' => $fq_list->isEmpty() ? null : $fq_list->items(),
|
||||
'page' => $fq_list->render(),
|
||||
|
||||
];
|
||||
$this->assign($value);
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function query(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function Contact(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
public function tutorial(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function distributor(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function business(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function introduction(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
|
||||
public function create_report()
|
||||
{
|
||||
if ($this->customer_id <= 0)
|
||||
return $this->json(-100, 'Please log on first');
|
||||
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data))
|
||||
return $this->json(-1, 'Data error ');
|
||||
|
||||
if ($data['product_name'] == '')
|
||||
return $this->json(-2, 'Product name cannot be empty');
|
||||
if ($data['product_model'] == '')
|
||||
return $this->json(-3, 'Product model cannot be empty');
|
||||
if ($data['product_manufacturer'] == '')
|
||||
return $this->json(-4, 'Manufacturer name cannot be empty');
|
||||
// if ($data['buy_source'] == '')
|
||||
// return $this->json(-5, '购买渠道不能为空');
|
||||
|
||||
if ($data['customer_telephone'] != '' && !preg_match("/^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/", $data['customer_telephone']))
|
||||
return $this->json(-6, 'Phone format error ');
|
||||
if ($data['customer_email'] != '' && !preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $data['customer_email']))
|
||||
return $this->json(-7, 'Email Address format error');
|
||||
|
||||
$insert_data = [
|
||||
'customer_id' => $this->customer_id,
|
||||
'product_name' => $data['product_name'],
|
||||
'product_model' => $data['product_model'],
|
||||
'product_manufacturer' => $data['product_manufacturer'],
|
||||
'buy_source' => $data['buy_source'],
|
||||
'product_price' => floatval($data['product_price']),
|
||||
'customer_name' => $data['customer_name'],
|
||||
'customer_email' => $data['customer_email'],
|
||||
'customer_telephone' => $data['customer_telephone'],
|
||||
'description' => $data['description'],
|
||||
'create_time' => time(),
|
||||
];
|
||||
|
||||
$result = model('report')->insert($insert_data);
|
||||
if (!$result)
|
||||
return $this->json(-8, 'Failure to submit');
|
||||
|
||||
return $this->json(200, 'ok');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
113
app/us/controller/Group20190917.php
Executable file
113
app/us/controller/Group20190917.php
Executable file
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: ORICO
|
||||
* Date: 2018-09-21
|
||||
* Time: 17:36
|
||||
*/
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
|
||||
class Group extends BaseController
|
||||
{
|
||||
public function index(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function odm(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function special(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function job(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function policy(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function culture(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function fan(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function charger(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function Contact(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function fq(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function honor(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function industry(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function weare(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function wewill(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function vision(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function rdcenter(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function brand(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function search(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function transparent(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function distributor(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function headset(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function h_speed(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function decennial(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function ssd(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function thunderbolt_3(){
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function stripe(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
public function series_95(){
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
}
|
||||
141
app/us/controller/Index.php
Executable file
141
app/us/controller/Index.php
Executable file
@@ -0,0 +1,141 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\TransDb;
|
||||
class Index extends BaseController {
|
||||
|
||||
public function index() {
|
||||
|
||||
// 如果是手机端进官网
|
||||
if (isMobile()) {
|
||||
if ($_SERVER['HTTP_HOST']=="www.orico.cc" || $_SERVER['HTTP_HOST']=="orico.cc") {
|
||||
return $this->redirect("https://www.orico.cc/usmobile");
|
||||
} else {
|
||||
return $this->redirect('https://www.orico.com.cn/mobile');
|
||||
}
|
||||
}
|
||||
|
||||
//验证上级来源页
|
||||
/*if (!isset($_SERVER['HTTP_REFERER'])) {
|
||||
$domainUrl = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
|
||||
if ($domainUrl== 'www.orico.cc/' || $domainUrl == 'orico.cc/') {
|
||||
|
||||
return $this->redirect("http://www.orico.cc/us/Group/oricoindex");
|
||||
}
|
||||
//return $this->redirect("http://www.orico.cc/us/Group/oricoindex");
|
||||
return $this->fetch('/index');
|
||||
}
|
||||
else{*/
|
||||
$lebel_list = getDifferentProduct("recommend",12);
|
||||
$this->assign('recomment_items',$lebel_list);
|
||||
|
||||
|
||||
$blog_list = getArticleList();
|
||||
$this->assign('blog_items',$blog_list);
|
||||
|
||||
|
||||
$faqData = getFaqList();
|
||||
$this->assign('faqData',$faqData);
|
||||
|
||||
return $this->fetch('/index');
|
||||
//}
|
||||
}
|
||||
|
||||
public function info(){
|
||||
echo "\nstart: ".date("Y-m-d H:i:s")."\n";
|
||||
$TransDb = new TransDb();
|
||||
$TransDb->selectAllStruct("ProductCategory");
|
||||
//$getDb = $TransDb->getkv();
|
||||
echo "\nend :".date("Y-m-d H:i:s")."\n";
|
||||
|
||||
dump($TransDb);
|
||||
// phpinfo();
|
||||
}
|
||||
public function feedback() {
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error('Unknown Error');
|
||||
}
|
||||
|
||||
$data['way'] = isset($data['way']) ? $data['way'] : 'E-mail';
|
||||
//$this->verify_check('yanzhengma', $data['authcode']) || $this->error('Incorrect security code');
|
||||
$this->verify_check($data['authcode'], 'authcode') || $this->error('Incorrect security code');
|
||||
$validaterule = [
|
||||
'name' => 'require',
|
||||
'subject' => 'require',
|
||||
'contact' => 'require',
|
||||
|
||||
];
|
||||
$validatemsg = [
|
||||
'name.require' => 'Name cannot be empty',
|
||||
'subject.require' => 'Theme cannot be empty',
|
||||
'contact.require' => 'Content cannot be empty',
|
||||
|
||||
];
|
||||
if (empty($data['way'])) {
|
||||
return $this->error('Please select the correct contact information');
|
||||
} else {
|
||||
if ($data['way'] == 'E-mail') {
|
||||
$validaterule['contact'] = 'email';
|
||||
$validatemsg['contact.email'] = 'The contact information format is incorrect';
|
||||
}
|
||||
if ($data['way'] == 'tel') {
|
||||
$validaterule['contact'] = ['regex' => '^1[345789]\d{9}$|^([0-9]{3,4}-?)?[0-9]{7,8}$'];
|
||||
$validatemsg['contact.regex'] = 'The contact information format is incorrect';
|
||||
}
|
||||
}
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
|
||||
$referer = isset($data['refer']) ? $data['refer'] : '';
|
||||
$url = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
|
||||
|
||||
$searchFeed = getKeywords($referer);
|
||||
$channel = isset($searchFeed['channel']) ? $searchFeed['channel'] : '';
|
||||
$keyword = isset($searchFeed['search']) ? $searchFeed['search'] : '';
|
||||
|
||||
$fed = visitLog();
|
||||
|
||||
$set = [
|
||||
'feedback_type' => isset($data['feedback_type']) ? $data['feedback_type'] : '',
|
||||
'name' => isset($data['name']) ? $data['name'] : 'Name',
|
||||
'subject' => isset($data['subject']) ? $data['subject'] : '',
|
||||
'content' => isset($data['content']) ? $data['content'] : '',
|
||||
'way' => isset($data['way']) ? $data['way'] : '',
|
||||
'contact' => isset($data['contact']) ? $data['contact'] : '',
|
||||
'order_id' => isset($data['order_id']) ? $data['order_id'] : '',
|
||||
'country' => isset($data['country']) ? $data['country'] : '',
|
||||
'channel' => isset($data['channel']) ? $data['channel'] : '',
|
||||
'addtime' => date('Y-m-d H:i:s'),
|
||||
|
||||
'refer' => $referer,
|
||||
'url' => $url,
|
||||
'channels' => $channel,
|
||||
'keyword' => $keyword,
|
||||
'ip' => $fed['ip'],
|
||||
'state' => $fed['country'],
|
||||
'province' => $fed['province'],
|
||||
'city' => $fed['city'],
|
||||
'drvice' => $fed['drive'],
|
||||
'user_agent' => $fed['system']." ".$fed['brower'],
|
||||
|
||||
];
|
||||
$model = Loader::model('Msgform')->insertRow($set);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success('Success! Wait for administrator to view', url('/'));
|
||||
} else {
|
||||
return $this->error('Operation Failed');
|
||||
}
|
||||
}
|
||||
return $this->result(['code' => false, 'msg' => '未知错误'], false, '未知错误');
|
||||
}
|
||||
|
||||
}
|
||||
123
app/us/controller/Inquiry.php
Executable file
123
app/us/controller/Inquiry.php
Executable file
@@ -0,0 +1,123 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
use think\Session;
|
||||
|
||||
class Inquiry extends BaseController {
|
||||
|
||||
public function inquiry() {
|
||||
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
|
||||
return $this->fetch();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected function viewcount($id) {
|
||||
/*$view = Cookie::get('articleview', 'history'); //print_r($history);exit;
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('Article')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('articleview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}*/
|
||||
}
|
||||
|
||||
protected function historyarticle($id) {
|
||||
/*$article = Cookie::get('article', 'history'); //print_r($history);exit;
|
||||
if (isset($article) && !empty($article)) {
|
||||
$article_ids = explode(',', $article);
|
||||
if ($article_ids[0] != $id) {
|
||||
array_unshift($article_ids, $id);
|
||||
$article_ids = array_unique($article_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$article_ids = array_slice($article_ids, 0, $num);
|
||||
while (count($article_ids) > $num) {
|
||||
array_pop($article_ids);
|
||||
}
|
||||
Cookie::set('article', implode(',', $article_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('article', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}*/
|
||||
}
|
||||
public function create()
|
||||
{
|
||||
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data))
|
||||
return $this->json(403, 'Data error ');
|
||||
|
||||
if ($data['company'] == '')
|
||||
return $this->json(403-2, 'Company name cannot be empty');
|
||||
if ($data['name'] == '' && $data['last_name'])
|
||||
return $this->json(403-3, 'Your name cannot be empty');
|
||||
if ($data['email'] == '')
|
||||
return $this->json(403-4, 'Email cannot be empty');
|
||||
if ($data['country'] == '')
|
||||
return $this->json(403-5, 'Country region cannot be empty');
|
||||
// if ($data['buy_source'] == '')
|
||||
// return $this->json(-5, '购买渠道不能为空');
|
||||
|
||||
/*if ($data['customer_telephone'] != '' && !preg_match("/^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\d{8}$/", $data['customer_telephone']))
|
||||
return $this->json(-6, 'Phone format error ');*/
|
||||
if ($data['email'] != '' && !preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/", $data['email']))
|
||||
return $this->json(403-6, 'Email Address format error');
|
||||
|
||||
$referer = isset($data['refer']) ? $data['refer'] : '';
|
||||
$url = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
|
||||
|
||||
$searchFeed = getKeywords($referer);
|
||||
$channel = isset($searchFeed['channel']) ? $searchFeed['channel'] : '';
|
||||
$keyword = isset($searchFeed['search']) ? $searchFeed['search'] : '';
|
||||
|
||||
$fed = visitLog();
|
||||
|
||||
$insert_data = [
|
||||
'company' => $data['company'],
|
||||
'first_name' => $data['name'],
|
||||
'last_name' => $data['last_name'],
|
||||
'email' => $data['email'],
|
||||
'phone' => trim($data['phone']),
|
||||
'country' => $data['country'],
|
||||
'industry' => isset($data['industry']) ? $data['industry'] : '',
|
||||
'inquiry' => isset($data['inquiry']) ? $data['inquiry'] : '',
|
||||
'interested' => isset($data['interested']) ? $data['interested'] : '',
|
||||
'ip' => get_ip(),
|
||||
'model' => isset($data['spu']) ? $data['spu'] : '',
|
||||
'murl' => $_SERVER["HTTP_REFERER"],
|
||||
'createtime' => date("Y-m-d H:i:s"),
|
||||
'siteid' => $this->siteid,
|
||||
'country_code' => $this->country_code,
|
||||
|
||||
'refer' => $referer,
|
||||
//'url' => $url,
|
||||
'channel' => $channel,
|
||||
'keyword' => $keyword,
|
||||
'ip' => $fed['ip'],
|
||||
'state' => $fed['country'],
|
||||
'province' => $fed['province'],
|
||||
'city' => $fed['city'],
|
||||
'drvice' => $fed['drive'],
|
||||
'user_agent' => $fed['system']." ".$fed['brower'],
|
||||
];
|
||||
|
||||
$result = model('inquiry')->insert($insert_data);
|
||||
if (!$result)
|
||||
return $this->json(201, 'Failure to submit');
|
||||
|
||||
return $this->json(200, 'ok');
|
||||
}
|
||||
|
||||
}
|
||||
96
app/us/controller/Pinglun.php
Executable file
96
app/us/controller/Pinglun.php
Executable file
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
|
||||
class Pinglun extends BaseController {
|
||||
|
||||
public function lists($type = '', $cid = 0) {
|
||||
$arg_where = ['stat' => 0, 'display' => 1];
|
||||
if ($type) {
|
||||
$arg_where['typeid'] = $type;
|
||||
}
|
||||
if ($cid) {
|
||||
$arg_where['content_id'] = $cid;
|
||||
}
|
||||
$arg_order = ['id' => 'desc'];
|
||||
$arg_field = ['*'];
|
||||
$dataObject = Loader::model('Pinglun')->getPageList($arg_where, $arg_order, $arg_field, 12);
|
||||
//header('content-type:text/html;charset=utf-8;');
|
||||
$value['list'] = $dataObject->isEmpty() ? null : $dataObject->items();
|
||||
$value['page'] = $dataObject->render();
|
||||
$value['total'] = $dataObject->total();
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, 'pinglun', true);
|
||||
}
|
||||
$value['cid'] = $cid;
|
||||
$value['type'] = ucfirst($type);
|
||||
$value['seo_title'] = config('article_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('article_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('article_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch('pinglun');
|
||||
}
|
||||
|
||||
public function add() {
|
||||
if (!$this->customer_id) {
|
||||
return $this->result(['code' => false, 'msg' => '请登录后再进行评论'], false, '请登录后再进行评论');
|
||||
}
|
||||
if ($this->request->isPost()) {
|
||||
$row = Loader::model('Pinglun')->getRow(['customer_id' => $this->customer_id, 'stat' => 0], null, ['createtime' => 'desc']);
|
||||
if ($row && $row['id']) {
|
||||
$createtime = strtotime($row['createtime']);
|
||||
if (time() - $createtime < 60) {
|
||||
return $this->result(['code' => false, 'msg' => '您已评论过了请不要重复评论'], false, '您已评论过了请不要重复评论');
|
||||
}
|
||||
}
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error('未知错误');
|
||||
}
|
||||
$validaterule = [
|
||||
'pid' => 'require',
|
||||
'cid' => 'require',
|
||||
'typeid' => 'require',
|
||||
'content' => 'require',
|
||||
];
|
||||
$validatemsg = [
|
||||
'pid.require' => 'p不能为空',
|
||||
'cid.require' => 'c内容为空',
|
||||
'typeid.require' => 'type不能为空',
|
||||
'content.require' => '内容不能为空',
|
||||
];
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
$addtime = date('Y-m-d H:i:s');
|
||||
$txarr = [1, 2, 3, 4, 5];
|
||||
shuffle($txarr);
|
||||
$set = [
|
||||
'customer_id' => $this->customer_id,
|
||||
'cname' => session('customer_auth.firstname'),
|
||||
'typeid' => isset($data['typeid']) ? $data['typeid'] : 'Article',
|
||||
'pid' => isset($data['pid']) ? $data['pid'] : 0,
|
||||
'content_id' => isset($data['cid']) ? $data['cid'] : 0,
|
||||
'content' => $data['content'],
|
||||
'tx' => $txarr[0],
|
||||
'createtime' => $addtime,
|
||||
'lasttime' => $addtime,
|
||||
];
|
||||
$model = Loader::model('Pinglun')->insertRow($set);
|
||||
if ($model && $model->getData('id')) {
|
||||
isset($data['cid']) ? Loader::model('Article')->where(['id' => $data['cid']])->setInc('commentcount') : '';
|
||||
return $this->success('成功!成功!等待管理员的审核后,方可显示', url('/'));
|
||||
} else {
|
||||
return $this->error('操作失败');
|
||||
}
|
||||
}
|
||||
return $this->result(['code' => false, 'msg' => '未知错误'], false, '未知错误');
|
||||
}
|
||||
|
||||
}
|
||||
319
app/us/controller/Product.php
Executable file
319
app/us/controller/Product.php
Executable file
@@ -0,0 +1,319 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
use think\Db;
|
||||
|
||||
class Product extends BaseController {
|
||||
|
||||
public function get_filter() {
|
||||
if ($this->cacheHas('product_filter_us'))
|
||||
{
|
||||
$product_filter = $this->cacheGet('product_filter_us');
|
||||
}
|
||||
else
|
||||
{
|
||||
$product_filter = model('product')->where(['stat' => 0, 'is_show' => 0, 'country_code' => $this->country_code])->field('name, brand_id, keyword')->select();
|
||||
$this->cacheSet('product_filter_us', $product_filter, 86400);
|
||||
}
|
||||
|
||||
$data = [
|
||||
'product_name' => $product_filter,
|
||||
];
|
||||
|
||||
return $this->json(200, 'ok', $data);
|
||||
}
|
||||
|
||||
|
||||
public function lists($id = 0) {
|
||||
$category = Loader::model('ProductCategory')->getRow(['stat' => 0, 'pid' => 0], null, ['id' => 'asc']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$value = [
|
||||
'category' => $category,
|
||||
];
|
||||
$value['seo_title'] = config('product_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('product_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('product_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch('catelists');
|
||||
}
|
||||
|
||||
public function catelists($id = 0) {
|
||||
$arg_where = ['a.siteid' => $this->siteid];
|
||||
if ($id > 0) {
|
||||
$arg_where['cid'] = $id;
|
||||
$category = Loader::model('ProductCategory')->getRow($id);
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
|
||||
// $arg_order = ['a.id' => 'desc'];
|
||||
// $arg_field = ['a.*', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
// $dataObject = Loader::model('Product')->getCateProductLists($arg_where, $arg_order, $arg_field, 12);
|
||||
// $value = [
|
||||
// 'list' => $dataObject->isEmpty() ? null : $dataObject->items(), //$dataObject->getCollection()->toArray()
|
||||
// 'page' => $dataObject->render(),
|
||||
// ];
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
|
||||
|
||||
return $this->fetch($template);
|
||||
}
|
||||
|
||||
public function subcatelists($id = 0) {
|
||||
$arg_where = ['a.siteid' => $this->siteid];
|
||||
if ($id > 0) {
|
||||
$arg_where['cid'] = $id;
|
||||
$category = Loader::model('ProductCategory')->getRow($id);//dump($category);die;
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
$subproductCategory = $this->list_to_tree($this->categoryList, 'id', 'pid', 'child', $id);
|
||||
$value = ['subproductCategory' => $subproductCategory];//dump($subproductCategory);die;
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
|
||||
$result = model('ProductCategory')->where(['pid' => $category['id']])->find();
|
||||
$last_cate = empty($result) ? 1 : 0;
|
||||
$value['last_cate'] = $last_cate;
|
||||
|
||||
$value['pid'] = $id;
|
||||
$value['category'] = $category;
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch($template);
|
||||
}
|
||||
|
||||
public function ajaxcatelists($id = 0) {
|
||||
$arg_where = ['p.stat' => 0, 'c.stat' => 0, 'is_show' => 0, 'p.siteid' => $this->siteid];
|
||||
$id = intval($id);
|
||||
if ($id > 0) {
|
||||
if (0) {
|
||||
$ids = Loader::model('ProductCategory')->getChildIDArray(4);
|
||||
$arg_where['cid'] = ['in', $ids];
|
||||
} else {
|
||||
$arg_where['cid'] = $id;
|
||||
}
|
||||
$category = Loader::model('ProductCategory')->getRow($id);
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$arg_field = ['p.id', 'p.cid', 'p.name', 'p.shortname', 'p.sort', 'p.ishot', 'p.isnew', 'p.recommend', 'p.viewcount', 'p.tags', 'p.description', 'p.picture', 'p.picture_back', 'p.createtime', 'p.createtime', 'c.name' => 'categoryname', 'c.id' => 'categoryid'];
|
||||
$arg_order['p.sort'] = 'asc';
|
||||
$arg_order['p.id'] = 'desc';
|
||||
$dataObject = Loader::model('Product')->getCateProductLists($arg_where, $arg_order, $arg_field, 8);
|
||||
if ($dataObject->isEmpty()) {
|
||||
$value = ['list' => null];
|
||||
} else {
|
||||
$this->assign(['list' => $dataObject->items(), 'category' => $category,]);
|
||||
$value = ['list' => $this->fetch()];
|
||||
}
|
||||
return $this->result($value, true, '分类列表');
|
||||
}
|
||||
|
||||
public function detail($id = 0, $color = '') {
|
||||
// echo $color;die;
|
||||
if ($id > 0) {
|
||||
|
||||
$detail = Loader::model('Product')->where(['stat' => 0, 'is_show' => 0, 'country_code' => $this->country_code, 'id' => $id])->find();
|
||||
//echo "<pre>=="; print_r($detail);die;
|
||||
|
||||
if(empty($detail)){
|
||||
//return exception('该产品已下架,请检查后再操作');
|
||||
return $this->error('该产品已下架,请检查后再操作');
|
||||
}
|
||||
|
||||
$detail['is_collection'] = 0;
|
||||
|
||||
if (empty($detail)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$category = Loader::model('ProductCategory')->getRow($detail['cid']);
|
||||
|
||||
|
||||
$cid = Loader::model('ProductCategory')->getRow($category['pid']);
|
||||
$pid = Loader::model('ProductCategory')->getRow($cid['pid']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$template = $category['tempdetail'];
|
||||
//$prev_detail = Loader::model('Product')->getRow(['id' => ['gt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'asc']);
|
||||
//$next_detail = Loader::model('Product')->getRow(['id' => ['lt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'desc']);
|
||||
$value = [
|
||||
'detail' => $detail,
|
||||
'category' => $category,
|
||||
'pid'=>$pid,
|
||||
'cid'=>$cid
|
||||
//'prev_detail' => $prev_detail,
|
||||
//'next_detail' => $next_detail,
|
||||
];
|
||||
$value['product_attr'] = is_null(json_decode($detail['product_attr'])) ? $detail['product_attr'] : json_decode($detail['product_attr']);
|
||||
|
||||
// echo "<pre>=="; print_r($value);die;
|
||||
$value['product_images'] = Loader::model('ProductImage')->getList(array('product_id' => $detail['id']), ['image_sort' => 'asc', 'id' => 'asc'], ['id', 'product_id', 'image_url', 'image_sort', 'image_desc', 'image_color']);
|
||||
// tiaoshi($value['product_images']);die;
|
||||
$value['product_dls'] = Loader::model('ProductDl')->getList(array('product_id' => $detail['id']), ['dl_sort' => 'asc', 'id' => 'desc'], ['id', 'product_id', 'dl_url', 'dl_sort', 'dl_name', 'dl_type']);
|
||||
// $value['product_questions'] = Loader::model('Question')->getList(array('product' => $detail['id']), ['sort' => 'asc', 'id' => 'asc'], ['id', 'name', 'product', 'sort', 'headline', 'recommend', 'description', 'createtime']);
|
||||
$value['product_relateds'] = Loader::model('Product')->getRelatedProductList(array('pr.product_id' => $detail['id']), ['pr.related_sort' => 'asc', 'pr.id' => 'asc',], ['p.id', 'p.name', 'p.shortname', 'p.picture', 'p.sort', 'p.ishot', 'p.list_bk_img','p.isnew', 'p.recommend', 'p.description','p.brand_id', 'p.createtime', 'pr.id' => 'related_id', 'pr.related_product_id', 'pr.related_sort', 'pr.related_desc']);
|
||||
$value['seo_title'] = $detail['seo_title']? : $detail['name'] . '-' . config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $detail['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $detail['seo_description']? : config('website_seo_description');
|
||||
$value['color'] = $color;
|
||||
//评论数据获取
|
||||
$where = [
|
||||
'product_id' => $detail['id']
|
||||
];
|
||||
|
||||
|
||||
$product_images = [];
|
||||
$attributes = [];
|
||||
|
||||
foreach ($value['product_images'] as $k => $v) {
|
||||
|
||||
//兼容新旧两种版附加图、相册属性及图片
|
||||
if (is_string($v['image_url']) && json_decode($v['image_url'])) {
|
||||
$v['image_url'] = json_decode($v['image_url'], true); //多图Json格式
|
||||
$v['image_color'] = json_decode($v['image_color'], true); //多属性规则: 颜色,尺码,排序等
|
||||
|
||||
if(isset($value['product_attr']) && is_array($value['product_attr'])){
|
||||
foreach($value['product_attr'] as $ka => $attr){
|
||||
$attributes[$attr][] = $v['image_color'][$ka][$attr];
|
||||
}
|
||||
}
|
||||
$product_images[] = $v;
|
||||
|
||||
}
|
||||
//原版, 仅支持颜色属性
|
||||
else{
|
||||
$image_color = $v['image_color'];
|
||||
$pos = strrpos($image_color, '/');
|
||||
$key = substr($image_color, $pos + 1, strpos($image_color, '.') - $pos - 1);
|
||||
$product_images[$key][] = $v;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
foreach($attributes as $attrbute => $attrValue) {
|
||||
$attributes[$attrbute] = array_unique($attrValue);
|
||||
}
|
||||
|
||||
//echo "<pre>++"; print_r($attributes);
|
||||
$value['attributes'] = $attributes;
|
||||
$value['product_images'] = $product_images;
|
||||
|
||||
|
||||
|
||||
$count = db('shopselle')->where($where)->count();
|
||||
$list = db('shopselle')->where($where)->paginate(10,$count);
|
||||
foreach ($list as $k => $v){
|
||||
$v['pics'] = json_decode($v['pics']);
|
||||
$list[$k] = $v;
|
||||
}
|
||||
$page = $list->render();
|
||||
$this->assign('page',$page);
|
||||
$this->assign('list',$list);
|
||||
$this->assign('count',$count);
|
||||
$this->assign($value);
|
||||
$this->viewcount($id);
|
||||
|
||||
$purchase_links = Db::name('product_purchase_links')->alias('links')
|
||||
->field(['links.id', 'platforms.platform', 'links.link'])
|
||||
->join('product_purchase_link_platforms platforms', 'platforms.id=links.platform_id')
|
||||
->where('links.product_id', '=', $id)
|
||||
->where('links.country_code', '=', $this->country_code)
|
||||
->select();
|
||||
$this->assign('purchase_links', $purchase_links);
|
||||
|
||||
return $this->fetch($template);
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
protected function viewcount($id) {
|
||||
$view = Cookie::get('productview', 'history');
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('Product')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('productview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function historyproduct($id) {
|
||||
$product = Cookie::get('product', 'history'); //print_r($history);exit;
|
||||
if (isset($product) && !empty($product)) {
|
||||
$product_ids = explode(',', $product);
|
||||
if ($product_ids[0] != $id) {
|
||||
//array_unshift($product_ids, $id);
|
||||
//$product_ids = array_unique($product_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$product_ids = array_slice($product_ids, 0, $num);
|
||||
while (count($product_ids) > $num) {
|
||||
array_pop($product_ids);
|
||||
}
|
||||
Cookie::set('product', implode(',', $product_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('product', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
}
|
||||
|
||||
/********新品展示 *********/
|
||||
public function new_arrival() {
|
||||
|
||||
$value = Loader::model('Product')->getNewProductLists(array(),['t.sort' => 'asc', 't.id' => 'asc',], ['p.id', 'p.name', 'p.shortname', 'p.picture', 'p.sort', 'p.ishot', 'p.list_bk_img','p.isnew', 'p.recommend', 'p.description','p.brand_id', 'p.createtime', 't.id' => 'category_id', 't.name'=>'category_name', 't.sort']);
|
||||
|
||||
//分类分组
|
||||
$newProduct = array();
|
||||
foreach($value as $key => $item) {
|
||||
$newProduct[$item['category_id']]['category_id'] = $item['category_id'];
|
||||
$newProduct[$item['category_id']]['category_name'] = $item['category_name'];
|
||||
$newProduct[$item['category_id']]['list'][] = $item;
|
||||
}
|
||||
//echo "<pre>---"; print_r($productCategory);die; //echo "<pre>=="; print_r($productCategory);die;
|
||||
$this->assign('newProduct',$newProduct);
|
||||
|
||||
$value['category'] = "New Product";
|
||||
$value['seo_title'] = $value['category']? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $value['category']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $value['category']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
|
||||
return $this->fetch('new');
|
||||
}
|
||||
}
|
||||
56
app/us/controller/Search.php
Executable file
56
app/us/controller/Search.php
Executable file
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\Db;
|
||||
|
||||
class Search extends BaseController {
|
||||
|
||||
public function index() {
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode,strval');
|
||||
|
||||
$search = [];
|
||||
$name_word = '';
|
||||
$brand_word = '';
|
||||
if ($skeyword != '') {
|
||||
$skeyword = trim($skeyword);
|
||||
$search['skeyword'] = $skeyword;
|
||||
|
||||
$pos = strpos($skeyword, '(');
|
||||
if ($pos === false) {
|
||||
$name_word = $brand_word = $skeyword;
|
||||
} else {
|
||||
$name_word = substr($skeyword, 0, $pos);
|
||||
$brand_word = substr($skeyword, $pos+1, -1);
|
||||
}
|
||||
|
||||
$arg_where = [
|
||||
'a.name|a.brand_id|a.keyword|b.sku' => ['like', '%' . $name_word . '%']
|
||||
];
|
||||
|
||||
Config::set('paginate.query', ['skeyword' => $skeyword]);
|
||||
}
|
||||
$arg_where['a.stat'] = 0;
|
||||
// $arg_where['b.stat'] = 0;
|
||||
$arg_where['a.country_code'] = $this->country_code;
|
||||
$arg_where['a.is_show'] = 0;
|
||||
|
||||
$field = ['a.id', 'a.name', 'a.description', 'a.list_bk_img' => 'picture', 'a.createtime','a.brand_id', 'b.sku', "'productdetail'" => 'link'];
|
||||
$dataObject = model('product')->alias('a')->join('product_sku b', 'a.brand_id=b.brand_id', 'LEFT')->field($field)->where($arg_where)->group('a.id')->paginate(12);
|
||||
// echo model('product')->getLastSql();
|
||||
// tiaoshi($dataObject->items());die;
|
||||
$value = [
|
||||
'list' => $dataObject->isEmpty() ? null : $dataObject->items(),
|
||||
'page' => $dataObject->render(),
|
||||
];
|
||||
$value['search'] = $search;
|
||||
$value['name_word'] = $name_word;
|
||||
$value['brand_word'] = $brand_word;
|
||||
$this->assign($value);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
30
app/us/controller/Singlepage.php
Executable file
30
app/us/controller/Singlepage.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
|
||||
class Singlepage extends BaseController {
|
||||
|
||||
public function detail($id = 0, $view = '') {
|
||||
if ($id > 0) {
|
||||
$singlepage = Loader::model('Singlepage')->getRow($id);
|
||||
if (empty($singlepage)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$value['singlepage'] = $singlepage;
|
||||
$value['seo_title'] = $singlepage['seo_title']? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $singlepage['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $singlepage['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
if ($view) {
|
||||
return $this->fetch($view);
|
||||
} else {
|
||||
return $this->fetch();
|
||||
}
|
||||
}
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
|
||||
}
|
||||
68
app/us/controller/Track.php
Executable file
68
app/us/controller/Track.php
Executable file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: ORICO
|
||||
* Date: 2023-08-21
|
||||
* Time: 17:36
|
||||
*/
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
|
||||
class Track extends BaseController
|
||||
{
|
||||
|
||||
|
||||
public function records()
|
||||
{
|
||||
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data))
|
||||
return $this->json(-1, 'Data error ');
|
||||
|
||||
|
||||
$useragent = $data['user_agent'];
|
||||
$ip = get_ip();
|
||||
$address = GetIpLookup($ip);
|
||||
//echo $ip."<pre>=="; print_r($address);die;
|
||||
$url = $data['url'];
|
||||
$keywords =getKeywords($url);
|
||||
|
||||
$arr_url = parse_url($url);
|
||||
$content = pregReplaceImg($data['content'],'https://'.$arr_url['host']);
|
||||
|
||||
$fds = array(
|
||||
"items" => 'ORICO Official',
|
||||
"forum" => $data['forum'],
|
||||
"forum_code" => $data['forum'],
|
||||
"url" => $data['url'],
|
||||
"refer" =>$data['refer'],
|
||||
"channel" => isset($keywords['channel']) ? $keywords['channel'] :'',
|
||||
"channel_type" => isset($keywords['channel']) ?$keywords['channel'] :'',
|
||||
"keyword" => isset($keywords['search']) ?$keywords['search'] :'',
|
||||
"start_time" => date("y-m-d H:i:s"),
|
||||
"ip" => $ip,
|
||||
"country" => isset($address['country']) ? $address['country'] :'',
|
||||
"province" => isset($address['province']) ? $address['province'] :'',
|
||||
"city" => isset($address['city']) ? $address['city'] :'',
|
||||
"content" => $content,
|
||||
"drive" => $data['drive'],
|
||||
"event_type" => $data['event_type'],
|
||||
"system" => getOs($useragent),
|
||||
"brower" => getBroswer($useragent),
|
||||
|
||||
);
|
||||
//echo "<pre>=="; print_r($fds);die;
|
||||
|
||||
$feeds = http_build_query($fds);
|
||||
$result = CurlRequest('https://producer.datamaster.cc/api/v1/action_logs/send', $feeds);
|
||||
$res = json_decode($result, true);
|
||||
return $this->json(200, 'ok');
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
142
app/us/controller/User.php
Executable file
142
app/us/controller/User.php
Executable file
@@ -0,0 +1,142 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
use think\Config;
|
||||
use think\Session;
|
||||
|
||||
class User extends BaseController {
|
||||
|
||||
// 初始化
|
||||
protected function _initialize() {
|
||||
parent::_initialize();
|
||||
if ($this->customer_id <= 0) {
|
||||
abort(redirect(url('/login')));
|
||||
}
|
||||
}
|
||||
|
||||
public function index() {
|
||||
$row = Loader::model('Customer')->getRow(['id' => $this->customer_id]);
|
||||
if (empty($row)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
$value['hangye'] = (array) Config::get('website_hangye');
|
||||
$value['zhiye'] = (array) Config::get('website_zhiye');
|
||||
$value['customer'] = $row;
|
||||
$this->assign($value);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function update() {
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
// //验证规则
|
||||
// $validaterule = ['birthday' => 'require|date',];
|
||||
// //验证提示信息
|
||||
// $validatemsg = ['birthday.date' => '生日不是日期格式',];
|
||||
// $valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
// if (true !== $valid_result) {
|
||||
// // 验证失败 输出错误信息
|
||||
// return $this->error($valid_result);
|
||||
// }
|
||||
$data['id'] = $this->customer_id;
|
||||
$model = Loader::model('Customer')->updateRow($data);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success(Lang::get('operation successed'));
|
||||
} else {
|
||||
return $this->error(Lang::get('operation failed'));
|
||||
}
|
||||
}
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
|
||||
public function resetpwd() {
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
//验证规则
|
||||
$validaterule = [
|
||||
'password' => 'require|min:6|max:32',
|
||||
'repassword' => 'require|confirm:password',
|
||||
];
|
||||
//验证提示信息
|
||||
$validatemsg = [
|
||||
'password.require' => '密码不能为空',
|
||||
'password.min' => '密码不少于6个字符',
|
||||
'password.max' => '密码不多于32个字符',
|
||||
'repassword.require' => '确认密码不能为空',
|
||||
'repassword.confirm' => '两次密码不相符',
|
||||
];
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
$row = Loader::model('Customer')->getRow(['id' => $this->customer_id]);
|
||||
if (empty($row)) {
|
||||
return $this->error('数据有误,请检查后再操作');
|
||||
}
|
||||
$data['id'] = $this->customer_id;
|
||||
$model = Loader::model('Customer')->updatePassword($data);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success('修改密码成功');
|
||||
}
|
||||
}
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
|
||||
public function resetemail() {
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
if (empty($data) || !is_array($data)) {
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
//验证规则
|
||||
$validaterule = ['email' => 'email|unique:customer,email',];
|
||||
//验证提示信息
|
||||
$validatemsg = [
|
||||
'email.email' => '邮箱格式错误',
|
||||
'email.unique' => '邮箱已经被使用',
|
||||
];
|
||||
$valid_result = $this->validate($data, $validaterule, $validatemsg);
|
||||
if (true !== $valid_result) {
|
||||
// 验证失败 输出错误信息
|
||||
return $this->error($valid_result);
|
||||
}
|
||||
$row = Loader::model('Customer')->getRow(['id' => $this->customer_id]);
|
||||
if (empty($row)) {
|
||||
return $this->error('数据有误,请检查后再操作');
|
||||
}
|
||||
$model = Loader::model('Customer')->update(['email' => $data['email'], 'id' => $this->customer_id]);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success('修改邮箱成功');
|
||||
}
|
||||
}
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
|
||||
public function resettx() {
|
||||
if ($this->request->isPost()) {
|
||||
$data = $this->request->post();
|
||||
$txarr = range(0, 5);
|
||||
shuffle($txarr);
|
||||
$data['picture'] = '/uploads/user/ns' . $txarr[0] . '.jpg';
|
||||
$data['id'] = $this->customer_id;
|
||||
$model = Loader::model('Customer')->updateRow($data);
|
||||
if ($model && $model->getData('id')) {
|
||||
return $this->success(Lang::get('operation successed'), null, ['picture' => $data['picture']]);
|
||||
} else {
|
||||
return $this->error(Lang::get('operation failed'));
|
||||
}
|
||||
}
|
||||
return $this->error(Lang::get('incorrect operation'));
|
||||
}
|
||||
|
||||
}
|
||||
153
app/us/controller/Video.php
Executable file
153
app/us/controller/Video.php
Executable file
@@ -0,0 +1,153 @@
|
||||
<?php
|
||||
|
||||
namespace app\us\controller;
|
||||
|
||||
use think\Loader;
|
||||
use think\Cookie;
|
||||
use think\Config;
|
||||
|
||||
class Video extends BaseController {
|
||||
|
||||
public function lists() {
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode');
|
||||
$arg_where = ['a.siteid' => $this->siteid, 'country_code' => $this->country_code, 'isshow' => 1, 'stat' => 0];
|
||||
|
||||
if (!empty($skeyword)) {
|
||||
$skeyword = trim($skeyword);
|
||||
$arg_where['a.name'] = ['like', '%' . $skeyword . '%'];
|
||||
Config::set('paginate.query', ['skeyword' => $skeyword]); //分页参数
|
||||
}
|
||||
|
||||
$videoCategory = Loader::model('VideoCategory')->getList($arg_where, ['sort', 'id'], ['id', 'pid', 'haschild', 'name', 'shortname', 'description', 'sort', 'isshow', 'recommend', 'picture', 'image1', 'image2', 'classtype', 'url']);
|
||||
$value = [
|
||||
'videoCategory' => $videoCategory,
|
||||
];
|
||||
|
||||
//echo \think\Db::table('VideoCategory')->getLastSql();die;
|
||||
|
||||
$value['seo_title'] = config('video_seo_title')? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = config('video_seo_keyword')? : config('website_seo_keyword');
|
||||
$value['seo_description'] = config('video_seo_description')? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
public function catelists($id = 0) {
|
||||
$arg_where = ['a.siteid' => $this->siteid, 'a.country_code' => $this->country_code];
|
||||
$id = intval($id);
|
||||
if ($id > 0) {
|
||||
$category = Loader::model('VideoCategory')->getRow($id);
|
||||
if ($category['haschild']) {
|
||||
$ids = Loader::model('VideoCategory')->getChildIDArray($id);
|
||||
$arg_where['cid'] = ['in', $ids];
|
||||
} else {
|
||||
$arg_where['cid'] = $id;
|
||||
}
|
||||
}
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
unset($category['siteid']);
|
||||
$value['category'] = $category;
|
||||
|
||||
$skeyword = $this->request->get('skeyword', '', 'urldecode,strval');
|
||||
if ($skeyword != '') {
|
||||
$skeyword = trim($skeyword);
|
||||
$search['skeyword'] = $skeyword;
|
||||
$arg_where['a.name'] = ['like', '%' . $search['skeyword'] . '%'];
|
||||
Config::set('paginate.query', ['skeyword' => $skeyword]); //分页参数
|
||||
$value['search'] = $search;
|
||||
}
|
||||
|
||||
|
||||
switch ($category['classtype']) {
|
||||
case 2:
|
||||
$template = $category['templist'];
|
||||
$arg_order = ['a.id' => 'desc'];
|
||||
$arg_field = ['a.id', 'a.cid', 'a.name', 'a.sort', 'a.headline', 'a.ishot', 'a.recommend', 'a.viewcount', 'a.videopath', 'a.videourl', 'a.description', 'a.picture', 'a.createtime', 'c.id' => 'categoryid', 'c.name' => 'categoryname'];
|
||||
$dataObject = Loader::model('Video')->getCateVideoLists($arg_where, $arg_order, $arg_field, 10);
|
||||
$value['list'] = $dataObject->isEmpty() ? null : $dataObject->items();
|
||||
$value['page'] = $dataObject->render();
|
||||
if ($this->request->isAjax()) {
|
||||
return $this->result($value, true, '视频列表');
|
||||
}
|
||||
$videoCategory = Loader::model('VideoCategory')->getList(['siteid' => $this->siteid, 'isshow' => 1, 'stat' => 0, 'country_code' => $this->country_code], ['sort', 'id'], ['id', 'pid', 'haschild', 'name', 'shortname', 'description', 'sort', 'isshow', 'recommend', 'picture', 'image1', 'image2', 'classtype', 'url']);
|
||||
|
||||
//echo \think\Db::table('VideoCategory')->getLastSql();die;
|
||||
|
||||
$value['videoCategory'] = $videoCategory;
|
||||
break;
|
||||
case 3:
|
||||
header('location:' . $category['url']);
|
||||
exit;
|
||||
break;
|
||||
default:
|
||||
$template = $category['tempindex'];
|
||||
break;
|
||||
}
|
||||
$value['seo_title'] = $category['seo_title']? : config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $category['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $category['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
return $this->fetch($template);
|
||||
}
|
||||
|
||||
public function detail($id = 0) {
|
||||
if ($id > 0) {
|
||||
$detail = Loader::model('Video')->getRow($id);
|
||||
if (empty($detail)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
//$addvideo = Loader::model('VideoAddition')->getRowAddition(['aid' => $detail['id']]);
|
||||
$category = Loader::model('VideoCategory')->getRow($detail['cid']);
|
||||
if (empty($category)) {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
//$prev_detail = Loader::model('Video')->getRow(['id' => ['gt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'asc']);
|
||||
//$next_detail = Loader::model('Video')->getRow(['id' => ['lt', $id], 'cid' => $category['id'], 'stat' => 0], ['id', 'name'], ['id' => 'desc']);
|
||||
$value = [
|
||||
'detail' => $detail,
|
||||
//'addvideo' => $addvideo,
|
||||
'category' => $category,
|
||||
//'prev_detail' => $prev_detail,
|
||||
//'next_detail' => $next_detail,
|
||||
];
|
||||
$value['seo_title'] = $detail['seo_title']? : $detail['name'] . '-' . config('website_seo_title_us');
|
||||
$value['seo_keyword'] = $detail['seo_keyword']? : config('website_seo_keyword');
|
||||
$value['seo_description'] = $detail['seo_description']? : config('website_seo_description');
|
||||
$this->assign($value);
|
||||
$this->viewcount($id);
|
||||
return $this->fetch();
|
||||
} else {
|
||||
return exception('数据有误,请检查后再操作');
|
||||
}
|
||||
}
|
||||
|
||||
protected function viewcount($id) {
|
||||
$view = Cookie::get('videoview', 'history'); //print_r($history);exit;
|
||||
if (empty($view) || $view != $id) {
|
||||
Loader::model('Video')->where(['id' => $id])->setInc('viewcount');
|
||||
Cookie::set('videoview', $id, ['prefix' => 'history', 'expire' => 3600]);
|
||||
}
|
||||
}
|
||||
|
||||
protected function historyvideo($id) {
|
||||
$video = Cookie::get('video', 'history'); //print_r($history);exit;
|
||||
if (isset($video) && !empty($video)) {
|
||||
$video_ids = explode(',', $video);
|
||||
if ($video_ids[0] != $id) {
|
||||
array_unshift($video_ids, $id);
|
||||
$video_ids = array_unique($video_ids);
|
||||
$num = Config::get('history_number') > 0 ? Config::get('history_number') : 10;
|
||||
//$video_ids = array_slice($video_ids, 0, $num);
|
||||
while (count($video_ids) > $num) {
|
||||
array_pop($video_ids);
|
||||
}
|
||||
Cookie::set('video', implode(',', $video_ids), ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
} else {
|
||||
Cookie::set('video', $id, ['prefix' => 'history', 'setcookie' => true, 'expire' => 3600 * 24 * 30]);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
1
app/us/google8b4b3d046217bfe3 (1).html
Executable file
1
app/us/google8b4b3d046217bfe3 (1).html
Executable file
@@ -0,0 +1 @@
|
||||
google-site-verification: google8b4b3d046217bfe3.html
|
||||
15
app/us/tags.php
Executable file
15
app/us/tags.php
Executable file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 行为扩展
|
||||
*/
|
||||
return [
|
||||
|
||||
'module_init' => [
|
||||
'app\\common\\behavior\\SystemConfig',
|
||||
],
|
||||
'action_begin' => [
|
||||
],
|
||||
'user_behavior' => [
|
||||
]
|
||||
];
|
||||
220
app/us/view/agents/agents.phtml
Executable file
220
app/us/view/agents/agents.phtml
Executable file
@@ -0,0 +1,220 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||||
</head>
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
|
||||
<!-- 详情页 s -->
|
||||
<div class="apply_content" style="margin-top: 80px;">
|
||||
<div class="form_title">Become a Distributor</div>
|
||||
<div class="apply_form">
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Company name</p>
|
||||
<input class='companyName' type="text" placeholder="Legal business name" name="company" id="company" />
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Official website</p>
|
||||
<input type="text" placeholder="Please paste the URL" name="url" class="url" id="url" />
|
||||
</div>
|
||||
<div class="name clearfix" style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Your name</p>
|
||||
<div style="margin-right: 1.25rem;">
|
||||
<input type="text" class="first" placeholder="First name" name="firstname" id="firstname"/>
|
||||
</div>
|
||||
<div>
|
||||
<input type="text" class="last" placeholder="Last name" name="lastname" id="lastname"/>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Email</p>
|
||||
<input type="email" class="email" name="email" id="email"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Phone number</p>
|
||||
<input type="text" class="phone" name="phone" id="phone"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Products you are interested in?</p>
|
||||
<div class="check_boxs">
|
||||
<ul>
|
||||
<li><input type="checkbox" name="interested" value="Computer Peripheral">Computer Peripheral</li>
|
||||
<li><input type="checkbox" name="interested" value="Phone Peripheral">Phone Peripheral</li>
|
||||
<li><input type="checkbox" name="interested" value="Electronics">Electronics</li>
|
||||
<li><input type="checkbox" name="interested" value="SSD">SSD</li>
|
||||
<li><input type="checkbox" name="interested" value="Entertainment Series">Entertainment Series</li>
|
||||
<li><input type="checkbox" name="interested" value="Smart Life Series">Smart Life Series</li>
|
||||
<li><input type="checkbox" name="interested" value="Outdoor Power Station">Outdoor Power Station</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Are you willing to keep inventory?</p>
|
||||
<div class="radio_box">
|
||||
<ul>
|
||||
<li><input type="radio" name="inventory" value="YES" checked>YES</li>
|
||||
<li><input type="radio" name="inventory" value="NO">NO</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Distribution region</p>
|
||||
<input type="text" class="region" placeholder="Country,or area within a country" name="distribution" id="distribution"/>
|
||||
</div>
|
||||
<div class="submit_btn">SUBMIT</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 详情页 e -->
|
||||
<script>
|
||||
// 输入框失去焦点
|
||||
$('.companyName').blur(function(){
|
||||
if($('.companyName').val() != ''){
|
||||
$('.companyName').removeClass('error');
|
||||
$('.companyName').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.first').blur(function(){
|
||||
if($('.first').val() != ''){
|
||||
$('.first').removeClass('error');
|
||||
$('.first').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.first').addClass('error');
|
||||
$('.first').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.last').blur(function(){
|
||||
if($('.last').val() != ''){
|
||||
$('.last').removeClass('error');
|
||||
$('.last').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.last').addClass('error');
|
||||
$('.last').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.email').blur(function(){
|
||||
if($('.email').val() != ''){
|
||||
$('.email').removeClass('error');
|
||||
$('.email').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.region').blur(function(){
|
||||
if($('.region').val() != ''){
|
||||
$('.region').removeClass('error');
|
||||
$('.region').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.region').addClass('error');
|
||||
$('.region').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
// 提交表单
|
||||
$('.submit_btn').click(function(){
|
||||
var companyName = $('.companyName').val();
|
||||
var firstName = $('.first').val();
|
||||
var lastName = $('.last').val();
|
||||
var email = $('.email').val();
|
||||
var region = $('.region').val();
|
||||
|
||||
var checkItem = new Array();
|
||||
|
||||
$("input[name='interested']:checked").each(function() {
|
||||
checkItem.push($(this).val());// 在数组中追加元素
|
||||
});
|
||||
var interesteds = checkItem.join(",");
|
||||
|
||||
var inventory = $("input[name='inventory']:checked").val();
|
||||
|
||||
|
||||
if(companyName == ''){
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}
|
||||
if(firstName == ''){
|
||||
$('.first').addClass('error');
|
||||
$('.first').next('span').removeClass('hide');
|
||||
}
|
||||
if(lastName == ''){
|
||||
$('.last').addClass('error');
|
||||
$('.last').next('span').removeClass('hide');
|
||||
}
|
||||
if(email == ''){
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
}
|
||||
if(region == ''){
|
||||
$('.region').addClass('error');
|
||||
$('.region').next('span').removeClass('hide');
|
||||
}
|
||||
|
||||
try {
|
||||
k_win_ref = window.parent.document.referrer;
|
||||
} catch(e) {
|
||||
k_win_ref = '';
|
||||
};
|
||||
//点击创建申请块
|
||||
if(companyName && firstName && lastName && email && region) {
|
||||
var type = 'Agent';
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "create",
|
||||
data: {'company':companyName, 'email':email,'country':region,'name':firstName,'last_name':lastName,'phone':$('.phone').val(),'interested':interesteds,'is_inventory':inventory,'uri':$('.url').val(),'refer':k_win_ref},
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
if(data.code == 200) {
|
||||
//alert(data.msg);
|
||||
//window.location.href='/us/agents/agents.html';
|
||||
location.href = '/us/Group/submission.html';
|
||||
}
|
||||
else{
|
||||
if(data.code == 403 || data.code == 201) {
|
||||
alert(data.msg);
|
||||
}
|
||||
else{
|
||||
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.csunbmit{height: 35px;margin-top: 10px;margin-bottom: 5px;}
|
||||
.submitBtn{width: 75px;height: 30px;line-height: 26px;background-color: #339b53;text-align: center;display: block; color: #FFFFFF;font-size: 12px;border-radius: 6px;float: left;}
|
||||
.cli{border-bottom: 1px dashed #ccc;text-align: left;font-size: 12px;}
|
||||
.ccontent{width: 98%;padding: 10px; background: #f6f9fb;border:1px solid #ccc;margin-bottom: 10px}
|
||||
</style>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
64
app/us/view/antifake/anti_fake_result.phtml
Executable file
64
app/us/view/antifake/anti_fake_result.phtml
Executable 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">We’re 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">We’re 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>
|
||||
77
app/us/view/antifake/fake_result.phtml
Executable file
77
app/us/view/antifake/fake_result.phtml
Executable 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 you,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="bg-white overflow-f text-l font-11 f-black fw_result_title"><div class="fw_l">Dear Customer:We’re 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">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>
|
||||
<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 Customer:We’re 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
208
app/us/view/antifake/index.phtml
Executable 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>
|
||||
140
app/us/view/antifake/index20191122.phtml
Executable file
140
app/us/view/antifake/index20191122.phtml
Executable 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>
|
||||
89
app/us/view/antifake/sn_result.phtml
Executable file
89
app/us/view/antifake/sn_result.phtml
Executable 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: We’re 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>
|
||||
109
app/us/view/article/catelists.phtml
Executable file
109
app/us/view/article/catelists.phtml
Executable file
@@ -0,0 +1,109 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<!--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" /}
|
||||
<!--top End-->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><img src="/frontend/weben/images/eng-blog.jpg"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<div class="swt-Container">
|
||||
<div class="news-vertu">
|
||||
<div class="tab">
|
||||
<?php if(!empty($cate_list)): ?>
|
||||
<?php foreach ($cate_list as $key => $value): ?>
|
||||
<a href="__ORICOROOT__/article/category/<?php echo $value['id'] ?>.html" class="<?php if ($category['id'] == $value['id']): ?> on <?php endif; ?>"><?php echo $value['name']; ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="search_box">
|
||||
<i class="search_icon"></i>
|
||||
<input type="text" placeholder="Search" class="search" id="article-search-in" value="">
|
||||
</div>
|
||||
<div class="content">
|
||||
<?php if ($list):?>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<div class="blog_list ">
|
||||
<?php foreach ($list as $detail):?>
|
||||
<?php
|
||||
if($detail['jump_link'] == ''){
|
||||
$alink = "__ORICOROOT__/article/detail/".$detail['id'].".html";
|
||||
}
|
||||
else{
|
||||
$alink = $detail['jump_link'];
|
||||
}
|
||||
?>
|
||||
<div class="clearfix">
|
||||
<a href="<?php echo $alink;?>">
|
||||
<img src="<?php echo getImage($detail['picture'], 1500, 1000, 6); ?>">
|
||||
<h3><?php echo $detail['name']; ?></h3>
|
||||
<p><?php echo msubstr($detail['description'], 0, 200); ?></p>
|
||||
</a>
|
||||
<span class="blue"><?php echo date("M j, Y",$detail['createtime']); ?></span>
|
||||
</div>
|
||||
<?php endforeach;?>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<?php else:?>
|
||||
<div class="clearfix"> No Result!</div>
|
||||
<?php endif;?>
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
|
||||
//新闻搜索
|
||||
var article_search_input = $("#article-search-in");
|
||||
|
||||
$(article_search_input).on("keyup", function(e){
|
||||
$("#article-search-in").keyup(function(event) {
|
||||
if (event && event.keyCode === 13) {
|
||||
var keywords = $("#article-search-in").val();
|
||||
var href = "?skeyword=" + encodeURIComponent(keywords);
|
||||
location.href = href;
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
191
app/us/view/article/catelists1.phtml
Executable file
191
app/us/view/article/catelists1.phtml
Executable file
@@ -0,0 +1,191 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>News-ORICO Global Site</title>
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<?php if ($category['picture']): ?>
|
||||
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><img src="<?php echo getImage($category['picture']); ?>"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<div class="swt-Container">
|
||||
<div class="news-vertu">
|
||||
<div class="tab">
|
||||
<?php if (!empty($cate_list)): ?>
|
||||
<?php foreach ($cate_list as $key => $value): ?>
|
||||
<a href="/us/article/category/<?php echo $value['id'] ?>.html" class="<?php if ($category['id'] == $value['id']): ?> on <?php endif; ?>"><?php echo $value['name']; ?><span></span></a>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 轮播 e -->
|
||||
<?php endif; ?>
|
||||
<!-- 新闻列表 s -->
|
||||
<div class="new">
|
||||
<div class="swt-Container">
|
||||
<ul class="newfl">
|
||||
<?php
|
||||
//$articles = getDifferentArticle('ishot', 3, ['cid' => 1]);
|
||||
if (0):foreach ($articles as $detail):
|
||||
?>
|
||||
<li>
|
||||
<div class="xwimg"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><img src="<?php echo getImage($detail['picture'], 951, 459, 6); ?>"></a></div>
|
||||
<div class="xwtit"><a href="/us<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
<div class="xname"><?php echo $detail['writer']; ?> published <?php echo getHMStime($detail['createtime'], time()); ?>/key words: <?php echo $detail['tags']; ?></div>
|
||||
<div class="xwcon"><?php echo msubstr($detail['description'], 0, 200); ?></div>
|
||||
|
||||
<div class="detail"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><i></i>Detailed reading</a></div>
|
||||
<div class="fx">
|
||||
<a href="#"><i class="f1"></i>Share</a>
|
||||
<a href="javascript:void(0);" class="addzan" data-id="<?php echo $detail['id']; ?>"><i class="f2"></i>Like(<?php echo $detail['zancount']; ?>)</a>
|
||||
<a href="<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>#ccount"><i class="f3"></i>Comment
|
||||
(<?php echo $detail['commentcount']; ?>)</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php if ($list): foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<div style="width:25%; float: left;"> <div class="xwimg"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><img src="<?php echo getImage($detail['picture']); ?>"></a></div></div>
|
||||
<div style="width:72%; float: right;">
|
||||
<div class="xwtit"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
|
||||
<div class="xname"><?php echo $detail['writer']; ?> <?php echo getHMStime($detail['createtime'], time()); ?></div>
|
||||
<!-- <div class="detail">对于注重便携HiFi听音发烧友来说,相信提到“飞傲”这个品牌,我想都不会感到陌生,飞傲音频在圈子里一直有着不错口碑,性能方面拥有绝对的优势。近日,飞傲家族中又迎...</div>-->
|
||||
<div class="detail"><?php echo msubstr($detail['description'], 0, 150);?></div>
|
||||
|
||||
<div class="fx">
|
||||
<a href="#"><i class="f1"></i>Share</a>
|
||||
<a href="javascript:void(0);" class="addzan" data-id="<?php echo $detail['id']; ?>"><i class="f2"></i>Like(<?php echo $detail['zancount']; ?>)</a>
|
||||
<a href="/us<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>#ccount"><i class="f3"></i>Comment (<?php echo $detail['commentcount']; ?>)</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<script>
|
||||
$(function() {
|
||||
$(".newfl .addzan").click(function(event) {
|
||||
event.preventDefault();
|
||||
var love = $(this);
|
||||
var id = love.data("id"); //对应id
|
||||
if (!love.data("zan")) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
url: "<?php echo url('/us/article/zan'); ?>",
|
||||
data: {id: id},
|
||||
cache: false, //不缓存此页面
|
||||
success: function(data) {
|
||||
//console.log(data);
|
||||
if (data.code) {
|
||||
love.data("zan", true);
|
||||
love.html('<i class="f2"></i>Like(' + data.data + ')');
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
alert('You have liked it!');
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
$pingluns = getDifferentPinglun('ishot', 8);
|
||||
if ($pingluns):
|
||||
?>
|
||||
<div class="newrh">
|
||||
<div class="plun">Wonderful Reviews</div>
|
||||
<ul class="pllist">
|
||||
<?php foreach ($pingluns as $pinglun): ?>
|
||||
<li>
|
||||
<a href="<?php echo url('us/pinglun/lists', ['type' => strtolower($pinglun['typeid']), 'cid' => $pinglun['content_id']]); ?>">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns<?php echo $pinglun['tx']; ?>.jpg"></div>
|
||||
<div class="peo1"><?php echo $pinglun['cname']; ?></div>
|
||||
<div class="peo2"><?php echo $pinglun['createtime']; ?></div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1"><?php echo msubstr($pinglun['content'], 0, 200); ?></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
<script>
|
||||
$(function(){
|
||||
$(".news-vertu .tab a").click(function(){
|
||||
$(this).addClass('on').siblings().removeClass('on');
|
||||
var index = $(this).index();
|
||||
number = index;
|
||||
$('.news-vertu .content li').hide();
|
||||
$('.news-vertu .content li:eq('+index+')').show();
|
||||
});
|
||||
|
||||
var auto = 1; //等于1则自动切换,其他任意数字则不自动切换
|
||||
if(auto ==1){
|
||||
var number = 0;
|
||||
var maxNumber = $('.news-vertu .tab a').length;
|
||||
function autotab(){
|
||||
number++;
|
||||
number == maxNumber? number = 0 : number;
|
||||
$('.news-vertu .tab a:eq('+number+')').addClass('on').siblings().removeClass('on');
|
||||
$('.news-vertu .content ul li:eq('+number+')').show().siblings().hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
164
app/us/view/article/catelists20191121.phtml
Executable file
164
app/us/view/article/catelists20191121.phtml
Executable file
@@ -0,0 +1,164 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>News-ORICO Global Site</title>
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<?php if ($category['picture']): ?>
|
||||
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><a href="<?php echo url_rewrite('article', ['id' => $category['id']]); ?>"><img src="<?php echo getImage($category['picture']); ?>"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<div class="swt-Container">
|
||||
<div class="news-vertu">
|
||||
<div class="tab">
|
||||
<a href="/article/category/1.html" class="<?php if ($category['id'] == 1): ?> on <?php endif; ?>">News<span></span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 轮播 e -->
|
||||
<?php endif; ?>
|
||||
<!-- 新闻列表 s -->
|
||||
<div class="new">
|
||||
<div class="swt-Container">
|
||||
<ul class="newfl">
|
||||
<?php
|
||||
//$articles = getDifferentArticle('ishot', 3, ['cid' => 1]);
|
||||
if (0):foreach ($articles as $detail):
|
||||
?>
|
||||
<li>
|
||||
<div class="xwimg"><a href="/us<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><img src="<?php echo getImage($detail['picture'], 951, 459, 6); ?>"></a></div>
|
||||
<div class="xwtit"><a href="/us<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
<div class="xname"><?php echo $detail['writer']; ?> published <?php echo getHMStime($detail['createtime'], time()); ?>/key words: <?php echo $detail['tags']; ?></div>
|
||||
<div class="xwcon"><?php echo msubstr($detail['description'], 0, 200); ?></div>
|
||||
|
||||
<div class="detail"><a href="/us<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><i></i>Detailed reading</a></div>
|
||||
<div class="fx">
|
||||
<a href="#"><i class="f1"></i>Share</a>
|
||||
<a href="javascript:void(0);" class="addzan" data-id="<?php echo $detail['id']; ?>"><i class="f2"></i>Like(<?php echo $detail['zancount']; ?>)</a>
|
||||
<a href="<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>#ccount"><i class="f3"></i>Comment
|
||||
(<?php echo $detail['commentcount']; ?>)</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php if ($list): foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<div style="width:25%; float: left;"> <div class="xwimg"><a href="<?php echo url_rewrite('us/articledetail', array('id' => $detail['id'])); ?>"><img src="<?php echo getImage($detail['picture']); ?>"></a></div></div>
|
||||
<div style="width:72%; float: right;">
|
||||
<div class="xwtit"><a href="/us<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
|
||||
<div class="xname"><?php echo $detail['writer']; ?> <?php echo getHMStime($detail['createtime'], time()); ?></div>
|
||||
<!-- <div class="detail">对于注重便携HiFi听音发烧友来说,相信提到“飞傲”这个品牌,我想都不会感到陌生,飞傲音频在圈子里一直有着不错口碑,性能方面拥有绝对的优势。近日,飞傲家族中又迎...</div>-->
|
||||
|
||||
|
||||
<div class="fx">
|
||||
<a href="#"><i class="f1"></i>Share</a>
|
||||
<a href="javascript:void(0);" class="addzan" data-id="<?php echo $detail['id']; ?>"><i class="f2"></i>Like(<?php echo $detail['zancount']; ?>)</a>
|
||||
<a href="/us<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>#ccount"><i class="f3"></i>Comment (<?php echo $detail['commentcount']; ?>)</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<script>
|
||||
$(function() {
|
||||
$(".newfl .addzan").click(function(event) {
|
||||
event.preventDefault();
|
||||
var love = $(this);
|
||||
var id = love.data("id"); //对应id
|
||||
if (!love.data("zan")) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
url: "<?php echo url('/us/article/zan'); ?>",
|
||||
data: {id: id},
|
||||
cache: false, //不缓存此页面
|
||||
success: function(data) {
|
||||
//console.log(data);
|
||||
if (data.code) {
|
||||
love.data("zan", true);
|
||||
love.html('<i class="f2"></i>Like(' + data.data + ')');
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
alert('You have liked it!');
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
$pingluns = getDifferentPinglun('ishot', 8);
|
||||
if ($pingluns):
|
||||
?>
|
||||
<div class="newrh">
|
||||
<div class="plun">Wonderful Reviews</div>
|
||||
<ul class="pllist">
|
||||
<?php foreach ($pingluns as $pinglun): ?>
|
||||
<li>
|
||||
<a href="<?php echo url('us/pinglun/lists', ['type' => strtolower($pinglun['typeid']), 'cid' => $pinglun['content_id']]); ?>">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns<?php echo $pinglun['tx']; ?>.jpg"></div>
|
||||
<div class="peo1"><?php echo $pinglun['cname']; ?></div>
|
||||
<div class="peo2"><?php echo $pinglun['createtime']; ?></div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1"><?php echo msubstr($pinglun['content'], 0, 200); ?></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
191
app/us/view/article/catelists20230805.phtml
Executable file
191
app/us/view/article/catelists20230805.phtml
Executable file
@@ -0,0 +1,191 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>News-ORICO Global Site</title>
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<?php if ($category['picture']): ?>
|
||||
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><img src="<?php echo getImage($category['picture']); ?>"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<div class="swt-Container">
|
||||
<div class="news-vertu">
|
||||
<div class="tab">
|
||||
<?php if (!empty($cate_list)): ?>
|
||||
<?php foreach ($cate_list as $key => $value): ?>
|
||||
<a href="/us/article/category/<?php echo $value['id'] ?>.html" class="<?php if ($category['id'] == $value['id']): ?> on <?php endif; ?>"><?php echo $value['name']; ?><span></span></a>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 轮播 e -->
|
||||
<?php endif; ?>
|
||||
<!-- 新闻列表 s -->
|
||||
<div class="new">
|
||||
<div class="swt-Container">
|
||||
<ul class="newfl">
|
||||
<?php
|
||||
//$articles = getDifferentArticle('ishot', 3, ['cid' => 1]);
|
||||
if (0):foreach ($articles as $detail):
|
||||
?>
|
||||
<li>
|
||||
<div class="xwimg"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><img src="<?php echo getImage($detail['picture'], 951, 459, 6); ?>"></a></div>
|
||||
<div class="xwtit"><a href="/us<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
<div class="xname"><?php echo $detail['writer']; ?> published <?php echo getHMStime($detail['createtime'], time()); ?>/key words: <?php echo $detail['tags']; ?></div>
|
||||
<div class="xwcon"><?php echo msubstr($detail['description'], 0, 200); ?></div>
|
||||
|
||||
<div class="detail"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><i></i>Detailed reading</a></div>
|
||||
<div class="fx">
|
||||
<a href="#"><i class="f1"></i>Share</a>
|
||||
<a href="javascript:void(0);" class="addzan" data-id="<?php echo $detail['id']; ?>"><i class="f2"></i>Like(<?php echo $detail['zancount']; ?>)</a>
|
||||
<a href="<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>#ccount"><i class="f3"></i>Comment
|
||||
(<?php echo $detail['commentcount']; ?>)</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php if ($list): foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<div style="width:25%; float: left;"> <div class="xwimg"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><img src="<?php echo getImage($detail['picture']); ?>"></a></div></div>
|
||||
<div style="width:72%; float: right;">
|
||||
<div class="xwtit"><a href="__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
|
||||
<div class="xname"><?php echo $detail['writer']; ?> <?php echo getHMStime($detail['createtime'], time()); ?></div>
|
||||
<!-- <div class="detail">对于注重便携HiFi听音发烧友来说,相信提到“飞傲”这个品牌,我想都不会感到陌生,飞傲音频在圈子里一直有着不错口碑,性能方面拥有绝对的优势。近日,飞傲家族中又迎...</div>-->
|
||||
<div class="detail"><?php echo msubstr($detail['description'], 0, 150);?></div>
|
||||
|
||||
<div class="fx">
|
||||
<a href="#"><i class="f1"></i>Share</a>
|
||||
<a href="javascript:void(0);" class="addzan" data-id="<?php echo $detail['id']; ?>"><i class="f2"></i>Like(<?php echo $detail['zancount']; ?>)</a>
|
||||
<a href="/us<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>#ccount"><i class="f3"></i>Comment (<?php echo $detail['commentcount']; ?>)</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<script>
|
||||
$(function() {
|
||||
$(".newfl .addzan").click(function(event) {
|
||||
event.preventDefault();
|
||||
var love = $(this);
|
||||
var id = love.data("id"); //对应id
|
||||
if (!love.data("zan")) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
url: "<?php echo url('/us/article/zan'); ?>",
|
||||
data: {id: id},
|
||||
cache: false, //不缓存此页面
|
||||
success: function(data) {
|
||||
//console.log(data);
|
||||
if (data.code) {
|
||||
love.data("zan", true);
|
||||
love.html('<i class="f2"></i>Like(' + data.data + ')');
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
alert('You have liked it!');
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
$pingluns = getDifferentPinglun('ishot', 8);
|
||||
if ($pingluns):
|
||||
?>
|
||||
<div class="newrh">
|
||||
<div class="plun">Wonderful Reviews</div>
|
||||
<ul class="pllist">
|
||||
<?php foreach ($pingluns as $pinglun): ?>
|
||||
<li>
|
||||
<a href="<?php echo url('us/pinglun/lists', ['type' => strtolower($pinglun['typeid']), 'cid' => $pinglun['content_id']]); ?>">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns<?php echo $pinglun['tx']; ?>.jpg"></div>
|
||||
<div class="peo1"><?php echo $pinglun['cname']; ?></div>
|
||||
<div class="peo2"><?php echo $pinglun['createtime']; ?></div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1"><?php echo msubstr($pinglun['content'], 0, 200); ?></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
<script>
|
||||
$(function(){
|
||||
$(".news-vertu .tab a").click(function(){
|
||||
$(this).addClass('on').siblings().removeClass('on');
|
||||
var index = $(this).index();
|
||||
number = index;
|
||||
$('.news-vertu .content li').hide();
|
||||
$('.news-vertu .content li:eq('+index+')').show();
|
||||
});
|
||||
|
||||
var auto = 1; //等于1则自动切换,其他任意数字则不自动切换
|
||||
if(auto ==1){
|
||||
var number = 0;
|
||||
var maxNumber = $('.news-vertu .tab a').length;
|
||||
function autotab(){
|
||||
number++;
|
||||
number == maxNumber? number = 0 : number;
|
||||
$('.news-vertu .tab a:eq('+number+')').addClass('on').siblings().removeClass('on');
|
||||
$('.news-vertu .content ul li:eq('+number+')').show().siblings().hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
224
app/us/view/article/detail.phtml
Executable file
224
app/us/view/article/detail.phtml
Executable file
@@ -0,0 +1,224 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/cooperation.css">
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<!--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" /}
|
||||
<!--top End-->
|
||||
|
||||
<!-- 详情页 s -->
|
||||
<div class="content">
|
||||
<input type="hidden" class="b_id">
|
||||
<div class="detail_box clearfix">
|
||||
<div class="blog_detail" style="margin-top:2.6rem">
|
||||
<div class="blog_title">
|
||||
<h2><?php echo $detail['name']; ?></h2>
|
||||
<p>Posted on <?php echo date("M j, Y",$detail['createtime']); ?></p>
|
||||
</div>
|
||||
<div class="blog_content">
|
||||
|
||||
<?php echo $detail['content']; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="share_box">
|
||||
<div class="blog_share">
|
||||
<h3>SHARE</h3>
|
||||
<ul class="share_list clearfix">
|
||||
<!-- Go to www.addthis.com/dashboard to customize your tools -->
|
||||
|
||||
<li><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>&t=1709023114"><img src="/frontend/weben/images/blog/share1.png"/></a></li>
|
||||
<li><a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&ro=true&title=<?php echo $detail['name']; ?>&url=__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>&source=&summary=&armin=armin"><img src="/frontend/weben/images/blog/share2.png"/></a></li>
|
||||
<li><a target="_blank" href="http://www.facebook.com/sharer/sharer.php?u=__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>"><img src="/frontend/weben/images/blog/share3.png"/></a></li>
|
||||
<li><a href="http://www.reddit.com/submit?url=__ORICOROOT__<?php echo url_rewrite('articledetail', array('id' => $detail['id'])); ?>&title=<?php echo $detail['name']; ?>" rel="nofollow" title="submit to reddit" target="_blank"><img src="/frontend/weben/images/blog/share4.png"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="repply">
|
||||
<h3>Leave a Reply</h3>
|
||||
<form>
|
||||
<span>Name</span>
|
||||
<input class="form-control itinp new_name" type="text" name="name" style="text-indent: 10px;"/>
|
||||
<span>Email</span>
|
||||
<input class="form-control itinp new_email" type="email" name="email" style="text-indent: 10px; margin-bottom:0;"/>
|
||||
<p style="color: #C6C7C9; font-size: 0.75rem; margin-bottom: 0.625rem;">Your email address will not be pulished.</p>
|
||||
<span>Comment</span>
|
||||
<textarea class="form-control itinp new_comment" rows="3" style="text-indent: 10px;width: 98%; margin-top: 0.625rem;margin-bottom: 0.625rem;border: 1px solid #DBDBDB;" name="comment"></textarea>
|
||||
<div class="comment_btn" style="color:#ffffff;">POST COMMENT</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="comment">
|
||||
<h3>Leave a Comment</h3>
|
||||
<form class="comment_form clearfix">
|
||||
<div style="margin-right: 2.5rem;">Name:<br/>
|
||||
<input class="new_name" type="text" name="name" style="text-indent: 10px;"/>
|
||||
</div>
|
||||
<div>Email:<br/>
|
||||
<input class="new_email" type="email" name="email" style="text-indent: 10px;"/>
|
||||
<p style="color: #C6C7C9; font-size: 0.75rem; margin-bottom: 0.625rem; font-weight: 400;">Your email address will not be pulished.</p>
|
||||
</div>
|
||||
<div class="comment_area">Comment:<br/>
|
||||
<textarea class="new_comment" style="text-indent: 10px;height: 8.125rem;border: 1px solid #DBDBDB !important;" name="comment"></textarea>
|
||||
</div>
|
||||
<div class="comment_btn" style="width: 21.25rem; margin-left: 2.5rem;color:#ffffff;">POST COMMENT</div>
|
||||
</form>
|
||||
</div> -->
|
||||
|
||||
<div class="xq">
|
||||
<?php
|
||||
$articles = getDifferentArticle('default', 3, ['id' => ['neq', $detail['id']]], ['createtime'=>'desc']);
|
||||
if ($articles):
|
||||
|
||||
?>
|
||||
<!-- 猜您喜欢 -->
|
||||
<div class="love">
|
||||
<div class="love1">
|
||||
<p>Recommended for you</p>
|
||||
<p><img src="/frontend/web/images/1line.png"></p>
|
||||
</div>
|
||||
<ul class="love2">
|
||||
<?php foreach ($articles as $article): ?>
|
||||
<?php
|
||||
if($article['jump_link'] == ''){
|
||||
$rlink = "__ORICOROOT__/article/detail/".$article['id'].".html";
|
||||
}
|
||||
else{
|
||||
$rlink = $article['jump_link'];
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $rlink; ?>">
|
||||
<div class="lvimg"><img src="<?php echo getImage($article['picture']); ?>"></div>
|
||||
<p class="lvtit"><?php echo msubstr($article['name'], 0, 40); ?></p>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<?php endforeach; ?>
|
||||
<div class="clear"></div>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
$(function(){
|
||||
//悬浮表单
|
||||
$(window).scroll(function(){
|
||||
var s_top = Number($(this).scrollTop()); // 获取滚动条,滚动刻度
|
||||
var showTop = Number($(".share_box").height());
|
||||
|
||||
var pTop = Number($(".xq").offset().top);
|
||||
|
||||
if((pTop-s_top-80) >= showTop ){
|
||||
$(".share_box").removeAttr("style"); // 删除属性,让他释放
|
||||
|
||||
}else{
|
||||
//nsole.log(s_top,showTop,pTop,$(window).scrollTop());
|
||||
|
||||
$('.share_box').css("position","absolute"); // 添加属性,让他固定
|
||||
$('.share_box').css('top',pTop-showTop-20);
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// 提交表单
|
||||
$('.comment_btn').click(function(){
|
||||
var new_name = $('.new_name').val();
|
||||
var new_email = $('.new_email').val();
|
||||
var new_comment = $('.new_comment').val();
|
||||
|
||||
console.log('message');
|
||||
if (new_name == '') {
|
||||
//alert("The Name is Empty!");
|
||||
|
||||
$('.new_name').addClass('error');
|
||||
$('.new_name').next('span').removeClass('hide');
|
||||
return false;
|
||||
}else{
|
||||
$('.new_name').removeClass('error');
|
||||
$('.new_name').next('span').addClass('hide');
|
||||
}
|
||||
|
||||
|
||||
if (new_comment == '') {
|
||||
//alert("The Comment is Empty!");
|
||||
|
||||
$('.new_comment').addClass('error');
|
||||
$('.new_comment').next('span').removeClass('hide');
|
||||
return false;
|
||||
}else{
|
||||
$('.new_comment').removeClass('error');
|
||||
$('.new_comment').next('span').addClass('hide');
|
||||
}
|
||||
|
||||
if (new_email == '') {
|
||||
$('.new_email').addClass('error');
|
||||
$('.new_email').next('span').removeClass('hide');
|
||||
}
|
||||
else{
|
||||
if (/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(new_email) == false) {
|
||||
$('.new_email').addClass('error');
|
||||
$('.new_email').next('span').removeClass('hide');
|
||||
return false;
|
||||
}
|
||||
else{
|
||||
$('.new_email').removeClass('error');
|
||||
$('.new_email').next('span').addClass('hide');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
var bid = "<?php echo $detail['id'];?>";
|
||||
//点击创建申请块
|
||||
if(new_name && new_email && new_comment && bid) {
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/us/article/addcomment",
|
||||
data: {'name':new_name, 'email':new_email,'comment':new_comment,'article_id':bid},
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
if(data.code == 200) {
|
||||
alert("留言提交成功!");
|
||||
$(".new_name").val("");
|
||||
$(".new_email").val("");
|
||||
$(".new_comment").val("");
|
||||
}
|
||||
else{
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
})
|
||||
})
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
151
app/us/view/article/lists.phtml
Executable file
151
app/us/view/article/lists.phtml
Executable file
@@ -0,0 +1,151 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban banner-other">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><a href="#"><img src="__PUBLIC__/web/uploadfiles/image/ban2.jpg"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
|
||||
<!-- 新闻列表 s -->
|
||||
<div class="new">
|
||||
<div class="w1440">
|
||||
<div class="vtext">
|
||||
<p class="tl1">News</p>
|
||||
<p class="tl2"></p>
|
||||
</div>
|
||||
<?php if ($list): ?>
|
||||
<ul class="newfl">
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<div class="xwtit"><a href="<?php echo url_rewrite('us/articledetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
<div class="xname"><?php echo $detail['writer']; ?> published <?php echo getHMStime($detail['createtime'], time()); ?>/key words:<?php echo $detail['tags']; ?></div>
|
||||
<div class="xwcon"><?php echo msubstr($detail['description'], 0, 200); ?></div>
|
||||
<div class="xwimg"><img src="<?php echo getImage($detail['picture'], 951, 459, 6); ?>"></div>
|
||||
<div class="detail"><a href="<?php echo url_rewrite('us/articledetail', array('id' => $detail['id'])); ?>"><i></i>Detailed reading</a></div>
|
||||
<div class="fx">
|
||||
<a href="#"><i class="f1"></i>Share</a>
|
||||
<a href="#"><i class="f2"></i>Favorite</a>
|
||||
<a href="#"><i class="f3"></i>Comment (15)</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</ul>
|
||||
|
||||
<?php endif; ?>
|
||||
<div class="newrh">
|
||||
<div class="plun">Wonderful Reviews</div>
|
||||
<ul class="pllist">
|
||||
<li>
|
||||
<a href="#">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns1.jpg"></div>
|
||||
<div class="peo1">Visitor</div>
|
||||
<div class="peo2">2018-09-05</div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1">ELITE916 of PHANTEKS, JD 7K supports ATX&ITX dual systems . And I remember 916 dual-system needs two power adapters. </div>
|
||||
<div class="plrh2">REVOLTX power adapter and EVOLVX host. That’s friendly for users needing two systems… </div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns2.jpg"></div>
|
||||
<div class="peo1">Visitor</div>
|
||||
<div class="peo2">2018-09-05</div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1">ELITE916 of PHANTEKS, JD 7K supports ATX&ITX dual systems . And I remember 916 dual-system needs two power adapters. </div>
|
||||
<div class="plrh2">REVOLTX power adapter and EVOLVX host. That’s friendly for users needing two systems… </div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns3.jpg"></div>
|
||||
<div class="peo1">Visitor</div>
|
||||
<div class="peo2">2018-09-05</div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1">ELITE916 of PHANTEKS, JD 7K supports ATX&ITX dual systems . And I remember 916 dual-system needs two power adapters.
|
||||
</div>
|
||||
<div class="plrh2">REVOLTX power adapter and EVOLVX host. That’s friendly for users needing two systems… </div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns4.jpg"></div>
|
||||
<div class="peo1">Visitor</div>
|
||||
<div class="peo2">2018-09-05</div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1">ELITE916 of PHANTEKS, JD 7K supports ATX&ITX dual systems . And I remember 916 dual-system needs two power adapters. </div>
|
||||
<div class="plrh2">REVOLTX power adapter and EVOLVX host. That’s friendly for users needing two systems… </div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<div class="plfl">
|
||||
<div class="plimg"><img src="__PUBLIC__/web/uploadfiles/image/ns5.jpg"></div>
|
||||
<div class="peo1">Visitor</div>
|
||||
<div class="peo2">2018-09-05</div>
|
||||
</div>
|
||||
<div class="plrh">
|
||||
<div class="plrh1">ELITE916 of PHANTEKS, JD 7K supports ATX&ITX dual systems . And I remember 916 dual-system needs two power adapters. </div>
|
||||
<div class="plrh2">REVOLTX power adapter and EVOLVX host. That’s friendly for users needing two systems… </div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
651
app/us/view/blog/blog.phtml
Executable file
651
app/us/view/blog/blog.phtml
Executable file
@@ -0,0 +1,651 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Blog-ORICO Global Site</title>
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||||
<style>
|
||||
|
||||
/*blog_detail*/
|
||||
.content {
|
||||
width: 75%;
|
||||
margin: 2.5rem auto 8.75rem;
|
||||
}
|
||||
.blog_detail {
|
||||
width: calc(100% - 1.5rem - 25rem);
|
||||
height: auto;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e8e8e8;
|
||||
float: left;
|
||||
margin-right: 1.25rem;
|
||||
}
|
||||
.blog_title {
|
||||
margin: 2.5rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
padding-bottom: 2.5rem;
|
||||
}
|
||||
.blog_title h2 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
line-height: 2.125rem;
|
||||
color: #252525;
|
||||
margin-bottom: 1.0625rem;
|
||||
}
|
||||
.blog_title p {
|
||||
color: #929292;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
.blog_content {
|
||||
margin: 2.5rem;
|
||||
}
|
||||
.blog_content p {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.75rem;
|
||||
color: #252525;
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
.blog_content img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
.share_box {
|
||||
width: 25rem;
|
||||
position: fixed;
|
||||
top: 130px;
|
||||
right: calc((100% - 75%) / 2);
|
||||
z-index: 10;
|
||||
}
|
||||
.blog_share {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e8e8e8;
|
||||
float: left;
|
||||
}
|
||||
.blog_share h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 1.875rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.share_list {
|
||||
padding: 1.875rem;
|
||||
}
|
||||
.share_list li {
|
||||
float: left;
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
margin-right: 3.125rem;
|
||||
}
|
||||
.share_list li:last-child {
|
||||
float: left;
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
margin-right: 0;
|
||||
}
|
||||
.share_list li img {
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
.repply {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e8e8e8;
|
||||
float: left;
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
.repply h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 1.875rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.repply form {
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 1.25rem;
|
||||
}
|
||||
.repply span {
|
||||
font-size: 0.875rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.repply input {
|
||||
width: 98%;
|
||||
height: 2rem !important;
|
||||
border: 1px solid #dbdbdb !important;
|
||||
margin-top: 0.625rem;
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
.comment_btn {
|
||||
margin: 1.25rem 1.25rem;
|
||||
width: auto;
|
||||
height: 2.75rem;
|
||||
line-height: 2.75rem;
|
||||
background: #009fdf;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.comment {
|
||||
background: #ffffff;
|
||||
width: 100%;
|
||||
margin-top: 2.5rem;
|
||||
padding-bottom: 1.875rem;
|
||||
border: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 2.5rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment_form {
|
||||
padding: 1.875rem 2.5rem;
|
||||
}
|
||||
.comment_form div {
|
||||
font-size: 0.875rem;
|
||||
font-weight: bold;
|
||||
color: #252525;
|
||||
float: left;
|
||||
width: calc((100% - 2.5rem) / 2);
|
||||
}
|
||||
.comment_form > div input {
|
||||
width: 100%;
|
||||
height: 2rem;
|
||||
border: 1px solid #dbdbdb !important;
|
||||
margin-top: 0.625rem;
|
||||
}
|
||||
.comment_area {
|
||||
width: 100% !important;
|
||||
}
|
||||
.comment_area textarea {
|
||||
width: 100%;
|
||||
margin-top: 0.625rem;
|
||||
}
|
||||
.comment_list {
|
||||
background: #ffffff;
|
||||
width: 100%;
|
||||
margin-top: 2.5rem;
|
||||
padding-bottom: 1.875rem;
|
||||
border: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment_list h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 2.5rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment_list ul {
|
||||
padding: 1.875rem 2.5rem;
|
||||
}
|
||||
.comment_list ul li {
|
||||
margin-bottom: 3.125rem;
|
||||
}
|
||||
.comment_list ul li:last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.comment_list ul li > div {
|
||||
float: left;
|
||||
display: block;
|
||||
font-size: 1rem;
|
||||
}
|
||||
.comment_list ul li > div:first-child {
|
||||
width: 3.125rem;
|
||||
height: auto;
|
||||
margin-right: 1.25rem;
|
||||
}
|
||||
.comment_list ul li > div:last-child {
|
||||
width: calc(100% - 3.125rem - 1.25rem);
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1440px) {
|
||||
.blog_list ul li:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1200px) and (max-width: 1440px) {
|
||||
.blog_detail {
|
||||
width: 60%;
|
||||
}
|
||||
.blog_list ul li:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.share_list li {
|
||||
width: calc((100% - 1.875rem) / 4);
|
||||
height: auto;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.share_list li img {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
}
|
||||
.share_box {
|
||||
width: 28%;
|
||||
position: fixed;
|
||||
top: 130px;
|
||||
right: calc((100% - 75%) / 2);
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 768px) and (max-width: 1200px) {
|
||||
.content {
|
||||
width: 91%;
|
||||
}
|
||||
.blog_detail {
|
||||
width: 60%;
|
||||
}
|
||||
.blog_list ul {
|
||||
width: 75%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.blog_list ul li {
|
||||
float: left;
|
||||
width: calc((100% - 2.8125rem) / 2);
|
||||
height: auto;
|
||||
margin-right: 2.8125rem;
|
||||
}
|
||||
.blog_list ul li:nth-of-type(even) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.blog_list ul li img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.detail_box {
|
||||
margin-top: 80px;
|
||||
}
|
||||
.share_box {
|
||||
width: 34%;
|
||||
position: fixed;
|
||||
top: 130px;
|
||||
right: calc((100% - 60% - 28% - 1.25rem) / 2);
|
||||
}
|
||||
.blog_share {
|
||||
width: 100%;
|
||||
}
|
||||
.share_list li {
|
||||
width: calc((100% - 1.875rem) / 4);
|
||||
height: auto;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.share_list li img {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
}
|
||||
.repply {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/*点击弹框*/
|
||||
.popup-quick {
|
||||
width: 48rem;
|
||||
position: fixed;
|
||||
top: 35%;
|
||||
margin-top: -235px;
|
||||
left: 45%;
|
||||
margin-left: -235px;
|
||||
background-color: #fff;
|
||||
z-index: 9999;
|
||||
box-shadow: 0px 2px 5px rgba(255, 255, 255, 0.2);
|
||||
color: #333;
|
||||
border-radius: 0.05rem;
|
||||
}
|
||||
.popup-quick .popup-app {
|
||||
font-size: 0.14rem;
|
||||
color: #333;
|
||||
line-height: 22px;
|
||||
padding: 30px 40px;
|
||||
text-align: center;
|
||||
}
|
||||
.popup-quick .business-close {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.popup-quick .popup-business-logo img {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
margin-left: 0.9rem;
|
||||
}
|
||||
.title-text {
|
||||
font-size: 26px;
|
||||
color: #101010;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
padding: 34px 0;
|
||||
}
|
||||
.marsk-container {
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
display: none;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0px;
|
||||
z-index: 999;
|
||||
}
|
||||
.detail_form input {
|
||||
height: 2.75rem;
|
||||
line-height: 2.75rem;
|
||||
padding: 0 0.625rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
.detail_form select {
|
||||
height: 2.75rem;
|
||||
line-height: 2.75rem;
|
||||
padding: 0 0.625rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
.detail_form textarea {
|
||||
padding: 0.225rem 0.5rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
.apply_form textarea {
|
||||
padding: 0.225rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.detail-w {
|
||||
width: 40%;
|
||||
}
|
||||
.detail-w02 {
|
||||
width: 45%;
|
||||
}
|
||||
.detail-w01 {
|
||||
width: 90%;
|
||||
}
|
||||
.detail-w02 {
|
||||
width: 100%;
|
||||
}
|
||||
.detail_form .name > div {
|
||||
float: left;
|
||||
width: calc((100% - 1.25rem) / 2);
|
||||
}
|
||||
|
||||
/*odm*/
|
||||
.email-odm-w {
|
||||
background: #fff;
|
||||
width: 62.5%;
|
||||
margin: auto;
|
||||
clear: both;
|
||||
padding: 0.05rem 0;
|
||||
}
|
||||
.news-odm {
|
||||
background: #3bafe3;
|
||||
margin: 50px 0;
|
||||
padding: 6rem 0;
|
||||
}
|
||||
/*submission!*/
|
||||
.submission {
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
.submiss-content h3 {
|
||||
font-size: 24px;
|
||||
color: #333;
|
||||
line-height: 30px;
|
||||
padding: 24px 0 18px;
|
||||
}
|
||||
.submiss-p {
|
||||
font-size: 20px;
|
||||
color: #333;
|
||||
}
|
||||
.submiss-u-p {
|
||||
padding: 46px 0 140px;
|
||||
font-size: 18px;
|
||||
}
|
||||
.submiss-blue {
|
||||
color: #009fdf;
|
||||
border-bottom: 1px solid #009fdf;
|
||||
}
|
||||
/*question*/
|
||||
.ques-r {
|
||||
position: relative;
|
||||
}
|
||||
.ques-a {
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 20%;
|
||||
color: #fff;
|
||||
}
|
||||
.ques-a h3 {
|
||||
font-size: 48px;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
.ques-a p {
|
||||
font-size: 18px;
|
||||
width: 65%;
|
||||
line-height: 24px;
|
||||
font-weight: 100;
|
||||
}
|
||||
.ques_title {
|
||||
width: 43.75rem;
|
||||
line-height: 2rem;
|
||||
text-align: center;
|
||||
padding: 3.125rem 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
color: #000000;
|
||||
}
|
||||
.ques_title p {
|
||||
font-size: 16px;
|
||||
line-height: 18px;
|
||||
font-weight: 100;
|
||||
padding: 20px 0;
|
||||
color: #707070;
|
||||
}
|
||||
.ques-select {
|
||||
height: 45px;
|
||||
margin-top: 10px;
|
||||
border: 1px solid #dbdbdb;
|
||||
}
|
||||
select {
|
||||
appearance: none;
|
||||
-webkit-appearance: none; /*去除chrome浏览器的默认下拉图片*/
|
||||
-moz-appearance: none; /*去除Firefox浏览器的默认下拉图片*/
|
||||
background: url('../images/select-down.png') no-repeat right center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
padding: 0 5px;
|
||||
text-overflow: '';
|
||||
}
|
||||
.ques-select::after {
|
||||
/* arrow icon for select element */
|
||||
content: '';
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
right: 16px;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background: url('../images/blog/cd-icon-arrow.svg') no-repeat center center;
|
||||
pointer-events: none;
|
||||
}
|
||||
/*upload*/
|
||||
.img_box ul {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.img_box ul li {
|
||||
float: left;
|
||||
width: 20%;
|
||||
margin-right: 2.5%;
|
||||
margin-top: 1em;
|
||||
padding: 20% 0 0;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
.img_box ul li img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.img_box ul .add_btn {
|
||||
border: 1px solid #e5e5e5;
|
||||
background: url(../images/add.png) no-repeat 50% 50%;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.img_box ul .del {
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 15px;
|
||||
text-align: center;
|
||||
font-size: 1.5em;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
color: #fff;
|
||||
right: 0;
|
||||
top: 0;
|
||||
font-style: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
/*upload- E*/
|
||||
.question_btn {
|
||||
margin: 3rem auto 5.625rem;
|
||||
width: 15rem;
|
||||
height: 2.5rem;
|
||||
line-height: 2.5rem;
|
||||
background: #009fdf;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
|
||||
<!--top End-->
|
||||
|
||||
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/weben/images/blog/blog.png"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<div class="swt-Container">
|
||||
<div class="news-vertu">
|
||||
<div class="tab">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 轮播 e -->
|
||||
|
||||
|
||||
|
||||
<!-- 轮播 s >
|
||||
<div class="homeban banner-other">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><a href="#"><img src="__PUBLIC__/weben/images/blog/blog.png"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e ---->
|
||||
|
||||
<!-- Blog列表 s -->
|
||||
<div class="search_box">
|
||||
<i class="search_icon"></i>
|
||||
<input type="text" placeholder="Search blog articles" class="search" id="bg-search-in" value="<?php if(isset($search['name'])){ echo $search['name'];}?>"/>
|
||||
</div>
|
||||
<div class="blog_list">
|
||||
<?php if ($list): ?>
|
||||
<ul class="clearfix">
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<a href="<?php echo '/us/blog/detail/id/'.$detail['id'];?>.html">
|
||||
<img src="<?php echo getImage($detail['icon'], 951, 459, 6); ?>" />
|
||||
<h3><?php echo $detail['title']; ?></h3>
|
||||
<p><?php echo $detail['seo_description']; ?></p>
|
||||
</a>
|
||||
<span class="blue"><?php echo date("M d, Y", strtotime($detail['add_time'])); ?></span>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<div class="content">No Result!</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!-- Blog列表 e -->
|
||||
<script>
|
||||
var type = 'Blog';
|
||||
|
||||
//点击创建申请块
|
||||
$(function(){
|
||||
$('#bg-search-in').click(function(){
|
||||
var skeyword = $("#bg-search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "?name=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
202
app/us/view/blog/detail.phtml
Executable file
202
app/us/view/blog/detail.phtml
Executable file
@@ -0,0 +1,202 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||||
|
||||
|
||||
<!-- twitter分享 -->
|
||||
<meta property="twitter:url" content="<?php echo $curUrl;?>"/>
|
||||
<meta name="twitter:title" content="This is title"/>
|
||||
<meta name="twitter:description" content="This is desc"/>
|
||||
<meta name="twitter:site" content="<?php echo $curUrl;?>">
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:image" content="http://gg.chendahai.cn/static/image/apple.jpg"/>
|
||||
|
||||
<!-- facebook分享 -->
|
||||
<meta property="og:url" content="<?php echo $curUrl;?>"/>
|
||||
<meta property="og:title" content="This is my plan,let's play together"/>
|
||||
<meta property="og:description" content="This is my plan,let's play together"/>
|
||||
<meta property="og:image" content="http://gg.chendahai.cn/static/image/apple.jpg"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
|
||||
<!-- 详情页 s -->
|
||||
<div class="content">
|
||||
<input type="hidden" value="<?php echo $blog['id'];?>" class="b_id">
|
||||
<div class="detail_box clearfix">
|
||||
<div class="blog_detail" style="margin-top:.625rem">
|
||||
<div class="blog_title">
|
||||
<h2><?php if($blog['title']) {echo $blog['title'];} else{echo "Best USB-C Docking Station for PC/Laptop/IOS/Windows in 2021";}?></h2>
|
||||
<p>Posted on <?php if($blog['add_time']) {echo date("M d, Y",strtotime($blog['add_time']));} else{echo "May 17, 2021";}?></p>
|
||||
</div>
|
||||
<div class="blog_content">
|
||||
<?php echo $blog['content'];?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="share_box">
|
||||
<div class="blog_share">
|
||||
<h3>SHARE</h3>
|
||||
<ul class="share_list clearfix">
|
||||
<!-- Go to www.addthis.com/dashboard to customize your tools -->
|
||||
|
||||
<li><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo $curUrl;?>&t=<?php echo time();?>"><img src="/frontend/weben/images/blog/share1.png"/></a></li>
|
||||
<li><a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&ro=true&title=<?php echo $seo_title;?>&url=<?php echo $curUrl;?>&source=&summary=&armin=armin"><img src="/frontend/weben/images/blog/share2.png"/></a></li>
|
||||
<li><a target="_blank" href="http://www.facebook.com/sharer/sharer.php?u=<?php echo $curUrl;?>"><img src="/frontend/weben/images/blog/share3.png"/></a></li>
|
||||
<li><a href="http://www.reddit.com/submit?url=<?php echo $curUrl;?>&title=<?php echo $seo_title;?>" rel="nofollow" title="submit to reddit" target="_blank"><img src="/frontend/weben/images/blog/share4.png"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="repply">
|
||||
<h3>Leave a Reply</h3>
|
||||
<form>
|
||||
<span>Name</span>
|
||||
<input class="new_name" type="text" name="name" style="text-indent: 10px;"/>
|
||||
<span>Email</span>
|
||||
<input class="new_email" type="email" name="email" style="text-indent: 10px; margin-bottom:0;"/>
|
||||
<p style="color: #C6C7C9; font-size: 0.75rem; margin-bottom: 0.625rem;">Your email address will not be pulished.</p>
|
||||
<span>Comment</span>
|
||||
<textarea class="new_comment" rows="3" style="text-indent: 10px;width: 98%; margin-top: 0.625rem;margin-bottom: 0.625rem;border: 1px solid #DBDBDB !important;" name="comment"></textarea>
|
||||
<div class="comment_btn" style="color:#ffffff;">POST COMMENT</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="comment">
|
||||
<h3>Leave a Comment</h3>
|
||||
<form class="comment_form clearfix">
|
||||
<div style="margin-right: 2.5rem;">Name:<br/>
|
||||
<input class="new_name" type="text" name="name" style="text-indent: 10px;"/>
|
||||
</div>
|
||||
<div>Email:<br/>
|
||||
<input class="new_email" type="email" name="email" style="text-indent: 10px;"/>
|
||||
<p style="color: #C6C7C9; font-size: 0.75rem; margin-bottom: 0.625rem; font-weight: 400;">Your email address will not be pulished.</p>
|
||||
</div>
|
||||
<div class="comment_area">Comment:<br/>
|
||||
<textarea class="new_comment" style="text-indent: 10px;height: 8.125rem;border: 1px solid #DBDBDB !important;" name="comment"></textarea>
|
||||
</div>
|
||||
<div class="comment_btn" style="width: 21.25rem; margin-left: 2.5rem;color:#ffffff;">POST COMMENT</div>
|
||||
</form>
|
||||
</div>
|
||||
<?php if ($list): ?>
|
||||
<div class="comment_list">
|
||||
<h3>Showing <?php echo $total;?> Comments</h3>
|
||||
<ul>
|
||||
<?php foreach ($list as $ks=> $detail): ?>
|
||||
<li class="clearfix">
|
||||
<div><img src="/frontend/weben/images/avatar/<?php echo $counts[$ks];?>.png" /></div>
|
||||
<div>
|
||||
<p style=" font-weight: bold;"><?php echo $detail['name'];?><span style="font-size: 0.75rem; color: #A9A9A9; margin-left: 0.625rem;">· <?php echo date("M d, Y", strtotime($detail['add_time'])); ?></span></p>
|
||||
<p style=" font-weight: 400; margin-top: 0.625rem;"><?php echo $detail['content'];?></p>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
|
||||
</ul>
|
||||
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
|
||||
$(function(){
|
||||
//悬浮表单
|
||||
$(window).scroll(function(){
|
||||
var s_top = Number($(this).scrollTop()); // 获取滚动条,滚动刻度
|
||||
var showTop = Number($(".share_box").height());
|
||||
|
||||
var pTop = Number($(".comment").offset().top);
|
||||
|
||||
if((pTop-s_top-80) >= showTop ){
|
||||
$(".share_box").removeAttr("style"); // 删除属性,让他释放
|
||||
|
||||
}else{
|
||||
//nsole.log(s_top,showTop,pTop,$(window).scrollTop());
|
||||
|
||||
$('.share_box').css("position","absolute"); // 添加属性,让他固定
|
||||
$('.share_box').css('top',pTop-showTop-20);
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// 提交表单
|
||||
$('.comment_btn').click(function(){
|
||||
var new_name = $(this).parents('form').find('.new_name').val();
|
||||
var new_email = $(this).parents('form').find('.new_email').val();
|
||||
var new_comment = $(this).parents('form').find('.new_comment').val();
|
||||
|
||||
if(new_name=='') {
|
||||
alert("The Name is Empty!");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(new_comment=='') {
|
||||
alert("The Comment is Empty!");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(new_email) == false) {
|
||||
alert("The Email format is not correct!");
|
||||
return false;
|
||||
}
|
||||
|
||||
var bid = "<?php echo $blog['id'];?>";
|
||||
//点击创建申请块
|
||||
if(new_name && new_email && new_comment && bid) {
|
||||
var type = 'Agent';
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/us/blog/addcomment",
|
||||
data: {'name':new_name, 'email':new_email,'comment':new_comment,'b_id':bid},
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
if(data.code == 200) {
|
||||
alert(data.msg);
|
||||
$(".content input").val("");
|
||||
$(".new_comment").val("");
|
||||
}
|
||||
else{
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
})
|
||||
})
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
652
app/us/view/blog/index.phtml
Executable file
652
app/us/view/blog/index.phtml
Executable file
@@ -0,0 +1,652 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Blog-ORICO Global Site</title>
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||||
<style>
|
||||
|
||||
/*blog_detail*/
|
||||
.content {
|
||||
width: 75%;
|
||||
margin: 2.5rem auto 8.75rem;
|
||||
}
|
||||
.blog_detail {
|
||||
width: calc(100% - 1.5rem - 25rem);
|
||||
height: auto;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e8e8e8;
|
||||
float: left;
|
||||
margin-right: 1.25rem;
|
||||
}
|
||||
.blog_title {
|
||||
margin: 2.5rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
padding-bottom: 2.5rem;
|
||||
}
|
||||
.blog_title h2 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
line-height: 2.125rem;
|
||||
color: #252525;
|
||||
margin-bottom: 1.0625rem;
|
||||
}
|
||||
.blog_title p {
|
||||
color: #929292;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
.blog_content {
|
||||
margin: 2.5rem;
|
||||
}
|
||||
.blog_content p {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.75rem;
|
||||
color: #252525;
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
.blog_content img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
.share_box {
|
||||
width: 25rem;
|
||||
position: fixed;
|
||||
top: 130px;
|
||||
right: calc((100% - 75%) / 2);
|
||||
z-index: 10;
|
||||
}
|
||||
.blog_share {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e8e8e8;
|
||||
float: left;
|
||||
}
|
||||
.blog_share h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 1.875rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.share_list {
|
||||
padding: 1.875rem;
|
||||
}
|
||||
.share_list li {
|
||||
float: left;
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
margin-right: 3.125rem;
|
||||
}
|
||||
.share_list li:last-child {
|
||||
float: left;
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
margin-right: 0;
|
||||
}
|
||||
.share_list li img {
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
.repply {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e8e8e8;
|
||||
float: left;
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
.repply h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 1.875rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.repply form {
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 1.25rem;
|
||||
}
|
||||
.repply span {
|
||||
font-size: 0.875rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.repply input {
|
||||
width: 98%;
|
||||
height: 2rem !important;
|
||||
border: 1px solid #dbdbdb !important;
|
||||
margin-top: 0.625rem;
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
.comment_btn {
|
||||
margin: 1.25rem 1.25rem;
|
||||
width: auto;
|
||||
height: 2.75rem;
|
||||
line-height: 2.75rem;
|
||||
background: #009fdf;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.comment {
|
||||
background: #ffffff;
|
||||
width: 100%;
|
||||
margin-top: 2.5rem;
|
||||
padding-bottom: 1.875rem;
|
||||
border: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 2.5rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment_form {
|
||||
padding: 1.875rem 2.5rem;
|
||||
}
|
||||
.comment_form div {
|
||||
font-size: 0.875rem;
|
||||
font-weight: bold;
|
||||
color: #252525;
|
||||
float: left;
|
||||
width: calc((100% - 2.5rem) / 2);
|
||||
}
|
||||
.comment_form > div input {
|
||||
width: 100%;
|
||||
height: 2rem;
|
||||
border: 1px solid #dbdbdb !important;
|
||||
margin-top: 0.625rem;
|
||||
}
|
||||
.comment_area {
|
||||
width: 100% !important;
|
||||
}
|
||||
.comment_area textarea {
|
||||
width: 100%;
|
||||
margin-top: 0.625rem;
|
||||
}
|
||||
.comment_list {
|
||||
background: #ffffff;
|
||||
width: 100%;
|
||||
margin-top: 2.5rem;
|
||||
padding-bottom: 1.875rem;
|
||||
border: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment_list h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 2.5rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment_list ul {
|
||||
padding: 1.875rem 2.5rem;
|
||||
}
|
||||
.comment_list ul li {
|
||||
margin-bottom: 3.125rem;
|
||||
}
|
||||
.comment_list ul li:last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.comment_list ul li > div {
|
||||
float: left;
|
||||
display: block;
|
||||
font-size: 1rem;
|
||||
}
|
||||
.comment_list ul li > div:first-child {
|
||||
width: 3.125rem;
|
||||
height: auto;
|
||||
margin-right: 1.25rem;
|
||||
}
|
||||
.comment_list ul li > div:last-child {
|
||||
width: calc(100% - 3.125rem - 1.25rem);
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1440px) {
|
||||
.blog_list ul li:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1200px) and (max-width: 1440px) {
|
||||
.blog_detail {
|
||||
width: 60%;
|
||||
}
|
||||
.blog_list ul li:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.share_list li {
|
||||
width: calc((100% - 1.875rem) / 4);
|
||||
height: auto;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.share_list li img {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
}
|
||||
.share_box {
|
||||
width: 28%;
|
||||
position: fixed;
|
||||
top: 130px;
|
||||
right: calc((100% - 75%) / 2);
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 768px) and (max-width: 1200px) {
|
||||
.content {
|
||||
width: 91%;
|
||||
}
|
||||
.blog_detail {
|
||||
width: 60%;
|
||||
}
|
||||
.blog_list ul {
|
||||
width: 75%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.blog_list ul li {
|
||||
float: left;
|
||||
width: calc((100% - 2.8125rem) / 2);
|
||||
height: auto;
|
||||
margin-right: 2.8125rem;
|
||||
}
|
||||
.blog_list ul li:nth-of-type(even) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.blog_list ul li img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.detail_box {
|
||||
margin-top: 80px;
|
||||
}
|
||||
.share_box {
|
||||
width: 34%;
|
||||
position: fixed;
|
||||
top: 130px;
|
||||
right: calc((100% - 60% - 28% - 1.25rem) / 2);
|
||||
}
|
||||
.blog_share {
|
||||
width: 100%;
|
||||
}
|
||||
.share_list li {
|
||||
width: calc((100% - 1.875rem) / 4);
|
||||
height: auto;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.share_list li img {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
}
|
||||
.repply {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/*点击弹框*/
|
||||
.popup-quick {
|
||||
width: 48rem;
|
||||
position: fixed;
|
||||
top: 35%;
|
||||
margin-top: -235px;
|
||||
left: 45%;
|
||||
margin-left: -235px;
|
||||
background-color: #fff;
|
||||
z-index: 9999;
|
||||
box-shadow: 0px 2px 5px rgba(255, 255, 255, 0.2);
|
||||
color: #333;
|
||||
border-radius: 0.05rem;
|
||||
}
|
||||
.popup-quick .popup-app {
|
||||
font-size: 0.14rem;
|
||||
color: #333;
|
||||
line-height: 22px;
|
||||
padding: 30px 40px;
|
||||
text-align: center;
|
||||
}
|
||||
.popup-quick .business-close {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.popup-quick .popup-business-logo img {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
margin-left: 0.9rem;
|
||||
}
|
||||
.title-text {
|
||||
font-size: 26px;
|
||||
color: #101010;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
padding: 34px 0;
|
||||
}
|
||||
.marsk-container {
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
display: none;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0px;
|
||||
z-index: 999;
|
||||
}
|
||||
.detail_form input {
|
||||
height: 2.75rem;
|
||||
line-height: 2.75rem;
|
||||
padding: 0 0.625rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
.detail_form select {
|
||||
height: 2.75rem;
|
||||
line-height: 2.75rem;
|
||||
padding: 0 0.625rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
.detail_form textarea {
|
||||
padding: 0.225rem 0.5rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
.apply_form textarea {
|
||||
padding: 0.225rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.detail-w {
|
||||
width: 40%;
|
||||
}
|
||||
.detail-w02 {
|
||||
width: 45%;
|
||||
}
|
||||
.detail-w01 {
|
||||
width: 90%;
|
||||
}
|
||||
.detail-w02 {
|
||||
width: 100%;
|
||||
}
|
||||
.detail_form .name > div {
|
||||
float: left;
|
||||
width: calc((100% - 1.25rem) / 2);
|
||||
}
|
||||
|
||||
/*odm*/
|
||||
.email-odm-w {
|
||||
background: #fff;
|
||||
width: 62.5%;
|
||||
margin: auto;
|
||||
clear: both;
|
||||
padding: 0.05rem 0;
|
||||
}
|
||||
.news-odm {
|
||||
background: #3bafe3;
|
||||
margin: 50px 0;
|
||||
padding: 6rem 0;
|
||||
}
|
||||
/*submission!*/
|
||||
.submission {
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
.submiss-content h3 {
|
||||
font-size: 24px;
|
||||
color: #333;
|
||||
line-height: 30px;
|
||||
padding: 24px 0 18px;
|
||||
}
|
||||
.submiss-p {
|
||||
font-size: 20px;
|
||||
color: #333;
|
||||
}
|
||||
.submiss-u-p {
|
||||
padding: 46px 0 140px;
|
||||
font-size: 18px;
|
||||
}
|
||||
.submiss-blue {
|
||||
color: #009fdf;
|
||||
border-bottom: 1px solid #009fdf;
|
||||
}
|
||||
/*question*/
|
||||
.ques-r {
|
||||
position: relative;
|
||||
}
|
||||
.ques-a {
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 20%;
|
||||
color: #fff;
|
||||
}
|
||||
.ques-a h3 {
|
||||
font-size: 48px;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
.ques-a p {
|
||||
font-size: 18px;
|
||||
width: 65%;
|
||||
line-height: 24px;
|
||||
font-weight: 100;
|
||||
}
|
||||
.ques_title {
|
||||
width: 43.75rem;
|
||||
line-height: 2rem;
|
||||
text-align: center;
|
||||
padding: 3.125rem 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
color: #000000;
|
||||
}
|
||||
.ques_title p {
|
||||
font-size: 16px;
|
||||
line-height: 18px;
|
||||
font-weight: 100;
|
||||
padding: 20px 0;
|
||||
color: #707070;
|
||||
}
|
||||
.ques-select {
|
||||
height: 45px;
|
||||
margin-top: 10px;
|
||||
border: 1px solid #dbdbdb;
|
||||
}
|
||||
select {
|
||||
appearance: none;
|
||||
-webkit-appearance: none; /*去除chrome浏览器的默认下拉图片*/
|
||||
-moz-appearance: none; /*去除Firefox浏览器的默认下拉图片*/
|
||||
background: url('../images/select-down.png') no-repeat right center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
padding: 0 5px;
|
||||
text-overflow: '';
|
||||
}
|
||||
.ques-select::after {
|
||||
/* arrow icon for select element */
|
||||
content: '';
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
right: 16px;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background: url('../images/blog/cd-icon-arrow.svg') no-repeat center center;
|
||||
pointer-events: none;
|
||||
}
|
||||
/*upload*/
|
||||
.img_box ul {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.img_box ul li {
|
||||
float: left;
|
||||
width: 20%;
|
||||
margin-right: 2.5%;
|
||||
margin-top: 1em;
|
||||
padding: 20% 0 0;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
.img_box ul li img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.img_box ul .add_btn {
|
||||
border: 1px solid #e5e5e5;
|
||||
background: url(../images/add.png) no-repeat 50% 50%;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.img_box ul .del {
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 15px;
|
||||
text-align: center;
|
||||
font-size: 1.5em;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
color: #fff;
|
||||
right: 0;
|
||||
top: 0;
|
||||
font-style: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
/*upload- E*/
|
||||
.question_btn {
|
||||
margin: 3rem auto 5.625rem;
|
||||
width: 15rem;
|
||||
height: 2.5rem;
|
||||
line-height: 2.5rem;
|
||||
background: #009fdf;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
|
||||
<!--top End-->
|
||||
|
||||
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/weben/images/blog/blog.png"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<div class="swt-Container">
|
||||
<div class="news-vertu">
|
||||
<div class="tab">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 轮播 e -->
|
||||
|
||||
|
||||
|
||||
<!-- 轮播 s >
|
||||
<div class="homeban banner-other">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><a href="#"><img src="__PUBLIC__/weben/images/blog/blog.png"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e ---->
|
||||
|
||||
<!-- Blog列表 s -->
|
||||
<div class="search_box">
|
||||
<i class="search_icon"></i>
|
||||
<input type="text" placeholder="Search blog articles" class="search" id="bg-search-in" value="<?php if(isset($search['name'])){ echo $search['name'];}?>"/>
|
||||
</div>
|
||||
<div class="blog_list">
|
||||
<?php if ($list): ?>
|
||||
<ul class="clearfix">
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<a href="<?php echo '/us/blog/detail/id/'.$detail['id'];?>.html">
|
||||
<img src="<?php echo getImage($detail['icon'], 951, 459, 6); ?>" />
|
||||
<h3><?php echo $detail['title']; ?></h3>
|
||||
<p><?php echo $detail['seo_description']; ?></p>
|
||||
</a>
|
||||
<span class="blue"><?php echo date("M d, Y", strtotime($detail['add_time'])); ?></span>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<div class="content">No Result!</div>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!-- Blog列表 e -->
|
||||
<script>
|
||||
var type = 'Blog';
|
||||
|
||||
//点击创建申请块
|
||||
$(function(){
|
||||
$('#bg-search-in').click(function(){
|
||||
var skeyword = $("#bg-search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "?name=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
163
app/us/view/customer/activation.phtml
Executable file
163
app/us/view/customer/activation.phtml
Executable file
@@ -0,0 +1,163 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<body class="bg-gray">
|
||||
<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" /}
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/weben/images/customer/activate.jpg" alt=""/>
|
||||
<div class="text-c position-a f-White activation_all">
|
||||
|
||||
<p class="font-28">Activate your account</p>
|
||||
|
||||
<p class="font-11">We’re excited to have you with us!</p>
|
||||
|
||||
<p class="font-11">We have sent an Activation Email to below Email address.</p>
|
||||
|
||||
<p class="font-11">Please open the mail to complete registration.</p>
|
||||
<p class="font-11"><?php echo $email; ?></p>
|
||||
|
||||
<span class="cursor_p"><p class="activation font-11" onclick="register()" id="btn_send" >Resend the Email</p></span>
|
||||
</div>
|
||||
|
||||
<div class="text-c activation_bottom" style="position: fixed; bottom: 2vw;">2015 ORICO Technologies Co.,Ltd copyright(<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030702002297" >GuangDong ICP No. 15,025,109</a>)</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
function register()
|
||||
{
|
||||
var time = 10;
|
||||
|
||||
var email = '<?php echo isset($email) ? $email : ''; ?>';
|
||||
var arg = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/;
|
||||
if (!arg.test(email))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var data = {
|
||||
email: email,
|
||||
re_send: 1
|
||||
};
|
||||
$.ajax({
|
||||
url: '/us/customer/new_register',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function(res) {
|
||||
if (res.code == 200)
|
||||
{
|
||||
var timer = setInterval(function () {
|
||||
if(time == 0){
|
||||
location.href = '/us/customer/activation.html?email=' + email;
|
||||
clearInterval(timer);
|
||||
}else {
|
||||
//$("#btn_send").html(time+"S");
|
||||
$("#btn_send").hide();
|
||||
time--;
|
||||
}
|
||||
},1000);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(res.msg);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
</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();
|
||||
$( ".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();
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
167
app/us/view/customer/activation20191114.phtml
Executable file
167
app/us/view/customer/activation20191114.phtml
Executable file
@@ -0,0 +1,167 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<body class="bg-gray">
|
||||
<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" /}
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/weben/images/customer/activate.jpg" alt=""/>
|
||||
<div class="text-c position-a f-White activation_all">
|
||||
|
||||
<p class="font-28">Activate your account</p>
|
||||
|
||||
<p class="font-11">We’re excited to have you with us!</p>
|
||||
|
||||
<p class="font-11">We have sent an Activation Email to below Email address.</p>
|
||||
|
||||
<p class="font-11">Please open the mail to complete registration.</p>
|
||||
<p class="font-11"><?php echo $email; ?></p>
|
||||
|
||||
<span class="cursor_p"><p class="activation font-11" onclick="register()">Resend the Email</p></span>
|
||||
</div>
|
||||
|
||||
<div class="text-c activation_bottom" style="position: fixed; bottom: 2vw;">2015 ORICO Technologies Co.,Ltd copyright(<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030702002297" >GuangDong ICP No. 15,025,109</a>)</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 注册 -->
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 注册 e -->
|
||||
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(".accounts").click(function(){
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_02").hide();
|
||||
$(".content_01").show();
|
||||
})
|
||||
$(".short_letter").click(function(){
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_01").hide();
|
||||
$(".content_02").show();
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<script type="text/javascript">
|
||||
function register()
|
||||
{
|
||||
var email = '<?php echo isset($email) ? $email : ''; ?>';
|
||||
var arg = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/;
|
||||
if (!arg.test(email))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var data = {
|
||||
email: email,
|
||||
re_send: 1
|
||||
};
|
||||
$.ajax({
|
||||
url: '/us/customer/new_register',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function(res) {
|
||||
if (res.code == 200)
|
||||
{
|
||||
location.href = '/us/customer/activation.html?email=' + email;
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(res.msg);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
</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();
|
||||
$( ".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();
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
430
app/us/view/customer/bind_phone.phtml
Executable file
430
app/us/view/customer/bind_phone.phtml
Executable file
@@ -0,0 +1,430 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<body class="bg-gray">
|
||||
<!-- 注册 -->
|
||||
<div class="login" style="margin-top:180px;">
|
||||
<div class="swt-Container">
|
||||
<div class="login_content_register">
|
||||
<div class="text-c" style="margin-bottom: 2vw"><img src="/uploads/default/logo-black.png"></div>
|
||||
<div class="title accounts blue cursor_p text-c">Retrieve Password</div>
|
||||
<div class="des accounts cursor_p text-c">We’ll send you a link so you can reset your password.</div>
|
||||
<div class="content">
|
||||
<li class="margin-b-5">
|
||||
<input type="text" onfocus="hide_err('email')" onblur="check_format('email')" id="email" placeholder="Email Address">
|
||||
<div id="err_email" style="color: red"></div>
|
||||
</li>
|
||||
<div class="tjdl">
|
||||
<button class="tjbtn" onclick="update_forget_pwd('update_by_email')">Sumbit</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="Register">
|
||||
<a href="__ORICOROOT__<?php echo url('/register'); ?>" class="left">Registry</a>
|
||||
<a href="__ORICOROOT__<?php echo url('/login'); ?>" class="right">Login</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-c login_bottom">2015 ORICO Technologies Co.,Ltd copyright(<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030702002297" >GuangDong ICP No. 15,025,109</a>)</div>
|
||||
<!-- 注册 e -->
|
||||
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(".accounts").click(function(){
|
||||
hide_err_batch(2);
|
||||
update_flag = 1;
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_02").hide();
|
||||
$(".content_01").show();
|
||||
})
|
||||
$(".short_letter").click(function(){
|
||||
alert('邮箱暂不可用');
|
||||
return;
|
||||
hide_err_batch(1);
|
||||
update_flag = 2;
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_01").hide();
|
||||
$(".content_02").show();
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<script type="text/javascript">
|
||||
var update_flag = 1;
|
||||
var sendsms_flag = 1;
|
||||
function get_captcha(type)
|
||||
{
|
||||
if (type == 'captcha1')
|
||||
{
|
||||
var url = '/index/customer/sendsms';
|
||||
var telephone = $("#telephone").val();
|
||||
var data = {
|
||||
telephone: telephone
|
||||
};
|
||||
|
||||
if (sendsms_flag == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!check_format('telephone'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (type == 'captcha2')
|
||||
{
|
||||
var url = '/index/customer/sendresetemail';
|
||||
var email = $("#email").val();
|
||||
var data = {
|
||||
email: email
|
||||
};
|
||||
|
||||
if (sendsms_flag == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!check_format('email'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function(data) {
|
||||
if (data.code == 200) {
|
||||
|
||||
//设置button效果,开始计时
|
||||
curCount = 60;
|
||||
$(".Obtain").attr("disabled", "true");
|
||||
$(".Obtain").html("重新获取" + curCount + "秒");
|
||||
InterValObj = window.setInterval(SetRemainTime, 1000);
|
||||
sendsms_flag = 0;
|
||||
setTimeout(function() {
|
||||
sendsms_flag = 1;
|
||||
}, 60000);
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function update_forget_pwd(type) {
|
||||
if (type == 'update_by_tel')
|
||||
{
|
||||
var telephone = $("#telephone").val();
|
||||
var captcha = $("#captcha1").val();
|
||||
var password = $("#password").val();
|
||||
var re_password = $("#re_password").val();
|
||||
var data = {
|
||||
telephone: telephone,
|
||||
captcha: captcha,
|
||||
password: password
|
||||
};
|
||||
|
||||
if (!check_format('telephone') || !check_format('password') || !check_format('re_password'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (type == 'update_by_email')
|
||||
{
|
||||
var email = $("#email").val();
|
||||
var captcha = $("#captcha2").val();
|
||||
var password = $("#password2").val();
|
||||
var re_password = $("#re_password2").val();
|
||||
var data = {
|
||||
email: email,
|
||||
captcha: captcha,
|
||||
password: password
|
||||
};
|
||||
|
||||
if (!check_format('email') || !check_format('password2') || !check_format('re_password2'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: 'index/customer/update_forget_pwd',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function (res) {
|
||||
if (res.code == 200)
|
||||
{
|
||||
alert(res.msg);
|
||||
location.href = '/login.html';
|
||||
}
|
||||
else if (res.code == -3)
|
||||
{
|
||||
var html = '<span style="color: red">' + res.msg + '</span>';
|
||||
show_err('captcha1', html);
|
||||
}
|
||||
else if (res.code == -5)
|
||||
{
|
||||
var html = '<span style="color: red">' + res.msg + '</span>';
|
||||
show_err('captcha2', html);
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(res.msg);
|
||||
}
|
||||
}
|
||||
})
|
||||
};
|
||||
|
||||
function check_format(id)
|
||||
{
|
||||
if (id == 'password' || id == 'password2')
|
||||
{
|
||||
var flag = id == 'password' ? 1 : 0;
|
||||
var _id = flag == 1 ? 're_password' : 're_password2';
|
||||
var err_id = flag == 1 ? 'pwd' : 'pwd2';
|
||||
|
||||
var re_password = $("#" + _id).val();
|
||||
if (re_password != '')
|
||||
{
|
||||
check_format(_id);
|
||||
}
|
||||
|
||||
var password = $("#" + id).val();
|
||||
var arg = /^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&*-.]+$)[a-zA-Z\d!@#$%^&*-.]{8,20}$/;
|
||||
if (!arg.test(password))
|
||||
{
|
||||
var html = '<span style="color: red">The password must contain 8-20 characters and at least two types of characters.</span>';
|
||||
show_err(err_id, html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err(err_id);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (id == 're_password' || id == 're_password2')
|
||||
{
|
||||
var flag = id == 're_password' ? 1 : 0;
|
||||
var pwd_id = flag == 1 ? 'password' : 'password2';
|
||||
var err_id = flag == 1 ? 're_pwd' : 're_pwd2';
|
||||
|
||||
var password = $("#" + pwd_id).val();
|
||||
var re_password = $("#" + id).val();
|
||||
if (password != re_password)
|
||||
{
|
||||
var html = '<span style="color: red"> Two password inconsistencies </span>';
|
||||
show_err(err_id, html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err(err_id);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (id == 'telephone')
|
||||
{
|
||||
var telephone = $("#telephone").val();
|
||||
var arg = /^1[3456789]\d{9}$/;
|
||||
if (!arg.test(telephone))
|
||||
{
|
||||
var html = '<span style="color: red">Please check the E-mail</span>';
|
||||
show_err('telephone', html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err('telephone');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (id == 'email')
|
||||
{
|
||||
var email = $("#email").val();
|
||||
var arg = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/;
|
||||
if (!arg.test(email))
|
||||
{
|
||||
var html = '<span style="color: red">Error Mail Form</span>';
|
||||
show_err('email', html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err('email');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*倒数计时*/
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$(".Obtain").removeAttr("disabled"); //启用按钮
|
||||
$(".Obtain").html("获取短信验证码");
|
||||
} else {
|
||||
curCount--;
|
||||
$(".Obtain").html("重新获取" + curCount + "秒");
|
||||
}
|
||||
}
|
||||
|
||||
$(document).keyup(function(e) {
|
||||
var code = e.keyCode;
|
||||
var type = update_flag == 1 ? 'update_by_tel' : 'update_by_email';
|
||||
if (code == 13)
|
||||
{
|
||||
update_forget_pwd(type);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function hide_err_batch(id)
|
||||
{
|
||||
if (id == 1)
|
||||
{
|
||||
hide_err('telephone');
|
||||
hide_err('captcha1');
|
||||
hide_err('password');
|
||||
hide_err('re_password');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function hide_err(id)
|
||||
{
|
||||
if (id == 'password')
|
||||
{
|
||||
var err_id = 'err_pwd';
|
||||
var input_id = 'password';
|
||||
}
|
||||
else if (id == 're_password')
|
||||
{
|
||||
var err_id = 'err_repwd';
|
||||
var input_id = 're_password';
|
||||
}
|
||||
if (id == 'password2')
|
||||
{
|
||||
var err_id = 'err_pwd2';
|
||||
var input_id = 'password2';
|
||||
}
|
||||
else if (id == 're_password2')
|
||||
{
|
||||
var err_id = 'err_repwd2';
|
||||
var input_id = 're_password2';
|
||||
}
|
||||
else if (id == 'email')
|
||||
{
|
||||
var err_id = 'err_email';
|
||||
var input_id = 'email';
|
||||
}
|
||||
else if (id == 'telephone')
|
||||
{
|
||||
var err_id = 'err_tel';
|
||||
var input_id = 'telephone';
|
||||
}
|
||||
else if (id == 'captcha1')
|
||||
{
|
||||
var err_id = 'err_captcha1';
|
||||
var input_id = 'captcha1';
|
||||
}
|
||||
else if (id == 'captcha2')
|
||||
{
|
||||
var err_id = 'err_captcha2';
|
||||
var input_id = 'captcha2';
|
||||
}
|
||||
|
||||
$('#' + err_id).html('');
|
||||
$('#' + input_id).css('border', '1px solid #dedfe0');
|
||||
}
|
||||
|
||||
function show_err(id, html)
|
||||
{
|
||||
if (id == 'pwd')
|
||||
{
|
||||
var err_id = 'err_pwd';
|
||||
var input_id = 'password';
|
||||
}
|
||||
else if (id == 're_pwd')
|
||||
{
|
||||
var err_id = 'err_repwd';
|
||||
var input_id = 're_password';
|
||||
}
|
||||
else if (id == 'pwd2')
|
||||
{
|
||||
var err_id = 'err_pwd2';
|
||||
var input_id = 'password2';
|
||||
}
|
||||
else if (id == 're_pwd2')
|
||||
{
|
||||
var err_id = 'err_repwd2';
|
||||
var input_id = 're_password2';
|
||||
}
|
||||
else if (id == 'email')
|
||||
{
|
||||
var err_id = 'err_email';
|
||||
var input_id = 'email';
|
||||
}
|
||||
else if (id == 'telephone')
|
||||
{
|
||||
var err_id = 'err_tel';
|
||||
var input_id = 'telephone';
|
||||
}
|
||||
else if (id == 'captcha1')
|
||||
{
|
||||
var err_id = 'err_captcha1';
|
||||
var input_id = 'captcha1';
|
||||
}
|
||||
else if (id == 'captcha2')
|
||||
{
|
||||
var err_id = 'err_captcha2';
|
||||
var input_id = 'captcha2';
|
||||
}
|
||||
|
||||
$('#' + err_id).html(html);
|
||||
$('#' + input_id).css('border', '1px solid red');
|
||||
}
|
||||
/*验证码倒计时*/
|
||||
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$(".Obtain").removeAttr("disabled"); //启用按钮
|
||||
$(".Obtain").html("获取短信验证码");
|
||||
} else {
|
||||
curCount--;
|
||||
$(".Obtain").html("重新获取" + curCount + "秒");
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
226
app/us/view/customer/forgetpwd.phtml
Executable file
226
app/us/view/customer/forgetpwd.phtml
Executable file
@@ -0,0 +1,226 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<body class="bg-gray">
|
||||
<!-- 注册 -->
|
||||
<div class="login" style="margin-top:180px;">
|
||||
<div class="swt-Container">
|
||||
<div class="login_content_register">
|
||||
<div class="text-c" style="margin-bottom: 2vw"><img src="/uploads/default/logo-black.png"></div>
|
||||
<div class="title accounts blue cursor_p text-c">Change Password</div>
|
||||
<div class="content">
|
||||
<li class="margin-b-5">
|
||||
<input type="password" id="password" onfocus="hide_err('password')" onblur="check_format('password')" placeholder="New password">
|
||||
<div id="err_password"></div>
|
||||
</li>
|
||||
<li class="margin-b-5">
|
||||
<input type="password" id="re_password" onfocus="hide_err('re_password')" onblur="check_format('re_password')" placeholder="Confirm New Password">
|
||||
<div id="err_re_password"></div>
|
||||
</li>
|
||||
<div class="tjdl">
|
||||
<button class="tjbtn" onclick="update_forget_pwd()">Sumbit</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="Register">
|
||||
<a href="__ORICOROOT__<?php echo url('/register'); ?>" class="left">Registry</a>
|
||||
<a href="__ORICOROOT__<?php echo url('/login'); ?>" class="right">Login</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-c login_bottom">2015 ORICO Technologies Co.,Ltd copyright(<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030702002297" >GuangDong ICP No. 15,025,109</a>)</div>
|
||||
<!-- 注册 e -->
|
||||
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(".accounts").click(function(){
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_02").hide();
|
||||
$(".content_01").show();
|
||||
})
|
||||
$(".short_letter").click(function(){
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_01").hide();
|
||||
$(".content_02").show();
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<script type="text/javascript">
|
||||
function update_forget_pwd() {
|
||||
|
||||
var password = $("#password").val();
|
||||
var re_password = $("#re_password").val();
|
||||
var token = '<?php echo isset($token) ? $token : ''; ?>';
|
||||
var data = {
|
||||
token: token,
|
||||
password: password
|
||||
};
|
||||
|
||||
if (!check_format('password') || !check_format('re_password'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: '/us/customer/change_password',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function (res) {
|
||||
if (res.code == 200)
|
||||
{
|
||||
alert(res.msg);
|
||||
location.href = '/us/login.html';
|
||||
}
|
||||
else if (res.code == -3)
|
||||
{
|
||||
var html = '<span style="color: red">' + res.msg + '</span>';
|
||||
show_err('captcha1', html);
|
||||
}
|
||||
else if (res.code == -5)
|
||||
{
|
||||
var html = '<span style="color: red">' + res.msg + '</span>';
|
||||
show_err('captcha2', html);
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(res.msg);
|
||||
}
|
||||
}
|
||||
})
|
||||
};
|
||||
|
||||
function check_format(id)
|
||||
{
|
||||
if (id == 'password')
|
||||
{
|
||||
var re_password = $("#re_password").val();
|
||||
if (re_password != '')
|
||||
{
|
||||
check_format('re_password');
|
||||
}
|
||||
|
||||
var password = $("#" + id).val();
|
||||
var arg = /^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&*-.]+$)[a-zA-Z\d!@#$%^&*-.]{8,20}$/;
|
||||
if (!arg.test(password))
|
||||
{
|
||||
var html = '<span style="color: red">The password must contain 8-20 characters and at least two types of characters.</span>';
|
||||
show_err('password', html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err('password');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (id == 're_password')
|
||||
{
|
||||
var password = $("#password").val();
|
||||
var re_password = $("#re_password").val();
|
||||
if (password != re_password)
|
||||
{
|
||||
var html = '<span style="color: red"> Two password inconsistencies </span>';
|
||||
show_err('re_password', html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err('re_password');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/*倒数计时*/
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$(".Obtain").removeAttr("disabled"); //启用按钮
|
||||
$(".Obtain").html("获取短信验证码");
|
||||
} else {
|
||||
curCount--;
|
||||
$(".Obtain").html("重新获取" + curCount + "秒");
|
||||
}
|
||||
}
|
||||
|
||||
$(document).keyup(function(e) {
|
||||
var code = e.keyCode;
|
||||
|
||||
if (code == 13)
|
||||
{
|
||||
update_forget_pwd();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function hide_err(id)
|
||||
{
|
||||
if (id == 'password')
|
||||
{
|
||||
var err_id = 'err_password';
|
||||
var input_id = 'password';
|
||||
}
|
||||
else if (id == 're_password')
|
||||
{
|
||||
var err_id = 'err_re_password';
|
||||
var input_id = 're_password';
|
||||
}
|
||||
|
||||
$('#' + err_id).html('');
|
||||
$('#' + input_id).css('border', '1px solid #dedfe0');
|
||||
}
|
||||
|
||||
function show_err(id, html)
|
||||
{
|
||||
if (id == 'password')
|
||||
{
|
||||
var err_id = 'err_password';
|
||||
var input_id = 'password';
|
||||
}
|
||||
else if (id == 're_password')
|
||||
{
|
||||
var err_id = 'err_re_password';
|
||||
var input_id = 're_password';
|
||||
}
|
||||
|
||||
$('#' + err_id).html(html);
|
||||
$('#' + input_id).css('border', '1px solid red');
|
||||
}
|
||||
/*验证码倒计时*/
|
||||
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$(".Obtain").removeAttr("disabled"); //启用按钮
|
||||
$(".Obtain").html("获取短信验证码");
|
||||
} else {
|
||||
curCount--;
|
||||
$(".Obtain").html("重新获取" + curCount + "秒");
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
229
app/us/view/customer/forgetpwd_email.phtml
Executable file
229
app/us/view/customer/forgetpwd_email.phtml
Executable file
@@ -0,0 +1,229 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<body class="bg-gray">
|
||||
<!-- 注册 -->
|
||||
<div class="login" style="margin-top:180px;">
|
||||
<div class="swt-Container">
|
||||
<div class="login_content_register">
|
||||
<div class="text-c" style="margin-bottom: 2vw"><img src="/uploads/default/logo-black.png"></div>
|
||||
<div class="title accounts blue cursor_p text-c">Retrieve Password</div>
|
||||
<div class="des accounts cursor_p text-c margin-t-10vw">We’ll send you a link so you can reset your password.</div>
|
||||
<div class="content">
|
||||
<li class="margin-b-5">
|
||||
<input type="text" onfocus="hide_err('email')" onblur="check_format('email')" id="email" placeholder="Email Address">
|
||||
<div id="err_email" style="color: red"></div>
|
||||
</li>
|
||||
<div class="tjdl">
|
||||
<button class="tjbtn" onclick="update_forget_pwd('update_by_email')">Sumbit</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="Register">
|
||||
<a href="__ORICOROOT__<?php echo url('/register'); ?>" class="left">Registry</a>
|
||||
<a href="__ORICOROOT__<?php echo url('/login'); ?>" class="right">Login</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-c login_bottom">2015 ORICO Technologies Co.,Ltd copyright(<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030702002297" >GuangDong ICP No. 15,025,109</a>)</div>
|
||||
<!-- 注册 e -->
|
||||
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(".accounts").click(function(){
|
||||
hide_err_batch(2);
|
||||
update_flag = 1;
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_02").hide();
|
||||
$(".content_01").show();
|
||||
})
|
||||
$(".short_letter").click(function(){
|
||||
alert('邮箱暂不可用');
|
||||
return;
|
||||
hide_err_batch(1);
|
||||
update_flag = 2;
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_01").hide();
|
||||
$(".content_02").show();
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<script type="text/javascript">
|
||||
function update_forget_pwd() {
|
||||
|
||||
var password = $("#password").val();
|
||||
var re_password = $("#re_password").val();
|
||||
var token = '<?php echo isset($token) ? $token : ''; ?>';
|
||||
var data = {
|
||||
token: token,
|
||||
password: password
|
||||
};
|
||||
|
||||
if (!check_format('password') || !check_format('re_password'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: '/us/customer/change_password',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function (res) {
|
||||
if (res.code == 200)
|
||||
{
|
||||
alert(res.msg);
|
||||
location.href = '/login.html';
|
||||
}
|
||||
else if (res.code == -3)
|
||||
{
|
||||
var html = '<span style="color: red">' + res.msg + '</span>';
|
||||
show_err('captcha1', html);
|
||||
}
|
||||
else if (res.code == -5)
|
||||
{
|
||||
var html = '<span style="color: red">' + res.msg + '</span>';
|
||||
show_err('captcha2', html);
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(res.msg);
|
||||
}
|
||||
}
|
||||
})
|
||||
};
|
||||
|
||||
function check_format(id)
|
||||
{
|
||||
if (id == 'password')
|
||||
{
|
||||
var re_password = $("#re_password").val();
|
||||
if (re_password != '')
|
||||
{
|
||||
check_format('re_password');
|
||||
}
|
||||
|
||||
var password = $("#" + id).val();
|
||||
var arg = /^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&*-.]+$)[a-zA-Z\d!@#$%^&*-.]{8,20}$/;
|
||||
if (!arg.test(password))
|
||||
{
|
||||
var html = '<span style="color: red">The password must contain 8-20 characters and at least two types of characters.</span>';
|
||||
show_err('password', html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err('password');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (id == 're_password')
|
||||
{
|
||||
var password = $("#password").val();
|
||||
var re_password = $("#re_password").val();
|
||||
if (password != re_password)
|
||||
{
|
||||
var html = '<span style="color: red"> Two password inconsistencies </span>';
|
||||
show_err('re_password', html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err('re_password');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/*倒数计时*/
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$(".Obtain").removeAttr("disabled"); //启用按钮
|
||||
$(".Obtain").html("获取短信验证码");
|
||||
} else {
|
||||
curCount--;
|
||||
$(".Obtain").html("重新获取" + curCount + "秒");
|
||||
}
|
||||
}
|
||||
|
||||
$(document).keyup(function(e) {
|
||||
var code = e.keyCode;
|
||||
|
||||
if (code == 13)
|
||||
{
|
||||
update_forget_pwd();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function hide_err(id)
|
||||
{
|
||||
if (id == 'password')
|
||||
{
|
||||
var err_id = 'err_password';
|
||||
var input_id = 'password';
|
||||
}
|
||||
else if (id == 're_password')
|
||||
{
|
||||
var err_id = 'err_re_password';
|
||||
var input_id = 're_password';
|
||||
}
|
||||
|
||||
$('#' + err_id).html('');
|
||||
$('#' + input_id).css('border', '1px solid #dedfe0');
|
||||
}
|
||||
|
||||
function show_err(id, html)
|
||||
{
|
||||
if (id == 'password')
|
||||
{
|
||||
var err_id = 'err_password';
|
||||
var input_id = 'password';
|
||||
}
|
||||
else if (id == 're_password')
|
||||
{
|
||||
var err_id = 'err_re_password';
|
||||
var input_id = 're_password';
|
||||
}
|
||||
|
||||
$('#' + err_id).html(html);
|
||||
$('#' + input_id).css('border', '1px solid red');
|
||||
}
|
||||
/*验证码倒计时*/
|
||||
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$(".Obtain").removeAttr("disabled"); //启用按钮
|
||||
$(".Obtain").html("获取短信验证码");
|
||||
} else {
|
||||
curCount--;
|
||||
$(".Obtain").html("重新获取" + curCount + "秒");
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
151
app/us/view/customer/index.phtml
Executable file
151
app/us/view/customer/index.phtml
Executable file
@@ -0,0 +1,151 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
|
||||
<!-- 登录 -->
|
||||
<div class="login login_bg login_height">
|
||||
<div class="swt-Container">
|
||||
<div class="login_content">
|
||||
<div class="title f-black text-c"><span class="cursor_p">Welcome Back</span></div>
|
||||
<div class="content content_01">
|
||||
<li class="margin-b-5">
|
||||
<input type="text" id="email" onfocus="hide_err('email')" onblur="check_format('email')" placeholder="Email Address">
|
||||
<div id="err_email" style="color: red"></div>
|
||||
</li>
|
||||
<li class="margin-b-5">
|
||||
<input type="password" onfocus="hide_err('password')" id="password" placeholder="Password">
|
||||
<div id="err_password" style="color: red"></div>
|
||||
</li>
|
||||
<div id="err_block" style="color: red"></div>
|
||||
|
||||
<div class="tjdl">
|
||||
<a class="tjbtn" id="submit-btn" onclick="login()">Login</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Register">
|
||||
<a href="__ORICOROOT__<?php echo url('/register'); ?>" class="left">Registry</a>
|
||||
<a href="__ORICOROOT__<?php echo url('/customer/retrieve_password'); ?>" class="right"> Forget password?</a>
|
||||
</div>
|
||||
<!-- <div class="short">
|
||||
<div class="Quick"><span>其它登录方式</span></div>
|
||||
<a onclick='toLogin()'><img src="__PUBLIC__/web/images/customer/QQ.png" height="33"></a>
|
||||
<a onclick='toLogin()'><img src="__PUBLIC__/web/images/customer/weixin.png" height="33"></a>
|
||||
</div>-->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 登录 -->
|
||||
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/footer" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<script type="text/javascript">
|
||||
function show_err(id, html)
|
||||
{
|
||||
var err_id = '#err_' + id;
|
||||
var input_id = '#' + id;
|
||||
|
||||
$(err_id).html(html);
|
||||
$(input_id).css('border', '1px solid red');
|
||||
}
|
||||
|
||||
function hide_err(id)
|
||||
{
|
||||
var err_id = '#err_' + id;
|
||||
var input_id = '#' + id;
|
||||
|
||||
$(err_id).html('');
|
||||
$('err_block').html('');
|
||||
$(input_id).css('border', '1px solid #dedfe0');
|
||||
}
|
||||
|
||||
function check_format(id)
|
||||
{
|
||||
if (id == 'email')
|
||||
{
|
||||
var email = $("#email").val();
|
||||
var arg = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/;
|
||||
if (!arg.test(email))
|
||||
{
|
||||
var html = 'Please check the E-mail';
|
||||
show_err(id, html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err(id);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function login()
|
||||
{
|
||||
var email = $("#email").val();
|
||||
var password = $("#password").val();
|
||||
var data = {
|
||||
email: email,
|
||||
password: password
|
||||
};
|
||||
|
||||
if (!check_format('email'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: '/us/customer/new_login',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function (res) {
|
||||
if (res.code == 200)
|
||||
{
|
||||
var redirect_uri = '<?php echo $url; ?>';
|
||||
if (redirect_uri != '')
|
||||
{
|
||||
location.href = redirect_uri;
|
||||
}
|
||||
else
|
||||
{
|
||||
location.href = '/us/customer/personal';
|
||||
}
|
||||
}
|
||||
else if (res.code < 0)
|
||||
{
|
||||
var html = res.msg;
|
||||
$('#err_block').html(html);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).keyup(function(e) {
|
||||
var code = e.keyCode;
|
||||
if (code == 13)
|
||||
{
|
||||
login();
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
114
app/us/view/customer/index1.phtml
Executable file
114
app/us/view/customer/index1.phtml
Executable file
@@ -0,0 +1,114 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-product" /}
|
||||
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="zhuce1">
|
||||
<div class="w1200">
|
||||
<form action="<?php echo url('/index/customer/login'); ?>" method="post" id="login-form">
|
||||
<div class="zctit">
|
||||
<a href="<?php echo url('/login'); ?>" class="zca1">登录</a>
|
||||
<a href="<?php echo url('/register'); ?>" class="zca2">没有账号/快速注册</a>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<ul class="w1000 zclist">
|
||||
<li>
|
||||
<span class="zctext1 zctext1s">用户名:</span>
|
||||
<input type="text" name="firstname" value="" id="firstname">
|
||||
<a href="<?php echo url('/register'); ?>" class="shorzc">快速注册</a>
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1 zctext1s">密码:</span>
|
||||
<input type="password" name="password" value="" id="password">
|
||||
<a href="<?php echo url('/forgetpwd'); ?>" class="shorzc">找回密码</a>
|
||||
</li>
|
||||
<li>
|
||||
<span class="zctext1 zctext1s">验证码:</span>
|
||||
<input type="text" name="authcode" value="" class="yzm" id="authcode">
|
||||
<span class="zctext2">输入下图中的字符</span>
|
||||
<p class="yznum yznums">
|
||||
<a href="javascript:void(0);" class="yanzhengma"><img id="yanzhengma" src="<?php echo url('index/authcode/verify', ['id' => 'yanzhengma'], 'png|jpg|gif'); ?>"></a>
|
||||
<a href="javascript:void(0);" class="other yanzhengma">换一个</a>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="tjdl">
|
||||
<input type="checkbox" name="autologin" value="0"><label>自动登录</label>
|
||||
<a href="#" class="tjbtn" id="submit-btn">登录</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="short">
|
||||
<span>快捷登录:</span>
|
||||
<span onclick='toQzoneLogin()'>QQ登录</span>
|
||||
<script type="text/javascript">
|
||||
var childWindow;
|
||||
function toQzoneLogin()
|
||||
{
|
||||
childWindow = window.open("index/Qqlogin/index","TencentLogin","width=450,height=320,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
|
||||
}
|
||||
|
||||
function closeChildWindow()
|
||||
{
|
||||
childWindow.close();
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("a.yanzhengma").click(function(event) {
|
||||
event.preventDefault();
|
||||
//$img = $("#authcode");
|
||||
$("#yanzhengma").attr("src", "<?php echo url('index/authcode/verify', ['id' => 'yanzhengma'], 'png|jpg|gif'); ?>" + "?" + Math.random());
|
||||
});
|
||||
$('#login-form').bind('submit', function() {
|
||||
var options = {
|
||||
url: "<?php echo url('/index/customer/login'); ?>",
|
||||
type: "post",
|
||||
cache: false,
|
||||
dataType: "json",
|
||||
data: $(this).serialize(),
|
||||
success: function(data) {
|
||||
if (data.code) {
|
||||
location.href = data.url;
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
complete: function() {
|
||||
//HideLoading();
|
||||
$("a.yanzhengma").click();
|
||||
}
|
||||
};
|
||||
$.ajax(options);
|
||||
return false;
|
||||
});
|
||||
$("a#submit-btn").click(function(event) {
|
||||
event.preventDefault();
|
||||
$('#login-form').submit();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- QQ快捷登录-->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
42
app/us/view/customer/information.phtml
Executable file
42
app/us/view/customer/information.phtml
Executable file
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<div class="zhuce1">
|
||||
<div class="w1200">
|
||||
<ul class="w1000 zclist zclist1">
|
||||
<li>
|
||||
<p class="ts3"><?php echo $msg; ?>!</p>
|
||||
<p class="ts4">如果您不能正常登录,请联系在线客服QQ:XXXX 工作时间:09:00--18:00</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 新闻详情页 e -->
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
233
app/us/view/customer/my_collection.phtml
Executable file
233
app/us/view/customer/my_collection.phtml
Executable file
@@ -0,0 +1,233 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<title>Favorite</title>
|
||||
{include file="include/head-product" /}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="swt-Container">
|
||||
<div class="people">
|
||||
<div class="people_title">
|
||||
<ul>
|
||||
<a href="__ORICOROOT__/customer/personal"><li>Manage Your Account</li></a>
|
||||
<a href="__ORICOROOT__/customer/my_collection"><li class="people_blue">Favorite</li></a>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="content02">
|
||||
<?php if (!empty($customer_info)): ?>
|
||||
<?php
|
||||
$head_img = $head_img = $customer_info['picture'] != '' ? $customer_info['picture'] : '__PUBLIC__/web/images/customer/logo_small_03.png';
|
||||
?>
|
||||
<div class="people_logo">
|
||||
<div class="left"><img style="border-radius: 50%;" src="<?php echo $head_img; ?>"></div>
|
||||
<div class="right">
|
||||
<div>User:<?php echo $customer_info['firstname']; ?></div>
|
||||
<!-- <div class="">修改个人信息</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="people_AC">
|
||||
<div class="title link_a">
|
||||
<div class="text-r">
|
||||
<div class="u_admin01 cursor_p"><i class='Batch'>Batch Management</i></div>
|
||||
<div class="u_admin02" style="display: none">
|
||||
<i class="cursor_p"><input type="checkbox" class="check" name="check" value="">Select All</i>
|
||||
<i class='delete cursor_p'>Delete</i>
|
||||
<i class='cancel cursor_p'>Cancel</i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="test-r">
|
||||
<div class="u_cate">
|
||||
Classify:<a class="<?php if ($cid == 0): ?> f_blue <?php endif; ?>" href="__ORICOROOT__/customer/my_collection">All</a>
|
||||
<?php if (!empty($productCategory)): ?>
|
||||
<?php foreach($productCategory as $key => $value): ?>
|
||||
<a class="<?php if ($cid == $value['id']): ?> f_blue <?php endif; ?>" href="__ORICOROOT__/customer/my_collection/cid/<?php echo $value['id']; ?>"><?php echo $value['name']; ?> </a>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="u_product">
|
||||
<?php if (!empty($list)): ?>
|
||||
|
||||
<?php foreach($list as $key => $value): ?>
|
||||
<ul>
|
||||
<li class="d_product">
|
||||
<div class="position-r" >
|
||||
<div class="check_B position-a" style="display: none;"><input id="" name="check_box" type="checkbox" class="check_box" value="<?php echo $value['id']; ?>"><label></label></div>
|
||||
<a href="__ORICOROOT__/product/detail/<?php echo $value['id']; ?>.html">
|
||||
<img src="<?php echo $value['product_two_img']; ?>">
|
||||
</a>
|
||||
<div product_id="<?php echo $value['id']; ?>" class="delete_product u_del s_del" style="display: none"><img src="__PUBLIC__/web/images/customer/del.jpg" class="cursor_p"></div>
|
||||
<div class="del_alert" style="display: none;">
|
||||
<p>Confirm Delete?</p>
|
||||
<span class="bg_red cursor_p">Confirm</span>
|
||||
<span class="bg_gray cursor_p">Cancel</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/detail/<?php echo $value['id']; ?>.html">
|
||||
<p><?php echo $value['name']?></p>
|
||||
<p><?php echo $value['brand_id']; ?></p>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<?php endforeach; ?>
|
||||
<?php else: ?>
|
||||
<div class="u_product text-c" style="line-height: 300px;" > You haven't collected any products yet. </div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ($page)
|
||||
{
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="all_del" style="display: none">
|
||||
<div class="all_delect">
|
||||
<p>Confirm Delete?</p>
|
||||
<span class="bg_red cursor_p">Confirm</span>
|
||||
<span class="bg_gray cursor_p">Cancel</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="application/javascript">
|
||||
|
||||
/*修改*/
|
||||
$(document).ready(function(){
|
||||
$(".u_before .right").click(function(){
|
||||
$(this).parents(".u_before").hide();
|
||||
$(this).parents(".u_before").next().show();
|
||||
})
|
||||
$(".u_after .u_button_gray").click(function(){
|
||||
$(this).parents(".u_after").hide();
|
||||
$(this).parents(".u_after").prev().show();
|
||||
})
|
||||
})
|
||||
/*批量管理*/
|
||||
$(document).ready(function(){
|
||||
$(".u_admin01 .Batch").click(function(){
|
||||
$(".u_admin01").hide();
|
||||
$(".u_admin02").show();
|
||||
$(".u_product .check_B").show();
|
||||
$(".u_product .s_del").removeClass('u_del');
|
||||
});
|
||||
$(".u_admin02 .cancel").click(function(){
|
||||
$(".u_admin02").hide();
|
||||
$(".u_admin01").show();
|
||||
$(".u_product .check_B").hide();
|
||||
$(".u_product .s_del").addClass('u_del');
|
||||
});
|
||||
})
|
||||
|
||||
/*全选*/
|
||||
$(document).ready(function(){
|
||||
$(".u_admin02 input[name='check']").click(function(){
|
||||
if($(this).is(":checked")){
|
||||
$(".u_product input[type='checkbox']").prop("checked",true);
|
||||
}else{
|
||||
$(".u_product input[type='checkbox']").prop("checked",false);
|
||||
}
|
||||
})
|
||||
});
|
||||
/*删除*/
|
||||
$(document).ready(function(){
|
||||
$(".d_product").mouseover(function(){
|
||||
$(this).find(".u_del").show();
|
||||
})
|
||||
$(".d_product").mouseleave(function(){
|
||||
$(this).find(".u_del").hide();
|
||||
})
|
||||
|
||||
});
|
||||
/*删除*/
|
||||
$(document).ready(function(){
|
||||
$(".u_del").click(function(){
|
||||
$(this).next(".del_alert").show();
|
||||
})
|
||||
$(".del_alert .bg_gray").click(function(){
|
||||
|
||||
$(this).parent(".del_alert").hide();
|
||||
})
|
||||
$(".del_alert .bg_red").click(function(){
|
||||
var product_id = $(this).parents('.del_alert').prev('.delete_product').attr('product_id');
|
||||
cancel_collection(product_id);
|
||||
$(this).parents(".d_product").remove();
|
||||
})
|
||||
});
|
||||
|
||||
/*批量管量*/
|
||||
var checked = [];
|
||||
$(document).ready(function(){
|
||||
$(".delete").click(function(){
|
||||
$('input[name="check_box"]:checked').each(function() {
|
||||
checked.push($(this).val());
|
||||
});
|
||||
$(".all_del").show();
|
||||
});
|
||||
$(".all_delect .bg_gray").click(function(){
|
||||
$(".all_del").hide();
|
||||
checked = [];
|
||||
});
|
||||
$(".all_delect .bg_red").click(function(){
|
||||
var product_ids = checked;
|
||||
cancel_collection(product_ids, 1);
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
<script type="text/javascript">
|
||||
function cancel_collection(product_id, type=0)
|
||||
{
|
||||
if (product_id == '')
|
||||
{
|
||||
alert(' Please choose the product first. ');
|
||||
$(".all_del").hide();
|
||||
return;
|
||||
}
|
||||
|
||||
var data = {
|
||||
type: 1,
|
||||
coll_id: product_id
|
||||
};
|
||||
|
||||
$.ajax({
|
||||
url: '/index/collection/cancel_collection',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function (res) {
|
||||
if (type == 1)
|
||||
{
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
233
app/us/view/customer/personal.phtml
Executable file
233
app/us/view/customer/personal.phtml
Executable file
@@ -0,0 +1,233 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<title>My Center</title>
|
||||
{include file="include/head-product" /}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Product">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="swt-Container">
|
||||
<div class="people">
|
||||
<div class="people_title">
|
||||
<ul>
|
||||
<a href="__ORICOROOT__/customer/personal.html"><li class="people_blue">Manage Your Account</li></a>
|
||||
<a href="__ORICOROOT__/customer/my_collection.html"><li>Favorite</li></a>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="content01">
|
||||
<?php if (!empty($customer_info)): ?>
|
||||
<?php
|
||||
$head_img = $customer_info['picture'] != '' ? $customer_info['picture'] : '__PUBLIC__/web/images/customer/logo_small_03.png';
|
||||
?>
|
||||
<div class="people_logo">
|
||||
<div class="left"><img style="border-radius: 50%;" src="<?php echo $head_img; ?>"></div>
|
||||
<div class="right">
|
||||
<div>User:<?php echo $customer_info['firstname']; ?></div>
|
||||
<!--<div class="">修改个人信息</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="people_AC">
|
||||
<div class="title"><span class="text-l">Account Security</span></div>
|
||||
<?php if (!empty($customer_info)): ?>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="u_before">
|
||||
<div class="left">Password</div>
|
||||
<div class="right cursor_p">Change Password</div>
|
||||
</div>
|
||||
<div class="u_after b_bottom" style="display: none;">
|
||||
<?php if ($customer_info['have_pwd']): ?>
|
||||
<div class="m-bottom">
|
||||
<label>Original Password</label>
|
||||
<input id="old_password" onfocus="hide_err('old_password')" class="form-control input_class" type="password">
|
||||
<div id="err_old_password" style="color: red"></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="m-bottom">
|
||||
<label>New Password</label>
|
||||
<input onfocus="hide_err('new_password')" onblur="check_format('new_password')" id="new_password" class="form-control input_class" type="password">
|
||||
<div id="err_new_password" style="color: red"></div>
|
||||
</div>
|
||||
<div class="m-bottom">
|
||||
<label>Confirm Password</label>
|
||||
<input onfocus="hide_err('re_password')" onblur="check_format('re_password')" id="re_password" class="form-control input_class" type="password">
|
||||
<div id="err_re_password" style="color: red"></div>
|
||||
</div>
|
||||
|
||||
<div class="u_button">
|
||||
<a class="u_button_blue" onclick="update_pwd()">Confirm</a>
|
||||
<a class="u_button_gray">Cancel</a>
|
||||
<a href="__ORICOROOT__/customer/retrieve_password.html">
|
||||
<span class="forget_button f_blue">Forget Password</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="application/javascript">
|
||||
|
||||
/*修改*/
|
||||
$(document).ready(function(){
|
||||
$(".u_before .right").click(function(){
|
||||
$(this).parents(".u_before").hide();
|
||||
$(this).parents(".u_before").next().show();
|
||||
})
|
||||
$(".u_after .u_button_gray").click(function(){
|
||||
$(this).parents(".u_after").hide();
|
||||
$(this).parents(".u_after").prev().show();
|
||||
})
|
||||
})
|
||||
/*批量管理*/
|
||||
$(document).ready(function(){
|
||||
$(".u_admin01 .Batch").click(function(){
|
||||
$(".u_admin01").hide();
|
||||
$(".u_admin02").show();
|
||||
$(".u_product .check_B").html('<div class="check_B position-a"><input id="" type="checkbox" class="check_box"><label></label></div>');
|
||||
});
|
||||
$(".u_admin02 .cancel").click(function(){
|
||||
$(".u_admin02").hide();
|
||||
$(".u_admin01").show();
|
||||
$(".u_product .check_B").html('');
|
||||
});
|
||||
})
|
||||
|
||||
/*全选*/
|
||||
$(document).ready(function(){
|
||||
$(".u_admin02 input[name='check']").click(function(){
|
||||
if($(this).is(":checked")){
|
||||
$(".u_product input[type='checkbox']").prop("checked",true);
|
||||
}else{
|
||||
$(".u_product input[type='checkbox']").prop("checked",false);
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<script type="text/javascript">
|
||||
function check_format(id)
|
||||
{
|
||||
if (id == 'new_password')
|
||||
{
|
||||
var re_password = $("#re_password").val();
|
||||
if (re_password != '')
|
||||
{
|
||||
check_format('re_password');
|
||||
}
|
||||
|
||||
var password = $("#new_password").val();
|
||||
var arg = /^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&*-.]+$)[a-zA-Z\d!@#$%^&*-.]{8,20}$/;
|
||||
if (!arg.test(password))
|
||||
{
|
||||
var html = 'The password must contain 8-20 characters and at least two types of characters.';
|
||||
show_err('new_password', html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err('new_password');
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
else if (id == 're_password')
|
||||
{
|
||||
var password = $("#new_password").val();
|
||||
var re_password = $("#re_password").val();
|
||||
if (password != re_password)
|
||||
{
|
||||
var html = 'Two password inconsistencies';
|
||||
show_err('re_password', html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err('re_password');
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function update_pwd()
|
||||
{
|
||||
var old_password = $("#old_password").val();
|
||||
var password = $("#new_password").val();
|
||||
|
||||
var data = {
|
||||
old_password: old_password,
|
||||
password: password,
|
||||
};
|
||||
|
||||
if (!check_format('new_password') || !check_format('re_password'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: '/us/customer/update_pwd',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function (res) {
|
||||
if (res.code == 200)
|
||||
{
|
||||
alert(res.msg);
|
||||
location.reload();
|
||||
}
|
||||
else if (res.code == -2)
|
||||
{
|
||||
var html = res.msg;
|
||||
show_err('old_password', html);
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(res.msg);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function show_err(id, html)
|
||||
{
|
||||
var err_id = '#err_' + id;
|
||||
var input_id = '#' + id;
|
||||
|
||||
$(err_id).html(html);
|
||||
$(input_id).css('border', '1px solid red');
|
||||
}
|
||||
|
||||
function hide_err(id)
|
||||
{
|
||||
var err_id = '#err_' + id;
|
||||
var input_id = '#' + id;
|
||||
|
||||
$(err_id).html('');
|
||||
$(input_id).css('border', '1px solid #dedfe0');
|
||||
}
|
||||
</script>
|
||||
272
app/us/view/customer/register.phtml
Executable file
272
app/us/view/customer/register.phtml
Executable file
@@ -0,0 +1,272 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body class="bg-gray">
|
||||
<!-- 注册 -->
|
||||
<div class="login" style="margin-top:186px;">
|
||||
<div class="swt-Container">
|
||||
<div class="login_content_register">
|
||||
<div class="text-c" style="margin-bottom: 2vw"><a href="__ORICOROOT__"><img src="/uploads/default/logo-black.png"></a></div>
|
||||
<div class="title f-black text-c"><span class="cursor_p">Create Account</span></div>
|
||||
<div class="content">
|
||||
<ul>
|
||||
<li class="margin-b-7">
|
||||
<input type="text" onfocus="hide_err('email')" onblur="check_format('email')" id="email" placeholder="Email Address">
|
||||
<div id="err_email" style="color: red"></div>
|
||||
</li>
|
||||
<li class="margin-b-7">
|
||||
<input type="password" onfocus="hide_err('password')" onblur="check_format('password')" id="password" placeholder="Password">
|
||||
<div id="err_password" style="color: red"></div>
|
||||
</li>
|
||||
<li class="margin-b-7 overflow-f">
|
||||
<input type="text" onfocus="hide_err('captcha')" id="captcha" placeholder="Enter Captcha">
|
||||
<div class="w_right text-center">
|
||||
<img id="verifyimg" src="/captcha/authcode.html" class="img-responsive ">
|
||||
</div>
|
||||
<div id="err_captcha" style="color: red; width:100%; overflow: hidden; margin-top:1vw;"></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tjdl">
|
||||
<button class="tjbtn" onclick="register()">Registry</button>
|
||||
</div>
|
||||
<div class="Register text-r">
|
||||
<a href="login.html" class="f_blue">Login</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-c login_bottom">2015 ORICO Technologies Co.,Ltd copyright(<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030702002297" >GuangDong ICP No. 15,025,109</a>)</div>
|
||||
<!-- 注册 e -->
|
||||
</body>
|
||||
</html>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(".accounts").click(function(){
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_02").hide();
|
||||
$(".content_01").show();
|
||||
})
|
||||
$(".short_letter").click(function(){
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_01").hide();
|
||||
$(".content_02").show();
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
function isNull(data) {
|
||||
return (data == "" || data == undefined || data == null) ? true : false;
|
||||
}
|
||||
function trim(str) {
|
||||
return str.replace(/(^\s*)|(\s*$)/g, '');
|
||||
}
|
||||
|
||||
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>
|
||||
<script type="text/javascript">
|
||||
function show_err(id, html)
|
||||
{
|
||||
var err_id = '#err_' + id;
|
||||
var input_id = '#' + id;
|
||||
|
||||
$(err_id).html(html);
|
||||
$(input_id).css('border', '1px solid red');
|
||||
}
|
||||
|
||||
function hide_err(id)
|
||||
{
|
||||
var err_id = '#err_' + id;
|
||||
var input_id = '#' + id;
|
||||
|
||||
$(err_id).html('');
|
||||
$(input_id).css('border', '1px solid #dedfe0');
|
||||
}
|
||||
|
||||
function check_format(id)
|
||||
{
|
||||
if (id == 'email')
|
||||
{
|
||||
var email = $("#email").val();
|
||||
|
||||
var arg = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/;
|
||||
if (!arg.test(email))
|
||||
{
|
||||
var html = 'Please check the E-mail';
|
||||
show_err(id, html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err(id);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (id == 'password')
|
||||
{
|
||||
var password = $("#password").val();
|
||||
var arg = /^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&*-.]+$)[a-zA-Z\d!@#$%^&*-.]{8,20}$/;
|
||||
if (!arg.test(password))
|
||||
{
|
||||
var html = 'The password must contain 8-20 characters and at least two types of characters.';
|
||||
show_err(id, html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err(id);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function register()
|
||||
{
|
||||
var email = $("#email").val();
|
||||
var password = $("#password").val();
|
||||
var captcha = $("#captcha").val();
|
||||
var data = {
|
||||
email: email,
|
||||
password: password,
|
||||
captcha: captcha
|
||||
}
|
||||
|
||||
if (!check_format('email') || !check_format('password'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: '/us/customer/new_register',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function(res) {
|
||||
if (res.code == 200)
|
||||
{
|
||||
location.href = '/us/customer/activation.html?email=' + email;
|
||||
}
|
||||
if (res.code < 0)
|
||||
{
|
||||
$("#verifyimg").trigger('click');
|
||||
if (res.code == -4)
|
||||
{
|
||||
var html = 'Captcha Error';
|
||||
show_err('captcha', html);
|
||||
}
|
||||
else if (res.code == -5)
|
||||
{
|
||||
var html = res.msg;
|
||||
show_err('email', html);
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(res.msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
var sendsms_flag = 1;
|
||||
function get_captcha(type)
|
||||
{
|
||||
if (type == 'captcha1')
|
||||
{
|
||||
var url = '/index/customer/sendsms';
|
||||
var telephone = $("#telephone").val();
|
||||
var data = {
|
||||
register: 1,
|
||||
telephone: telephone
|
||||
};
|
||||
|
||||
if (sendsms_flag == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!check_format('telephone'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (type == 'captcha2')
|
||||
{
|
||||
alert('邮箱注册暂不可用');
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: url,
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function(data) {
|
||||
if (data.code > 0) {
|
||||
//设置button效果,开始计时
|
||||
curCount = 60;
|
||||
$(".Obtain").attr("disabled", "true");
|
||||
$(".Obtain").html("Sent Again" + curCount + "S");
|
||||
InterValObj = window.setInterval(SetRemainTime, 1000); //启动计时器,1秒执行一次
|
||||
sendsms_flag = 0;
|
||||
setTimeout(function() {
|
||||
sendsms_flag = 1;
|
||||
}, 60000);
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$(".Obtain").removeAttr("disabled"); //启用按钮
|
||||
$(".Obtain").html("获取短信验证码");
|
||||
} else {
|
||||
curCount--;
|
||||
$(".Obtain").html("重新获取" + curCount + "秒");
|
||||
}
|
||||
}
|
||||
|
||||
$(document).keyup(function(e) {
|
||||
var code = e.keyCode;
|
||||
if (code == 13)
|
||||
{
|
||||
register();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$("#verifyimg").click(function(event) {
|
||||
event.preventDefault();
|
||||
$img = $("#verifyimg");
|
||||
$img.attr("src", "/captcha/authcode.html?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>
|
||||
195
app/us/view/customer/retrieve_password.phtml
Executable file
195
app/us/view/customer/retrieve_password.phtml
Executable file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head-product" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top End-->
|
||||
|
||||
<!-- 新闻详情页 s -->
|
||||
<body class="bg-gray">
|
||||
<!-- 注册 -->
|
||||
<div class="login" style="margin-top:180px;">
|
||||
<div class="swt-Container">
|
||||
<div class="login_content_register">
|
||||
<div class="text-c" style="margin-bottom: 2vw"><img src="/uploads/default/logo-black.png"></div>
|
||||
<div class="title accounts blue cursor_p text-c">Retrieve Password</div>
|
||||
<div class="des accounts cursor_p text-c margin-t-10vw">We’ll send you a link so you can reset your password.</div>
|
||||
<div class="content">
|
||||
<li class="margin-b-5">
|
||||
<input type="text" onfocus="hide_err('email')" onblur="check_format('email')" id="email" placeholder="Email Address">
|
||||
<div id="err_email" style="color: red"></div>
|
||||
</li>
|
||||
<div class="tjdl">
|
||||
<button class="tjbtn" onclick="update_by_email()">Sumbit</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="Register">
|
||||
<a href="__ORICOROOT__<?php echo url('/register'); ?>" class="left">Registry</a>
|
||||
<a href="__ORICOROOT__<?php echo url('/login'); ?>" class="right">Login</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-c login_bottom">2015 ORICO Technologies Co.,Ltd copyright(<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030702002297" >GuangDong ICP No. 15,025,109</a>)</div>
|
||||
<!-- 注册 e -->
|
||||
|
||||
<!-- 新闻详情页 e -->
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(".accounts").click(function(){
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_02").hide();
|
||||
$(".content_01").show();
|
||||
})
|
||||
$(".short_letter").click(function(){
|
||||
$(this).siblings().removeClass("blue");
|
||||
$(this).addClass("blue");
|
||||
$(".content_01").hide();
|
||||
$(".content_02").show();
|
||||
})
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<script type="text/javascript">
|
||||
function update_by_email()
|
||||
{
|
||||
var email = $("#email").val();
|
||||
var data = {
|
||||
email: email,
|
||||
};
|
||||
|
||||
if (!check_format('email'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: '/us/customer/update_forget_pwd',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function (res) {
|
||||
if (res.code == 200)
|
||||
{
|
||||
alert(res.msg);
|
||||
// location.href = '/login.html';
|
||||
}
|
||||
else if (res.code == -3)
|
||||
{
|
||||
var html = '<span style="color: red">' + res.msg + '</span>';
|
||||
show_err('password', html);
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(res.msg);
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
function check_format(id)
|
||||
{
|
||||
if (id == 'email')
|
||||
{
|
||||
var email = $("#email").val();
|
||||
var arg = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/;
|
||||
if (!arg.test(email))
|
||||
{
|
||||
var html = '<span style="color: red">Error Mail Form</span>';
|
||||
show_err('email', html);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
hide_err('email');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*倒数计时*/
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$(".Obtain").removeAttr("disabled"); //启用按钮
|
||||
$(".Obtain").html("获取短信验证码");
|
||||
} else {
|
||||
curCount--;
|
||||
$(".Obtain").html("重新获取" + curCount + "秒");
|
||||
}
|
||||
}
|
||||
|
||||
$(document).keyup(function(e) {
|
||||
var code = e.keyCode;
|
||||
if (code == 13)
|
||||
{
|
||||
update_by_email();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function hide_err_batch(id)
|
||||
{
|
||||
if (id == 1)
|
||||
{
|
||||
hide_err('telephone');
|
||||
hide_err('captcha1');
|
||||
hide_err('password');
|
||||
hide_err('re_password');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function hide_err(id)
|
||||
{
|
||||
if (id == 'email')
|
||||
{
|
||||
var err_id = 'err_email';
|
||||
var input_id = 'email';
|
||||
$('#' + err_id).html('');
|
||||
$('#' + input_id).css('border', '1px solid #dedfe0');
|
||||
}
|
||||
}
|
||||
|
||||
function show_err(id, html)
|
||||
{
|
||||
if (id == 'email')
|
||||
{
|
||||
var err_id = 'err_email';
|
||||
var input_id = 'email';
|
||||
$('#' + err_id).html(html);
|
||||
$('#' + input_id).css('border', '1px solid red');
|
||||
}
|
||||
}
|
||||
/*验证码倒计时*/
|
||||
|
||||
function SetRemainTime() {
|
||||
if (curCount < 1) {
|
||||
window.clearInterval(InterValObj); //停止计时器
|
||||
InterValObj = null;
|
||||
$(".Obtain").removeAttr("disabled"); //启用按钮
|
||||
$(".Obtain").html("获取短信验证码");
|
||||
} else {
|
||||
curCount--;
|
||||
$(".Obtain").html("重新获取" + curCount + "秒");
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
141
app/us/view/download/catelists.phtml
Executable file
141
app/us/view/download/catelists.phtml
Executable file
@@ -0,0 +1,141 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Software Drives</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_software">
|
||||
<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 on">Software Drives</a>
|
||||
<a href="<?php echo url('us/download/catelists_down?id=45')?>" class="list">Manual</a>
|
||||
<a href="__ORICOROOT__/video/category/36.html" class="list">Videos</a>
|
||||
</div>
|
||||
<!--tab切换-->
|
||||
<div class="boxs">
|
||||
<!--Software Drives-->
|
||||
<div class="software">
|
||||
<?php if($list):?>
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<div class="list">
|
||||
<div class="left_img"><img src="<?php echo getImage($detail['picture']); ?>" alt="" /></div>
|
||||
<div>
|
||||
<p class="title"><?php echo $detail['name']; ?></p>
|
||||
<p class="sub_title">Supported Models: </p>
|
||||
<p class="des"><?php echo $detail['app_model']; ?></p>
|
||||
<p class="sub_title">Supported Systems: </p>
|
||||
<p class="des"><?php echo $detail['support_os']; ?></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 $dl; ?>" data-cod="dl" data-id="<?php echo $detail['id']; ?>" target="_blank"><span class="l_button"><?php echo $dlname; ?></span></a>
|
||||
<?php endforeach; ?>
|
||||
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php else:?>
|
||||
<div class="list clearfix">No Software!</div>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<!--Software Drives-->
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
<!--Manual-->
|
||||
<!--video-->
|
||||
<!--video-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!--内容 -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<script type="text/javascript">
|
||||
/*定位光标*/
|
||||
document.querySelector('#search_software').focus();
|
||||
$(function() {
|
||||
//
|
||||
$("#search-btn").bind("click", function(event) {
|
||||
|
||||
var skeyword = $("#search_software").val();
|
||||
console.log(skeyword)
|
||||
if (skeyword) {
|
||||
var href = "<?php echo url('/us/download'); ?>?skeyword=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
else{
|
||||
var href = "<?php echo url('/us/download'); ?>";
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
$("#search_software").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);
|
||||
});
|
||||
//搜索框
|
||||
$(".Searchbox .icon").click(function() {
|
||||
$(".Search").slideToggle();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
136
app/us/view/download/catelists_down.phtml
Executable file
136
app/us/view/download/catelists_down.phtml
Executable file
@@ -0,0 +1,136 @@
|
||||
<!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>
|
||||
44
app/us/view/download/detail.phtml
Executable file
44
app/us/view/download/detail.phtml
Executable file
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-product" /}
|
||||
<!--top End-->
|
||||
<!-- 视频播放页 s -->
|
||||
<div class="play">
|
||||
<div class="playv">
|
||||
<div class="plvimg">
|
||||
<video width="100%" height="auto" controls poster="<?php echo $detail['picture']; ?>">
|
||||
<source src="<?php echo $detail['videopath']; ?>">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
<div class="playt">
|
||||
<div class="plcon">
|
||||
<div class="vtext">
|
||||
<p class="tl1"><?php echo $detail['name']; ?><i><img src="__PUBLIC__/web/images/dot1.png"></i></p>
|
||||
<p class="date">发布日期:<?php echo date('Y-m-d', $detail['createtime']); ?></p>
|
||||
<p class="tl2"></p>
|
||||
</div>
|
||||
<div class="pltext">
|
||||
<?php echo $detail['content']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 视频播放页 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
175
app/us/view/download/index.phtml
Executable file
175
app/us/view/download/index.phtml
Executable file
@@ -0,0 +1,175 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-black" /}
|
||||
<!--top End-->
|
||||
<?php if ($category['picture']): ?>
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<a href="<?php //echo url_rewrite('download', ['id' => $category['id']]); ?>"><img src="<?php echo getImage($category['picture']); ?>"/></a>
|
||||
<!-- 搜索框 s
|
||||
<div class="lsea">
|
||||
<input id="dl-search-in" type="text" value="<?php echo $skeyword; ?>" name="skeyword" placeholder="输入关键字查找">
|
||||
<a id="dl-search-btn" href="#"></a>
|
||||
</div>-->
|
||||
<!-- 搜索框 e -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<?php endif; ?>
|
||||
<!-- 视频列表 s -->
|
||||
<div class="down">
|
||||
<div class="load">
|
||||
<div class="hd">
|
||||
<ul class="hdone">
|
||||
<li>驱动下载</li>
|
||||
<li><a href="<?php echo url('us/Download/catelists_down?id=3')?>">说明书下载</a></li>
|
||||
<li>Orico期刊</li>
|
||||
<li>其他</li>
|
||||
</ul>
|
||||
<a class="prev"><img src="__PUBLIC__/web/images/bfl.png"></a>
|
||||
<a class="next"><img src="__PUBLIC__/web/images/brh.png"></a>
|
||||
</div>
|
||||
|
||||
<!-- title s -->
|
||||
<div class="Download-title">软件驱动下载</div>
|
||||
<!-- title e -->
|
||||
|
||||
<div class="w1440 bd">
|
||||
<?php if ($list): ?>
|
||||
<ul class="bdone">
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<div class="loadfl">
|
||||
<img src="<?php echo getImage($detail['picture']); ?>">
|
||||
</div>
|
||||
<div class="loadrh">
|
||||
<div class="loada"><a href="<?php //echo url_rewrite('downloaddetail', array('id' => $detail['id'])); ?>"><?php echo $detail['name']; ?></a></div>
|
||||
<div class="load_destri"><?php echo msubstr($detail['description'], 0, 200); ?></div>
|
||||
|
||||
<div class="loadms1">适合型号:<?php echo $detail['app_model']; ?></div>
|
||||
<div class="loadms2">支持系统:<?php echo $detail['support_os']; ?></div>
|
||||
<div class="loadms3">
|
||||
<?php
|
||||
$downloadpath = explode(',', $detail['downloadpath']);
|
||||
$downloadpath64 = explode(',', $detail['downloadpath64']);
|
||||
foreach ($downloadpath as $k => $dl):
|
||||
$dlname = empty($downloadpath64[$k]) ? '下载' : $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"><?php echo $dlname; ?></a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<!-- 分页 s -->
|
||||
<div style="margin-top:60px"></div>
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<?php if ($downloadCategory): ?>
|
||||
<ul class="bdtwo">
|
||||
<?php foreach ($downloadCategory as $k => $dc): ?>
|
||||
<li>
|
||||
<p class="datatitle"><?php echo $dc['name']; ?></p>
|
||||
<?php
|
||||
$downloads = getDifferentDownload('ishot', 8, ['cid' => $dc['id']]);
|
||||
if ($downloads):
|
||||
?>
|
||||
<dl>
|
||||
<?php foreach ($downloads as $download): ?>
|
||||
<dd>
|
||||
<div class="datafl">
|
||||
<img src="<?php echo getImage($download['picture']); ?>">
|
||||
</div>
|
||||
<div class="datarh">
|
||||
<div class="datams1"><?php echo $download['name']; ?></div>
|
||||
<div class="datams2"><?php echo msubstr($download['description'], 0, 200); ?></div>
|
||||
<div class="datams3">格式:<?php echo $download['format']; ?></div>
|
||||
<div class="datams4">
|
||||
<?php
|
||||
$downloadpath = explode(',', $download['downloadpath']);
|
||||
$downloadpath64 = explode(',', $download['downloadpath64']);
|
||||
foreach ($downloadpath as $k => $dl):
|
||||
$dlname = empty($downloadpath64[$k]) ? '下载' : $downloadpath64[$k];
|
||||
?>
|
||||
<a href="<?php echo url('/') . trim($dl, '/'); ?>" data-cod="dl" data-id="<?php echo $detail['id']; ?>" target="_blank"><?php echo $dlname; ?></a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
<div class="clear"></div>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!-- Add Arrows -->
|
||||
<script>
|
||||
jQuery(".load .hd").slide({mainCell: "ul", autoPlay: false, effect: "left", vis: 8, scroll: 1, autoPage: false, prevCell: ".prev", nextCell: ".next"});
|
||||
$(".load").slide({trigger: "click", defaultIndex: 0, });
|
||||
$(function() {
|
||||
$("#dl-search-btn").bind("click", function(event) {
|
||||
var skeyword = $("#dl-search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "<?php echo url('/dlsearch'); ?>?skeyword=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
$("#dl-search-in").keyup(function(event) {
|
||||
if (event && event.keyCode == 13) {
|
||||
$("#dl-search-btn").trigger("click");
|
||||
}
|
||||
});
|
||||
$("[data-cod='dl']").click(function(event) {
|
||||
var love = $(this), id = love.data("id"), dl = love.data("dl");
|
||||
dl = typeof (dl) == 'undefined' ? 0 : dl;
|
||||
if (dl < 10) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
url: "<?php echo url('/us/download/dlcount'); ?>",
|
||||
data: {id: id},
|
||||
cache: false, //不缓存此页面
|
||||
success: function(data) {
|
||||
//console.log(data);
|
||||
love.data("dl", dl + 1);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
event.preventDefault();
|
||||
alert('您已下载过了!');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 视频列表 e -->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
304
app/us/view/group/achievement.phtml
Executable file
304
app/us/view/group/achievement.phtml
Executable file
@@ -0,0 +1,304 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>News-ORICO Global Site</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/catelists.css">
|
||||
{include file="include/head-seo" /}
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";</script>
|
||||
</head>
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
|
||||
<li><img src="__PUBLIC__/weben/images/Introductionimg/Achievement.png"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 新闻列表 e -->
|
||||
<div class="Container1">
|
||||
<div class="achive swt-Container">
|
||||
<div class="title">Our Achievement</div>
|
||||
<div class="number">
|
||||
<div class="achive_shuju">
|
||||
<div class="title1">400+</div>
|
||||
<div class="subtitle1">Daily Order</div>
|
||||
</div>
|
||||
<div class="achive_shuju">
|
||||
<div class="title1">800+</div>
|
||||
<div class="subtitle1">Product R & D patent</div>
|
||||
</div>
|
||||
<div class="achive_shuju">
|
||||
<div class="title1">100+</div>
|
||||
<div class="subtitle1">Countries and Regions</div>
|
||||
</div>
|
||||
<div class="achive_shuju">
|
||||
<div class="title1">20+</div>
|
||||
<div class="subtitle1">International Design Award</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="timeline Container">
|
||||
<div class="swt-Container">
|
||||
<div class="title">Brand Events</div>
|
||||
<div class="timeline1 swt-Container">
|
||||
|
||||
<div class="box">
|
||||
<div class="timeline-time">
|
||||
<ul class="event_year">
|
||||
<li class="current"><label for="2021">2021</label></li>
|
||||
<li><label for="2020">2020</label></li>
|
||||
<li><label for="2019">2019</label></li>
|
||||
<li><label for="2018">2018</label></li>
|
||||
<li><label for="2017">2017</label></li>
|
||||
<li><label for="2016">2016</label></li>
|
||||
<li><label for="2015">2015</label></li>
|
||||
<li><label for="2014">2014</label></li>
|
||||
<li><label for="2013">2013</label></li>
|
||||
<li><label for="2012">2012</label></li>
|
||||
<li><label for="2011">2011</label></li>
|
||||
<li><label for="2010">2010</label></li>
|
||||
<li><label for="2009">2009</label></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="timeline-con">
|
||||
<div class="con_event_list" >
|
||||
<ul class="event_list">
|
||||
<div>
|
||||
<h3 id="2021" class="backgroundimg">2021</h3>
|
||||
<li>
|
||||
<p><span>Joined Xinchuang Alliance Industry Association and incubated subsidiary brand – IAMAKER.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2020">2020</h3>
|
||||
<li>
|
||||
<p><span>Selected as the 18th Shenzhen Famous Brands and the 7th Credible Global Brand; incubated subsidiary brand IDSONIX and achieved strategic cooperation with Lenovo on personal cloud storage and drive enclosures.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2019">2019</h3>
|
||||
<li>
|
||||
<p><span>Celebrated ORICO’s 10th anniversary and incubated subsidiary brand – Yottamaster.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2018">2018</h3>
|
||||
<li>
|
||||
<p><span>Listed on the China’s top 30 cross-border e-commerce overseas brands in 2018 and started overall brand upgrade.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2017">2017</h3>
|
||||
<li>
|
||||
<p><span>New industrial chain incubation platform of ORICO Internet & Creativity Industrial Park was established officially.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2016">2016</h3>
|
||||
<li>
|
||||
<p><span>Quality Control Center was established by PICC IWS and Dongguan Quality Inspection while built up the strategic partner relationship with Fresco.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2015">2015</h3>
|
||||
<li>
|
||||
<p><span>ORICO branch in Hunan was established, which marked the officially operation of brand’s global e-commerce center. At the same time, ORICO Internet & Creativity Industrial Park was founded in Dongguan. The subsidiary brand – NTONPOWER started to incubate.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2014">2014</h3>
|
||||
<li>
|
||||
<p><span>Kept improving industrial chain and maintained high development speed with 6 factories.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2013">2013</h3>
|
||||
|
||||
<li>
|
||||
<p><span>ORICO was awarded “National High-tech Enterprise” certification.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2012">2012</h3>
|
||||
<li>
|
||||
<p><span>Started to develop self-industrial chain and optimize packaging, injection molding technologies. Products entered into global markets covering America, Spain, Britain, French and others.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2011">2011</h3>
|
||||
|
||||
<li>
|
||||
<p><span>Developed offline channels in Thailand, Korea and Germany. Meanwhile the headquarter moved in Shenzhen Zhonghaixin Science & Technology Park.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2010">2010</h3>
|
||||
<li>
|
||||
<p><span>ORICO officially landed on Tmall, JD, Yixun, Newegg, Amazon, Suning, Gome and more mainstream e-commerce platforms, expanding online markets.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
<div>
|
||||
<h3 id="2009">2009</h3>
|
||||
<li>
|
||||
<p><span>ORICO was founded formally and first released the ‘Tool Free’ drive enclosure.</span></p>
|
||||
</li>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tech Container">
|
||||
<div class="swt-Container tech1">
|
||||
<div class="title">Tech Development</div>
|
||||
<div class="techcon swt-Container">
|
||||
<div class="text">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/lichengbei.png">
|
||||
<div class="year">2011</div>
|
||||
<div class="context">
|
||||
<p>
|
||||
“Tool free” design promoted innovation of HDD enclosure installation. Joined SATA-IO Association to ensure high interoperability of SATA series products.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tech-img">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/techimg.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="techcon swt-Container">
|
||||
<div class="text">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/lichengbei.png">
|
||||
<div class="year">2013</div>
|
||||
<div class="context">
|
||||
<p>
|
||||
Achieved strategic cooperation with WD and further discussed the innovation of storage tech. Became the major cooperated partner of VIA Labs in China and formally launched wireless cloud storage system.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tech-img">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/techimg2.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="techcon swt-Container">
|
||||
<div class="text">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/lichengbei.png">
|
||||
<div class="year">2014</div>
|
||||
<div class="context">
|
||||
<p>
|
||||
Successfully developed intelligent digital power strip and launched JD crowdfunding in 2015 with satisfying result.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tech-img">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/techimg3.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="techcon swt-Container">
|
||||
<div class="text">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/lichengbei.png">
|
||||
<div class="year">2015</div>
|
||||
<div class="context">
|
||||
<p>
|
||||
Started to research data transmission and power transmission technology including Type-C, USB2.0, USB3.0, etc.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tech-img">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/techimg4.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="techcon swt-Container">
|
||||
<div class="text">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/lichengbei.png">
|
||||
<div class="year">2016</div>
|
||||
<div class="context">
|
||||
<p>
|
||||
Company’s representative product-the transparent enclosure series appeared in market.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tech-img">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/techimg5.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="techcon swt-Container">
|
||||
<div class="text">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/lichengbei.png">
|
||||
<div class="year">2021</div>
|
||||
<div class="context">
|
||||
<p>
|
||||
Cooperated with Toshiba to further explore personal storage solutions including personal cloud storage, mobile backuper etc.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tech-img">
|
||||
<img src="__PUBLIC__/weben/images/indeximg/techimg6.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
<script>
|
||||
$(function() {
|
||||
|
||||
$('label').click(function() {
|
||||
|
||||
$('.event_year>li').removeClass('current');
|
||||
|
||||
$(this).parent('li').addClass('current');
|
||||
|
||||
|
||||
var year = $(this).attr('for');
|
||||
|
||||
$('#' + year).parent().prevAll('div').slideUp(800);
|
||||
|
||||
$('#' + year).parent().slideDown(800).nextAll('div').slideDown(800);
|
||||
|
||||
$('#' + year).parent().css('color',"red").nextAll('div').css('color',"black")
|
||||
//
|
||||
$("h3").removeClass('backgroundimg')
|
||||
|
||||
$('#' + year).addClass('backgroundimg')
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
<style>
|
||||
.info h3 { width:300px;height:26px;background:url('../img/ictb.png') no-repeat;margin-bottom:8px; }
|
||||
.b3 span{position:absolute;right:10px;top:0;background:url('../img/morelink.gif') no-repeat left center;padding-left:12px;}
|
||||
.info li { padding:3px 0 3px 12px;background:url('../img/dian.png') 2px center no-repeat; }
|
||||
.con_event_list{width:98%;height: 91%;overflow:auto;margin:30px 10px;}
|
||||
.event_list { width:98%;;background:url('__PUBLIC__/weben/images/indeximg/greyline.png') 50px 0 repeat-y;}
|
||||
.event_list h3 { margin:0 0 0 35px;font-size:24px;padding-left:40px;background:url('__PUBLIC__/weben/images/indeximg/greyyuandian.png')3px 3px no-repeat;height:38px;font-size: 20px;
|
||||
font-family: Montserrat-Bold, Montserrat;
|
||||
font-weight: bold;
|
||||
color: #000000;
|
||||
line-height: 30px; }
|
||||
.backgroundimg { background:url('__PUBLIC__/weben/images/indeximg/yaundian.png')3px 3px no-repeat !important;}
|
||||
</style>
|
||||
</html>
|
||||
169
app/us/view/group/backup_treasure.phtml
Executable file
169
app/us/view/group/backup_treasure.phtml
Executable file
@@ -0,0 +1,169 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Brand Story|Orico</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/backuper.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body style="background-color:#ecf6ff">
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/weben/images/backuper/banner.jpg" alt=""/>
|
||||
<!-- <div class="banner">
|
||||
<div class="title">EASY YOUR BACKUP</div>
|
||||
<div class="sub_title">Reframe Your Definition of Phone Backup </div>
|
||||
<a href="https://www.kickstarter.com/projects/1724263521/orico-backuper-easy-your-backup-for-phone?ref=creator_nav" target="_blank">
|
||||
<div class="button">
|
||||
<span >ORICO Backuper is live on Kickstarter now</span>
|
||||
</div>
|
||||
</a>
|
||||
</div> -->
|
||||
</div>
|
||||
<!--视频-->
|
||||
<div class="swt-Container video">
|
||||
<div class="left img-responsive">
|
||||
<!-- <img src="__PUBLIC__/web/images/charger/charger_02_video.jpg"> -->
|
||||
<video controls poster="" width="100%">
|
||||
<source src="https://www.orico.com.cn/frontend/m_weben/images/backup/backup-vedio.mp4">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="title">Easy Your<br>Backup</div>
|
||||
<div class="font-18 text">Backuper is the versatile portable auto-backup device with incredible connectivity and universal compatibility, which is your revolutionary way to transfer and back up photos,
|
||||
videos, music and documents fromand to any of your mobile devices. It is an indispensable companion for professional photo graphers/ videog raphers/ content creators, which you can take it wherever you want to go.</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第三屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/weben/images/backuper/backuper_03.jpg">
|
||||
<div class="backuper_03 backuper">
|
||||
<div class="title">Backup<br>Easily</div>
|
||||
<div class="text">Open “iStore Pro” one-touch automatically backup contacts, pictures, videos, music and documents.</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第四屏-->
|
||||
<div class="backuper_04 img-responsive">
|
||||
<div class="all_content">
|
||||
<div class="button">5 core Functions</div>
|
||||
<div class="contentAll">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="sub_title">One-touch Delete</p>
|
||||
<div class="line"></div>
|
||||
<p class="text">Support to delete the existing data on mobile phone with one click, instantly releasing capacity space and making sorting more convenient.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="sub_title">Smart Backup</p>
|
||||
<div class="line"></div>
|
||||
<p class="text">Featured with incremental recognition which can automatically select unbacked files thus improve backup efficiency.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="sub_title">Backuper APP</p>
|
||||
<div class="line"></div>
|
||||
<p class="text">"iStore Pro" APP with intuitive user interface that makes it easy to access your storage contents via mobiles/ iPad/ laptops.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="sub_title">Type-C</p>
|
||||
<div class="line"></div>
|
||||
<p class="text">Type-C interface support both data transfer and power supply.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="sub_title">Wide Compatibility</p>
|
||||
<div class="line"></div>
|
||||
<p class="text">Compatible with mainstream Android and iOS systems.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--第五屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/weben/images/backuper/backuper_05.jpg">
|
||||
<div class="backuper_05">
|
||||
<div class="title">Integrating<br>Your Contents</div>
|
||||
<div class="text">"iStore Pro" APP with intuitive user interface that makes it easy to access and backup your storage contents of mobiles/ iPad/ laptops.</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第六屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/weben/images/backuper/backuper_06.jpg">
|
||||
<div class="backuper_06">
|
||||
<div class="title">Media Library</div>
|
||||
<div class="sub_title">With up to 2TB capacity, <br>now you can store as much as you want.</div>
|
||||
<div class="text">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="number">500,000</p>
|
||||
<p class="number_text">HD Photo(4M)</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="number">1312</p>
|
||||
<p class="number_text">HD Movies(1.5G)</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="number">66,500</p>
|
||||
<p class="number_text">Hi-Fi Music(30M)</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="number">2,000,000</p>
|
||||
<p class="number_text">Files(1M)</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第七屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/weben/images/backuper/backuper_07.jpg">
|
||||
<div class="backuper_07 backuper">
|
||||
<div class="title">
|
||||
One-touch<br>Backup
|
||||
</div>
|
||||
<div class="text">
|
||||
Plug in the data cable and you can easily back up files to your hard disk or transfer disk files to your phone.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第八屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/weben/images/backuper/backuper_08.jpg">
|
||||
<div class="backuper_08 backuper">
|
||||
<div class="title">
|
||||
Charging<br>While<br>Backupping
|
||||
</div>
|
||||
<div class="text">Type-C support both data transfer and power supply, which allows you to charging phones while backupping files.</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第九屏-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/weben/images/backuper/backuper_09.jpg">
|
||||
<div class="backuper_09 backuper">
|
||||
<div class="title">
|
||||
All Round Connection
|
||||
</div>
|
||||
<div class="text">With iStore Pro, no matter you are using Apple, Android or PC, it can offer you an all-round connection.
|
||||
</div>
|
||||
|
||||
<a href="https://www.aliexpress.com/item/1005001857971609.html" target="_blank"><div class="button">Buy Now</div></a>
|
||||
</div>
|
||||
|
||||
</div> <!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
87
app/us/view/group/backuper.phtml
Executable file
87
app/us/view/group/backuper.phtml
Executable file
@@ -0,0 +1,87 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Backuper</title>
|
||||
</head>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style.css">
|
||||
<style>
|
||||
body{
|
||||
margin:0;
|
||||
padding:0;
|
||||
font-family: "Helvetica","Microsoft YaHei",sans-serif;
|
||||
/* background-image: linear-gradient(-80deg, #4385d0, #166db8);
|
||||
background-image: -webkit-linear-gradient(-80deg, #4385d0, #166db8);
|
||||
background-image: -o-linear-gradient(-80deg, #4385d0, #166db8);
|
||||
background-image: -moz-linear-gradient(-80deg, #4385d0, #166db8);
|
||||
height: 100vh; */
|
||||
}
|
||||
.width_screen{width:100%; display: block; position: relative; bottom:0;}
|
||||
@media screen and (min-width:1600px){
|
||||
.width_screen img{width:100%; max-width: 1920px; height: 100vh; display: block;}
|
||||
}
|
||||
.width_screen img{width:100%; display: block;}
|
||||
.text{position: absolute; width:100%; bottom:10%; left:0;}
|
||||
.text_content{width:18%; margin-left:14%;}
|
||||
.text_content input{border-radius: 10vw; border:0; width:92%; padding-left:4%; padding-right: 4%; line-height:50px; background-color:#b2cdec; font-size: 28px; color:#262626;}
|
||||
.text_content button{background-color:#edd614; border-radius: 10vw; width:100%; border:0; color:#202020; cursor: pointer; line-height:50px; margin-top:20px; font-size: 28px;}
|
||||
@media screen and (min-width:1200px) and (max-width:1480px){
|
||||
.text_content input{font-size: 24px; line-height: 40px;}
|
||||
.text_content button{font-size: 24px; line-height: 40px;}
|
||||
}
|
||||
@media screen and (min-width:960px) and (max-width:1199px){
|
||||
.text_content input{font-size: 18px; line-height: 30px;}
|
||||
.text_content button{font-size: 18px; line-height: 30px; margin-top:10px}
|
||||
}
|
||||
@media screen and (max-width:959px){
|
||||
.text{bottom:6%;}
|
||||
.text_content input{font-size: 16px; line-height: 30px;}
|
||||
.text_content button{font-size: 16px; line-height: 30px; margin-top:10px}
|
||||
}
|
||||
@media screen and (min-width:1440px){
|
||||
.email_text{width:1366px; font-size: 1em; margin:2vw auto; line-height: 2em; color:#333}
|
||||
}
|
||||
.email_text p{margin:1vw 0}
|
||||
|
||||
</style>
|
||||
<body>
|
||||
<div class="width_screen">
|
||||
<img src="__PUBLIC__/weben/images/backuper/backuper.jpg">
|
||||
<div class="text">
|
||||
<div class="text_content">
|
||||
<from action="" method="post" id="form1">
|
||||
<input placeholder="Email" name="email" type="text" class="email">
|
||||
<button onclick="submit()">Signup Now!</button>
|
||||
</from>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="email_text">
|
||||
<p>Terms and Conditions:</p>
|
||||
-This campaign is open to the following countries: United States, Canada, Russia, Ukraine, Kazakhstan, France, Sweden, Belgium, Luxembourg, Poland, Netherlands, Portugal, Finland, United Kingdom, Germany, Italy, Spain, Australia, Vietnam, Japan, South Korea, Czech Republic, Ireland, Hungary, Denmark, Croatia, Greece, Malta, Slovenia, Lithuania, Cyprus, Latvia, Estonia, Slovakia, Austria, Pakistan, Myanmar, Philippines, Thailand, Malaysia, Indonesia.<br>
|
||||
-By submitting your email to receive marketing messages from ORICO.<br>
|
||||
-ORICO reserves the right of final explanation.
|
||||
</div>
|
||||
<script type="text/javascript" src="__PUBLIC__/weben/scripts/jquery-1.8.3.min.js"></script>
|
||||
<script>
|
||||
function submit(){
|
||||
var email = $(".email").val();
|
||||
$.ajax({
|
||||
url: "/us/email/index", // 提交到controller的url路径
|
||||
type: "post", // 提交方式
|
||||
data: {"email": email}, // data为String类型,必须为 Key/Value 格式。
|
||||
dataType: "json", // 服务器端返回的数据类型
|
||||
success: function (data) { // 请求成功后的回调函数,其中的参数data为controller返回的map,也就是说,@ResponseBody将返回的map转化为JSON格式的数据,然后通过data这个参数取JSON数据中的值
|
||||
if (data.code == 200) {
|
||||
alert(data.msg);
|
||||
} else if(data.code = 404){
|
||||
alert(data.msg);
|
||||
}else if(data.code=500){
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
});
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
176
app/us/view/group/brand-old.phtml
Executable file
176
app/us/view/group/brand-old.phtml
Executable file
@@ -0,0 +1,176 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Brand Story|Orico</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/brand.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/brand/group_brand_b.jpg" alt=""/></div>
|
||||
<div class="lj_brand_bg">
|
||||
<div class="vtext swt-Container">
|
||||
<p class="tl1">Brand Story</p>
|
||||
<p class="lj_brand_text">ORICO was founded in 2009, which is innovative high-tech enterprise rooted in R & D of intelligent digital peripherals. Based on strength of R & D, strict attitude of production, rich experience of R & D and long-term marketing planning, ORICO insists on providing more convenient products with high performance for individuals, families or enterprises. ORICO is well known for its reliable and innovative image. And it is remembered by cooperated partners deeply because of its fast speed, strict attitude, high quality.</p>
|
||||
</div>
|
||||
<div class="swt-Container">
|
||||
<div class="lj_brand_t clearfix">
|
||||
<div class="lj_brand_l">
|
||||
<div class="lj_b_big">Catch the sun in winter</div>
|
||||
<div class="lj_b_small">Since ORICO was founded by Xu Yeyou, it has been devoting to changing troublesome situations in life through product innovation and respect people’s wish of improving life to make it better. At the beginning, desktops were being replaced by laptops gradually, then, the updating of desktops was like the sun in winter, vigorous and lively.
|
||||
Xu Yeyou grasped this opportunity, started with IT storage peripherals, provided reliable solution to massive data’s storage. Meanwhile he came up with USB expansion products planning to improve functions of lightweight laptops to make them as well useful as desktops. And he also put forward the first generation concept of products “Easy Your PC”, which made a great difference to PC peripherals industry.</div>
|
||||
</div>
|
||||
<div class="lj_brand_img rd_img"><img src="__PUBLIC__/web/images/brand/group_brand02.jpg" alt=""/></div>
|
||||
</div>
|
||||
<div class="lj_brand_t clearfix lj_cur_01">
|
||||
<div class="lj_brand_img_02 rd_img"><img src="__PUBLIC__/web/images/brand/group_brand03.jpg" alt=""/></div>
|
||||
<div class="lj_brand_l_02">
|
||||
<div class="lj_b_big pad_l">Small changes triggered Butterfly Effect</div>
|
||||
<div class="lj_b_small pad_l">With the technical accumulation, ORICO started to pursue breakthroughs. To begin with familiar HDD enclosure, it discarded troublesome screw installation of HDD enclosure. “Tool Free” design was favored by mass market.
|
||||
At the time of digital mobiles/tablets’ development, ORICO reformed the traditional power strip and firstly launched USB intelligent power strip equipped with digital chargers, which brought a large market demand.
|
||||
Inspired by Apple transparent host, ORICO designed full transparent series, from chip to capacitance, revealing sincerity and confidence.</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="lj_brand_t clearfix">
|
||||
<div class="lj_brand_l_03">
|
||||
<div class="lj_b_big">Meanings of constant tech exploration</div>
|
||||
<div class="lj_b_small">Like new element of our brand “Archimedes Screw” that will expand to further places through changing directions little by little, ORICO also persists in continuous exploration and changes to explore more possibilities. Constant exploration will bring meanings to people’s life, which becomes power resource for brand to pursue innovations and developments.</div>
|
||||
</div>
|
||||
<div class="lj_brand_img_03 rd_img"><img src="__PUBLIC__/web/images/brand/group_brand04.jpg" alt=""/></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--品牌大记事-->
|
||||
<div class="dis_bril_bg">
|
||||
<div class="vtext">
|
||||
<p class="vtext_01">Brand Events</p>
|
||||
<p class="tl2 "></p>
|
||||
</div>
|
||||
<div class="dis_box position-r ">
|
||||
<div class="culture-l position-r">2021<span></span></div>
|
||||
<div class="culture-r">Joined Xinchuang Alliance Industry Association and incubated subsidiary brand – IAMAKER.</div>
|
||||
<div class="culture-l position-r">2020<span></span></div>
|
||||
<div class="culture-r">Selected as the 18th Shenzhen Famous Brands and the 7th Credible Global Brand; incubated subsidiary brand IDSONIX and achieved strategic cooperation with Lenovo on personal cloud storage and drive enclosures.</div>
|
||||
<div class="culture-l position-r">2019<span></span></div>
|
||||
<div class="culture-r">Celebrated ORICO’s 10th anniversary and incubated subsidiary brand – Yottamaster. </div>
|
||||
<div class="culture-l position-r">2018<span></span></div>
|
||||
<div class="culture-r">Listed on the China’s top 30 cross-border e-commerce overseas brands in 2018 and started overall brand upgrade.</div>
|
||||
<div class="culture-l position-r">2017<span></span></div>
|
||||
<div class="culture-r">New industrial chain incubation platform of ORICO Internet & Creativity Industrial Park was established officially.</div>
|
||||
<div class="culture-l position-r">2016<span></span></div>
|
||||
<div class="culture-r">Quality Control Center was established by PICC IWS and Dongguan Quality Inspection while built up the strategic partner relationship with Fresco.</div>
|
||||
<div class="culture-l position-r">2015<span></span></div>
|
||||
<div class="culture-r">ORICO branch in Hunan was established, which marked the officially operation of brand’s global e-commerce center. At the same time, ORICO Internet & Creativity Industrial Park was founded in Dongguan. The subsidiary brand – NTONPOWER started to incubate.</div>
|
||||
<div class="culture-l position-r">2014<span></span></div>
|
||||
<div class="culture-r">Kept improving industrial chain and maintained high development speed with 6 factories.</div>
|
||||
<div class="culture-l position-r">2013<span></span></div>
|
||||
<div class="culture-r">ORICO was awarded “National High-tech Enterprise” certification.</div>
|
||||
<div class="culture-l position-r">2012 <span></span></div>
|
||||
<div class="culture-r ">Started to develop self-industrial chain and optimize packaging, injection molding technologies. Products entered into global markets covering America, Spain, Britain, French and others.</div>
|
||||
<div class="culture-l position-r">2011<span></span></div>
|
||||
<div class="culture-r">Developed offline channels in Thailand, Korea and Germany. Meanwhile the headquarter moved in Shenzhen Zhonghaixin Science & Technology Park.</div>
|
||||
<div class="culture-l position-r">2010<span></span></div>
|
||||
<div class="culture-r">ORICO officially landed on Tmall, JD, Yixun, Newegg, Amazon, Suning, Gome and more mainstream e-commerce platforms, expanding online markets.
|
||||
</div>
|
||||
<div class="culture-l position-r">2009<span></span></div>
|
||||
<div class="culture-r padding-b-3">ORICO was founded formally and first released the ‘Tool Free’ drive enclosure.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--技术发展-->
|
||||
|
||||
<div class="lj_brand_bg">
|
||||
<div class="swt-Container">
|
||||
<div class="vtext pad_b">
|
||||
<p class="tl1 rd_img">Tech Development</p>
|
||||
<p class="tl2"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container clearfix">
|
||||
<div class="Brand-swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t01.jpg" alt=""/></div>
|
||||
<div class="Table-Cell">
|
||||
<div class="lj_l">
|
||||
<h3>2011</h3>
|
||||
<div class="lj_small_t">“Tool free” design promoted innovation of HDD enclosure installation. Joined SATA-IO Association to ensure high interoperability of SATA series products.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell ">
|
||||
<div class="lj_r B-D-Block">
|
||||
<h3>2013</h3>
|
||||
<div class="lj_small_t">Achieved strategic cooperation with WD and further discussed the innovation of storage tech. Became the major cooperated partner of VIA Labs in China and formally launched wireless cloud storage system.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t02.jpg" alt=""/></div>
|
||||
</div>
|
||||
<div class="Table-Row">
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t03.jpg" alt=""/></div>
|
||||
<div class="Table-Cell">
|
||||
<div class="lj_l">
|
||||
<h3>2014</h3>
|
||||
<div class="lj_small_t">Successfully developed intelligent digital power strip and launched JD crowdfunding in 2015 with satisfying result.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell">
|
||||
<div class="lj_r B-D-Block">
|
||||
<h3>2015</h3>
|
||||
<div class="lj_small_t">Started to research data transmission and power transmission technology including Type-C, USB2.0, USB3.0, etc.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t04.jpg" alt=""/></div>
|
||||
</div>
|
||||
<div class="Table-Row">
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t05.jpg" alt=""/></div>
|
||||
<div class="Table-Cell">
|
||||
<div class="lj_l">
|
||||
<h3>2016</h3>
|
||||
<div class="lj_small_t">Company’s representative product-the transparent enclosure series appeared in market.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell">
|
||||
<div class="lj_r B-D-Block">
|
||||
<h3>2021</h3>
|
||||
<div class="lj_small_t">Cooperated with Toshiba to further explore personal storage solutions including personal cloud storage, mobile backuper etc.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rd_img Table-Cell"><img src="__PUBLIC__/web/images/brand/group_b_t06.jpg" alt=""/></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
118
app/us/view/group/brand.phtml
Executable file
118
app/us/view/group/brand.phtml
Executable file
@@ -0,0 +1,118 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Brand Story|Orico</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/brand0804.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/animate.min.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="img-responsive"><img src="__PUBLIC__/weben/images/Introductionimg/OurBrand.png" alt=""/></div>
|
||||
<div class="our_brand_con">
|
||||
<div class="our_brand_bg" id="our_brand_bg1">
|
||||
<div class="vtext swt-Container">
|
||||
<div class="Table-Cell left ">
|
||||
<p class="title">Our Story</p>
|
||||
<hr>
|
||||
<p class="des">ORICO was founded in 2009, which is innovative high-tech enterprise rooted in R & D of intelligent digital peripherals. </p>
|
||||
<p class="des">Based on strength of R & D, strict attitude of production, rich experience of R & D and long-term marketing planning, ORICO insists on providing more convenient products with high performance for individuals, families or enterprises. </p>
|
||||
<p class="des">ORICO is well known for its reliable and innovative image. And it is remembered by cooperated partners deeply because of its fast speed, strict attitude, high quality. </p>
|
||||
</div>
|
||||
<div class="Table-Cell right "><img src="__PUBLIC__/weben/images/Introductionimg/our1.png"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="our_brand_bg" id="our_brand_bg2">
|
||||
<div class="vtext swt-Container">
|
||||
<div class="Table-Cell left ">
|
||||
<p class="title">Our Mission</p>
|
||||
<hr>
|
||||
<p class="des">Orico focuses on the field of storage and transmission of data and power. With its diversifled product portfollo, the company meets the needs of consumers while allowing them to experience the changes and convenience brouaht by technoloay. </p>
|
||||
<p class="des">Orico continues to create new praducts lead new market categories, and reshape the alobal consumption patterns of data access products.In the futute.Orico will rely on NAS.Decking Stations.UFSD flash drives.Cables.and other product portfolios to meet the global market's personalized data storage and transmission needs. We will also take social responsibility, promote resource reciprocity. and speak for Chinese companies and Chinese manufacturing.</p>
|
||||
</div>
|
||||
<div class="Table-Cell right "><img src="__PUBLIC__/weben/images/Introductionimg/our2.png"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--品牌大记事-->
|
||||
<div class="dis_bril_bg">
|
||||
<div class="dis_bril_con swt-Container">
|
||||
<div class="dis_bril_div">
|
||||
<div class="iconimg"><img src="__PUBLIC__/weben/images/indeximg/eas.png"></div>
|
||||
<div class="title">
|
||||
<p>Sell well for <?php echo (date("Y")-2009);?> years worldwide</p>
|
||||
</div>
|
||||
<div class="subtitle">
|
||||
<p>Since the establishment of ORICO, it has opened up domestic and overseas offline channels in many countries around the world for <?php echo (date("Y")-2009);?> years, and has independent agents and distributors in many countries. ORICO has been accepted by the industry in the external HDD enclosure and USB3.0 peripherals for four consecutive years, our fast charging surge protector keeps the top 5 in the rapid growth.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dis_bril_div">
|
||||
<div class="iconimg"><img src="__PUBLIC__/weben/images/indeximg/team.png"></div>
|
||||
<div class="title">
|
||||
<p>Superior R&D Team</p>
|
||||
</div>
|
||||
<div class="subtitle">
|
||||
<p>We are committed to providing innovative and practical solutions for customers' needs. Established a professional R & D team of nearly 100 senior engineers, structural engineers, electronic engineers, etc. Develop thousands of products such as USB storage, USB expansion, USB power strip, USB charging, digital accessories, and quality peripherals. We maintain the R&D of new products every week.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dis_bril_div">
|
||||
<div class="iconimg"><img src="__PUBLIC__/weben/images/indeximg/channeng.png"></div>
|
||||
<div class="title">
|
||||
<p>Annual production capacity over 4B.</p>
|
||||
</div>
|
||||
<div class="subtitle">
|
||||
<p>Adopting 5S management is the premise of creating excellent products. ORICO invested nearly 80 million to build Internet & Creativity Industrial Park, a comprehensive service center integrating innovation and technology training, project incubation, industry acceleration, investment and financing services, and more. The annual production capacity has steadily exceeded RMB 4 billion.(600 million USD)</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
function isScrolledIntoView(elem) {
|
||||
var docViewTop = $(window).scrollTop();
|
||||
var docViewBottom = docViewTop + $(window).height();
|
||||
|
||||
var elemTop = $(elem).offset().top;
|
||||
var elemBottom = elemTop + $(elem).height();
|
||||
|
||||
return (elemTop <= docViewBottom);
|
||||
}
|
||||
|
||||
var myelement = $('#our_brand_bg1'); // the element to act on if viewable
|
||||
goScroll(myelement);
|
||||
|
||||
var myelement2 = $('#our_brand_bg2'); // the element to act on if viewable
|
||||
goScroll(myelement2);
|
||||
|
||||
function goScroll(obj){
|
||||
$(window).scroll(function() {
|
||||
if(isScrolledIntoView(obj)) {
|
||||
|
||||
$(obj).find('.left').addClass('animated fadeInLeft');
|
||||
$(obj).find('.right').addClass('animated fadeInRight');
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
32
app/us/view/group/business.phmtl
Executable file
32
app/us/view/group/business.phmtl
Executable file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Shop for Business</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/brand.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/brand/group_brand_b.jpg" alt=""/></div>
|
||||
|
||||
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
297
app/us/view/group/business.phtml
Executable file
297
app/us/view/group/business.phtml
Executable file
@@ -0,0 +1,297 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Honor|Orico USB storage|charging</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/cooperation.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body style="background:#F2F2F2;">
|
||||
<!--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" /}
|
||||
<!--Bult Buy-->
|
||||
<div class="bdpage" >
|
||||
<div class="bd_main bd_main1">
|
||||
<h1 class="t1 sfbt1">Bulk Buy</h1>
|
||||
<!--内容-->
|
||||
<div class="bd_ct ">
|
||||
<div class="bd_from" style="padding: 0 300px;">
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">Company Name<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp companyName" placeholder="Legal business name" name="company" id="company">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">Official website</label>
|
||||
<input type="text" class="form-control itinp url" placeholder="Please paste the URL" name="url" id="url">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">Your Name<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp first" placeholder="First name" name="firstname" id="firstname">
|
||||
</div>
|
||||
|
||||
<div class="bditem">
|
||||
<label class="itlable"> </label>
|
||||
<input type="text" class="form-control itinp last" placeholder="Last name" name="lastname" id="lastname">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">Email<span class="redtag">*</span></label>
|
||||
<input type="email" class="form-control itinp email" name="email" id="email">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">Phone Numbe</label>
|
||||
<input type="text" class="form-control itinp mphone" name="phone" id="phone">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">Products you are interested in?</label>
|
||||
<div class="sfbchecks">
|
||||
<form class="sfbcheckboxlist" action="" method="get">
|
||||
<label class="cit">
|
||||
<input name="interested" type="checkbox" value="Computer Peripheral" class="sfbcheckboxit">Computer Peripheral
|
||||
</label>
|
||||
<label class="cit">
|
||||
<input type="checkbox" value="Phone Peripheral" name="interested" class="sfbcheckboxit">Phone Peripheral</label>
|
||||
<label class="cit">
|
||||
<input type="checkbox" value="Electronics" name="interested" class="sfbcheckboxit">Electronics
|
||||
</label>
|
||||
<label class="cit">
|
||||
<input type="checkbox" value="SSD" name="interested" class="sfbcheckboxit">SSD
|
||||
</label>
|
||||
<label class="cit">
|
||||
<input type="checkbox" value="Entertainment Series" name="interested" class="sfbcheckboxit">Entertainment Series
|
||||
</label>
|
||||
<label class="cit">
|
||||
<input type="checkbox" value="Smart Life Series" name="interested" class="sfbcheckboxit">Smart Life Series
|
||||
</label>
|
||||
<label class="cit">
|
||||
<input type="checkbox" value="Outdoor Power Station" name="interested" class="sfbcheckboxit">Outdoor Power Station
|
||||
</label>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">Message<span class="redtag">*</span></label>
|
||||
<textarea class="ittextarea ittextarea2 message" placeholder="Methods used"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 提交-->
|
||||
<div class="bttj">SUBMIT</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
<script>
|
||||
try {
|
||||
k_win_ref = window.parent.document.referrer;
|
||||
} catch(e) {
|
||||
k_win_ref = '';
|
||||
};
|
||||
/*弹出框关闭*/
|
||||
$(function() {
|
||||
// 输入框失去焦点
|
||||
$('.companyName').blur(function(){
|
||||
if($('.companyName').val() != ''){
|
||||
$('.companyName').removeClass('error');
|
||||
$('.companyName').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.first').blur(function(){
|
||||
if($('.first').val() != ''){
|
||||
$('.first').removeClass('error');
|
||||
$('.first').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.first').addClass('error');
|
||||
$('.first').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.last').blur(function(){
|
||||
if($('.last').val() != ''){
|
||||
$('.last').removeClass('error');
|
||||
$('.last').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.last').addClass('error');
|
||||
$('.last').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.email').blur(function(){
|
||||
if($('.email').val() != ''){
|
||||
$('.email').removeClass('error');
|
||||
$('.email').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
|
||||
$('.mphone').blur(function(){
|
||||
if($('.mphone').val() != ''){
|
||||
$('.mphone').removeClass('error');
|
||||
$('.mphone').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.mphone').addClass('error');
|
||||
$('.mphone').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.message').blur(function(){
|
||||
if($('.message').val() != ''){
|
||||
$('.message').removeClass('error');
|
||||
$('.message').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.message').addClass('error');
|
||||
$('.message').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
|
||||
// 提交表单
|
||||
$('.bttj').click(function(){
|
||||
var companyName = $('.companyName').val();
|
||||
var firstName = $('.first').val();
|
||||
var lastName = $('.last').val();
|
||||
var email = $('.email').val();
|
||||
var phone = $('.mphone').val();
|
||||
var message = $('.message').val();
|
||||
var url = $('.url').val();
|
||||
|
||||
var checkItem = new Array();
|
||||
|
||||
$("input[name='interested']:checked").each(function() {
|
||||
checkItem.push($(this).val());// 在数组中追加元素
|
||||
});
|
||||
var interesteds = checkItem.join(",");
|
||||
|
||||
var inventory = $("input[name='inventory']:checked").val();
|
||||
|
||||
|
||||
if(companyName == ''){
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('.companyName').removeClass('error');
|
||||
$('.companyName').next('span').addClass('hide');
|
||||
}
|
||||
if(firstName == ''){
|
||||
$('.first').addClass('error');
|
||||
$('.first').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('.first').removeClass('error');
|
||||
$('.first').next('span').addClass('hide');
|
||||
}
|
||||
if(lastName == ''){
|
||||
$('.last').addClass('error');
|
||||
$('.last').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('.last').removeClass('error');
|
||||
$('.last').next('span').addClass('hide');
|
||||
}
|
||||
if(email == ''){
|
||||
$('#email').addClass('error');
|
||||
$('#email').next('span').removeClass('hide');
|
||||
}
|
||||
else{
|
||||
if (/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(email) == false) {
|
||||
$('#email').addClass('error');
|
||||
$('#email').next('span').removeClass('hide');
|
||||
}
|
||||
else{
|
||||
$('#email').removeClass('error');
|
||||
$('#email').next('span').addClass('hide');
|
||||
}
|
||||
}
|
||||
if(phone == ''){
|
||||
$('.mphone').addClass('error');
|
||||
$('.mphone').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('.mphone').removeClass('error');
|
||||
$('.mphone').next('span').addClass('hide');
|
||||
}
|
||||
if(message == ''){
|
||||
$('.message').addClass('error');
|
||||
$('.message').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('.message').removeClass('error');
|
||||
$('.message').next('span').addClass('hide');
|
||||
}
|
||||
|
||||
//点击创建申请块
|
||||
|
||||
if(companyName && firstName && lastName && email && phone && message) {
|
||||
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/us/bulk_inquiry/create",
|
||||
data: {'company':companyName, 'url':url, 'email':email,'name':firstName,'last_name':lastName,'phone':phone,'interested':interesteds,'message':message,'refer':k_win_ref},
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
if(data.code == 200) {
|
||||
alert("Add Success!");
|
||||
|
||||
$("input[ type='text']").val('');
|
||||
$(":input[name='interested']").attr("checked",false);
|
||||
$('.message').val('');
|
||||
$('.mphone').val('');
|
||||
$('#email').val('');
|
||||
$('.first').val('');
|
||||
$('.last').val('');
|
||||
$('.companyName').val('');
|
||||
|
||||
//location.href = '/us/Group/submission.html';
|
||||
|
||||
}
|
||||
else{
|
||||
if(data.code == 403 || data.code == 201) {
|
||||
alert(data.msg);
|
||||
}
|
||||
else{
|
||||
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
})
|
||||
</script>
|
||||
<style>
|
||||
.csunbmit{height: 35px;margin-top: 10px;margin-bottom: 5px;}
|
||||
.submitBtn{width: 75px;height: 30px;line-height: 26px;background-color: #339b53;text-align: center;display: block; color: #FFFFFF;font-size: 12px;border-radius: 6px;float: left;}
|
||||
.cli{border-bottom: 1px dashed #ccc;text-align: left;font-size: 12px;}
|
||||
.ccontent{width: 98%;padding: 10px; background: #f6f9fb;border:1px solid #ccc;margin-bottom: 10px}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
270
app/us/view/group/charger.phtml
Executable file
270
app/us/view/group/charger.phtml
Executable file
@@ -0,0 +1,270 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/subject/charger.css">
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-banner.jpg">
|
||||
<div class="charger_01">
|
||||
<div class="swt-Container">
|
||||
<p class="title">Travel Partner</p>
|
||||
<p class="text">A good journey starts from a good power bank</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--视频-->
|
||||
<div class="position-r charger_02_bg">
|
||||
<div class="charger_02 charger_alltext">
|
||||
<div class="swt-Container">
|
||||
<div class="charger_black left ">
|
||||
<p class="charger_title">Light & Thin<br>Fast & Powerful</p>
|
||||
<p class="charger_subtitle">Worry-free trip</p>
|
||||
<p class="charger_text"><span class="subject_span_margin">As a strong backing of mobile phone, bank is becoming more and more important.</span><br>
|
||||
Thin and light, large capacity and fast charging, bring you a burden-free trip.</p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger_02_video.jpg">
|
||||
<video height="100%" controls poster="__PUBLIC__/web/images/charger/charger_02_video.jpg">
|
||||
<source src="__PUBLIC__/web/images/charger/ORICO-K10P20P.mp4">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--产品-->
|
||||
<div class="charger_03">
|
||||
<div class="swt-Container">
|
||||
<ul class="img-responsive">
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-YC10.jpg">
|
||||
<div class="title">YC10</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-M10.jpg">
|
||||
<div class="title">M10</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-W10000.jpg">
|
||||
<div class="title">W10000</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-S5.jpg">
|
||||
<div class="title">S5</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第四屏-->
|
||||
<div class="charger_04 img-responsive">
|
||||
<div class="charger_04_PC">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-04.jpg">
|
||||
</div>
|
||||
<div class="charger_04_M">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-04-product.jpg">
|
||||
</div>
|
||||
<div class="text">
|
||||
<div class="swt-Container">
|
||||
<div class="charger_04_word">
|
||||
<p class="charger_title">Firefly Series</p>
|
||||
<p class="charger_subtitle">Light up the dark</p>
|
||||
<p class="charger_text">Adding a cute firefly element to the power bank, integrating light and beauty, it looks like a firefly lighting up your way in the darkness.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="all_text">
|
||||
<div class="swt-Container">
|
||||
<ul class="img-responsive">
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-K10000.jpg">
|
||||
<div class="title">K10000</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-C20.jpg">
|
||||
<div class="title">C20</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Tmall</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-M6.jpg">
|
||||
<div class="title">M6</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-C10.jpg">
|
||||
<div class="title">C10</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/charger/charger-K10S.jpg">
|
||||
<div class="title">K10S</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!--第五屏-->
|
||||
<div class="charger_05 img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-05.jpg">
|
||||
<div class="all_text">
|
||||
<div class="swt-Container">
|
||||
<div class="title">Power Bank + Wireless Charger<br>Two-in-One</div>
|
||||
<div class="sub_title">Break through tech and tradition</div>
|
||||
<div class="des"><span class="subject_span_margin">In the future, the way of charging should be diversified, innovating. ORICO has taken a small step on the road to innovation.</span><br>
|
||||
<p>We integrated power bank and wireless charging, make charging more convenient.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第六屏-->
|
||||
<div class="charger_06">
|
||||
<div class="swt-Container">
|
||||
<div class="center_M">
|
||||
<p class="main_title">Multiple Quick Charge Modes<br>Freely Switch</p>
|
||||
<p class="sub_title">18W fast power delivery</p>
|
||||
<p class="des">Support PD3.0/QC3.0 and other quick charge protocols for Samsung, Huawei, Mi, Apple and other smart phones. Support 5V3A, 9V2A, 12V1.5A (18W Max), fast charging experience.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="charger_06_bg">
|
||||
<div class="all">
|
||||
<div class="swt-Container">
|
||||
<div class="all_text">
|
||||
<div class="center">
|
||||
<p class="main_title">Multiple Quick Charge Modes<br>Freely Switch</p>
|
||||
<p class="sub_title">18W fast power delivery</p>
|
||||
<p class="des">Support PD3.0/QC3.0 and other quick charge protocols for Samsung, Huawei, Mi, Apple and other smart phones. Support 5V3A, 9V2A, 12V1.5A (18W Max), fast charging experience.</p>
|
||||
</div>
|
||||
<p class="img-responsive all_img"><img src="__PUBLIC__/web/images/charger/charger_06_logo.jpg"></p>
|
||||
<ul>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-06-K10000.jpg">
|
||||
<div class="title">K10000</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-06-C20.jpg">
|
||||
<div class="title">C20</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--<div class="all">
|
||||
<div class="swt-Container">
|
||||
<div class="all_text">
|
||||
<p class="main_title">多重快充模式合体<br>智能切换</p>
|
||||
<p class="sub_title">18W电力传输,不想等,就要快</p>
|
||||
<p class="des">支持PD3.0/QC3.0等七大主流快充协议,能够为三星、华为、小米、苹果等智能手机自动适配合适的快充模式,并支持5V3A、9V2A、12V1.5A(18W Max)三种快充功率边玩边充,轻松满电,开启全家人的数码快充新体验。</p>
|
||||
<p class="img-responsive all_img"><img src="__PUBLIC__/web/images/charger/charger_06_logo.jpg"></p>
|
||||
<ul>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-06-K10000.jpg">
|
||||
<div class="title">YC10</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">天猫购买</a>
|
||||
<a href="">京东购买</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/web/images/charger/charger-06-C20.jpg">
|
||||
<div class="title">YC10</div>
|
||||
<div class="charger_buy">
|
||||
<div class="charger_buy_button">
|
||||
<a href="">天猫购买</a>
|
||||
<a href="">京东购买</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>-->
|
||||
</div>
|
||||
<div class="charger_06_img_M img-responsive"><img src="__PUBLIC__/web/images/charger/charger-06-M.jpg"></div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
203
app/us/view/group/contact.phtml
Executable file
203
app/us/view/group/contact.phtml
Executable file
@@ -0,0 +1,203 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<title>Contact Us</title>
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/cooperation.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/contact.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/montserrat.css">
|
||||
<style>
|
||||
.text_blue {
|
||||
color: #004BFA
|
||||
}
|
||||
</style>
|
||||
</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" /}
|
||||
<!--banner-->
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/weben/images/Introductionimg/ContactUs.png" alt="" />
|
||||
<!--<div class="banner_title">CONTACT US</div>-->
|
||||
</div>
|
||||
<!--banner-->
|
||||
<!--内容-->
|
||||
<div class="contact_c">
|
||||
<div class="all_contact">
|
||||
<!--信息-->
|
||||
<div class="info">
|
||||
<div class="title">
|
||||
Our Information
|
||||
</div>
|
||||
<div class="info_all">
|
||||
<div class="list">
|
||||
<div class="list_img"><img src="__PUBLIC__/weben/images/contact/contact_icon01.png" alt="" />
|
||||
</div>
|
||||
<div class="list_right">
|
||||
<div class="des" style="">19/F, Block 14A, Zhonghaixin Science &Technology Park, Longgang District,
|
||||
Shenzhen,
|
||||
China.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list">
|
||||
<div class="list_img"><img src="__PUBLIC__/weben/images/contact/contact_icon02.png" alt="" />
|
||||
</div>
|
||||
<div class="sub_list">
|
||||
<div class="title">Customer Service:</div>
|
||||
<div class="des"><?php echo $website_email;?></div>
|
||||
</div>
|
||||
<div class="sub_list">
|
||||
<div class="title">Dealer Inquiry:</div>
|
||||
<div class="des">oversea-bu@orico.com.cn</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list">
|
||||
<div class="list_img"><img src="__PUBLIC__/weben/images/contact/contact_icon03.png" alt="" />
|
||||
</div>
|
||||
<div class="">
|
||||
<div class="title">Mon - Fri:</div>
|
||||
<div class="des">9AM-6PM EST</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--问题-->
|
||||
<div class="question">
|
||||
<div class="title">
|
||||
Send Us Your Question
|
||||
</div>
|
||||
<div class="question_form">
|
||||
<div class="list">
|
||||
<div class="title">Your name<span class="f_red">*</span></div>
|
||||
<div class="form_input"><input name="name" id="name" placeholder="This is your placeholder text" class="form-control itinp"></div>
|
||||
</div>
|
||||
<div class="list">
|
||||
<div class="title">Your email <span class="f_red">*</span></div>
|
||||
<div class="form_input"><input name="email" id="email" placeholder="This is your placeholder text" class="form-control itinp"></div>
|
||||
</div>
|
||||
<div class="list">
|
||||
<div class="title">Your Message <span class="f_red">*</span></div>
|
||||
<div class="form_input">
|
||||
<textarea rows="6" name="message" id="message" class="ittextarea message" placeholder="This is your placeholder text"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list">
|
||||
<div class="contact_button">SEND</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Become a Distributor-->
|
||||
<div class="become_dis">
|
||||
<a href="__ORICOROOT__/Group/distributor" class="text_blue ">Become a Distributor</a>
|
||||
</div>
|
||||
<!--Become a Distributor-->
|
||||
</div>
|
||||
<!--内容-->
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
// 提交表单
|
||||
$('.contact_button').click(function() {
|
||||
|
||||
var name = $('#name').val();
|
||||
var email = $('#email').val();
|
||||
var message = $('#message').val();
|
||||
|
||||
if (name == '') {
|
||||
$('#name').addClass('error');
|
||||
$('#name').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('#name').removeClass('error');
|
||||
$('#name').next('span').addClass('hide');
|
||||
}
|
||||
if (email == '') {
|
||||
$('#email').addClass('error');
|
||||
$('#email').next('span').removeClass('hide');
|
||||
}
|
||||
else{
|
||||
if (/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(email) == false) {
|
||||
$('#email').addClass('error');
|
||||
$('#email').next('span').removeClass('hide');
|
||||
return false;
|
||||
|
||||
}
|
||||
else{
|
||||
$('#email').removeClass('error');
|
||||
$('#email').next('span').addClass('hide');
|
||||
}
|
||||
|
||||
}
|
||||
if (message == '') {
|
||||
$('#message').addClass('error');
|
||||
$('#message').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('#message').removeClass('error');
|
||||
$('#message').next('span').addClass('hide');
|
||||
}
|
||||
|
||||
|
||||
//点击创建申请块
|
||||
if (name && email && message) {
|
||||
var type = 'Agent';
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/us/bulk/create",
|
||||
data: {
|
||||
'name': name,
|
||||
'email': email,
|
||||
'message': message
|
||||
},
|
||||
dataType: "json",
|
||||
success: function(data) {
|
||||
if (data.code == 200) {
|
||||
alert("Add Sucess!");
|
||||
$(".marsk-container").hide();
|
||||
|
||||
$("input[ type='text']").val('');
|
||||
|
||||
$('#name').val('');
|
||||
$('#email').val('');
|
||||
$('#message').val('');
|
||||
|
||||
} else {
|
||||
if (data.code == 403 || data.code == 201) {
|
||||
alert(data.msg);
|
||||
} else {
|
||||
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
|
||||
</html>
|
||||
85
app/us/view/group/culture.phtml
Executable file
85
app/us/view/group/culture.phtml
Executable file
@@ -0,0 +1,85 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Culture & Values|Orico culture</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/culture.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/culture/culture-banner.jpg">
|
||||
<div class="culture_new_banner">
|
||||
<div class="swt-Container">
|
||||
<div class="title">"Innovation Perfection Dignity Love Health Happiness"</div>
|
||||
<div class="des">Every word stands for a sort of spirit ORICO members admire, which is also an environment company hopes to create for staffs. <br>Customers and partners can also perceive these spirits. </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--文化与价值观-->
|
||||
<div class="culture_new">
|
||||
<div class="swt-Container">
|
||||
<div class="text-c title">Culture & Values</div>
|
||||
<div class="des text-c">ORICO insists “Four in One” company value, including these four aspects: Satisfy demands of customers, help staffs realize individual value, don’t betray investors’ expectation and trust, undertake social responsibility. Following is detailed explanation: </div>
|
||||
<div class="swt-Table">
|
||||
<ul class="Table-Row">
|
||||
<li class="img-responsive Table-Cell">
|
||||
<img src="__PUBLIC__/web/images/culture/culture-01.jpg">
|
||||
<p class="list-title">Satisfy customers</p>
|
||||
<p class="list-des">Create value for customers oriented by their essential demands. Change unreasonable life situations and supply proper solutions. Choose to innovate continuously and provide high-quality products. Optimize and reduce cost constantly. </p>
|
||||
</li>
|
||||
<li class="R-margin Table-Cell"></li>
|
||||
<li class="img-responsive Table-Cell">
|
||||
<img src="__PUBLIC__/web/images/culture/culture-02.jpg">
|
||||
<p class="list-title">Satisfy staffs</p>
|
||||
<p class="list-des">Responsible for the growth of employees and the realization of their values and dreams, establish a platform and mechanism that is fair and reasonable, with clear rewards and punishments, and make the best use of their talents; motivate their sense of ownership in their posts to actively pursue and build themselves, and strive for self-reliance and better life.</p>
|
||||
</li>
|
||||
<li class="R-margin Table-Cell"></li>
|
||||
<li class="img-responsive Table-Cell">
|
||||
<img src="__PUBLIC__/web/images/culture/culture-03.jpg">
|
||||
<p class="list-title">Social responsibility</p>
|
||||
<p class="list-des">Making contribution for the development of society, whether it is engaged in products or the spirit of doing things, we must play a positive role, obey the law and protect the environment, respect the party and love our country, resist the unhealthy trend, and respect the interests of partners.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="culture_new_gray">
|
||||
<div class="swt-Container center_bg">
|
||||
<div class="right">
|
||||
<img src="__PUBLIC__/web/images/culture/culture-04.jpg">
|
||||
</div>
|
||||
<div class="left">
|
||||
<div class="content">
|
||||
<p class="title"><span>Satisfy</span> investors</p>
|
||||
<p class="subtitle">Create social value together and obtain relevant reasonable return. Invest to innovation of companies and make preparations for any risks. There are 6 words in ORICO “Innovation, Perfection, Dignity, Big Love, Health, Happiness”.
|
||||
<p >“Innovation”: Accumulate steadily, the core competence of the corporation;
|
||||
“Perfection”: Be persistent, the power resource of exploration and breakthrough;<br>
|
||||
“Dignity”: Build an honest partnership, treasure superior talents;<br>
|
||||
“Big Love”: Self-discipline and social commitment, selfless dedication to future purposes;<br>
|
||||
“Health”: Keep lively forever, the solid foundation of booming development;<br>
|
||||
“Happiness”: Be peaceful and happy, create happy cultural atmosphere.<br>
|
||||
Every word is a kind of spirit every staff advocates in our company. It’s also an optimal atmosphere company hopes to create for our staffs. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
163
app/us/view/group/decennial.phtml
Executable file
163
app/us/view/group/decennial.phtml
Executable file
@@ -0,0 +1,163 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Ten years of glory, Ten years of new chapter</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/decennial.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/scripts/bxslider/jquery.bxslider.css">
|
||||
<script type="text/javascript" src="__PUBLIC__/web/scripts/bxslider/jquery.bxslider.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<!--Banner-->
|
||||
<div class="Swt-Banner"><img src="/uploads/default/banner-PC-EN-ten.jpg"></div>
|
||||
<!--第二屏-->
|
||||
<div class="ten_02_bg img-responsive">
|
||||
<div class="ten_02">
|
||||
<div class="swt-Container">
|
||||
<div class="ten_title text-c f-black f_weight_600">10 Years of Innovative R&D</div>
|
||||
<div class="img-responsives"><img src="__PUBLIC__/weben/images/decennial/ten_02.png"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--第三屏-->
|
||||
<div class="img-responsive ten_three">
|
||||
<div class="ten_subtitle text-c f-black f_weight_600">10 Years of Company</div>
|
||||
<div class="ten_des text-c f-gray padding-t-5vw">ORICO's ten years of development are full of challenges, but there are always such a group of people, they help, support and acompany us. Thanks to having you all the way.</div>
|
||||
<div class="ten_video img-responsives">
|
||||
<div class="video-index-image">
|
||||
<img src="__PUBLIC__/web/images/decennial/ten_03.jpg">
|
||||
<div class="index-video-content">
|
||||
<video controls poster="__PUBLIC__/web/images/decennial/ten_03.jpg" width="100%">
|
||||
<source src="__PUBLIC__/web/images/decennial/ten_video.mp4" type="video/mp4">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--10年新起航-->
|
||||
<div class="swt-Container">
|
||||
<div class="ten_subtitle text-c f-black f_weight_600 padding-t-48vw">10 Years, A New Start</div>
|
||||
<div class="ten_des text-c f-gray">The brand focuses on the development and production of USB technology peripheral products, including USB data transmission technology, Type-C technology application, USB power transmission technology, etc. Currently, the brand has laid out a new product line including backuper, Thunderbolt 3, SSD etc. in the future, these major sectors will also be the focus of the brand.</div>
|
||||
<div class="img-responsive margin-t-15vw"><img src="__PUBLIC__/web/images/decennial/ten04.jpg"></div>
|
||||
</div>
|
||||
|
||||
<!--小改变 大不同-->
|
||||
<div class="swt-Container">
|
||||
<div class="ten_subtitle text-c f-black f_weight_600 padding-t-48vw">Little change,big difference</div>
|
||||
<div class="ten_des text-c f-gray padding-t-5vw">The new brand concept is to explore and create a big difference in the way of accumulating small changes. To fully present the brand's future layout with the newly upgraded VI.</div>
|
||||
<div class="img-responsive margin-t-15vw position-r">
|
||||
<img src="__PUBLIC__/web/images/decennial/ten05.jpg">
|
||||
<div class="position-r ten_four text-c f-black margin-b-30vw">
|
||||
<ul>
|
||||
<li>Computer Peripherals</li>
|
||||
<li>Phone Peripherals</li>
|
||||
<li>Electronics</li>
|
||||
<li>Entertainment</li>
|
||||
<li>Smart Life</li>
|
||||
<li>Personal Care</li>
|
||||
<li>High-end Gaming</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="ten_four_line"></div>
|
||||
<!--第五屏-->
|
||||
<!--第五屏-->
|
||||
<div class="swt-Container">
|
||||
<div class="ten_title text-c f-black f_weight_600">10th Anniversary Celebration Scene</div>
|
||||
<!--拉开庆典序幕-->
|
||||
<div class="ten_subtitle text-c f-black f_weight_600">Celebration Starts</div>
|
||||
<div class="ten_des text-c f-gray">At the beginning of the whole celebration, the founder of the brand and the leader of Changping Town of Dongguan gave a speech and kicked off the celebration. They reviewed the brand's ten-year development and future planning and development direction together with thousands of people, including agents, suppliers, company employees and family members. </div>
|
||||
<div class="ten_six overflow-f img-responsive margin-b-30vw">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten06_one.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten06_two.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten06_three.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--员工自编自导自演欢乐文艺汇演-->
|
||||
<div class="ten_subtitle text-c f-black f_weight_600">Self-directed Show</div>
|
||||
<div class="ten_des text-c f-gray">The relaxed and joyful songs and dances, sketches and stage plays are all fun, showing the vigorous spirit.</div>
|
||||
<div class="ten_six overflow-f img-responsive margin-b-30vw">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten07_one.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten07_two.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten07_three.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--获奖代理商、供应商-->
|
||||
<div class="ten_subtitle text-c f-black f_weight_600">Award-winning Agents, Suppliers</div>
|
||||
<div class="ten_des text-c f-gray">The ten-year development is inseparable from the support of all partners. On the occasion of the 10th anniversary of ORICO, many partners at home and abroad have also been invited to participate, thanks to the support and guidance over the years.</div>
|
||||
<div class="ten_six overflow-f img-responsive margin-b-30vw">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten08_one.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten08_two.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten08_three.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--新、老、少元创人齐聚一堂-->
|
||||
<div class="ten_subtitle text-c f-black f_weight_600">A Great Gathering</div>
|
||||
<div class="ten_des text-c f-gray"> If we compare a ten-year development enterprise to a ship that sails on the sea, all of our ORICO people are like sailors on a ship, we facing storms together and enjoying sunshine together. Many ORICO people spent their best years with ORICO, and ushered in a new phase of life in ORICO.</div>
|
||||
<div class="ten_six overflow-f img-responsives">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten09_one.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten09_two.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten09_three.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--第十屏-->
|
||||
<div class="swt-Container">
|
||||
<div class="ten_title text-c f-black f_weight_600">Celebration Moments</div>
|
||||
<ul class="ten_slider">
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten10_one.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten10_two.jpg"></li>
|
||||
<li><img src="__PUBLIC__/web/images/decennial/ten10_three.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第十一屏-->
|
||||
<div class="swt-Container padding-b-3">
|
||||
<div class="ten_title ten_title01 text-c f-black f_weight_600">10 Years Together, Thanks for Having You All the Way</div>
|
||||
<div class="img-responsives"><img src="__PUBLIC__/web/images/decennial/ten_11.jpg"></div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
<script type="text/javascript">
|
||||
/*视频播放
|
||||
video1=document.getElementById("videoPlay1");
|
||||
video1.onclick=function(){
|
||||
if(video1.paused){
|
||||
video1.play()
|
||||
}else{
|
||||
video1.pause()
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
$('.ten_slider').bxSlider({
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
538
app/us/view/group/dist.phtml
Executable file
538
app/us/view/group/dist.phtml
Executable file
@@ -0,0 +1,538 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Become a Distributor</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/distributor.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/weben/images/distributor/smarty_life2.jpg"></div>
|
||||
<!--第二屏-->
|
||||
<div class="distributor_bg_black">
|
||||
<div class="swt-Container distributor_two img-responsives">
|
||||
<div class="swt-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell swt-Table-border-r">
|
||||
<div class="left m-bottom"><img src="__PUBLIC__/web/images/distributor/distributor_01_one.png"></div>
|
||||
<div class="right m-bottom">
|
||||
<p class="title"><span>Innovative Digital Manufacturer</span></p>
|
||||
<p class="des">With 12 years’ specializing in the in the field of USB data transmission and charging, ORICO’s products have been sold to over 80 countries and regions offline and online.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="Table-Cell">
|
||||
<div class="left m-bottom"><img src="__PUBLIC__/web/images/distributor/distributor_01_two.png"></div>
|
||||
<div class="right m-bottom">
|
||||
<p class="title"><span>The Design Concept of “Easy Your PC”</span> </p>
|
||||
<p class="des">ORICO keeps investing in R&D and develops innovative products to provide a better user experience. </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Table swt-Table-border-b">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell swt-Table-border-r">
|
||||
<div class="left m-top"><img src="__PUBLIC__/web/images/distributor/distributor_01_three.png"></div>
|
||||
<div class="right m-top">
|
||||
<p class="title"><span>Matured Industrial Chain</span></p>
|
||||
<p class="des">ORICO’s business scope covers integrated industry chain including R&D, manufacture, marketing and sales center which enables great production capacity.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="Table-Cell">
|
||||
<div class="left m-top"><img src="__PUBLIC__/web/images/distributor/distributor_01_four.png"></div>
|
||||
<div class="right m-top">
|
||||
<p class="title"><span>Diversified Brand Planning </span></p>
|
||||
<p class="des">7 product lines have been implemented with over 2000 SKU for storage expanding products, mobile & PC peripheral, electronics and more.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!--保障-->
|
||||
<div class="distributor_faq">
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_faq_01.jpg" alt=""/>
|
||||
<div class="one">
|
||||
<div class="swt-Container bg_black">
|
||||
<div class="content">
|
||||
<p class="distributor_subtitle distributor_text_white">Your Perfect Partner</p>
|
||||
<p class="distributor_des distributor_text_white margin-t">Infinite Possibility and Unique Creativity</p>
|
||||
<div class="line"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/web/images/distributor/distributor_faq_02.jpg" alt=""/>
|
||||
<div class="one">
|
||||
<div class="swt-Container contents">
|
||||
<ul>
|
||||
<li>
|
||||
<p class="distributor_subtitle distributor_text_white">Strong Production Capacity</p>
|
||||
<p class="distributor_des distributor_text_white margin-t">8 factories and 16 industrial chains make ORICO a reliable manufacturer. Its hardware mold factory, plastic mold factory, SMT factory, assembly factory and packaging factory easily contribute a capacity of over 4 billion yuan.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="distributor_subtitle distributor_text_white">Advanced Technical Support</p>
|
||||
<p class="distributor_des distributor_text_white margin-t">Established over 10 million square meters business incubator and introduced advanced product development system, product supply system and Factory to Business 211 system for efficient and comprehensive management. </p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!--八大生产线-->
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/weben/images/distributor/produce2.jpg" usemap="#Map">
|
||||
<map name="Map">
|
||||
<area shape="rect" coords="418,522,650,578" class="cursor" href="https://www.orico.cc/us/product/category/521.html" target="_blank">
|
||||
<area shape="rect" coords="726,525,919,574" class="cursor" href="https://www.orico.cc/us/product/category/528.html" target="_blank">
|
||||
<area shape="rect" coords="970,520,1138,575" class="cursor" href="https://www.orico.cc/us/product/category/529.html" target="_blank">
|
||||
<area shape="rect" coords="418,606,624,656" class="cursor" href="https://www.orico.cc/us/product/category/631.html" target="_blank">
|
||||
<area shape="rect" coords="709,610,905,665" class="cursor" href="https://www.orico.cc/us/product/category/532.html" target="_blank">
|
||||
<area shape="rect" coords="969,599,1230,667" class="cursor" href="https://www.orico.cc/us/product/category/933.html" target="_blank">
|
||||
<area shape="rect" coords="1266,520,1478,572" class="cursor" href="https://www.orico.cc/us/product/category/530.html" target="_blank">
|
||||
|
||||
</map>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="distributor_Beltline">
|
||||
<div class="distributor_title distributor_text_black text-c">Featured Products</div>
|
||||
<div class="distributor_des distributor_text_gray text-c">Leading The Trend</div>
|
||||
<div class="swt-Container">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/4039.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/TCM2-C3.jpg">
|
||||
<p class="distributor_text_black distributor_des">NVMe M.2 SSD Enclosure (10Gbps)</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO TCM2-C3 </p>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/3237.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/NS500U3.jpg">
|
||||
<p class="distributor_text_black distributor_des">3.5 inch 5 Bay USB3.0 Hard Drive Enclosure</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO NS500U3</p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/3244.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/WS200RC3.jpg">
|
||||
<p class="distributor_text_black distributor_des">3.5 inch 2 Bay Type-C Hard Drive Enclosure</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO WS200RC3</p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/6775.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/9558U3.jpg">
|
||||
<p class="distributor_text_black distributor_des">3.5-Inch External Hard Drive Enclosure</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO 9558U3</p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/7214.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/M2PV-C3.jpg">
|
||||
<p class="distributor_text_black distributor_des">M.2 NVMe SSD Enclosure</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO M2PV-C3</p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/3348.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/M3H4-V1.jpg">
|
||||
<p class="distributor_text_black distributor_des">Aluminum Alloy 4 Port USB3.0 HUB</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO M3H4-V1</p>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/7296.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/PA500-2A4U.jpg">
|
||||
<p class="distributor_text_black distributor_des">Portable Power Station 500W</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO PA500-2A4U</p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/3374.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/DUK-10P.jpg">
|
||||
<p class="distributor_text_black distributor_des">120W 10 Port USB Smart Desktop Charging Station</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO DUK-10P </p></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.orico.cc/us/product/detail/7433.html" class="cursor" target="_blank">
|
||||
<img src="__PUBLIC__/weben/images/distributor/LST-2AS.jpg">
|
||||
<p class="distributor_text_black distributor_des">Notebook heighten folding bracket</p>
|
||||
<p class="distributor_text_gray distributor_des">ORICO LST-2AS</p></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/weben/images/distributor/seize.jpg">
|
||||
<div class="distributor_title text-c"><A HREF="#agentForm">Become an authorized distributor/reseller of ORICO! </A></div>
|
||||
</div-->
|
||||
<div class="distributor_faq">
|
||||
<div class="Swt-Banner position-r">
|
||||
<img src="__PUBLIC__/weben/images/distributor/seize2.jpg" alt="">
|
||||
<div class="one" style="bottom:30%;">
|
||||
<div class="swt-Container" style="text-align:center;">
|
||||
<div class="content">
|
||||
<p class="distributor_desc distributor_text_white" style="color:#fff;font-size: 1.3em;">Seize the opportunity, now!</p>
|
||||
<p class="distributor_subtitle distributor_text_white margin-t"><a class="animateForm distributor_title cursor" style="color:#fff;font-size: 1.3em;">Become an authorized distributor/reseller of Orico!</a></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--div class="distributor_Big_Data">
|
||||
<div class="Swt-Banner"><img src="/frontend/web/images/distributor/distributor_Big_Data.jpg"></div>
|
||||
</div-->
|
||||
|
||||
<!--大记事-->
|
||||
<div class="distributor_Chronicle">
|
||||
<div class="distributor_title distributor_text_white text-c">Honor The History, Witness The Victory</div>
|
||||
<div class="distributor_des distributor_text_white text-c">For the past 12 years, every step we took found an echo in the purpose – ‘Made in China, Innovated from China’.</div>
|
||||
<div class="Chronicle">
|
||||
<div class="swt-Container position-r">
|
||||
<div class="Chronicle-l position-r">2021<span></span></div>
|
||||
<div class="Chronicle-r">Joined Xinchuang Alliance Industry Association and incubated subsidiary brand – IAMAKER.</div>
|
||||
</div>
|
||||
<div class="swt-Container position-r">
|
||||
<div class="Chronicle-l position-r">2020<span></span></div>
|
||||
<div class="Chronicle-r">Being selected as the 18th Shenzhen Famous Brands and the 7th Credible Global Brand; incubated subsidiary brand IDSONIX and achieved strategic cooperation with Lenovo on personal cloud storage and drive enclosures. </div>
|
||||
<div class="Chronicle-l position-r">2019<span></span></div>
|
||||
<div class="Chronicle-r " >Celebrated ORICO’s 10th anniversary and incubated subsidiary brand – Yottamaster.</div>
|
||||
<div class="Chronicle-l position-r">2018<span></span></div>
|
||||
<div class="Chronicle-r">Listed on the China’s top 30 cross-border e-commerce overseas brands in 2018 and started overall brand upgrade.</div>
|
||||
<div class="Chronicle-l position-r">2017<span></span></div>
|
||||
<div class="Chronicle-r">New industrial chain incubation platform of ORICO Internet & Creativity Industrial Park was established officially.</div>
|
||||
<div class="Chronicle-l position-r">2016<span></span></div>
|
||||
<div class="Chronicle-r">Quality Control Center was established by PICC IWS and Dongguan Quality Inspection while built up the strategic partner relationship with Fresco.</div>
|
||||
<div class="Chronicle-l position-r">2015<span></span></div>
|
||||
<div class="Chronicle-r">ORICO branch in Hunan Province was established, which marked the officially operation of brand’s global e-commerce center. At the same time, ORICO Internet & Creativity Industrial Park was founded in Dongguan. The subsidiary brand – NTONPOWER started to incubate.</div>
|
||||
<div class="Chronicle-l position-r">2014<span></span></div>
|
||||
<div class="Chronicle-r">Kept improving industrial chain and maintained high development speed with 6 factories.</div>
|
||||
<div class="Chronicle-l position-r">2013<span></span></div>
|
||||
<div class="Chronicle-r">ORICO was awarded “National High-tech Enterprise” certification.</div>
|
||||
<div class="Chronicle-l position-r">2012<span></span></div>
|
||||
<div class="Chronicle-r">Started to develop self-industrial chain and optimize packaging, injection molding technologies. Products entered into global markets covering America, Spain, Britain, French and others.</div>
|
||||
<div class="Chronicle-l position-r">2011<span></span></div>
|
||||
<div class="Chronicle-r">Developed offline channels in Thailand, Korea and Germany. Meanwhile the headquarter moved in Shenzhen Zhonghaixin Science & Technology Park.</div>
|
||||
<div class="Chronicle-l position-r">2010<span></span></div>
|
||||
<div class="Chronicle-r">ORICO officially landed on Tmall, JD, Yixun, Newegg, Amazon, Suning, Gome and more mainstream e-commerce platforms, expanding online markets.</div>
|
||||
<div class="Chronicle-l position-r">2009<span></span></div>
|
||||
<div class="Chronicle-r">ORICO was founded formally and first released the ‘Tool Free’ drive enclosure.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--招商对象-->
|
||||
<div class="distributor_Attract">
|
||||
<div class="swt-Container">
|
||||
<div class="distributor_title distributor_text_white text-c">Join Us</div>
|
||||
<div class="list">
|
||||
<ul>
|
||||
<li><a class="animateForm cursor" style="color:#fff;">
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_01.jpg"></div>
|
||||
<div class="des_text">Global Distributors</div></a>
|
||||
</li>
|
||||
<li><a class="animateForm cursor" style="color:#fff;">
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_02.jpg"></div>
|
||||
<div class="des_text">Global Resellers </div></a>
|
||||
</li>
|
||||
<li><a class="animateForm cursor" style="color:#fff;">
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_03.jpg"></div>
|
||||
<div class="des_text">Global Wholesalers </div></a>
|
||||
</li>
|
||||
<li><a class="animateForm cursor" style="color:#fff;">
|
||||
<div class=""><img src="__PUBLIC__/web/images/distributor/distributor_Attract_04.jpg"></div>
|
||||
<div class="des_text">Global Retailers</div></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--加盟流程-->
|
||||
|
||||
<div class="distributor_bg_black02">
|
||||
<div class="swt-Container">
|
||||
<div class="distributor_join">
|
||||
<div class="distributor_title distributor_text_white text-c">Cooperation Process</div>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title"><a class="animateForm cursor" style="color:#fff;">Application Form</a></span>
|
||||
<span class="subtitle">step:1</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_01.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">Quick Meeting</span>
|
||||
<span class="subtitle">step:2</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_02.jpg"></div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">Application in Review</span>
|
||||
<span class="subtitle">step:3</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_03.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">Sign Agreement</span>
|
||||
<span class="subtitle">step:4</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_04.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">First Order</span>
|
||||
<span class="subtitle">step:5</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_05.jpg"></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="left">
|
||||
<span class="title">Follow-up Service</span>
|
||||
<span class="subtitle">step:6</span>
|
||||
</div>
|
||||
<div class="right img-responsive"><img src="__PUBLIC__/web/images/distributor/distributor_join_06.jpg"></div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--联系方式-->
|
||||
<div id="agentForm">
|
||||
<a name="agentForm"> </a>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||||
<!-- 详情页 s -->
|
||||
<div class="apply_content" style="margin-top: 80px;">
|
||||
<div class="form_title">Become a Distributor</div>
|
||||
<div class="apply_form">
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Company name</p>
|
||||
<input class='companyName' type="text" placeholder="Legal business name" name="company" id="company" />
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Official website</p>
|
||||
<input type="text" placeholder="Please paste the URL" name="url" class="url" id="url" />
|
||||
</div>
|
||||
<div class="name clearfix" style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Your name</p>
|
||||
<div style="margin-right: 1.25rem;">
|
||||
<input type="text" class="first" placeholder="First name" name="firstname" id="firstname"/>
|
||||
</div>
|
||||
<div>
|
||||
<input type="text" class="last" placeholder="Last name" name="lastname" id="lastname"/>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Email</p>
|
||||
<input type="email" class="email" name="email" id="email"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Phone number</p>
|
||||
<input type="text" class="phone" name="phone" id="phone"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Products you are interested in?</p>
|
||||
<div class="check_boxs">
|
||||
<ul>
|
||||
<li><input type="checkbox" name="interested" value="Computer Peripheral">Computer Peripheral</li>
|
||||
<li><input type="checkbox" name="interested" value="Phone Peripheral">Phone Peripheral</li>
|
||||
<li><input type="checkbox" name="interested" value="Electronics">Electronics</li>
|
||||
<li><input type="checkbox" name="interested" value="SSD">SSD</li>
|
||||
<li><input type="checkbox" name="interested" value="Entertainment Series">Entertainment Series</li>
|
||||
<li><input type="checkbox" name="interested" value="Smart Life Series">Smart Life Series</li>
|
||||
<li><input type="checkbox" name="interested" value="Outdoor Power Station">Outdoor Power Station</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Are you willing to keep inventory?</p>
|
||||
<div class="radio_box">
|
||||
<ul>
|
||||
<li><input type="radio" name="inventory" value="YES" checked>YES</li>
|
||||
<li><input type="radio" name="inventory" value="NO">NO</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Distribution region</p>
|
||||
<input type="text" class="region" placeholder="Country,or area within a country" name="distribution" id="distribution"/>
|
||||
</div>
|
||||
<div class="submit_btn">SUBMIT</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 详情页 e -->
|
||||
<script>
|
||||
// 输入框失去焦点
|
||||
$('.companyName').blur(function(){
|
||||
if($('.companyName').val() != ''){
|
||||
$('.companyName').removeClass('error');
|
||||
$('.companyName').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.first').blur(function(){
|
||||
if($('.first').val() != ''){
|
||||
$('.first').removeClass('error');
|
||||
$('.first').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.first').addClass('error');
|
||||
$('.first').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.last').blur(function(){
|
||||
if($('.last').val() != ''){
|
||||
$('.last').removeClass('error');
|
||||
$('.last').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.last').addClass('error');
|
||||
$('.last').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.email').blur(function(){
|
||||
if($('.email').val() != ''){
|
||||
$('.email').removeClass('error');
|
||||
$('.email').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.region').blur(function(){
|
||||
if($('.region').val() != ''){
|
||||
$('.region').removeClass('error');
|
||||
$('.region').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.region').addClass('error');
|
||||
$('.region').next('span').removeClass('hide');
|
||||
}
|
||||
});
|
||||
|
||||
try {
|
||||
k_win_ref = window.parent.document.referrer;
|
||||
} catch(e) {
|
||||
k_win_ref = '';
|
||||
};
|
||||
|
||||
// 提交表单
|
||||
$('.submit_btn').click(function(){
|
||||
var companyName = $('.companyName').val();
|
||||
var firstName = $('.first').val();
|
||||
var lastName = $('.last').val();
|
||||
var email = $('.email').val();
|
||||
var region = $('.region').val();
|
||||
|
||||
var checkItem = new Array();
|
||||
|
||||
$("input[name='interested']:checked").each(function() {
|
||||
checkItem.push($(this).val());// 在数组中追加元素
|
||||
});
|
||||
var interesteds = checkItem.join(",");
|
||||
|
||||
var inventory = $("input[name='inventory']:checked").val();
|
||||
|
||||
|
||||
if(companyName == ''){
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}
|
||||
if(firstName == ''){
|
||||
$('.first').addClass('error');
|
||||
$('.first').next('span').removeClass('hide');
|
||||
}
|
||||
if(lastName == ''){
|
||||
$('.last').addClass('error');
|
||||
$('.last').next('span').removeClass('hide');
|
||||
}
|
||||
if(email == ''){
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
}
|
||||
if(region == ''){
|
||||
$('.region').addClass('error');
|
||||
$('.region').next('span').removeClass('hide');
|
||||
}
|
||||
|
||||
|
||||
//点击创建申请块
|
||||
if(companyName && firstName && lastName && email && region) {
|
||||
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "add",
|
||||
data: {'company':companyName, 'email':email,'country':region,'name':firstName,'last_name':lastName,'phone':$('.phone').val(),'interested':interesteds,'is_inventory':inventory,'uri':$('.url').val(),'refer':k_win_ref},
|
||||
dataType: "json",
|
||||
|
||||
success: function(data){
|
||||
if(data.code == 200) {
|
||||
//alert(data.msg);
|
||||
//window.location.href='/us/agents/agents.html';
|
||||
location.href = '/us/Group/submission.html';
|
||||
}
|
||||
else{
|
||||
if(data.code == 403 || data.code == 201) {
|
||||
alert(data.msg);
|
||||
}
|
||||
else{
|
||||
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
$('.animateForm').click(function() {
|
||||
$('html,body').animate({ scrollTop: $("#agentForm").offset().top - 100 }, 200)
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!--查找经销商-->
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
274
app/us/view/group/distributor.phtml
Executable file
274
app/us/view/group/distributor.phtml
Executable file
@@ -0,0 +1,274 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Become a Distributor</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/cooperation.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!--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" /}
|
||||
|
||||
|
||||
<div class="bdpage">
|
||||
<div class="bd_main">
|
||||
<h1 class="t1">To Be Our Distributor</h1>
|
||||
<p class="s1" style="padding-bottom:5px">Ready to join us?</p>
|
||||
<p class="s1">Enter your details below and our Sales team will get back to you within 2 business days.</p>
|
||||
<!--内容-->
|
||||
<div class="bd_ct">
|
||||
<div class="thimg">
|
||||
<img src="__PUBLIC__/weben/images/Introductionimg/Cooperation/brand02.png" alt="" srcset="" class="bdimg">
|
||||
</div>
|
||||
<div class="bd_from">
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">Company Name<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp companyName" placeholder="Enter your companyName" name="company" id="company" >
|
||||
</div>
|
||||
<div class="bditem">
|
||||
<label class="itlable">contact Email <span class="redtag">*</span></label>
|
||||
<input type="email" class="form-control itinp email" placeholder="Enter your Emaill" name="email" id="email">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">Phone Numbe<span class="redtag">*</span></label>
|
||||
<input type="text" class="form-control itinp mphone" placeholder="This is your placeholder text" name="phone" id="phone">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem">
|
||||
<label class="itlable">Type of Business<span class="redtag">*</span></label>
|
||||
<select name="business_type" data-pf-type="FormInput" class="form-control itinp business_type">
|
||||
<option value="Online Store">Online Store</option>
|
||||
<option value="Local Shop">Local Shop</option>
|
||||
<option value="Both">Both</option></select>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="bditem">
|
||||
<label class="itlable">Online Shop URL</label>
|
||||
<input type="text" class="form-control itinp url" placeholder="This is your placeholder URL" name="url" id="url">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">Enterprise size<span class="redtag">*</span></label>
|
||||
<select name="enterprise_size" data-pf-type="FormInput" class="form-control itinp enterprise_size">
|
||||
<option value="10 Or Less">10 Or Less</option>
|
||||
<option value="10-50">10-50</option>
|
||||
<option value="50-199">50-199</option>
|
||||
<option value="200 Or More">200 Or More</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">company Address<span class="redtag">*</span></label>
|
||||
<input class="form-control itinp address" placeholder="Enter Address">
|
||||
</div>
|
||||
</div>
|
||||
<div class="theit">
|
||||
<div class="bditem bditem1">
|
||||
<label class="itlable">Message<span class="redtag">*</span></label>
|
||||
<textarea class="ittextarea message" placeholder="Enter your message"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 提交-->
|
||||
<div class="bttj" data-sub="true">SUBMIT</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// 输入框失去焦点
|
||||
$('.companyName').blur(function(){
|
||||
if($('.companyName').val() != ''){
|
||||
$('.companyName').removeClass('error');
|
||||
$('.companyName').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
|
||||
$('.email').blur(function(){
|
||||
if($('.email').val() != ''){
|
||||
$('.email').removeClass('error');
|
||||
$('.email').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.business_type').blur(function(){
|
||||
if($('.business_type').val() != ''){
|
||||
$('.business_type').removeClass('error');
|
||||
$('.business_type').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.business_type').addClass('error');
|
||||
$('.business_type').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.enterprise_size').blur(function(){
|
||||
if($('.enterprise_size').val() != ''){
|
||||
$('.enterprise_size').removeClass('error');
|
||||
$('.enterprise_size').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.enterprise_size').addClass('error');
|
||||
$('.enterprise_size').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.address').blur(function(){
|
||||
if($('.address').val() != ''){
|
||||
$('.address').removeClass('error');
|
||||
$('.address').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.address').addClass('error');
|
||||
$('.address').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.message').blur(function(){
|
||||
if($('.message').val() != ''){
|
||||
$('.message').removeClass('error');
|
||||
$('.message').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.message').addClass('error');
|
||||
$('.message').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.mphone').blur(function(){
|
||||
if($('.mphone').val() != ''){
|
||||
$('.mphone').removeClass('error');
|
||||
$('.mphone').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.mphone').addClass('error');
|
||||
$('.mphone').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
// 提交表单
|
||||
$('.bttj').click(function(){
|
||||
var companyName = $('.companyName').val();
|
||||
var business_type = $('.business_type').val();
|
||||
var enterprise_size = $('.enterprise_size').val();
|
||||
var email = $('.email').val();
|
||||
var phone = $('.mphone').val();
|
||||
var address = $('.address').val();
|
||||
var message = $('.message').val();
|
||||
|
||||
|
||||
if(companyName == ''){
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('.companyName').removeClass('error');
|
||||
$('.companyName').next('span').addClass('hide');
|
||||
}
|
||||
if(phone == ''){
|
||||
$('.mphone').addClass('error');
|
||||
$('.mphone').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('.mphone').removeClass('error');
|
||||
$('.mphone').next('span').addClass('hide');
|
||||
}
|
||||
if(message == ''){
|
||||
$('.message').addClass('error');
|
||||
$('.message').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('.message').removeClass('error');
|
||||
$('.message').next('span').addClass('hide');
|
||||
}
|
||||
if(email == ''){
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
}
|
||||
else{
|
||||
if (/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(email) == false) {
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
return false;
|
||||
}
|
||||
else{
|
||||
$('.email').removeClass('error');
|
||||
$('.email').next('span').addClass('hide');
|
||||
}
|
||||
}
|
||||
if(address == ''){
|
||||
$('.address').addClass('error');
|
||||
$('.address').next('span').removeClass('hide');
|
||||
}else{
|
||||
$('.address').removeClass('error');
|
||||
$('.address').next('span').addClass('hide');
|
||||
}
|
||||
try {
|
||||
k_win_ref = window.parent.document.referrer;
|
||||
} catch(e) {
|
||||
k_win_ref = '';
|
||||
};
|
||||
//点击创建申请块
|
||||
if(companyName && business_type && enterprise_size && email && address && message && phone) {
|
||||
var sub_status = $('.bttj').data("sub");
|
||||
if ( sub_status != true ) {
|
||||
$('.bttj').val("Loading......");
|
||||
return false;
|
||||
}
|
||||
$('.bttj').data("sub",false);
|
||||
$('.bttj').html("Loading......")
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/us/agents/create",
|
||||
data: {'company':companyName, 'email':email, 'address':address,'business_type':business_type,'enterprise_size':enterprise_size,'phone':$('.mphone').val(),'address':address,'message':message,'uri':$('.url').val(),'refer':k_win_ref},
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
if(data.code == 200) {
|
||||
alert('Add Success!');
|
||||
location.href = '/us/Group/submission.html';
|
||||
|
||||
$("input[type='text']").val('');
|
||||
$("input[type='email']").val('');
|
||||
$('.address').val('');
|
||||
$('.message').val('');
|
||||
|
||||
|
||||
|
||||
}
|
||||
else{
|
||||
if(data.code == 403 || data.code == 201) {
|
||||
alert(data.msg);
|
||||
}
|
||||
else{
|
||||
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
|
||||
}
|
||||
}
|
||||
$('.bttj').data("sub",true);
|
||||
$('.bttj').html("SUBMIT");
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
197
app/us/view/group/fan.phtml
Executable file
197
app/us/view/group/fan.phtml
Executable file
@@ -0,0 +1,197 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/fan.css">
|
||||
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r">
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-banner.jpg">
|
||||
<div class="fan_01">
|
||||
<div class="swt-Container">
|
||||
<p class="title">Tidy Desktop, Lovely Life</p>
|
||||
<p class="text">Summer Refreshing, Winter Moistening</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频-->
|
||||
<div class="position-r subject_02_bg Fan_02">
|
||||
<div class="subject_02 subject_alltext">
|
||||
<div class="swt-Container">
|
||||
<div class="subject_black left ">
|
||||
<p class="subject_title">Life is Artistic</p>
|
||||
<p class="subject_subtitle">Explore USB technology<br>Create safer and easier tech life</p>
|
||||
<p class="subject_text">
|
||||
<span class="subject_span_margin">Delicate details manifest exquisite life. ORICO makes brand concept “Little Change, Big Difference” integrated into our life details during the development of Smart Life Peripherals, such as Mini Fan, Humidifier, etc.
|
||||
</span><br>
|
||||
The application of USB technology brings us great convenience for using some daily products like mini fan and humidifier. They can be normally used merely by connecting power adapter, power bank, laptop, car charger and more, unlocking a beautiful life.
|
||||
</p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan_02_video.jpg">
|
||||
<video height="100%" controls poster="__PUBLIC__/web/images/Fan/Fan_02_video.jpg" >
|
||||
<source src="__PUBLIC__/web/images/Fan/ORICO-FH1.mp4">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--产品-->
|
||||
<div class="Fan_03 img-responsive">
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-03.jpg">
|
||||
<div class="all_content">
|
||||
<div class="swt-Container">
|
||||
<div class="all_text">
|
||||
<p class="subject_title">Ultra-Quiet Humidifier, Perfect Companion</p>
|
||||
<p class="subject_subtitle">ORICO Premium Desktop Humidifier</p>
|
||||
<p class="subject_des"><span class="subject_span_margin">Humidifier keeps your skin moisturized even in dry seasons, which enables you to enjoy more beautiful sceneries cheerfully.
|
||||
</span><br>Atomization technology and longer duration keep humidifying environment for a long time, continuously bringing you hydrated and tender skin. No matter at home or on a trip, it is an optimal companion in your life.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="all_product">
|
||||
<div class="swt-Container">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-03-one.jpg">
|
||||
<div class="product">
|
||||
<p class="title">Ultra-Quiet Desktop Humidifier</p>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-03-two.jpg">
|
||||
<div class="product">
|
||||
<p class="title">Ultra-Quiet Desktop Humidifier Max</p>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第四屏-->
|
||||
<div class="Fan_04 img-responsive">
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04.jpg">
|
||||
<div class="all_content">
|
||||
<div class="swt-Container">
|
||||
<div class="all_text">
|
||||
<p class="subject_title">Whisper-Quiet Fan, Cooling Summer</p>
|
||||
<p class="subject_subtitle">Mini Desk Fan</p>
|
||||
<p class="subject_des"><span class="subject_span_margin">When you work in office, study in library or take a nap in a blistering summer day, USB Mini Fan is an indispensable product to help you relieve the summerheat. Diversified power supply and multi-level adjustable wind speed make it more energy-saving and convenient, giving you refreshing and comfortable experience.</span><br>Show you the desktop new fashion.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="all_product">
|
||||
<div class="swt-Container">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-one.jpg">
|
||||
<div class="title">Mini Desk Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="/us/product/detail/870.html">More Details</a>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-two.jpg">
|
||||
<div class="title">Mini Portable Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="/us/product/detail/606.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-three.jpg">
|
||||
<div class="title">Mini USB Clip Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="/us/product/detail/221.html">More Details</a>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-four.jpg">
|
||||
<div class="title">USB Vertical Mini Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="/us/product/detail/952.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-five.jpg">
|
||||
<div class="title">LED Handheld Mini Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="/us/product/detail/993.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-six.jpg">
|
||||
<div class="title">Desktop USB mini fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="/us/product/detail/892.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-seven.jpg">
|
||||
<div class="title">USB Mini Desktop Fan</div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="/us/product/detail/953.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/Fan/Fan-04-eight.jpg">
|
||||
<div class="title">Mini USB Humidifier Fan </div>
|
||||
<div class="Fan_buy">
|
||||
<div class="Fan_buy_button">
|
||||
<a href="/us/product/detail/1025.html">More Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="subject_travel_text subject_title">Stay tuned for our more USB smart life products…</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
115
app/us/view/group/fq.phtml
Executable file
115
app/us/view/group/fq.phtml
Executable file
@@ -0,0 +1,115 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
{include file="include/head" /}
|
||||
<title>FAQ</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/faq.css"></head>
|
||||
<body>
|
||||
<!--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" /}
|
||||
<div class="img-responsive"><img src="__PUBLIC__/weben/images/faq/faq-banner.jpg"></div>
|
||||
<div class="bg-gray overflow-f">
|
||||
<div class="swt-Container">
|
||||
<div class="faq">
|
||||
|
||||
<div class="faq-all Table">
|
||||
<ul class="Table-Row">
|
||||
<?php if ($fq_list): ?>
|
||||
|
||||
<?php foreach ($fq_list as $detail): ?>
|
||||
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="<?php echo getImage($detail['picture'], 951, 459, 6); ?>"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title"><?php echo $detail['name']; ?></div>
|
||||
<div class="faq-des">
|
||||
<?php echo nl2br($detail['content']); ?>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
<!--li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-01.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">How to use the offline copy function with the 6629US3?</div>
|
||||
<div class="faq-des">
|
||||
<p>1. Connect 2 SATA hard drives, note that Source is the source disk, Target is the target disk (the capacity of the target disk should be larger than the source disk).</p>
|
||||
<p>2. When offline copying, select Clone on the back the hard drive dock, which is clone mode. When Clone is not used, switch to PC mode directly.</p>
|
||||
<p>3. Plug in the power and turn on the power switch.</p>
|
||||
<p>4. After the above preparations are ready, press the START button twice, the percentage indicators will light back and forth at first, and indicators will all light up when copy finished.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-02.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">How to set Raid mode?</div>
|
||||
<div class="faq-des">
|
||||
<p>RAID setting method: (If the hard disk is not a new hard disk, please backup the data and then set up the RAID mode)</p>
|
||||
<p>1. Turn off the power button of device.</p>
|
||||
<p>2. Trigger the RAID mode switch on the back of the device, set the RAID mode that you wants;</p>
|
||||
<p>3. Press and hold the set button, turn on the power switch, release the SET button after 5 seconds;</p>
|
||||
<p>4. At the same time, the RAID manager software can be installed on the computer to manage the RAID function through software.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-03.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">After the new hard drive is connected to the computer, why can't I find the hard drive and drive letter?</div>
|
||||
<div class="faq-des">
|
||||
<p>Due to the limitations of the operating system, the Windows XP system can only support 2TB capacity hard disks. Hard disks larger than 2TB capacity cannot be supported and cannot be used normally.
|
||||
*Method of operation: First, right click on "Computer", then click "Manage", open into "Disk Management", find the new hard disk, right click "Initialize", select "MBR hard disk capacity is less than or equal to 2TB" or "GPT (greater than 2TB)" Then, "New Simple Volume", the default partition is formatted in the next step. After the formatting is completed, the hard disk can be used normally, and the newly added drive letter is displayed.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-04.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">Unable to log in and enter the W150 router settings interface?</div>
|
||||
<div class="faq-des">
|
||||
<p>Plug the router into the power socket and power on. Do not connect the network cable (remember), then search for the wireless network signal connected to "ORICO" on the mobile phone. After the connection is successful, open the browser to enter the IP address: 192.168.11, log in and access the home page and enter user name: admin, password: admin, then log in. </p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-05.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">Can I connect hub to TV to expand? Can it drive a hard drive without extra power supply?</div>
|
||||
<div class="faq-des">
|
||||
<p>Answer: At present, HUB is mainly used for the PC side. It has not yet been popularized in the TV category. Your TV should support it. There is no guarantee that all TVs will be recognized. Generally 2.5-inch hard disk is ok, because USB power supply is limited, if you are using a 3.5-inch hard disk, it is recommended that you buy a HUB with power adapter.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="Table-Cell">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/faq/faq-06.jpg"></div>
|
||||
<div class="faq-all-text">
|
||||
<div class="faq-title">Brands comparison </div>
|
||||
<div class="faq-des">
|
||||
<p>Answer: ORICO uses imported control chips, ICs, original devices, PCBA boards that are developed by ourselves, and all molds are ORICO. ORICO uses all SMD components, so the materials are completely different.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li-->
|
||||
</ul>
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file="include/bottom" /}
|
||||
</body>
|
||||
</html>
|
||||
215
app/us/view/group/h_speed.phtml
Executable file
215
app/us/view/group/h_speed.phtml
Executable file
@@ -0,0 +1,215 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>10GbpsSuperSpeed_Orico</title>
|
||||
<meta name="Keywords" content="" />
|
||||
<meta name="Description" content="" />
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/h_speed.css">
|
||||
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsives position-r h_speed_text_white">
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_banner.jpg">
|
||||
<div class="banner_button"><span>SuperSpeed</span></div>
|
||||
<div class="banner_button_title">Speed Innovation</div>
|
||||
<div class="banner_button_subtitle">Real Type-C 10Gbps high-speed
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第二屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_02">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text">
|
||||
<p class="title h_speed_title">Explore the Way<br>Lead the Trend</p>
|
||||
<p class="h_speed_subtitle">Type-C interface, double-side pluggable</p>
|
||||
<p class="h_speed_des">ORICO is a pioneer in the field of storage and transmission. ORICO introduces Type-C interfaces which, compared with the previous Micro B interface, has longer life, more stable transmission, and powerful data transmission capability and power supply capability.</p>
|
||||
<p><a href="/product/detail/397.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第三屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_03">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text float-r">
|
||||
<p class="title h_speed_title">Powerful Chip<br>Fast Transmission</p>
|
||||
<p class="h_speed_subtitle">10Gbps transmission, VL716 strong controller</p>
|
||||
<p class="h_speed_des">ORICO HDD enclosure adopts VL716 strong main controller, high transmission performance, supports USB3.1 GEN2 solution, 10Gbps transmission rate, nearly twice the theoretical speed of USB3.0.</p>
|
||||
<p><a href="/product/detail/423.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第四屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_04">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text">
|
||||
<p class="title h_speed_title">Breakthrough </br>Speed Limit</p>
|
||||
<p class="h_speed_subtitle">UASP protocol, upgraded speed</p>
|
||||
<p class="h_speed_des">ORICO adopts the industry's high standard UASP protocol, supports SATARevision3.0 to USB3.1 Gen2 bridging solution, optimizes CPU performance during transmission, shortens program response time, and accelerates speed by 30%.</p>
|
||||
<p><a href="/product/detail/859.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第五屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_05">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text float-r">
|
||||
<p class="title h_speed_title">Transparent Design</p>
|
||||
<p class="h_speed_subtitle">PC transparent design, beauty of technology</p>
|
||||
<p class="h_speed_des">ORICO transparent series HDD enclosure is made of transparent PC material, simple and elegant, combining technology and art.</p>
|
||||
<p><a href="/product/detail/812.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第六屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_06">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text">
|
||||
<p class="title h_speed_title">Splashproof Design<br>No Worry of falling</p>
|
||||
<p class="h_speed_subtitle">360°silicone, outdoor three-proofing</p>
|
||||
<p class="h_speed_des">ORICO three-proof HDD enclosure is designed with silicone material, it is splashproof, dustproof, adapting to outdoor complex environment, protect your precious data.</p>
|
||||
<p><a href="/product/detail/398.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第七屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_07">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text float-r">
|
||||
<p class="title h_speed_title">Honeycomb Convection<br>Better heat-dissipation</p>
|
||||
<p class="h_speed_subtitle">Aluminum alloy material, honeycomb heat-dissipation</p>
|
||||
<p class="h_speed_des">A good cooling system is the basis for the stable transmission of the hard disk. When operated in a high temperature and high intensity environment, the speed may be declined or the disk even damaged. Aluminum alloy has good heat dissipation properties and is designed to be stable and efficient even with long-term operation.</p>
|
||||
<p><a href="/product/detail/403.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第八屏-->
|
||||
<div class="img-responsives position-r h_speed h_speed_08">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text">
|
||||
<p class="title h_speed_title">Light and Thin</p>
|
||||
<p class="h_speed_subtitle">Designed for 7mm SSD, burden-free trip</p>
|
||||
<p class="h_speed_des">The 12mm enclosure is designed for 7mm SSD, and built-in shockproof sponge, 4TB large capacity, portable and easy to take.</p>
|
||||
<p><a href="/product/detail/402.html"><span>Learn More ></span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第九屏-->
|
||||
<div class="img-responsives position-r h_speed_09">
|
||||
<div class="swt-Container h_speed_text_white">
|
||||
<div class="h_speed_text">
|
||||
<p class="title h_speed_title">Nine Protections, Worry-free Transmission</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--2.5英寸硬盘盒-->
|
||||
<div class="h_speed_10">
|
||||
<div class="swt-Container">
|
||||
<div class="text-c h_speed_title f-black">2.5 inch HDD Enclosure</div>
|
||||
<div class="h_speed_10_four img-responsive">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_01.jpg">
|
||||
<div class="h_speed_10_title h_speed_text_black title">2.5 inch HDD enclosure</div>
|
||||
<div class="h_speed_10_subtitle h_speed_text_gray subtitle">Type-C interface, 10Gbps </div>
|
||||
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="/us/product/detail/397.html">More Delita</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_02.jpg">
|
||||
<div class="h_speed_10_title h_speed_text_black title">2.5 inch HDD enclosure</div>
|
||||
<div class="h_speed_10_subtitle h_speed_text_gray subtitle">Three-proofing, 10Gbps </div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="/us/product/detail/398.html">More Delita</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_03.jpg">
|
||||
<div class="h_speed_10_title h_speed_text_black title">2.5 inch HDD enclosure
|
||||
</div>
|
||||
<div class="h_speed_10_subtitle h_speed_text_gray subtitle">Aluminum alloy, 10Gbps </div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="/us/product/detail/403.html">More Delita</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_04.jpg">
|
||||
<div class="h_speed_10_title h_speed_text_black title">2.5 inch SSD enclosure</div>
|
||||
<div class="h_speed_10_subtitle h_speed_text_gray subtitle">12mm ultrathin</div>
|
||||
<div class="transparent_buy">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="/us/product/detail/402.html">More Delita</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--硬盘底座-->
|
||||
<div class="h_speed_10">
|
||||
<div class="swt-Container">
|
||||
<div class="text-c h_speed_title f-black">HDD Dock</div>
|
||||
<div class="h_speed_10_two img-responsive">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_05.jpg">
|
||||
<div class="all_text">
|
||||
<p class="h_speed_10_text title h_speed_text_black">Type-C external HDD dock </p>
|
||||
<p class="subtitle h_speed_text_black">2.5/3.5inch applicable, 10Gbps transmission </p>
|
||||
<p class="transparent_buy">
|
||||
<a href="/us/product/detail/984.html">More Delita</a>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_06.jpg">
|
||||
<div class="all_text">
|
||||
<p class="h_speed_10_text title h_speed_text_black">Type-C HDD dock </p>
|
||||
<p class="subtitle h_speed_text_black">2.5/3.5inch applicable, 10Gbps transmission</p>
|
||||
<p class="transparent_buy">
|
||||
<a href="/us/product/detail/423.html">More Delita</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="h_speed_10_one img-responsive">
|
||||
<img src="__PUBLIC__/web/images/h_speed/h_speed_10_07.jpg">
|
||||
<div class="all_text">
|
||||
<p class="h_speed_10_text title h_speed_text_black">Transparent HDD Dock </p>
|
||||
<p class="subtitle h_speed_text_black">10Gbps transmission, UASP protocol</p>
|
||||
<p class="transparent_buy">
|
||||
<a href="/us/product/detail/943.html">More Delita</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>/html>
|
||||
202
app/us/view/group/headset.phtml
Executable file
202
app/us/view/group/headset.phtml
Executable file
@@ -0,0 +1,202 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link href="__PUBLIC__/weben/css/subject/headset.css" rel="stylesheet" type="text/css">
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
<!--top End-->
|
||||
<div class="headset">
|
||||
<img src="__PUBLIC__/web/images/headset/lj_voice_banner.jpg" alt=""/>
|
||||
<div class="headset_01">
|
||||
<div class="swt-Container">
|
||||
<div class="title">Music Era
|
||||
</div>
|
||||
<div class="text">Listen to the World
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频-->
|
||||
<div class="position-r subject_02_bg Fan_02">
|
||||
<div class="subject_02 subject_alltext">
|
||||
<div class="swt-Container">
|
||||
<div class="subject_black left ">
|
||||
<p class="subject_title">Listening to Music<br>Following the Heart</p>
|
||||
<p class="subject_subtitle">Music, into the ear, into the heart</p>
|
||||
<p class="subject_text">
|
||||
<span class="subject_span_margin">Good headphones are not only for music, but also your own voice.</span><br>
|
||||
<span class="subject_span_margin">If music is a dialogue touches the soul, the moment you put on headphones, the time seems to be still</span><br>The world is quiet, The mind is peaceful</p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<img src="__PUBLIC__/weben/images/headset/headset_02_video.jpg">
|
||||
<video height="100%" controls poster="__PUBLIC__/weben/images/headset/headset_02_video.jpg" >
|
||||
<source src="__PUBLIC__/weben/images/headset/set_RP1.mp4">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--音乐耳机-->
|
||||
<div class="headset position-r"> <img src="__PUBLIC__/weben/images/headset/lj_voice_banner01.jpg" alt=""/>
|
||||
<div class="headset_02">
|
||||
<div class="title">Moving-coil, More Touching
|
||||
</div>
|
||||
<div class="subtitle">Full and mellow sound, clear vocals, immersive music atmosphere, these are all features of moving-coil。</div>
|
||||
<div class="text">We use 10mm moving-coil unit, the sound field is natural, sturdy, the music is transient and true, the sound quality is balanced, transparent. Through professional. tuning, whether classical music, pop music, or rock music can be highly resolved to restore the beauty of music.
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container">
|
||||
<div class="lj_set01_img img-responsive position-r"><a href="#"><img src="__PUBLIC__/weben/images/headset/lj_voice_img01.jpg" alt=""/></a>
|
||||
<div class="lj_set_title">IEM-01 Music Headphones</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="">Amazon</a>
|
||||
<a href="">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_set01_img img-responsive position-r"><img src="__PUBLIC__/weben/images/headset/lj_voice_img02.jpg" alt=""/>
|
||||
<div class="lj_set_title">RM1 Music Headphones</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_set01_img img-responsive position-r"><img src="__PUBLIC__/weben/images/headset/lj_voice_img03.jpg" alt=""/>
|
||||
<div class="lj_set_title">RP1 Music Headphones</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<br clear="all">
|
||||
<script type="text/javascript">
|
||||
var trans_width = $( window ).width();
|
||||
//alert(trans_width);
|
||||
if ( trans_width < 768 ) {
|
||||
$( '.lj_set01_product' ).bxSlider( {
|
||||
slideWidth: 281,
|
||||
minSlides: 2,
|
||||
maxSlides: 3,
|
||||
moveSlides: 1,
|
||||
slideMargin: 10
|
||||
} );
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<!--金属高保真耳机-->
|
||||
<div class="headset position-r"> <img src="__PUBLIC__/weben/images/headset/lj_voice_banner02.jpg" alt=""/>
|
||||
<div class="headset_03">
|
||||
<div class="title">Noise-isolation, Immerse Experience</div>
|
||||
<div class="subtitle">Music, into the ear, into the heart</div>
|
||||
<div class="text">
|
||||
To prevent external noise interference and make you more focused on the music, in-ear skin-friendly headphones deliver superior ambient noise isolation, bringing you wonderful listening experience.
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container">
|
||||
<div class="lj_set_img01"><a href="#"><img src="__PUBLIC__/weben/images/headset/lj_voice_img04.jpg" alt=""/></a>
|
||||
<div class="lj_set_title">
|
||||
<div class="goden_font_big">RM3 Metal Hi-fi Headphones</div>
|
||||
</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_set_img01"><img src="__PUBLIC__/weben/images/headset/lj_voice_img05.jpg" alt=""/>
|
||||
<div class="lj_set_title">
|
||||
<div class="goden_font_big">RM2 Metal Hi-fi Headphones</div>
|
||||
</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_set_img01"><img src="__PUBLIC__/weben/images/headset/lj_voice_img06.jpg" alt=""/>
|
||||
<div class="lj_set_title">
|
||||
<div class="goden_font_big">P2 Music Headphones</div>
|
||||
</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_set_img01"><img src="__PUBLIC__/weben/images/headset/lj_voice_img07.jpg" alt=""/>
|
||||
<div class="lj_set_title">
|
||||
<div class="goden_font_big">P1 Music Headphones</div>
|
||||
</div>
|
||||
<div class="set_btn_all">
|
||||
<div class="transparent_buy_button">
|
||||
<a href="#" class="set_btn_jd">Amazon</a>
|
||||
<a href="#" class="set_btn_jd">Newegg</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br clear="all">
|
||||
<script type="text/javascript">
|
||||
var trans_width = $( window ).width();
|
||||
//alert(trans_width);
|
||||
if ( trans_width < 768 ) {
|
||||
$( '.lj_set_product' ).bxSlider( {
|
||||
slideWidth: 281,
|
||||
minSlides: 2,
|
||||
maxSlides: 3,
|
||||
moveSlides: 1,
|
||||
slideMargin: 10
|
||||
} );
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<!--金属高保真耳机-->
|
||||
<div class="headset position-r"> <img src="__PUBLIC__/web/images/headset/lj_voice_banner03.jpg" alt=""/>
|
||||
<div class="headset_04">
|
||||
<div class="title">Clear Sound, Unbounded Communication </div>
|
||||
<div class="subtitle">Clear and noiseless, one-click unbounded communication.
|
||||
</div>
|
||||
<div class="text">
|
||||
The noise reduction microphone is to provide you a face-to-face like conversation, high-quality, high-definition voice call, with noise reduction design, effectively eliminate the surrounding noise, so that communication is convenient.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lj_travel_text">Start a Music Tour</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
287
app/us/view/group/honor.phtml
Executable file
287
app/us/view/group/honor.phtml
Executable file
@@ -0,0 +1,287 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Honor|Orico USB storage|charging</title>
|
||||
<!-- <link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/honor.css"> -->
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--Bult Buy-->
|
||||
<div class="apply_content" style="margin-top: 80px;">
|
||||
<div class="form_title">Bulk Buy</div>
|
||||
<div class="apply_form">
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Company name</p>
|
||||
<input class='companyName' type="text" placeholder="Legal business name" name="company" id="company" />
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Official website</p>
|
||||
<input type="text" placeholder="Please paste the URL" name="url" class="url" id="url" />
|
||||
</div>
|
||||
<div class="name clearfix" style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Your name</p>
|
||||
<div style="margin-right: 1.25rem;">
|
||||
<input type="text" class="first" placeholder="First name" name="firstname" id="firstname"/>
|
||||
</div>
|
||||
<div>
|
||||
<input type="text" class="last" placeholder="Last name" name="lastname" id="lastname"/>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Email</p>
|
||||
<input type="email" class="email" name="email" id="email"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Phone number</p>
|
||||
<input type="text" class="phone" name="phone" id="phone"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Products you are interested in?</p>
|
||||
<div class="check_boxs">
|
||||
<ul>
|
||||
<li><input type="checkbox" name="interested" value="Computer Peripheral">Computer Peripheral</li>
|
||||
<li><input type="checkbox" name="interested" value="Phone Peripheral">Phone Peripheral</li>
|
||||
<li><input type="checkbox" name="interested" value="Electronics">Electronics</li>
|
||||
<li><input type="checkbox" name="interested" value="SSD">SSD</li>
|
||||
<li><input type="checkbox" name="interested" value="Entertainment Series">Entertainment Series</li>
|
||||
<li><input type="checkbox" name="interested" value="Smart Life Series">Smart Life Series</li>
|
||||
<li><input type="checkbox" name="interested" value="Outdoor Power Station">Outdoor Power Station</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Message</p>
|
||||
<textarea rows="6" cols="20" class="first detail-w01 region" placeholder="Methods used" /></textarea>
|
||||
</div>
|
||||
<div class="submit_btn">SUBMIT</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Bult Buy e -->
|
||||
<!--top End-->
|
||||
<!-- <div class="honor">
|
||||
<div class="Swt-Banner"><img src="__PUBLIC__/weben/images/honor/Honor-banner.jpg"></div>
|
||||
</div>
|
||||
<div class="honner_01">
|
||||
<div class="swt-Container">
|
||||
<div class="honner_01_all">
|
||||
<div class="honner_01_text">
|
||||
<p>ORICO is a brand that is deeply rooted in the exploration and application of USB technology. It has achieved remarkable results in fields of USB storage, charging and transmission for many years.</p>
|
||||
<p>Honor is both acceptance and responsibility;</p>
|
||||
<p>We are aiming to bring consumers around the world the freedom to pursue a better life.</p>
|
||||
</div>
|
||||
<div class="honner_01_list">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="big_text">20+</div>
|
||||
<div class="small_text">Core technology and independent invention patent</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="big_text">300+</div>
|
||||
<div class="small_text">Product appearance design patent</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="big_text">100+</div>
|
||||
<div class="small_text">Product utility model patent</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="honner_02">
|
||||
<div class="honner_title">Patent Licences</div>
|
||||
<div class="honner_des">20+ Invention patent,300+ Design patent,100+ Utility model patent.</div>
|
||||
<div class="swt-Container">
|
||||
<img src="__PUBLIC__/weben/images/honor/honner_02.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="honner_03">
|
||||
<div class="honner_title">Intellectual Property</div>
|
||||
<div class="honner_des">Our products, books, trademarks, etc. have independent intellectual property rights in many countries and regions, marking the brand's marching to the international step by step.</div>
|
||||
<div class="swt-Container">
|
||||
<img src="__PUBLIC__/weben/images/honor/honner_03.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="honner_04">
|
||||
<div class="honner_title">Certification & Testing </div>
|
||||
<div class="honner_des">Strict quality control and access to authoritative certifications in various countries and regions are just our starting point.</div>
|
||||
<div class="swt-Container">
|
||||
<img src="__PUBLIC__/weben/images/honor/honner_04.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="honner_05">
|
||||
<div class="honner_title">Your Trust, Our Motivation</div>
|
||||
<div class="honner_des">We maintain deep cooperation with many hardware vendors and well-known brands.</div>
|
||||
<div class="swt-Container">
|
||||
<img src="__PUBLIC__/weben/images/honor/honner_05.png">
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
<script>
|
||||
try {
|
||||
k_win_ref = window.parent.document.referrer;
|
||||
} catch(e) {
|
||||
k_win_ref = '';
|
||||
};
|
||||
/*弹出框关闭*/
|
||||
$(function() {
|
||||
// 输入框失去焦点
|
||||
$('.companyName').blur(function(){
|
||||
if($('.companyName').val() != ''){
|
||||
$('.companyName').removeClass('error');
|
||||
$('.companyName').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.first').blur(function(){
|
||||
if($('.first').val() != ''){
|
||||
$('.first').removeClass('error');
|
||||
$('.first').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.first').addClass('error');
|
||||
$('.first').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.last').blur(function(){
|
||||
if($('.last').val() != ''){
|
||||
$('.last').removeClass('error');
|
||||
$('.last').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.last').addClass('error');
|
||||
$('.last').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.email').blur(function(){
|
||||
if($('.email').val() != ''){
|
||||
$('.email').removeClass('error');
|
||||
$('.email').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.region').blur(function(){
|
||||
if($('.region').val() != ''){
|
||||
$('.region').removeClass('error');
|
||||
$('.region').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.region').addClass('error');
|
||||
$('.region').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
// 提交表单
|
||||
$('.submit_btn').click(function(){
|
||||
var companyName = $('.companyName').val();
|
||||
var firstName = $('.first').val();
|
||||
var lastName = $('.last').val();
|
||||
var email = $('.email').val();
|
||||
var region = $('.region').val();
|
||||
|
||||
var checkItem = new Array();
|
||||
|
||||
$("input[name='interested']:checked").each(function() {
|
||||
checkItem.push($(this).val());// 在数组中追加元素
|
||||
});
|
||||
var interesteds = checkItem.join(",");
|
||||
|
||||
var inventory = $("input[name='inventory']:checked").val();
|
||||
|
||||
|
||||
if(companyName == ''){
|
||||
$('.companyName').addClass('error');
|
||||
$('.companyName').next('span').removeClass('hide');
|
||||
}
|
||||
if(firstName == ''){
|
||||
$('.first').addClass('error');
|
||||
$('.first').next('span').removeClass('hide');
|
||||
}
|
||||
if(lastName == ''){
|
||||
$('.last').addClass('error');
|
||||
$('.last').next('span').removeClass('hide');
|
||||
}
|
||||
if(email == ''){
|
||||
$('#email').addClass('error');
|
||||
$('#email').next('span').removeClass('hide');
|
||||
}
|
||||
else{
|
||||
if (/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(email) == false) {
|
||||
$('#email').addClass('error');
|
||||
$('#email').next('span').removeClass('hide');
|
||||
}
|
||||
}
|
||||
if(region == ''){
|
||||
$('.region').addClass('error');
|
||||
$('.region').next('span').removeClass('hide');
|
||||
}
|
||||
|
||||
//点击创建申请块
|
||||
|
||||
if(companyName && firstName && lastName && email && region) {
|
||||
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/us/bulk_inquiry/create",
|
||||
data: {'company':companyName, 'email':email,'country':region,'name':firstName,'last_name':lastName,'phone':$('.phone').val(),'interested':interesteds,'message':region,'refer':k_win_ref},
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
if(data.code == 200) {
|
||||
//alert(data.msg);
|
||||
|
||||
$("input[ type='text']").val('');
|
||||
$(":input[name='interested']").attr("checked",false);
|
||||
$('.region').val('');
|
||||
|
||||
location.href = '/us/Group/submission.html';
|
||||
|
||||
}
|
||||
else{
|
||||
if(data.code == 403 || data.code == 201) {
|
||||
alert(data.msg);
|
||||
}
|
||||
else{
|
||||
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
})
|
||||
</script>
|
||||
<style>
|
||||
.csunbmit{height: 35px;margin-top: 10px;margin-bottom: 5px;}
|
||||
.submitBtn{width: 75px;height: 30px;line-height: 26px;background-color: #339b53;text-align: center;display: block; color: #FFFFFF;font-size: 12px;border-radius: 6px;float: left;}
|
||||
.cli{border-bottom: 1px dashed #ccc;text-align: left;font-size: 12px;}
|
||||
.ccontent{width: 98%;padding: 10px; background: #f6f9fb;border:1px solid #ccc;margin-bottom: 10px}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
10
app/us/view/group/index.phtml
Executable file
10
app/us/view/group/index.phtml
Executable file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
123
|
||||
</body>
|
||||
</html>
|
||||
126
app/us/view/group/industry.phtml
Executable file
126
app/us/view/group/industry.phtml
Executable file
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>ORICO Industry Chain Layout</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/industry.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
<!--top End-->
|
||||
<!--Banner-->
|
||||
<div class="Industry_Banner">
|
||||
<div class="all">
|
||||
<div class="swt-Container">
|
||||
<div class="all_text">
|
||||
<div class="title">ORICO Industry Chain Layout</div>
|
||||
<div class="des">The whole industry chain integrating R&D, design, production, sales and branding is the strong backing of all ORICO products and services. It can provide solutions that meet the market in real time, efficiently and quickly. In the past 15 years, we have built a comprehensive support system from theory to production, which not only provides solid support for the Group, but also provides effective assistance to the Group's partners and becomes an indispensable partner for many enterprises.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<!--第二屏-->
|
||||
<div class="Industry_Gray_bg Industry_02">
|
||||
<div class="swt-Container Industry_white_bg">
|
||||
<div class="left ">
|
||||
<img src="__PUBLIC__/weben/images/industry/industry_01.jpg">
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="img-responsive"><img src="__PUBLIC__/weben/images/industry/industry_01_2.jpg"></div>
|
||||
<div class="Industry_title">Theory and Team Support</div>
|
||||
<div class="des">Clearly understand the competition of the whole industry chain strategy, focus on building an independent whole industry chain, and lead the development process of the industry chain with customers and consumers. Reasonable allocation of resources and strategic teamwork ensure the rising of Group's added value. </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第三屏-->
|
||||
<div class="Industry_03 Industry_white_bg">
|
||||
<div class="swt-Container">
|
||||
<div class="Industry_title">Capacity Support from four Factories</div>
|
||||
<ul>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/weben/images/industry/industry_03_1.jpg">
|
||||
<div class="text">ORICO owns 4 comprehensive design and manufacturing factories, and each of them can independently complete the production and after-sales guarantee services of the corresponding products.</div>
|
||||
</li>
|
||||
<li class="img-responsive">
|
||||
<img src="__PUBLIC__/weben/images/industry/industry_03_2.jpg">
|
||||
<div class="text">Bringing together industrial design, mold development, manufacturing, electronic research and development, production and assembly. Self-owned warehouse to ensure sufficient supply.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--第四屏-->
|
||||
<div class="Industry_04">
|
||||
<div class="swt-Container">
|
||||
<div class="Industry_bg">
|
||||
<div class="left">
|
||||
<p class="Industry_title">Technical and Product Support for 5 Product Lines</p>
|
||||
<p><img src="__PUBLIC__/weben/images/industry/industry_part_3.png"></p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="Industry_des">
|
||||
<p>Nine fully developed product lines, and more than a thousand USB related products, covering everything from data transmission to charging to entertainment peripherals.</p>
|
||||
<p>From appearance to technology, through years of research and accumulation, we have the strength of independent innovation, and are committed to creating a better user experience.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第五屏-->
|
||||
<div class="Industry_05 Industry_Gray_bg">
|
||||
<div class="swt-Container">
|
||||
<div class="Industry_title">Brand Building and Platform Mode Support</div>
|
||||
<div class="swt-Table_Industry">
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell">
|
||||
<div class="all_text">
|
||||
<div class="Industry_subtitle">Brand</div>
|
||||
<div class="Industry_des">From the establishment of the brand VI, the brand strategy is constantly improved and clear. In the process of resource allocation and balancing, the brand runs through.</div>
|
||||
</div>
|
||||
<div class="img-responsive "><img src="__PUBLIC__/weben/images/industry/industry_05_1.jpg"></div>
|
||||
</li>
|
||||
<li class="Table-Cell"></li>
|
||||
<li class="Table-Cell">
|
||||
<div class="all_text">
|
||||
<div class="Industry_subtitle">Platform</div>
|
||||
<div class="Industry_des">With USB technology R&D as the core, including product design, technology research and development, manufacturing to sales, ORICO has become a comprehensive service platform.</div>
|
||||
</div>
|
||||
<div class="img-responsive "><img src="__PUBLIC__/weben/images/industry/industry_05_2.jpg"></div>
|
||||
</li>
|
||||
<li class="Table-Cell"></li>
|
||||
<li class="Table-Cell">
|
||||
<div class="all_text">
|
||||
<div class="Industry_subtitle">Area</div>
|
||||
<div class="Industry_des">In addition to regional division and operation in the country, localized and precise operations are carried out for different regional and cultural backgrounds.</div>
|
||||
</div>
|
||||
<div class="img-responsive "><img src="__PUBLIC__/weben/images/industry/industry_05_3.jpg"></div>
|
||||
</li>
|
||||
<li class="Table-Cell"></li>
|
||||
|
||||
<li class="Table-Cell">
|
||||
<div class="all_text">
|
||||
<div class="Industry_subtitle">Mode</div>
|
||||
<div class="Industry_des">211 smart supply mode provides a quick and flexible solution for online sales, channel sales, and ODM services.</div>
|
||||
</div>
|
||||
<div class="img-responsive"><img src="__PUBLIC__/weben/images/industry/industry_05_4.jpg"></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
302
app/us/view/group/introduction.phtml
Executable file
302
app/us/view/group/introduction.phtml
Executable file
@@ -0,0 +1,302 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Introduction of the Brand</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/cooperation.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="iotbpage">
|
||||
<img src="__PUBLIC__/weben/images/Introductionimg/Cooperation/Introduction.png" alt="" class="bdimg1">
|
||||
<div class="iotb_bgw">
|
||||
<h1 class="iotbt1">Why Choose Us</h1>
|
||||
<div class="iotb_part1">
|
||||
<div class="iotb_p1_item">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/iotbic1.png" alt="" class="iotbic1">
|
||||
<p class="iotbtp1">Sell Well for <?php echo (date("Y")-2009);?> Years Worldwide</p>
|
||||
<span class="iotbts1">Opened up domestic and overseas<br> channels in over 70 countries around the<br> world for <?php echo (date("Y")-2009);?>
|
||||
years</span>
|
||||
</div>
|
||||
<div class="iotb_p1_item">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/iotbic2.png" alt="" class="iotbic1">
|
||||
<p class="iotbtp1">Excellent R&D Team</p>
|
||||
<span class="iotbts1">Established a R&D Team of over 140<br> professionals including senior structural<br> and electronic engineers, etc.</span>
|
||||
</div>
|
||||
<div class="iotb_p1_item">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/iotbic3.png" alt="" class="iotbic1">
|
||||
<p class="iotbtp1">Digital Lean Manufacturing</p>
|
||||
<span class="iotbts1">Manufacturing and warehouse facilities,<br> a refined OPS supply chain system<br> provide top-notch services in<br> customization production</span>
|
||||
</div>
|
||||
<div class="iotb_p1_item">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/iotbic4.png" alt="" class="iotbic1">
|
||||
<p class="iotbtp1">Strict Quality Control Process</p>
|
||||
<span class="iotbts1">The self-built test lab with a professional<br> analysts team and advanced instruments<br> ensures strict control from start to finish</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="iotb_part2 iotb_part22" style="background: #fff;">
|
||||
<h1 class="iotbt1">How We Can Help with Customization </h1>
|
||||
<div class="fdimgs">
|
||||
<div class="fdimgs-div">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/dom-fw-gysj.png" alt="" class="fbit">
|
||||
<div class="fdimgs-div-span"></div>
|
||||
<span>Industrial Design</span>
|
||||
</div>
|
||||
<div class="fdimgs-div">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/dom-fw-jgsj.png" alt="" class="fbit">
|
||||
<div class="fdimgs-div-span"></div>
|
||||
<span>Structure Design</span>
|
||||
</div>
|
||||
<div class="fdimgs-div">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/dom-fw-dzsj.png" alt="" class="fbit">
|
||||
<div class="fdimgs-div-span"></div>
|
||||
<span>Electronic Design</span>
|
||||
</div>
|
||||
<div class="fdimgs-div">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/dom-fw-mjkf.png" alt="" class="fbit">
|
||||
<div class="fdimgs-div-span"></div>
|
||||
<span>Mold Making </span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fdimgs">
|
||||
<div class="fdimgs-div">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/dom-fw-cpcs.png" alt="" class="fbit">
|
||||
<div class="fdimgs-div-span"></div>
|
||||
<span>Testing & Certification</span>
|
||||
</div>
|
||||
<div class="fdimgs-div">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/dom-fw-ppbz.png" alt="" class="fbit">
|
||||
<div class="fdimgs-div-span"></div>
|
||||
<span>Branding & Packaging Design</span>
|
||||
</div>
|
||||
<div class="fdimgs-div">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/dom-fw-sczz.png" alt="" class="fbit">
|
||||
<div class="fdimgs-div-span"></div>
|
||||
<span>Manufacturing & Assembly</span>
|
||||
</div>
|
||||
<div class="fdimgs-div">
|
||||
<img src="__PUBLIC__/weben/images/cooperation/dom-fw-shff.png" alt="" class="fbit">
|
||||
<div class="fdimgs-div-span"></div>
|
||||
<span>After-Sale Service</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="iotb_part2" style="padding-bottom:0">
|
||||
<h1 class="iotbt1">For Different Situation</h1>
|
||||
<div class="fdimgs">
|
||||
<img src="__PUBLIC__/weben/images/Introductionimg/Cooperation/1.png" alt="" class="fbit">
|
||||
<img src="__PUBLIC__/weben/images/Introductionimg/Cooperation/2.png" alt="" class="fbit">
|
||||
<img src="__PUBLIC__/weben/images/Introductionimg/Cooperation/3.png" alt="" class="fbit">
|
||||
<img src="__PUBLIC__/weben/images/Introductionimg/Cooperation/4.png" alt="" class="fbit">
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="iotb_part3">-->
|
||||
<!-- <div class="odmmain">-->
|
||||
<!-- <h1 class="iotbt1">ODM Progress</h1>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="odmconten">-->
|
||||
<!-- <div class="odmitem">-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/cooperation/odmic1.png" alt="" class="odmimg">-->
|
||||
<!-- <span class="odms1">Market analysis</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="odmitem">-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/cooperation/odmic2.png" alt="" class="odmimg">-->
|
||||
<!-- <span class="odms1">Lock target and cost</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="odmitem">-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/cooperation/odmic3.png" alt="" class="odmimg">-->
|
||||
<!-- <span class="odms1">Serialized product planning</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="odmitem">-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/cooperation/odmic4.png" alt="" class="odmimg">-->
|
||||
<!-- <span class="odms1">Identify needs and evaluate</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="odmitem">-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/cooperation/odmic5.png" alt="" class="odmimg">-->
|
||||
<!-- <span class="odms1">Deposit for R&D</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="odmitem">-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/cooperation/odmic6.png" alt="" class="odmimg">-->
|
||||
<!-- <span class="odms1">Schedule test, certification</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="odmitem">-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/cooperation/odmic7.png" alt="" class="odmimg">-->
|
||||
<!-- <span class="odms1">Confirm sample</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="odmitem">-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/cooperation/odmic8.png" alt="" class="odmimg">-->
|
||||
<!-- <span class="odms1">Open mold for sample</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="odmitem">-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/cooperation/odmic9.png" alt="" class="odmimg">-->
|
||||
<!-- <span class="odms1">Pay mould cost</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="odmitem">-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/cooperation/odmic10.png" alt="" class="odmimg">-->
|
||||
<!-- <span class="odms1">Design sketch and prototype</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <img src="__PUBLIC__/weben/images/Introductionimg/Cooperation/Cooperation Process.png" class="coofootimg" alt="">-->
|
||||
<!--</div>-->
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
<style>
|
||||
.iotb_part1{
|
||||
width: 75%;
|
||||
}
|
||||
.iotbic1 {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.iotb_p1_item{
|
||||
width: 336px
|
||||
}
|
||||
.iotb_part2{
|
||||
padding-bottom: 90px;
|
||||
}
|
||||
.coofootimg{
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
.iotb_part22 .fdimgs{
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.fdimgs-div{
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 311px;
|
||||
height: 405px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.iotb_part22 .fdimgs-div{
|
||||
width: 320px;
|
||||
height: 255px;
|
||||
}
|
||||
.iotb_part22 .fdimgs-div{
|
||||
text-align: center;
|
||||
}
|
||||
.iotb_part22{
|
||||
background: rgb(0,0,0,0.4);
|
||||
}
|
||||
.fdimgs-div-span{
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
z-index: 9999;
|
||||
background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(200, 200, 200, 0.1)); /* 使用linear-gradient来创建渐变,设置角度和颜色 */
|
||||
height: 45px;
|
||||
width: 100%;
|
||||
}
|
||||
.iotb_part22 .fdimgs-div>span{
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
z-index: 9999;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
color: #fff;
|
||||
line-height: 45px;
|
||||
}
|
||||
.fdimgs-div>span{
|
||||
font-size: 30px;
|
||||
z-index: 9999;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
color: white;
|
||||
margin-left: 10%;
|
||||
line-height: 60px;
|
||||
}
|
||||
|
||||
@media screen and (min-width:1460px) and (max-width:1720px){
|
||||
.fdimgs-div{
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 250px;
|
||||
height: 355px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.fdimgs-div>span{
|
||||
font-size: 24px;
|
||||
z-index: 9999;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
color: white;
|
||||
margin-left: 10%;
|
||||
line-height: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width:1459px){
|
||||
.fdimgs-div{
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 220px;
|
||||
height: 325px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.fdimgs-div>span{
|
||||
font-size: 18px;
|
||||
z-index: 9999;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
color: white;
|
||||
margin-left: 10%;
|
||||
line-height: 60px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width:1299px){
|
||||
.fdimgs-div{
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 200px;
|
||||
height: 305px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.fdimgs-div>span{
|
||||
font-size: 16px;
|
||||
z-index: 9999;
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
color: white;
|
||||
margin-left: 10%;
|
||||
line-height: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
</html>
|
||||
495
app/us/view/group/job.phtml
Executable file
495
app/us/view/group/job.phtml
Executable file
@@ -0,0 +1,495 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Join Us|Orico|What You Get</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/job.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/jquery.bxslider.css">
|
||||
<script type="text/javascript" src="__PUBLIC__/web/scripts/jquery.bxslider.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-black">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-header-mobile" /}
|
||||
<!--top End-->
|
||||
|
||||
<!--加入我们-->
|
||||
<div class="swt-Container">
|
||||
<div class="join_img_l">
|
||||
<img src="__PUBLIC__/weben/images/job/join_bg_l.jpg"></div>
|
||||
</div>
|
||||
|
||||
<div class="swt-Container">
|
||||
<div class="join_staff_t">We provide leading technology, innovative products, online & offline channels to make your every achievement possible. With your passion and wisdom, you along with our creative team will make better-than-expected progress, which will bring striking differences beyond your imagination.
|
||||
|
||||
<br>Our Team <img src="__PUBLIC__/web/images/job/join_up_07.jpg" style=" vertical-align: middle;"></div>
|
||||
</div>
|
||||
<!--轮播效果-->
|
||||
<div class="swt-Container">
|
||||
<div class="slider8">
|
||||
<div class="slide"><img src="__PUBLIC__/web/images/job/join_img01.jpg"></div>
|
||||
<div class="slide"><img src="__PUBLIC__/web/images/job/join_img02.jpg"></div>
|
||||
<div class="slide"><img src="__PUBLIC__/web/images/job/join_img03.jpg"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('.slider8').bxSlider({
|
||||
slideWidth: 1440,
|
||||
adaptiveHeight: true,
|
||||
startSlides: 0,
|
||||
slideMargin: 10
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!--你将获得-->
|
||||
<div class="join_w_icon">
|
||||
<div class="job-title join-video-p">What You Get</div>
|
||||
<div class="join_icon clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon01.jpg"><p>Rewards</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon02.jpg"><p>Career promotions
|
||||
</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon03.jpg"><p>Recognition</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon04.jpg"><p>Career trainings</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon05.jpg"><p>Five one insurance fund</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon06.jpg"><p>Extra allowances</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon07.jpg"><p>Group activities</p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon08.jpg"><p>Legal holidays </p></li>
|
||||
<li><img src="__PUBLIC__/web/images/job/join_icon09.jpg"><p>Festival gifts </p></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container padding-t-3">
|
||||
<video preload="none" controls poster="__PUBLIC__/web/images/job/join_us_video.jpg">
|
||||
<source src="__PUBLIC__/web/images/job/orico_job_video.mp4" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
<!--I WANT YOU-->
|
||||
<div class="swt-Container">
|
||||
<!-- <div class="job-title join_t_big">ORICO Employees Plan </div>
|
||||
<div class="job-des">If you are a potential and diligent workplace entrant, you will make great progress in your position with the help of our superior and professional teams;
|
||||
If you are an experienced veteran, join us and you will be continuing to obtain self-improvement.
|
||||
</div> -->
|
||||
<section class="bg-gray overflow-f">
|
||||
<div class="swt-Container">
|
||||
<div class="job-Table">
|
||||
<!-- <ul class="Table-Row job-thead">
|
||||
<li class="Table-Cell">Department</li>
|
||||
<li class="Table-Cell">Job</li>
|
||||
<li class="Table-Cell">Hiring number</li>
|
||||
<li class="Table-Cell">Work place</li>
|
||||
<li class="Table-Cell">Post time</li>
|
||||
<li class="Table-Cell">Post time</li>
|
||||
<li class="Table-Cell">Requirement</li>
|
||||
</ul> -->
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Marketing department</li>
|
||||
<li class="Table-Cell job-line">Structure designer</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Marketing department</li>
|
||||
<li class="Table-Cell job-line">Industrial designer </li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Marketing department</li>
|
||||
<li class="Table-Cell job-line">Graphic designer</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Amazon department</li>
|
||||
<li class="Table-Cell job-line">Amazon Canada India operation</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Amazon department</li>
|
||||
<li class="Table-Cell job-line">Amazon US operation assistant</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Amazon department</li>
|
||||
<li class="Table-Cell job-line">Amazon EU operation </li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Amazon department</li>
|
||||
<li class="Table-Cell job-line">AliExpress promoter</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Amazon department</li>
|
||||
<li class="Table-Cell job-line">Amazon promoter </li>
|
||||
<li class="Table-Cell job-line">4</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Amazon department</li>
|
||||
<li class="Table-Cell job-line">Merchandiser</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Amazon department</li>
|
||||
<li class="Table-Cell job-line">Graphic designer</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Amazon department</li>
|
||||
<li class="Table-Cell job-line">Customer service supervisor</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Amazon department</li>
|
||||
<li class="Table-Cell job-line">Customer service</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Newegg department</li>
|
||||
<li class="Table-Cell job-line">ebay operation</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Newegg department</li>
|
||||
<li class="Table-Cell job-line">ebay operation assistant</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Sub-brand</li>
|
||||
<li class="Table-Cell job-line">AliExpress operation</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Sub-brand</li>
|
||||
<li class="Table-Cell job-line">Amazon operation</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">JD department</li>
|
||||
<li class="Table-Cell job-line">JD operation (self-support)</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">JD department</li>
|
||||
<li class="Table-Cell job-line">JD operation (third-party)</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">JD department</li>
|
||||
<li class="Table-Cell job-line">JD promoter (third-party)</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Tmall department </li>
|
||||
<li class="Table-Cell job-line">Graphic designer</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Tmall department </li>
|
||||
<li class="Table-Cell job-line">Tmall store operation</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Tmall department </li>
|
||||
<li class="Table-Cell job-line">Tmall product line operation</li>
|
||||
<li class="Table-Cell job-line">3</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Customer service department</li>
|
||||
<li class="Table-Cell job-line">Technical & after-sale service</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Changsha</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Sub-brand division</li>
|
||||
<li class="Table-Cell job-line">Amazon operation</li>
|
||||
<li class="Table-Cell job-line">Plenty</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Sub-brand division</li>
|
||||
<li class="Table-Cell job-line">Overseas promoter</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Sub-brand division</li>
|
||||
<li class="Table-Cell job-line">Product assistant </li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Domestic channel</li>
|
||||
<li class="Table-Cell job-line">Channel sales</li>
|
||||
<li class="Table-Cell job-line">Plenty</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Domestic channel</li>
|
||||
<li class="Table-Cell job-line">Commercial attache</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Domestic channel</li>
|
||||
<li class="Table-Cell job-line">E-commerce operation</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Overseas channel</li>
|
||||
<li class="Table-Cell job-line">Foreign trade sales</li>
|
||||
<li class="Table-Cell job-line">Plenty</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Overseas channel</li>
|
||||
<li class="Table-Cell job-line">Alibaba operation</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Product department</li>
|
||||
<li class="Table-Cell job-line">Product assistant</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Product department</li>
|
||||
<li class="Table-Cell job-line">Purchasing assistant</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">Product department</li>
|
||||
<li class="Table-Cell job-line">Merchandiser </li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Shenzhen</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">R & D center</li>
|
||||
<li class="Table-Cell job-line">Structure designer</li>
|
||||
<li class="Table-Cell job-line">2</li>
|
||||
<li class="Table-Cell job-line">Dongguan</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">R & D center</li>
|
||||
<li class="Table-Cell job-line">Electronics engineer</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Dongguan</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
<div class="job-Margin"></div>
|
||||
<ul class="Table-Row">
|
||||
<li class="Table-Cell job-line job-line-L">R & D center</li>
|
||||
<li class="Table-Cell job-line">Package designer</li>
|
||||
<li class="Table-Cell job-line">1</li>
|
||||
<li class="Table-Cell job-line">Dongguan</li>
|
||||
<li class="Table-Cell job-line">2019-02-14</li>
|
||||
<li class="Table-Cell job-line">2019-06-30</li>
|
||||
<li class="Table-Cell job-line job-line-R"><a href="mailto:hrcs@orico.com.cn">Apply</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<!--联系方式-->
|
||||
<section class="swt-Container" style="margin-bottom: 4%;">
|
||||
<div class="job-title job-Contact-title">Contact/Address</div>
|
||||
<div class="bg-gray overflow-f">
|
||||
<ul class="job-Contact">
|
||||
<li class="job_office_i"><img src="__PUBLIC__/web/images/job/job-10.jpg"></li>
|
||||
<li>
|
||||
<p>Contact: Ms. Jiang</p>
|
||||
<p>Telephone: 0731-88965800</p>
|
||||
<p>E-mail: <a href="mailto:hrcs@orico.com.cn">hrcs@orico.com.cn</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Shenzhen ORICO Technology Co.,Ltd: F9, Headquaters Economic Center Building, Zhonghaixin Science & Technology Park, Bu Lan Road, ShenZhen, China</p>
|
||||
<p>Dongguan Internet & Creativity Industrial Park: No.24 Tangjiao Rd, Changping Town, Dongguan, China</p>
|
||||
<p>Changsha Branch: 12/11F, Block 8, Xincheng Science & Technology Park, NO.588 Yuelu District, Changsha, China</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
625
app/us/view/group/odm.phtml
Executable file
625
app/us/view/group/odm.phtml
Executable file
@@ -0,0 +1,625 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title> Our team may help you advance the realization of ideas</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/odm.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/scripts/bxslider/jquery.bxslider.css">
|
||||
<script type="text/javascript" src="__PUBLIC__/web/scripts/bxslider/jquery.bxslider.min.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsive odm_banner_p"><img src="__PUBLIC__/web/images/odm/ODM-Banner.jpg">
|
||||
<div class="odm_b_title">
|
||||
<h3>ODM</h3>
|
||||
<div class="odn_t_small">Guided by the essential needs of customers, we provide products and solutions to our customers, insist on optimizing and innovation, continuously create long-term value for our customers, and strive to be a powerful boost for your business development.</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--品牌ODM-->
|
||||
<div class="odm_usb_tex">
|
||||
<div class="odm_usb_t"> Our team may help you advance the realization of ideas</div>
|
||||
<div class="odm_usb_sm">We have been focusing on the development and production of USB peripheral products for 9 years, including but not limited to USB storage, USB data transmission, USB charger, USB wiring board, USB small appliances and other creative products . </div>
|
||||
</div>
|
||||
<!--Menu-->
|
||||
<div class="odm-img clearfix">
|
||||
<div class="product">
|
||||
<div class="thumb">
|
||||
<a href="__ORICOROOT__/product/category/157.html" class="image"><img src="__PUBLIC__/web/images/odm/odm-01.jpg" alt="Product" /></a>
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/category/157.html"><button title="Add To Cart" class="add-to-cart">Data Storage</button></a>
|
||||
</div>
|
||||
<div class="product">
|
||||
<div class="thumb">
|
||||
<a href="__ORICOROOT__/product/category/158.html" class="image"><img src="__PUBLIC__/web/images/odm/odm-02.jpg" alt="Product" /></a>
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/category/158.html"><button title="Add To Cart" class="add-to-cart">Data Transmission</button></a>
|
||||
</div>
|
||||
<div class="product">
|
||||
<div class="thumb">
|
||||
<a href="__ORICOROOT__/product/category/159.html" class="image"><img src="__PUBLIC__/web/images/odm/odm-03.jpg" alt="Product" /></a>
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/category/159.html"><button title="Add To Cart" class="add-to-cart">Power Storage</button></a>
|
||||
</div>
|
||||
<div class="product">
|
||||
<div class="thumb">
|
||||
<a href="__ORICOROOT__/product/category/160.html" class="image"><img src="__PUBLIC__/web/images/odm/odm-04.jpg" alt="Product" /></a>
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/category/160.html"><button title="Add To Cart" class="add-to-cart">Power Delivery</button></a>
|
||||
</div>
|
||||
<div class="product">
|
||||
<div class="thumb">
|
||||
<a href="__ORICOROOT__/product/category/161.html" class="image"><img src="__PUBLIC__/web/images/odm/odm-05.jpg" alt="Product" /></a>
|
||||
</div>
|
||||
<a href="__ORICOROOT__/product/category/161.html"><button title="Add To Cart" class="add-to-cart">Accessories</button></a>
|
||||
</div>
|
||||
</div>
|
||||
<!--选择我们的理由-->
|
||||
<div class="ODM-Gray ODM-Select overflow-f">
|
||||
<div class="swt-Container">
|
||||
<div class="odm_usb_tex">
|
||||
<div class="odm_usb_t"> Sincerely at your service</div>
|
||||
<div class="odm_usb_sm01">ORICO has hardware mold factory, plastic mold factory, SMT factory, assembly factory and packaging factory. With a unique 211 supply model, it can create a flexible supply chain with a capacity of over 4 billion yuan, and respond sensitively to market demand. Streamline the collaborative process and serve each partner patiently.</div>
|
||||
</div>
|
||||
<div class="table01">
|
||||
<ul>
|
||||
<li ><img src="__PUBLIC__/weben/images/odm/odm1.3_20.jpg"></li>
|
||||
<li><img src="__PUBLIC__/weben/images/odm/odm1_22.jpg"></li>
|
||||
<li><img src="__PUBLIC__/weben/images/odm/odm1_32.jpg"></li>
|
||||
<li><img src="__PUBLIC__/weben/images/odm/odm1.3_34.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="table02">
|
||||
<ul>
|
||||
<li class="img-responsives"><img src="__PUBLIC__/web/images/odm/odm1.3_24.jpg"></li>
|
||||
<li class="img-responsives"><img src="__PUBLIC__/web/images/odm/odm1.3_26.jpg"></li>
|
||||
<li class="img-responsive"><img src="__PUBLIC__/web/images/odm/odm1_35.jpg"></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--灵活多变的模式-->
|
||||
<div class="odm_re_all">
|
||||
<div class="odm_research">Flexible service models and technical fields</div>
|
||||
<div class="odm_re_img clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm1_08.jpg" >
|
||||
<div class="odm_re_text">Full responsibility for product definition and development </div>
|
||||
</li>
|
||||
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm1_10.jpg" >
|
||||
<div class="odm_re_text"> Multi-party Definition and R & D</div>
|
||||
</li>
|
||||
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm1_12.jpg" >
|
||||
<div class="odm_re_text">Mould OEM</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--证书-->
|
||||
<div class="ODM-Gray">
|
||||
<div class="odm_pic_i odm_n_z">
|
||||
<div class="Patent" style="clear: both">
|
||||
<img src="__PUBLIC__/web/images/odm/odm1.3_42.jpg">
|
||||
</div>
|
||||
</div></div>
|
||||
|
||||
<!--解决方案-->
|
||||
<div class="odm_f1">
|
||||
<div class="odm_usb_tex">
|
||||
<div class="odm_usb_t"> Our Solutions</div>
|
||||
<div class="odm_usb_sm">ORICO has a complete industrial chain layout from design to R&D to manufacturing, logistics and transportation to the final market.</div>
|
||||
</div>
|
||||
|
||||
<div class="odm_one">
|
||||
<div class="odm_ont_bg">
|
||||
<div class="odm_ont_bor clearfix">
|
||||
<div class="odm_two_num"><img src="__PUBLIC__/web/images/odm/odm_two_03.png" ></div><div class="odm_line_l"><img src="__PUBLIC__/web/images/odm/odm_line_03.jpg" ></div> <div class="odm_two_order"><p><span class="font_one">2 weeks R&D</span><span class="font_one">1 weeks Production</span><span class="font_one">and 1 MOQ</span></p> <p class="font_two">Unique “211” supply mode
|
||||
</p></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="odm_research01">New flexible replenishment mode</div>
|
||||
<div class="odm_re_all">
|
||||
<div class="odm_re_img01 clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm_order_01.jpg" >
|
||||
<div class="odm_order_t">Forecast order/open sales data<br>
|
||||
rolling stocking mode.</div>
|
||||
</li>
|
||||
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm_order_02.jpg" >
|
||||
<div class="odm_order_t">According to sales of the first three months<br>
|
||||
automatically starts the fourth month of stocking</div>
|
||||
</li>
|
||||
|
||||
<li><img src="__PUBLIC__/web/images/odm/odm_order_03.jpg" >
|
||||
<div class="odm_order_t">Quarterly sales peak-free estimation<br>
|
||||
flexible stocking</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--ODM项目服务流程-->
|
||||
|
||||
<div class="odm_re_all">
|
||||
<div class="odm_service">ODM Progress</div>
|
||||
<div class="odm_se_img"><img src="__PUBLIC__/weben/images/odm/odm1_18.jpg" ></div>
|
||||
</div>
|
||||
|
||||
<!--合作伙伴-->
|
||||
<div class="odm_f1">
|
||||
<div class="w1440 wow fadeInUp" data-wow-delay="0.9s">
|
||||
<!-- 公共标题 s -->
|
||||
<div class="ODM-Title">Cooperation</div>
|
||||
<!-- 公共标题 e -->
|
||||
<div class="hz">
|
||||
<ul>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_01.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_02.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_03.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_04.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_05.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_06.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_07.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_08.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_09.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_10.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_11.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_12.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_13.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_14.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_15.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_16.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_17.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_18.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_19.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_20.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_21.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_22.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_23.jpg"></li>
|
||||
<li class="slide"><img src="__PUBLIC__/web/images/odm/distributor_Cooperation_24.jpg"></li>
|
||||
</ul>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('.hz ul').bxSlider({
|
||||
slideWidth: 340,
|
||||
minSlides: 2,
|
||||
maxSlides: 8,
|
||||
slideMargin: 0,
|
||||
auto:true,
|
||||
controls:false
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<!--Get in Touch Now-->
|
||||
<div class ="news-odm">
|
||||
<!--弹出框-->
|
||||
|
||||
<div class="email-odm-w">
|
||||
<div class="title-text">Get in Touch Now</div>
|
||||
<div class="apply_content">
|
||||
<div class="detail_form">
|
||||
<div style="margin-bottom: 1.875rem;width:48%;float:left;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Name</p>
|
||||
<div class="name clearfix" style="margin-right: 1.25rem; ">
|
||||
<input type="text" class="first detail-w" placeholder="First name" name="firstname" id="firstname"/>
|
||||
<input type="text" class="first detail-w" placeholder="Last name" name="lastname" id="lastname"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" clearfix" style="margin-bottom: 1.875rem;width:48%;display:inline-block;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Company/Organization</p>
|
||||
<div style="margin-right: 1.25rem; ">
|
||||
<input type="text" class="first detail-w01" id='companyName' name='companyName'/>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" clearfix" style="margin-bottom: 1.875rem;width:48%;display:inline-block;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Email Address</p>
|
||||
<div style="margin-right: 1.25rem; ">
|
||||
<input type="text" class="first detail-w01" id="email" name='email'/>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" clearfix" style="margin-bottom: 1.875rem;width:48%;display:inline-block;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Phone Number</p>
|
||||
<div style="margin-right: 1.25rem; ">
|
||||
<input type="text" class="first detail-w01" id="phone" name='phone'/>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" clearfix" style="margin-bottom: 1.875rem;width:48%;display:inline-block;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Country</p>
|
||||
<div style="margin-right: 1.25rem; ">
|
||||
<select class=" detail-w01" id='country' name='country'>
|
||||
<option value ="">--- Select your country ---</option>
|
||||
<option value ="Afghanistan">Afghanistan</option>
|
||||
<option value ="United Arab Emirates">United Arab Emirates</option>
|
||||
<option value ="Oman">Oman</option>
|
||||
<option value ="Azerbaijan">Azerbaijan</option>
|
||||
<option value ="Pakistan">Pakistan</option>
|
||||
<option value ="Palestine">Palestine</option>
|
||||
<option value ="Bahrain">Bahrain</option>
|
||||
<option value ="Bhutan">Bhutan</option>
|
||||
<option value ="Korea (North)">Korea (North)</option>
|
||||
<option value ="Timor-Leste">Timor-Leste</option>
|
||||
<option value ="Philippines">Philippines</option>
|
||||
<option value ="Georgia">Georgia</option>
|
||||
<option value ="Kazakhstan">Kazakhstan</option>
|
||||
<option value ="Korea (South)">Korea (South)</option>
|
||||
<option value ="Kyrgyzstan">Kyrgyzstan</option>
|
||||
<option value ="Cambodia">Cambodia</option>
|
||||
<option value ="Qatar">Qatar</option>
|
||||
<option value ="Kuwait">Kuwait</option>
|
||||
<option value ="Laos">Laos</option>
|
||||
<option value ="Lebanon">Lebanon</option>
|
||||
<option value ="Maldives">Maldives</option>
|
||||
<option value ="Malaysia">Malaysia</option>
|
||||
<option value ="Mongolia">Mongolia</option>
|
||||
<option value ="Bangladesh">Bangladesh</option>
|
||||
<option value ="Myanmar">Myanmar</option>
|
||||
<option value ="Nepal">Nepal</option>
|
||||
<option value ="Japan">Japan</option>
|
||||
<option value ="Cyprus">Cyprus</option>
|
||||
<option value ="Saudi Arabia">Saudi Arabia</option>
|
||||
<option value ="Sri Lanka">Sri Lanka</option>
|
||||
<option value ="Tajikistan">Tajikistan</option>
|
||||
<option value ="Thailand">Thailand</option>
|
||||
<option value ="Turkey">Turkey</option>
|
||||
<option value ="Turkmenistan">Turkmenistan</option>
|
||||
<option value ="Brunei">Brunei</option>
|
||||
<option value ="Uzbekistan">Uzbekistan</option>
|
||||
<option value ="Singapore">Singapore</option>
|
||||
<option value ="Syria">Syria</option>
|
||||
<option value ="Armenia">Armenia</option>
|
||||
<option value ="Yemen">Yemen</option>
|
||||
<option value ="Iraq">Iraq</option>
|
||||
<option value ="Iran">Iran</option>
|
||||
<option value ="Israel">Israel</option>
|
||||
<option value ="India">India</option>
|
||||
<option value ="Indonesia">Indonesia</option>
|
||||
<option value ="Jordan">Jordan</option>
|
||||
<option value ="Vietnam">Vietnam</option>
|
||||
<option value ="China">China</option>
|
||||
<option value ="Albania">Albania</option>
|
||||
<option value ="Ireland">Ireland</option>
|
||||
<option value ="Estonia">Estonia</option>
|
||||
<option value ="Andorra">Andorra</option>
|
||||
<option value ="Austria">Austria</option>
|
||||
<option value ="Belarus">Belarus</option>
|
||||
<option value ="Bulgaria">Bulgaria</option>
|
||||
<option value ="Belgium">Belgium</option>
|
||||
<option value ="Iceland">Iceland</option>
|
||||
<option value ="Poland">Poland</option>
|
||||
<option value ="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
|
||||
<option value ="Denmark">Denmark</option>
|
||||
<option value ="Germany">Germany</option>
|
||||
<option value ="Russian Federation">Russian Federation</option>
|
||||
<option value ="France">France</option>
|
||||
<option value ="Vatican City">Vatican City</option>
|
||||
<option value ="Finland">Finland</option>
|
||||
<option value ="Netherlands">Netherlands</option>
|
||||
<option value ="Czech">Czech</option>
|
||||
<option value ="Croatia">Croatia</option>
|
||||
<option value ="Latvia">Latvia</option>
|
||||
<option value ="Lithuania">Lithuania</option>
|
||||
<option value ="Liechtenstein">Liechtenstein</option>
|
||||
<option value ="Luxembourg">Luxembourg</option>
|
||||
<option value ="Romania">Romania</option>
|
||||
<option value ="Malta">Malta</option>
|
||||
<option value ="Macedonia">Macedonia</option>
|
||||
<option value ="Moldova">Moldova</option>
|
||||
<option value ="Monaco">Monaco</option>
|
||||
<option value ="Norway">Norway</option>
|
||||
<option value ="Portugal">Portugal</option>
|
||||
<option value ="Sweden">Sweden</option>
|
||||
<option value ="Switzerland">Switzerland</option>
|
||||
<option value ="Serbia">Serbia</option>
|
||||
<option value ="San Marino">San Marino</option>
|
||||
<option value ="Slovakia">Slovakia</option>
|
||||
<option value ="Slovenia">Slovenia</option>
|
||||
<option value ="Ukraine">Ukraine</option>
|
||||
<option value ="Spain">Spain</option>
|
||||
<option value ="Greece">Greece</option>
|
||||
<option value ="Hungary">Hungary</option>
|
||||
<option value ="Italy">Italy</option>
|
||||
<option value ="United Kingdom">United Kingdom</option>
|
||||
<option value ="Algeria">Algeria</option>
|
||||
<option value ="Egypt">Egypt</option>
|
||||
<option value ="Ethiopia">Ethiopia</option>
|
||||
<option value ="Angola">Angola</option>
|
||||
<option value ="Benin">Benin</option>
|
||||
<option value ="Botswana">Botswana</option>
|
||||
<option value ="Burkina Faso">Burkina Faso</option>
|
||||
<option value ="Burundi">Burundi</option>
|
||||
<option value ="Equatorial Guinea">Equatorial Guinea</option>
|
||||
<option value ="Togo">Togo</option>
|
||||
<option value ="Eritrea">Eritrea</option>
|
||||
<option value ="Cape Verde">Cape Verde</option>
|
||||
<option value ="Gambia">Gambia</option>
|
||||
<option value ="Congo">Congo</option>
|
||||
<option value ="Congo (Congo-Kinshasa)">Congo (Congo-Kinshasa)</option>
|
||||
<option value ="Djibouti">Djibouti</option>
|
||||
<option value ="Guinea">Guinea</option>
|
||||
<option value ="Guinea-Bissau">Guinea-Bissau</option>
|
||||
<option value ="Canarias">Canarias</option>
|
||||
<option value ="Ghana">Ghana</option>
|
||||
<option value ="Gabon">Gabon</option>
|
||||
<option value ="Zimbabwe">Zimbabwe</option>
|
||||
<option value ="Cameroon">Cameroon</option>
|
||||
<option value ="Comoros">Comoros</option>
|
||||
<option value ="Cote D'Ivoire">Cote D'Ivoire</option>
|
||||
<option value ="Kenya">Kenya</option>
|
||||
<option value ="Lesotho">Lesotho</option>
|
||||
<option value ="Liberia">Liberia</option>
|
||||
<option value ="Libya">Libya</option>
|
||||
<option value ="Reunion">Reunion</option>
|
||||
<option value ="Rwanda">Rwanda</option>
|
||||
<option value ="Madagascar">Madagascar</option>
|
||||
<option value ="Madeira">Madeira</option>
|
||||
<option value ="Malawi">Malawi</option>
|
||||
<option value ="Mali">Mali</option>
|
||||
<option value ="Mauritius">Mauritius</option>
|
||||
<option value ="Mauritania">Mauritania</option>
|
||||
<option value ="Morocco">Morocco</option>
|
||||
<option value ="Mozambique">Mozambique</option>
|
||||
<option value ="Namibia">Namibia</option>
|
||||
<option value ="South Africa">South Africa</option>
|
||||
<option value ="Niger">Niger</option>
|
||||
<option value ="Sierra Leone">Sierra Leone</option>
|
||||
<option value ="Senegal">Senegal</option>
|
||||
<option value ="Seychelles">Seychelles</option>
|
||||
<option value ="Sao Tome and Principe">Sao Tome and Principe</option>
|
||||
<option value ="Saint Helena">Saint Helena</option>
|
||||
<option value ="Swaziland">Swaziland</option>
|
||||
<option value ="Sudan">Sudan</option>
|
||||
<option value ="Somalia">Somalia</option>
|
||||
<option value ="Tanzania">Tanzania</option>
|
||||
<option value ="Tunisia">Tunisia</option>
|
||||
<option value ="Uganda">Uganda</option>
|
||||
<option value ="Western Sahara">Western Sahara</option>
|
||||
<option value ="Azores">Azores</option>
|
||||
<option value ="Zambia">Zambia</option>
|
||||
<option value ="Chad">Chad</option>
|
||||
<option value ="Central African Republic">Central African Republic</option>
|
||||
<option value ="Panama">Panama</option>
|
||||
<option value ="Belize">Belize</option>
|
||||
<option value ="Costa Rica">Costa Rica</option>
|
||||
<option value ="Greenland">Greenland</option>
|
||||
<option value ="Honduras">Honduras</option>
|
||||
<option value ="Canada">Canada</option>
|
||||
<option value ="United States">United States</option>
|
||||
<option value ="Mexico">Mexico</option>
|
||||
<option value ="Nicaragua">Nicaragua</option>
|
||||
<option value ="El Salvador">El Salvador</option>
|
||||
<option value ="Guatemala">Guatemala</option>
|
||||
<option value ="Argentina">Argentina</option>
|
||||
<option value ="Paraguay">Paraguay</option>
|
||||
<option value ="Brazil">Brazil</option>
|
||||
<option value ="Bolivia">Bolivia</option>
|
||||
<option value ="Ecuador">Ecuador</option>
|
||||
<option value ="French Guiana">French Guiana</option>
|
||||
<option value ="Colombia">Colombia</option>
|
||||
<option value ="Guyana">Guyana</option>
|
||||
<option value ="Peru">Peru</option>
|
||||
<option value ="Suriname">Suriname</option>
|
||||
<option value ="Venezuela">Venezuela</option>
|
||||
<option value ="Uruguay">Uruguay</option>
|
||||
<option value ="Chile">Chile</option>
|
||||
<option value ="Australia">Australia</option>
|
||||
<option value ="Papua New Guinea">Papua New Guinea</option>
|
||||
<option value ="Northern Mariana">Northern Mariana</option>
|
||||
<option value ="French Polynesia">French Polynesia</option>
|
||||
<option value ="Fiji">Fiji</option>
|
||||
<option value ="Guam">Guam</option>
|
||||
<option value ="Kiribati">Kiribati</option>
|
||||
<option value ="Cook Islands">Cook Islands</option>
|
||||
<option value ="Marshall Islands">Marshall Islands</option>
|
||||
<option value ="American Samoa">American Samoa</option>
|
||||
<option value ="Micronesia">Micronesia</option>
|
||||
<option value ="Nauru">Nauru</option>
|
||||
<option value ="Niue">Niue</option>
|
||||
<option value ="Palau">Palau</option>
|
||||
<option value ="Pitcairn Islands">Pitcairn Islands</option>
|
||||
<option value ="Samoa">Samoa</option>
|
||||
<option value ="Solomon Islands">Solomon Islands</option>
|
||||
<option value ="Tonga">Tonga</option>
|
||||
<option value ="Tuvalu">Tuvalu</option>
|
||||
<option value ="Tokelau">Tokelau</option>
|
||||
<option value ="Wallis and Futuna">Wallis and Futuna</option>
|
||||
<option value ="Vanuatu">Vanuatu</option>
|
||||
<option value ="New Caledonia">New Caledonia</option>
|
||||
<option value ="New Zealand">New Zealand</option>
|
||||
<option value ="Aruba">Aruba</option>
|
||||
<option value ="Anguilla">Anguilla</option>
|
||||
<option value ="Antigua and Barbuda">Antigua and Barbuda</option>
|
||||
<option value ="Barbados">Barbados</option>
|
||||
<option value ="Bahamas">Bahamas</option>
|
||||
<option value ="Bermuda">Bermuda</option>
|
||||
<option value ="Puerto Rico">Puerto Rico</option>
|
||||
<option value ="Dominican">Dominican</option>
|
||||
<option value ="Dominica">Dominica</option>
|
||||
<option value ="Grenada">Grenada</option>
|
||||
<option value ="Cuba">Cuba</option>
|
||||
<option value ="Guadeloupe">Guadeloupe</option>
|
||||
<option value ="Haiti">Haiti</option>
|
||||
<option value ="Netherlands Antilles">Netherlands Antilles</option>
|
||||
<option value ="Cayman">Cayman</option>
|
||||
<option value ="Martinique">Martinique</option>
|
||||
<option value ="The United States Virgin Islands">The United States Virgin Islands</option>
|
||||
<option value ="Montserrat">Montserrat</option>
|
||||
<option value ="Saint Kitts-Nevis">Saint Kitts-Nevis</option>
|
||||
<option value ="Saint Lucia">Saint Lucia</option>
|
||||
<option value ="Saint Vincent and the Grenadines">Saint Vincent and the Grenadines</option>
|
||||
<option value ="Turks and Caicos Islands">Turks and Caicos Islands</option>
|
||||
<option value ="Trinidad and Tobago">Trinidad and Tobago</option>
|
||||
<option value ="Jamaica">Jamaica</option>
|
||||
<option value ="The British Virgin Islands">The British Virgin Islands</option> </select>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" clearfix" style="margin-bottom: 1.875rem;width:48%;display:inline-block;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Interested Service/Product</p>
|
||||
<div style="margin-right: 1.25rem; ">
|
||||
<input type="text" class="first detail-w01" id='interested' name='interested'/>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" clearfix" style="margin-bottom: 1.875rem; display:inline-block;width:100%; ">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Message</p>
|
||||
<div >
|
||||
<textarea rows="6" cols="20" id='message' name='message' placeholder="Leave your inquiry here: product, quantity, shipment and more" class="first detail-w01"/> </textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="submit_btn">SUBMIT</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--弹出框-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
$(".ODM-Menu li").mouseover(function(){
|
||||
$(this).find(".img-responsive").addClass("MH-after");
|
||||
})
|
||||
$(".ODM-Menu li").mouseout(function(){
|
||||
$(this).find(".img-responsive").removeClass("MH-after");
|
||||
})
|
||||
|
||||
|
||||
// 提交表单
|
||||
$('.submit_btn').click(function(){
|
||||
var companyName = $('#companyName').val();
|
||||
var firstName = $('#firstname').val();
|
||||
var lastName = $('#lastname').val();
|
||||
var email = $('#email').val();
|
||||
var phone = $('#phone').val();
|
||||
var country = $('#country').val();
|
||||
var interested = $('#interested').val();
|
||||
var message = $('#message').val();
|
||||
|
||||
/*if(companyName == ''){
|
||||
alert('The Company name is not Empty!');
|
||||
return false;
|
||||
}
|
||||
if(lastName == '' || lastName == ''){
|
||||
alert('You name is is not Empty!');
|
||||
return false;
|
||||
}
|
||||
if(email == ''){
|
||||
alert('Email is not Empty!');
|
||||
return false;
|
||||
}
|
||||
if(phone == ''){
|
||||
alert('Phone is not Empty!');
|
||||
return false;
|
||||
}
|
||||
if(country == ''){
|
||||
alert('Country is not Empty!');
|
||||
return false;
|
||||
}
|
||||
if(interested == ''){
|
||||
alert('Interested is not Empty!');
|
||||
return false;
|
||||
}
|
||||
if(message == ''){
|
||||
alert('Message is not Empty!');
|
||||
return false;
|
||||
}*/
|
||||
|
||||
|
||||
if(companyName == ''){
|
||||
$('#companyName').addClass('error');
|
||||
$('#companyName').next('span').removeClass('hide');
|
||||
}
|
||||
if(firstName == ''){
|
||||
$('#firstname').addClass('error');
|
||||
$('#firstname').next('span').removeClass('hide');
|
||||
}
|
||||
if(lastName == ''){
|
||||
$('#lastname').addClass('error');
|
||||
$('#lastname').next('span').removeClass('hide');
|
||||
}
|
||||
if(phone == ''){
|
||||
$('#phone').addClass('error');
|
||||
$('#phone').next('span').removeClass('hide');
|
||||
}
|
||||
if(interested == ''){
|
||||
$('#interested').addClass('error');
|
||||
$('#interested').next('span').removeClass('hide');
|
||||
}
|
||||
if(message == ''){
|
||||
$('#message').addClass('error');
|
||||
$('#message').next('span').removeClass('hide');
|
||||
}
|
||||
if(country == ''){
|
||||
$('#country').addClass('error');
|
||||
$('#country').next('span').removeClass('hide');
|
||||
}
|
||||
|
||||
|
||||
//点击创建申请块
|
||||
if(companyName && firstName && lastName && email && phone && country && interested && message) {
|
||||
var type = 'Agent';
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/us/bulk/create",
|
||||
data: {'company':companyName, 'email':email,'country':country,'name':firstName,'last_name':lastName,'phone':phone,'interested':interested,'message':message},
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
if(data.code == 200) {
|
||||
alert(data.msg);
|
||||
$(".marsk-container").hide();
|
||||
|
||||
$("input[ type='text']").val('');
|
||||
$('#country').val('');
|
||||
$('#interested').val('');
|
||||
$('#message').val('');
|
||||
|
||||
}
|
||||
else{
|
||||
if(data.code == 403 || data.code == 201) {
|
||||
alert(data.msg);
|
||||
}
|
||||
else{
|
||||
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
2509
app/us/view/group/oricoindex.phtml
Executable file
2509
app/us/view/group/oricoindex.phtml
Executable file
File diff suppressed because it is too large
Load Diff
159
app/us/view/group/policy.phtml
Executable file
159
app/us/view/group/policy.phtml
Executable file
@@ -0,0 +1,159 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>After-sale Policy|Orico </title>
|
||||
<meta name="Keywords" content="After-sale Policy" />
|
||||
<meta name="Description" content="After-sale Policy,Three package policy,No reason to return,15 days for new" />
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/policy.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
<!--top End-->
|
||||
<div class="img-responsive"><img src="__PUBLIC__/weben/images/policy/policy-01.jpg"></div>
|
||||
<div class="lj_sale_policy">After-sale Policy</div>
|
||||
<div class="lj_sale_t">ORICO commits to provide 7-day Refund, 15-day Exchange, 1-year Quality Warranty. </div>
|
||||
<div class="lj_w_policy">
|
||||
<div class="lj_icon_l clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="lj_icon_left"><img src="__PUBLIC__/web/images/policy/policy-icon01.jpg"></div>
|
||||
<div class="lj_text_right">
|
||||
<div class="lj_h3">7-day Refund</div>
|
||||
<div class="lj_des">Customers could apply for returning products within 7 days since you receive products under the condition that items (including package and accessories) are qualified for second sale. However, you will be responsible for all shipping fees. (Some products cannot be sold secondly after opening sealed package, Refund is not accepted.)</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon_left"><img src="__PUBLIC__/web/images/policy/policy-icon02.jpg"></div>
|
||||
<div class="lj_text_right">
|
||||
<div class="lj_h3">Tech support</div>
|
||||
<div class="lj_des">ORICO’s tech support service is open to all customers. You could contact us when the products are broken or a breakdown happens. In situations where a replacement is not available or a preferred option, we will offer a partial refund according to the usage time only if the product is during the warranty period.</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon_left"><img src="__PUBLIC__/web/images/policy/policy-icon03.jpg"></div>
|
||||
<div class="lj_text_right">
|
||||
<div class="lj_h3">15-day Exchange</div>
|
||||
<div class="lj_des">You could exchange the product for another new same product if there are quality problems or performance breakdown within 8-15 days since you receive the product. We will be responsible for all shipping fees.</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon_left"><img src="__PUBLIC__/web/images/policy/policy-icon04.jpg"></div>
|
||||
<div class="lj_text_right">
|
||||
<div class="lj_h3">months Quality Warranty</div>
|
||||
<div class="lj_des">It is available to products if there are any quality problems within 12 months starting from the date of purchase. All quality-related defects on items sold by ORICO online stores and authorized resellers are under warranty.</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="lj_bg_i clearfix">
|
||||
<div class="lj_img_l"><img src="__PUBLIC__/weben/images/policy/policy-img01.jpg"></div>
|
||||
<div class="lj_text_r">
|
||||
<div class="lj_h3">Quality warranty are not compatible with the following conditions:</div>
|
||||
<div class="lj_des">
|
||||
<p>1、Reworked products without ORICO’s approval; The serial number or warranty sticker has been altered, defaced or removed;</p>
|
||||
<p>2、Normal wear and tear of the product;</p>
|
||||
<p>3、Products that have been artificially damaged by improper operation.</p>
|
||||
<p>4、Products that have been damaged by accidents or natural disasters.</p>
|
||||
<p>5、Products have been reworked or repaired by unauthorized agencies.</p>
|
||||
<p>6、Warranty service will be carried out according to “Limited Warranty Clause” in the third policy.</p></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lj_three_policy">For your own benefits, please mind the following information</div>
|
||||
<div class="lj_t_small">For a smooth return and refund, quality warranty, please follow these steps:</div>
|
||||
<div class="lj_policy_icon clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon05.jpg"></div>
|
||||
<div class="lj_icon05_text">Please show your purchasing invoice or order number within warranty period. If there is no invoice or order number, please kindly provide the store’s name or your account information for our reference</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon06.jpg"></div>
|
||||
<div class="lj_icon05_text">Please provide pictures or videos of the damaged product.</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon07.jpg"></div>
|
||||
<div class="lj_icon05_text">1. Warranty claims for full refund expire 90 days after opening a warranty claim. For purchases not made directly through ORICO’s online stores, please contact retailers for refunds and replace. </div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="lj_bg_i clearfix">
|
||||
<div class="lj_img_l"><img src="__PUBLIC__/weben/images/policy/policy-img02.jpg"></div>
|
||||
<div class="lj_text_r">
|
||||
<div class="lj_h3">Limited Warranty Policy </div>
|
||||
<div class="lj_des">
|
||||
<p>1、Products that have been artificially damaged by mistake, abuse, wrong operation, accidents or natural disasters.(Like spillage of food or liquid, flooding water, shattering, scratching, etc )</p>
|
||||
<p>2、 Products that have been reworked and damaged by unauthorized agencies that are not approved by ORICO.</p>
|
||||
<p>3、 Improper accessories, operation against User Manual or any wrong transportation and accidents to the product.</p>
|
||||
<p>4、 Products that have been damaged by improper or wrong operation.</p>
|
||||
<p>5、 Normal wear and tear of product surface, such as labels, parts, etc.</p>
|
||||
<p>6、 The product is beyond the warranty period.</p>
|
||||
<p>7、 No purchasing proof or invoice, except product which can be proved that it is in warranty period.</p></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lj_three_policy">ORICO is not liable for:</div>
|
||||
<div class="lj_policy_four clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon08.jpg"></div>
|
||||
<div class="lj_icon05_text">Loss of data incurred from use of ORICO products</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon09.jpg"></div>
|
||||
<div class="lj_icon05_text">Returning personal items sent to ORICO</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon10.jpg"></div>
|
||||
<div class="lj_icon05_text">Repairs through 3rd parties</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="lj_icon05"><img src="__PUBLIC__/web/images/policy/policy-icon11.jpg"></div>
|
||||
<div class="lj_icon05_text">2. Lost, stolen,second-hand, free products</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="lj_bg_i lj_mar_5 clearfix">
|
||||
<div class="lj_img_l"><img src="__PUBLIC__/weben/images/policy/policy-img04.jpg"></div>
|
||||
<div class="lj_text_r">
|
||||
<div class="lj_h3">Attentions
|
||||
</div>
|
||||
<div class="lj_des">
|
||||
<p>1、 Please fill in the repair form in regular script. You should fill in the user’s name, contact number, fault phenomenon, request for testing or repair and other content. we will judge and handle it according to the content filled out by the user.</p>
|
||||
<p>2、Please backup information stored in the product to other devices and delete those in the product before sending it to repair to avoid loss or leakage.</p>
|
||||
<p>*If the above is inconsistent with or missing from the national policy, the national policy shall prevail.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
224
app/us/view/group/privacy.phtml
Executable file
224
app/us/view/group/privacy.phtml
Executable file
File diff suppressed because one or more lines are too long
141
app/us/view/group/product.phtml
Executable file
141
app/us/view/group/product.phtml
Executable file
@@ -0,0 +1,141 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Vision and Mission|Orico culture</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/culture.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/animate.min.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="culture_top ">
|
||||
|
||||
<img src="__PUBLIC__/weben/images/Introductionimg/Our1Brand.png">
|
||||
<div class="culture_bril_con swt-Container">
|
||||
<div class="culture_bril_div">
|
||||
<div class="iconimg"><img src="__PUBLIC__/weben/images/Introductionimg/product1.png"></div>
|
||||
<div class="title">
|
||||
<p>Sell well for 11 years worldwide</p>
|
||||
</div>
|
||||
<div class="subtitle">
|
||||
<p>Since the establishment of ORICO, it has opened up domestic and overseas offline channels in many countries around the world for 11 years, and has independent agents and distributors in many countries. ORICO has been accepted by the industry in the external HDD enclosure and USB3.0 peripherals for four consecutive years, our fast charging surge protector keeps the top 5 in the rapid growth.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="culture_bril_div">
|
||||
<div class="iconimg"><img src="__PUBLIC__/weben/images/Introductionimg/product2.png"></div>
|
||||
<div class="title">
|
||||
<p>Superior R&D Team</p>
|
||||
</div>
|
||||
<div class="subtitle">
|
||||
<p>We are committed to providing innovative and practical solutions for customers' needs. Established a professional R & D team of nearly 100 senior engineers, structural engineers, electronic engineers, etc. Develop thousands of products such as USB storage, USB expansion, USB power strip, USB charging, digital accessories, and quality peripherals. We maintain the R&D of new products every week.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="culture_bril_div">
|
||||
<div class="iconimg"><img src="__PUBLIC__/weben/images/Introductionimg/product3.png"></div>
|
||||
<div class="title">
|
||||
<p>Annual production capacity over 4B.</p>
|
||||
</div>
|
||||
<div class="subtitle">
|
||||
<p>Adopting 5S management is the premise of creating excellent products. ORICO invested nearly 80 million to build Internet & Creativity Industrial Park, a comprehensive service center integrating innovation and technology training, project incubation, industry acceleration, investment and financing services, and more. The annual production capacity has steadily exceeded RMB 4 billion.(600 million USD)</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="culture_vision">
|
||||
<div class="swt-Container">
|
||||
<div class="title">
|
||||
<!--Vision and Mission-->
|
||||
</div>
|
||||
<div class="swt-Table img-responsive">
|
||||
<div id="tab1" class="Table-Row">
|
||||
<div class="Table-Cell left"><img src="__PUBLIC__/web/images/culture/vision-01.jpg"></div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell right">
|
||||
<p class="subtitle">Deep Research on USB Technology</p>
|
||||
<p class="des"> The development and innovation of USB technology is vast and infinite. For a long time in the future, ORICO will concentrate on the exploration and innovation of USB technology and use it more in transmission, power, audio and video to better facilitate people and promote the breakthrough transformation of transmission technology. Rome was not built in one day. We know that only by bringing together small changes will it be possible to explore greater innovations, and make our career endless through accumulation. </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Table img-responsive culture_vision_02">
|
||||
<div id="tab2" class="Table-Row">
|
||||
<div class="Table-Cell left"><p class="subtitle">Provide Better Choices for A Better Life</p>
|
||||
<p class="des"> Change is not only the responsibility of each ORICO employee, but also the opportunity. We expect our change, just like our brand's iconic element, Archimedes screw, to make small changes and corrections in the direction, and to continue to radiate farther away to explore the unknown. Our initial dream of the departure will be as clear as ever. ORICO hopes to explain the power of change to employees, users, and the wider world!</p></div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell right"><img src="__PUBLIC__/web/images/culture/vision-02.jpg"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="swt-Table img-responsive">
|
||||
<div id="tab3" class="Table-Row">
|
||||
<div class="Table-Cell left"><img src="__PUBLIC__/web/images/culture/vision-03.jpg"></div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell right">
|
||||
<p class="subtitle">Power of Change</p>
|
||||
<p class="des">For the public, ORICO advocates to change the “habitual” lifestyle, encourages everyone to pursue a better life!</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$('.culture_bril_div').addClass('animated fadeInUp');
|
||||
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
function isScrolledIntoView(elem) {
|
||||
var docViewTop = $(window).scrollTop();
|
||||
var docViewBottom = docViewTop + $(window).height();
|
||||
|
||||
var elemTop = $(elem).offset().top;
|
||||
var elemBottom = elemTop + $(elem).height();
|
||||
|
||||
return (elemTop <= docViewBottom);
|
||||
}
|
||||
|
||||
var myelement = $('#tab1'); // the element to act on if viewable
|
||||
goScroll(myelement);
|
||||
|
||||
|
||||
var myelement2 = $('#tab2'); // the element to act on if viewable
|
||||
goScroll(myelement2);
|
||||
|
||||
|
||||
var myelement3 = $('#tab3'); // the element to act on if viewable
|
||||
goScroll(myelement3);
|
||||
|
||||
|
||||
function goScroll(obj){
|
||||
$(window).scroll(function() {
|
||||
if(isScrolledIntoView(obj)) {
|
||||
|
||||
$(obj).find('.left').addClass('animated fadeInLeft');
|
||||
$(obj).find('.right').addClass('animated fadeInRight');
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
68
app/us/view/group/product1.phtml
Executable file
68
app/us/view/group/product1.phtml
Executable file
@@ -0,0 +1,68 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Vision and Mission|Orico culture</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/culture.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/culture/vision-banner.jpg"></div>
|
||||
<div class="culture_vision">
|
||||
<div class="swt-Container">
|
||||
<div class="title">Vision and Mission</div>
|
||||
<div class="swt-Table img-responsive">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell left"><img src="__PUBLIC__/web/images/culture/vision-01.jpg"></div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell right">
|
||||
<p class="subtitle">Deep Research on USB Technology</p>
|
||||
<p class="des"> The development and innovation of USB technology is vast and infinite. For a long time in the future, ORICO will concentrate on the exploration and innovation of USB technology and use it more in transmission, power, audio and video to better facilitate people and promote the breakthrough transformation of transmission technology. Rome was not built in one day. We know that only by bringing together small changes will it be possible to explore greater innovations, and make our career endless through accumulation. </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Table img-responsive culture_vision_02">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell left"><p class="subtitle">Provide Better Choices for A Better Life</p>
|
||||
<p class="des"> Change is not only the responsibility of each ORICO employee, but also the opportunity. We expect our change, just like our brand's iconic element, Archimedes screw, to make small changes and corrections in the direction, and to continue to radiate farther away to explore the unknown. Our initial dream of the departure will be as clear as ever. ORICO hopes to explain the power of change to employees, users, and the wider world!</p></div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell right"><img src="__PUBLIC__/web/images/culture/vision-02.jpg"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Table img-responsive culture_vision_view">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell right"><img src="__PUBLIC__/web/images/culture/vision-02.jpg"></div>
|
||||
<div class="Table-Cell left"><p class="subtitle">Provide Better Choices for A Better Life</p>
|
||||
<p class="des"> Change is not only the responsibility of each ORICO employee, but also the opportunity. We expect our change, just like our brand's iconic element, Archimedes screw, to make small changes and corrections in the direction, and to continue to radiate farther away to explore the unknown. Our initial dream of the departure will be as clear as ever. ORICO hopes to explain the power of change to employees, users, and the wider world!</p></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Table img-responsive">
|
||||
<div class="Table-Row">
|
||||
<div class="Table-Cell left"><img src="__PUBLIC__/web/images/culture/vision-03.jpg"></div>
|
||||
<div class="Table-Cell center"></div>
|
||||
<div class="Table-Cell right">
|
||||
<p class="subtitle">Power of Change</p>
|
||||
<p class="des">For the public, ORICO advocates to change the “habitual” lifestyle, encourages everyone to pursue a better life!</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
237
app/us/view/group/pssd.phtml
Executable file
237
app/us/view/group/pssd.phtml
Executable file
@@ -0,0 +1,237 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>SSD存储和PSSD存储选择攻略_ORICO/奥睿科官网</title>
|
||||
<meta name="Keywords" content="SSD存储, PSSD存储" />
|
||||
<meta name="Description" content="SSD与PSSD选择攻略" />
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/pssd.css">
|
||||
|
||||
<body style="background-color:#f5f5f5;">
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/pssd/pssd_banner.png">
|
||||
<div class="position-a banner">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="font-60 f_weight_400">Comprehending Your SSD/PSSD </div>
|
||||
<div class="font-30 margin-t-10vw f_weight_400 light_height_48">Keep This Manual as the First Step Get Into the New Field</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频一-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<div class="video_subject">
|
||||
<div class="swt-Container f-black text-l">
|
||||
<div class="left">
|
||||
<p class="font-36 margin-t-50 padding-t-3"> The Professional Storage Guide For You And Your PSSD</p>
|
||||
<p class="font-16 margin-t-20vw">Is your daily life full of large amounts of data? Do you feel tired of the long wait for data tranmission while working? Are you always being hindered from developing your hobbies due to the poor performance of devices? Start your first DIY experience with the most professional storage tips! </p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<video controls poster="" width="100%" src="__PUBLIC__/web/images/pssd/video.mp4" loop x-webkit-airplay="true" webkit-playsinline="true">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--PSSD与SSD区别-->
|
||||
<div class="pssd01 f-White position-r img-responsive">
|
||||
<img src="__PUBLIC__/web/images/pssd/pssd_01.jpg">
|
||||
<div class="position-a position-a-w" style="height:100%">
|
||||
<div class="pssd01L position-r">
|
||||
<div class="position-a pssdTitle">
|
||||
<p class="text-c font-60 margin-t-3">SSD</p>
|
||||
</div>
|
||||
<div class="pssdContent font-24">
|
||||
<p class="text-r">Internal interface of laptop or desktop(SATA/mSATA/M.2)</p>
|
||||
<p class="text-r">Two Standard Appearances</p>
|
||||
<p class="text-r">Computer Assembly and Upgrading</p>
|
||||
<p class="text-r">Internal Installation </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pssd01R position-r">
|
||||
<div class="position-a pssdTitle">
|
||||
<p class="text-c font-60 margin-t-3">PSSD</p>
|
||||
</div>
|
||||
<div class="pssdContent text-l font-24">
|
||||
<p>External interface of computer, tablet or mobile phone(USB-A/Type-C)</p>
|
||||
<p>Optional Design and Material</p>
|
||||
<p>External Capacity Expansion</p>
|
||||
<p>Plug and play</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pssd01C text-c font-11">
|
||||
<p>Interface</p>
|
||||
<p>Appearance</p>
|
||||
<p>Application</p>
|
||||
<p>Installation</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="swt-Container img-responsive">
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<!--SSD产品-->
|
||||
<div class="font-48 f-black f_weight_100 text-c padding-t-4 padding-b-3">Upgrade My SSD</div>
|
||||
<div class="series35_list subject_three_list">
|
||||
<ul>
|
||||
<li class="solid_blue">
|
||||
<a href="__ORICOROOT__/product/detail/7088.html" target="_blank"><img src="__PUBLIC__/web/images/pssd/ssd_p_01.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-15vw font-30">Upgrade and Ease Devices</p>
|
||||
<p class="font-24">SATA Revision3.0</p>
|
||||
<p class="font-20 margin-t-10vw">Fluorescent Purple</p>
|
||||
</div>
|
||||
<div class="position-a position-a-w text-c font-16 pssd_p_BT">240G Capacity</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<a href="__ORICOROOT__/product/detail/4116.html" target="_blank"><img src="__PUBLIC__/web/images/pssd/ssd_p_02.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-15vw font-30">Large Capacity Expansion</p>
|
||||
<p class="font-24">mSATA High-speed Transmission</p>
|
||||
<p class="font-20 margin-t-10vw">Half-Height, Compact Size</p>
|
||||
</div>
|
||||
<div class="position-a position-a-w text-c font-16 pssd_p_BT">1TB Capacity</div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<a href="__ORICOROOT__/product/detail/4098.html" target="_blank"><img src="__PUBLIC__/web/images/pssd/ssd_p_03.jpg"></a>
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-15vw font-30">Instantly Transmission</p>
|
||||
<p class="font-24">M.2 NVMe Super-speed</p>
|
||||
<p class="font-20 margin-t-10vw">Direct Connected to the Mainboard </p>
|
||||
</div>
|
||||
<div class="position-a position-a-w text-c font-16 pssd_p_BT">Multiple Capacity Optional</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--PSSD-->
|
||||
<div class="font-48 f-black f_weight_100 text-c padding-t-60 padding-b-3">Pick as You Wish</div>
|
||||
<div class="series35_list subject_three_list">
|
||||
<ul>
|
||||
<li class="solid_blue">
|
||||
<a href="__ORICOROOT__/product/detail/5508.html" target="_blank"><img src="__PUBLIC__/web/images/pssd/pssd_p_01.jpg"></a>
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-66 font-24">Compact and Portable</p>
|
||||
<p class="font-20 margin-t-10vw">Pocket-Sized PSSD</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<a href="__ORICOROOT__/product/detail/5501.html" target="_blank"><img src="__PUBLIC__/web/images/pssd/pssd_p_02.jpg"></a>
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-66 font-24">Aluminum Alloy Unibody</p>
|
||||
<p class="font-20 margin-t-10vw">Pro-Business PSSD</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<a href="__ORICOROOT__/product/detail/5456.html" target="_blank"><img src="__PUBLIC__/web/images/pssd/pssd_p_03.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-66 font-24">On-The-Go Data</p>
|
||||
<p class="font-20 margin-t-10vw">Triple-Protection PSSD</p>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--Diy PSSD-->
|
||||
<div class="pssdDiy clearfix">
|
||||
<div class="text-c font-48 f-black margin-t-10vw margin-b-40">The Combination of Performance and Appearance</div>
|
||||
<div class="text-c font-32 f-gray margin-b-3">Create Your Own PSSD</div>
|
||||
<!--第一屏-->
|
||||
<div class="content clearfix">
|
||||
<div class="pssdDiyL img-responsive position-r">
|
||||
<a href="__ORICOROOT__/product/detail/6908.html" target="_blank">
|
||||
<img src="__PUBLIC__/web/images/pssd/diy_pssd01.png">
|
||||
<div class="text text-r">
|
||||
<p class="font-36 f-black">Kit for Entry-level User</p>
|
||||
<div class="button font-24 margin-t-15vw">Learn More ></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="pssdDiyR text-c f-White font-14">
|
||||
<div class="position-r list img-responsive ">
|
||||
<img src="__PUBLIC__/web/images/pssd/diy_p_pssd01.png">
|
||||
<p>Cost-Effective SATA SSD</p>
|
||||
</div>
|
||||
<div class="pssdDiyAdd">
|
||||
<img src="__PUBLIC__/web/images/pssd/add.png">
|
||||
</div>
|
||||
<div class="position-r list img-responsive">
|
||||
<img src="__PUBLIC__/web/images/pssd/diy_p_pssd02.png">
|
||||
<p> 2.5-inch Tansparent Hard Drive Enclosure</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第二屏-->
|
||||
<div class="content margin-t-20vw clearfix">
|
||||
<div class="pssdDiyL img-responsive position-r">
|
||||
<a href="__ORICOROOT__/product/detail/6861.html" target="_blank">
|
||||
<img src="__PUBLIC__/web/images/pssd/diy_pssd02.png">
|
||||
<div class="text text-r">
|
||||
<p class="font-36 f-black">Kit for 4K Audiovisual</p>
|
||||
<div class="button font-24 margin-t-15vw">Learn More ></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="pssdDiyR text-c f-White">
|
||||
<div class="position-r list img-responsive ">
|
||||
<img src="__PUBLIC__/web/images/pssd/diy_p_pssd03.png">
|
||||
<p>NVMe SSD with Large Capacity</p>
|
||||
</div>
|
||||
<div class="pssdDiyAdd">
|
||||
<img src="__PUBLIC__/web/images/pssd/add.png">
|
||||
</div>
|
||||
<div class="position-r list img-responsive">
|
||||
<img src="__PUBLIC__/web/images/pssd/diy_p_pssd04.png">
|
||||
<p>Thunderbolt3 High-speed Hard Drive Enclosure</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第三屏-->
|
||||
<div class="content margin-t-20vw clearfix">
|
||||
<div class="pssdDiyL img-responsive position-r">
|
||||
<a href="__ORICOROOT__/product/detail/6890.html" target="_blank">
|
||||
<img src="__PUBLIC__/web/images/pssd/diy_pssd03.png">
|
||||
<div class="text text-r">
|
||||
<p class="font-36 f-black">Kit for Business Elite</p>
|
||||
<div class="button font-24 margin-t-15vw">Learn More ></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="pssdDiyR text-c f-White">
|
||||
<div class="position-r list img-responsive ">
|
||||
<img src="__PUBLIC__/web/images/pssd/diy_p_pssd05.png">
|
||||
<p>NVMe High-speed SSD</p>
|
||||
</div>
|
||||
<div class="pssdDiyAdd">
|
||||
<img src="__PUBLIC__/web/images/pssd/add.png">
|
||||
</div>
|
||||
<div class="position-r list img-responsive">
|
||||
<img src="__PUBLIC__/web/images/pssd/diy_p_pssd06.png">
|
||||
<p>Dual Protocol Hard Drive Enclosure</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="charger_06_img_M img-responsive margin-t-50"><img src="__PUBLIC__/web/images/ssd/ssd_b.jpg"></div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
372
app/us/view/group/query.phtml
Executable file
372
app/us/view/group/query.phtml
Executable file
@@ -0,0 +1,372 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Troodon Series</title>
|
||||
<meta name="Keywords" content="SSD" />
|
||||
<meta name="Description" content="SSD" />
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/ssd.css">
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/banner01.jpg">
|
||||
<div class="position-a ssd_banner">
|
||||
<div class="swt-Container f-White text-c">
|
||||
<div class="font-28">Troodon Series Solid State Drive</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">Unfathomable Performance · Drive at Furious Speed </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频一-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/video_bg.jpg">
|
||||
<div class="position-a ssd_video">
|
||||
<div class="swt-Container f-black text-l">
|
||||
<div class="left">
|
||||
<p class="font-20 f-gray margin-t-20vw">New Generation -3D NAND TECHNOLOGY</p>
|
||||
<p class="font-48 f-black margin-t-10vw f_weight_400">Boosted Storage Density<br>Enhanced Performance</p>
|
||||
<p class="font-16 margin-t-66">The whole series of ORICO Troodon solid-state drives are powered by 3D NAND flash, and the storage density is higher than traditional 2D flash. Reached the high level of storage density in the industry, and greatly enhancing the transmission performance, making it easy to process a large amount of stored data.</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<video controls="" poster="" src="__PUBLIC__/weben/images/ssd/external_ssd.mp4" width="100%">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--SN100/SV100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/SN100_SV100.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right padding-t-80">
|
||||
<div class="font-24">Troodon- Armor Series SN100/SV100</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">All it Protect is Memory</div>
|
||||
<div class="font-24 margin-t-20vw">- External Mobile SSD </div>
|
||||
<div class="font-16 margin-t-30">Troodon Armor Series adopts double protection of aluminum alloy case and silicon protector, this makes it stands up to shock, splashes, spills and dusts, and it also provide 4 optional capacity includes 128G/256G/512G/1TB.
|
||||
With Speed 1.0 version and Speed 2.0 version, SN100 internal NGFF SSD delivers high-speed transfer with up to 540MB/s read speeds; SV100 internal NVMe SSD can delivers super-speed transfer with up to 940MB/s read speeds. Both of SN100 and SV100 are supports to UASP+TRIM dual protocol, high-performance of transferring. Compatible with Type-C devices like cell phone and PCs, made for the outdoors.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/5455.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--FV300/GV100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/FV300_GV100.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left padding-t-80">
|
||||
<div class="font-24">Troodon- Wing Series FV100/GV100</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">Light. Compact. Fast.</div>
|
||||
<div class="font-24 margin-t-20vw">- External Mobile SSD </div>
|
||||
<div class="font-16 margin-t-30">Troodon Wing Series, ultra-compact and portable, it just fit in your pocket, built to go wherever you go. Built-in NVMe superspeed solid state drive, which provide 940MB/s sequential reads, transferring 1G large files in a flash.
|
||||
Equipped with two data cable of A-to-C port and C-to-C port, it supports the selection of four capacity versions, and can be compatible with mobile phone, computer, TV and other devices to expansion, creating the portable database.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/5491.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--BH100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/BH100.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right padding-t-80">
|
||||
<div class="font-24">Troodon- Shield Series BH100/BM200/BV300</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">Designed to Stable. Built to Rugged. </div>
|
||||
<div class="font-24 margin-t-20vw">- External Mobile SSD </div>
|
||||
<div class="font-16 margin-t-30">Troodon Shield Series is made of high-quality aluminum alloy + CNC technology, which help to maintain the stability of heat dissipation during the high-speed data transferring, help to transfer large files steadily and smoothly. It has two versions of highspeed and superspeed, embedded with self-encapsulated 3D NAND flash particles, it can process big data at incredible speed and be compatible with various office devices.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/5501.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--SSD外置产品-->
|
||||
<div class="img-responsive ssd_08 f_weight_100">
|
||||
<div class="swt-Container f-black text-c padding-t-60">
|
||||
<div class="font-48 f_weight_400">Complement Your Storage Experience</div>
|
||||
<div class="margin-t-15vw font-30"><i>See All The Portable SSD > </i></div>
|
||||
<div class="margin-t-66 ssd_p_three padding-t-8vw ">
|
||||
<ul class="padding-b-80">
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_01.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Armor Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO SN100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5455.html">Learn More</a>
|
||||
</div> -->
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_02.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Armor Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO SV100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5456.html">Learn More</a>
|
||||
</div> -->
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_03.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Wing Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO FV300</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5491.html">Learn More</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_04.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Shield Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO BH100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5501.html">Learn More</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_05.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Shield Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO BM200</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5506.html">Learn More</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_06.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Shield Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO BV300</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5507.html">Learn More</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_07.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Wing Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO GV100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5508.html">Learn More</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--视频-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_02.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="f-White text-c ssd_02">
|
||||
<div class="font-48 margin-t-90 padding-t-5vw">ORICO’s Ten Years Experience in Storage</div>
|
||||
<div class="margin-t-30 font-24">The Excellent SSD Solution You Never Had</div>
|
||||
<div class="font-16 margin-t-30 ssd_02_des">ORICO’s SSD has achieved a strong presence in personal consumption storage through its rapidly program response, quick data processing and stable flash.</div>
|
||||
<video controls="" poster="" src="__PUBLIC__/weben/images/ssd/ssd_video.mp4" class="margin-t-20vw" width="100%">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--H100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_03.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left margin-t-90">
|
||||
<div class="font-18">Troodon in Armor H100</div>
|
||||
<div class="font-48 padding-t-8vw">Cool down<br>Speed Up</div>
|
||||
<div class="font-24 margin-t-66">- SATA3.0 protocol, the SSD you better choose.</div>
|
||||
<div class="font-16 margin-t-30">Silver Troodon H100 adopts SATA3.0 protocol, up to 6Gbps data transferrin, 550MB/s sequential read and 510 MB/s sequential write, with 2.5-inch aluminum alloy case which provide steady heat dissipation at high speed transmission. </div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/4113.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--M200-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_04.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right margin-t-90">
|
||||
<div class="font-18">Troodon M200 </div>
|
||||
<div class="font-48 padding-t-8vw">No Delay<br>Exceptional Responsivity</div>
|
||||
<div class="font-24 margin-t-66">- mSATA interface, born for the notebook.</div>
|
||||
<div class="font-16 margin-t-30">Troodon M200 adopts 3D flash particles that allow to processing data rapidly, it has low-delay and SATA3.0 protocol, be equipped with excellent transmission performance; Compact and lightweight, compatible with most of mSATA interface notebook.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/4116.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--N300-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_05.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left margin-t-90">
|
||||
<div class="font-18">Troodon N300 </div>
|
||||
<div class="font-48 padding-t-8vw">SSD Master<br>Always Evolving Performance</div>
|
||||
<div class="font-24 margin-t-66">- Enhanced LDPC algorithm, less loading time.</div>
|
||||
<div class="font-16 margin-t-30">The next advancement in NVMe SSDs. Troodon series with advanced control chip, LDPC error correction, DevSleep power-saving tech, Trim SSD optimize instruction and NCQ intelligent queue management, further improving the performance and service life of SSD.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/4095.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--V500-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_06.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right margin-t-90">
|
||||
<div class="font-18">Troodon V500</div>
|
||||
<div class="font-48 padding-t-8vw">Dominate the E-Sport with Ferocious Speed</div>
|
||||
<div class="font-24 margin-t-66">- PCI-E ×4, approximately four times faster than the traditional SSD.</div>
|
||||
<div class="font-16 margin-t-30">Experience the best. ORICO Troodon V500 combines the M.2 interface, with the NVMe protocol SSD and PCI-E Gen3.0x4 to deliver ultimate performance; Up to 2000 MB/s sequential reads and 1500 MB/s sequential writes. Approximately four times faster than the traditional SSD, built to be professional.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/4098.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--产品-->
|
||||
<div class="img-responsive ssd_08 f_weight_100">
|
||||
<div class="swt-Container f-black text-c padding-t-60">
|
||||
<div class="font-48">Complement Your Sense of Style</div>
|
||||
<div class="margin-t-15vw font-24"><i>SEE ALL THE SSD></i></div>
|
||||
<div class="ssd_p margin-t-66 padding-t-8vw ">
|
||||
<ul class="padding-b-80">
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_01.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon in Armor H100</p>
|
||||
<p class="font-20 f-gray">SATA3.0 SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4113.html">View details</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_02.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon M200 </p>
|
||||
<p class="font-20 f-gray">MSATA SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4116.html">View details</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_03.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon N300 </p>
|
||||
<p class="font-20 f-gray">M.2 (NGFF) SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4095.html">View details</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_04.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon V500</p>
|
||||
<p class="font-20 f-gray">M.2 NVMe SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4098.html">View details</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="charger_06_img_M img-responsive"><img src="__PUBLIC__/web/images/ssd/ssd_b.jpg"></div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
483
app/us/view/group/question.phtml
Executable file
483
app/us/view/group/question.phtml
Executable file
@@ -0,0 +1,483 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Ask a question</title>
|
||||
<!-- <link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/honor.css"> -->
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--Bult Buy-->
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban banner-other">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li class="ques-r" ><img src="__PUBLIC__/weben/images/ask-banner.png"/>
|
||||
<div class ="ques-a">
|
||||
<h3> Ask a Question </h3>
|
||||
<p>Having problems using our products? We are glad to help. Before you call or email, maybe some of your questions are answered here:Check FAQs</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<div class="apply_content" >
|
||||
<div class="ques_title">Still Have Questions?
|
||||
<p>Please complete the form below or just email us:<b>supports@orico.com.cn</b></br> We'll reply as soon as possible.</p>
|
||||
</div>
|
||||
<form id="addquestion" method="post" enctype="multipart/form-data">
|
||||
<div class="apply_form">
|
||||
<div class="name clearfix" style="margin-bottom: 1.875rem;">
|
||||
|
||||
<div style="margin-right: 1rem;">
|
||||
<strong style=" margin-right: 0.3125rem;">Your name </strong> <input type="text" class="fname" name="fname" id="fname"/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<strong style="color: red; margin-right: 0.3125rem;">*</strong><strong>Country</strong>
|
||||
<select class=" detail-w01 ques-select country" id='country' name='country'>
|
||||
<option value ="">--- Select your country ---</option>
|
||||
<option value ="Afghanistan">Afghanistan</option>
|
||||
<option value ="Albania">Albania</option>
|
||||
<option value ="Algeria">Algeria</option>
|
||||
<option value ="American Samoa">American Samoa</option>
|
||||
<option value ="Andorra">Andorra</option>
|
||||
<option value ="Angola">Angola</option>
|
||||
<option value ="Anguilla">Anguilla</option>
|
||||
<option value ="Antigua and Barbuda">Antigua and Barbuda</option>
|
||||
<option value ="Argentina">Argentina</option>
|
||||
<option value ="Armenia">Armenia</option>
|
||||
<option value ="Aruba">Aruba</option>
|
||||
<option value ="Australia">Australia</option>
|
||||
<option value ="Austria">Austria</option>
|
||||
<option value ="Azerbaijan">Azerbaijan</option>
|
||||
<option value ="Azores">Azores</option>
|
||||
<option value ="Bahamas">Bahamas</option>
|
||||
<option value ="Bahrain">Bahrain</option>
|
||||
<option value ="Bangladesh">Bangladesh</option>
|
||||
<option value ="Barbados">Barbados</option>
|
||||
<option value ="Belarus">Belarus</option>
|
||||
<option value ="Belgium">Belgium</option>
|
||||
<option value ="Belize">Belize</option>
|
||||
<option value ="Benin">Benin</option>
|
||||
<option value ="Bermuda">Bermuda</option>
|
||||
<option value ="Bhutan">Bhutan</option>
|
||||
<option value ="Bolivia">Bolivia</option>
|
||||
<option value ="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
|
||||
<option value ="Botswana">Botswana</option>
|
||||
<option value ="Brazil">Brazil</option>
|
||||
<option value ="Brunei">Brunei</option>
|
||||
<option value ="Bulgaria">Bulgaria</option>
|
||||
<option value ="Burkina Faso">Burkina Faso</option>
|
||||
<option value ="Burundi">Burundi</option>
|
||||
<option value ="Cambodia">Cambodia</option>
|
||||
<option value ="Cameroon">Cameroon</option>
|
||||
<option value ="Canada">Canada</option>
|
||||
<option value ="Canarias">Canarias</option>
|
||||
<option value ="Cape Verde">Cape Verde</option>
|
||||
<option value ="Cayman">Cayman</option>
|
||||
<option value ="Central African Republic">Central African Republic</option>
|
||||
<option value ="Chad">Chad</option>
|
||||
<option value ="Chile">Chile</option>
|
||||
<option value ="China">China</option>
|
||||
<option value ="Colombia">Colombia</option>
|
||||
<option value ="Comoros">Comoros</option>
|
||||
<option value ="Congo (Congo-Kinshasa)">Congo (Congo-Kinshasa)</option>
|
||||
<option value ="Congo">Congo</option>
|
||||
<option value ="Cook Islands">Cook Islands</option>
|
||||
<option value ="Costa Rica">Costa Rica</option>
|
||||
<option value ="Cote D'Ivoire">Cote D'Ivoire</option>
|
||||
<option value ="Croatia">Croatia</option>
|
||||
<option value ="Cuba">Cuba</option>
|
||||
<option value ="Cyprus">Cyprus</option>
|
||||
<option value ="Czech">Czech</option>
|
||||
<option value ="Denmark">Denmark</option>
|
||||
<option value ="Djibouti">Djibouti</option>
|
||||
<option value ="Dominica">Dominica</option>
|
||||
<option value ="Dominican">Dominican</option>
|
||||
<option value ="Ecuador">Ecuador</option>
|
||||
<option value ="Egypt">Egypt</option>
|
||||
<option value ="El Salvador">El Salvador</option>
|
||||
<option value ="Equatorial Guinea">Equatorial Guinea</option>
|
||||
<option value ="Eritrea">Eritrea</option>
|
||||
<option value ="Estonia">Estonia</option>
|
||||
<option value ="Ethiopia">Ethiopia</option>
|
||||
<option value ="Fiji">Fiji</option>
|
||||
<option value ="Finland">Finland</option>
|
||||
<option value ="France">France</option>
|
||||
<option value ="French Guiana">French Guiana</option>
|
||||
<option value ="French Polynesia">French Polynesia</option>
|
||||
<option value ="Gabon">Gabon</option>
|
||||
<option value ="Gambia">Gambia</option>
|
||||
<option value ="Georgia">Georgia</option>
|
||||
<option value ="Germany">Germany</option>
|
||||
<option value ="Ghana">Ghana</option>
|
||||
<option value ="Greece">Greece</option>
|
||||
<option value ="Greenland">Greenland</option>
|
||||
<option value ="Grenada">Grenada</option>
|
||||
<option value ="Guadeloupe">Guadeloupe</option>
|
||||
<option value ="Guam">Guam</option>
|
||||
<option value ="Guatemala">Guatemala</option>
|
||||
<option value ="Guinea">Guinea</option>
|
||||
<option value ="Guinea-Bissau">Guinea-Bissau</option>
|
||||
<option value ="Guyana">Guyana</option>
|
||||
<option value ="Haiti">Haiti</option>
|
||||
<option value ="Honduras">Honduras</option>
|
||||
<option value ="Hungary">Hungary</option>
|
||||
<option value ="Iceland">Iceland</option>
|
||||
<option value ="India">India</option>
|
||||
<option value ="Indonesia">Indonesia</option>
|
||||
<option value ="Iran">Iran</option>
|
||||
<option value ="Iraq">Iraq</option>
|
||||
<option value ="Ireland">Ireland</option>
|
||||
<option value ="Israel">Israel</option>
|
||||
<option value ="Italy">Italy</option>
|
||||
<option value ="Jamaica">Jamaica</option>
|
||||
<option value ="Japan">Japan</option>
|
||||
<option value ="Jordan">Jordan</option>
|
||||
<option value ="Kazakhstan">Kazakhstan</option>
|
||||
<option value ="Kenya">Kenya</option>
|
||||
<option value ="Kiribati">Kiribati</option>
|
||||
<option value ="Korea (North)">Korea (North)</option>
|
||||
<option value ="Korea (South)">Korea (South)</option>
|
||||
<option value ="Kuwait">Kuwait</option>
|
||||
<option value ="Kyrgyzstan">Kyrgyzstan</option>
|
||||
<option value ="Laos">Laos</option>
|
||||
<option value ="Latvia">Latvia</option>
|
||||
<option value ="Lebanon">Lebanon</option>
|
||||
<option value ="Lesotho">Lesotho</option>
|
||||
<option value ="Liberia">Liberia</option>
|
||||
<option value ="Libya">Libya</option>
|
||||
<option value ="Liechtenstein">Liechtenstein</option>
|
||||
<option value ="Lithuania">Lithuania</option>
|
||||
<option value ="Luxembourg">Luxembourg</option>
|
||||
<option value ="Macedonia">Macedonia</option>
|
||||
<option value ="Madagascar">Madagascar</option>
|
||||
<option value ="Madeira">Madeira</option>
|
||||
<option value ="Malawi">Malawi</option>
|
||||
<option value ="Malaysia">Malaysia</option>
|
||||
<option value ="Maldives">Maldives</option>
|
||||
<option value ="Mali">Mali</option>
|
||||
<option value ="Malta">Malta</option>
|
||||
<option value ="Marshall Islands">Marshall Islands</option>
|
||||
<option value ="Martinique">Martinique</option>
|
||||
<option value ="Mauritania">Mauritania</option>
|
||||
<option value ="Mauritius">Mauritius</option>
|
||||
<option value ="Mexico">Mexico</option>
|
||||
<option value ="Micronesia">Micronesia</option>
|
||||
<option value ="Moldova">Moldova</option>
|
||||
<option value ="Monaco">Monaco</option>
|
||||
<option value ="Mongolia">Mongolia</option>
|
||||
<option value ="Montserrat">Montserrat</option>
|
||||
<option value ="Morocco">Morocco</option>
|
||||
<option value ="Mozambique">Mozambique</option>
|
||||
<option value ="Myanmar">Myanmar</option>
|
||||
<option value ="Namibia">Namibia</option>
|
||||
<option value ="Nauru">Nauru</option>
|
||||
<option value ="Nepal">Nepal</option>
|
||||
<option value ="Netherlands Antilles">Netherlands Antilles</option>
|
||||
<option value ="Netherlands">Netherlands</option>
|
||||
<option value ="New Caledonia">New Caledonia</option>
|
||||
<option value ="New Zealand">New Zealand</option>
|
||||
<option value ="Nicaragua">Nicaragua</option>
|
||||
<option value ="Niger">Niger</option>
|
||||
<option value ="Niue">Niue</option>
|
||||
<option value ="Northern Mariana">Northern Mariana</option>
|
||||
<option value ="Norway">Norway</option>
|
||||
<option value ="Oman">Oman</option>
|
||||
<option value ="Pakistan">Pakistan</option>
|
||||
<option value ="Palau">Palau</option>
|
||||
<option value ="Palestine">Palestine</option>
|
||||
<option value ="Panama">Panama</option>
|
||||
<option value ="Papua New Guinea">Papua New Guinea</option>
|
||||
<option value ="Paraguay">Paraguay</option>
|
||||
<option value ="Peru">Peru</option>
|
||||
<option value ="Philippines">Philippines</option>
|
||||
<option value ="Pitcairn Islands">Pitcairn Islands</option>
|
||||
<option value ="Poland">Poland</option>
|
||||
<option value ="Portugal">Portugal</option>
|
||||
<option value ="Puerto Rico">Puerto Rico</option>
|
||||
<option value ="Qatar">Qatar</option>
|
||||
<option value ="Reunion">Reunion</option>
|
||||
<option value ="Romania">Romania</option>
|
||||
<option value ="Russian Federation">Russian Federation</option>
|
||||
<option value ="Rwanda">Rwanda</option>
|
||||
<option value ="Saint Helena">Saint Helena</option>
|
||||
<option value ="Saint Kitts-Nevis">Saint Kitts-Nevis</option>
|
||||
<option value ="Saint Lucia">Saint Lucia</option>
|
||||
<option value ="Saint Vincent and the Grenadines">Saint Vincent and the Grenadines</option>
|
||||
<option value ="Samoa">Samoa</option>
|
||||
<option value ="San Marino">San Marino</option>
|
||||
<option value ="Sao Tome and Principe">Sao Tome and Principe</option>
|
||||
<option value ="Saudi Arabia">Saudi Arabia</option>
|
||||
<option value ="Senegal">Senegal</option>
|
||||
<option value ="Serbia">Serbia</option>
|
||||
<option value ="Seychelles">Seychelles</option>
|
||||
<option value ="Sierra Leone">Sierra Leone</option>
|
||||
<option value ="Singapore">Singapore</option>
|
||||
<option value ="Slovakia">Slovakia</option>
|
||||
<option value ="Slovenia">Slovenia</option>
|
||||
<option value ="Solomon Islands">Solomon Islands</option>
|
||||
<option value ="Somalia">Somalia</option>
|
||||
<option value ="South Africa">South Africa</option>
|
||||
<option value ="Spain">Spain</option>
|
||||
<option value ="Sri Lanka">Sri Lanka</option>
|
||||
<option value ="Sudan">Sudan</option>
|
||||
<option value ="Suriname">Suriname</option>
|
||||
<option value ="Swaziland">Swaziland</option>
|
||||
<option value ="Sweden">Sweden</option>
|
||||
<option value ="Switzerland">Switzerland</option>
|
||||
<option value ="Syria">Syria</option>
|
||||
<option value ="Tajikistan">Tajikistan</option>
|
||||
<option value ="Tanzania">Tanzania</option>
|
||||
<option value ="Thailand">Thailand</option>
|
||||
<option value ="The British Virgin Islands">The British Virgin Islands</option>
|
||||
<option value ="The United States Virgin Islands">The United States Virgin Islands</option>
|
||||
<option value ="Timor-Leste">Timor-Leste</option>
|
||||
<option value ="Togo">Togo</option>
|
||||
<option value ="Tokelau">Tokelau</option>
|
||||
<option value ="Tonga">Tonga</option>
|
||||
<option value ="Trinidad and Tobago">Trinidad and Tobago</option>
|
||||
<option value ="Tunisia">Tunisia</option>
|
||||
<option value ="Turkey">Turkey</option>
|
||||
<option value ="Turkmenistan">Turkmenistan</option>
|
||||
<option value ="Turks and Caicos Islands">Turks and Caicos Islands</option>
|
||||
<option value ="Tuvalu">Tuvalu</option>
|
||||
<option value ="Uganda">Uganda</option>
|
||||
<option value ="Ukraine">Ukraine</option>
|
||||
<option value ="United Arab Emirates">United Arab Emirates</option>
|
||||
<option value ="United Kingdom">United Kingdom</option>
|
||||
<option value ="United States">United States</option>
|
||||
<option value ="Uruguay">Uruguay</option>
|
||||
<option value ="Uzbekistan">Uzbekistan</option>
|
||||
<option value ="Vanuatu">Vanuatu</option>
|
||||
<option value ="Vatican City">Vatican City</option>
|
||||
<option value ="Venezuela">Venezuela</option>
|
||||
<option value ="Vietnam">Vietnam</option>
|
||||
<option value ="Wallis and Futuna">Wallis and Futuna</option>
|
||||
<option value ="Western Sahara">Western Sahara</option>
|
||||
<option value ="Yemen">Yemen</option>
|
||||
<option value ="Zambia">Zambia</option>
|
||||
<option value ="Zimbabwe">Zimbabwe</option> </select>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Email</p>
|
||||
<input type="email" class="femail" name="femail" id="femail"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Where did you buy from?</p>
|
||||
|
||||
<select class="detail-w02 ques-select channel" name="channel" id="channel">
|
||||
<option value="">-- Where did you buy from-- </option>
|
||||
<option value="Amazon">Amazon</option>
|
||||
<option value="AliExpress">AliExpress</option>
|
||||
<option value="Newegg">Newegg</option>
|
||||
<option value="Lazada">Lazada</option>
|
||||
<option value="Shopee">Shopee</option>
|
||||
<option value="Ebay">Ebay</option>
|
||||
<option value="JD">JD</option>
|
||||
<option value="Offline">Offline</option>
|
||||
<option value="Distributors">Distributors</option>
|
||||
<option value="Other">Other</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Order ID</p>
|
||||
<input class='orderid' type="text" name="orderid" id="orderid" />
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Product Model</p>
|
||||
<input type="text" name="product_model" class="product_model" id="product_model" />
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Operating System</p>
|
||||
<input type="text" class="operat_system" name="operat_system" id="operat_system"/>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p><strong style="color: red; margin-right: 0.3125rem;">*</strong>Description</p>
|
||||
<textarea rows="6" cols="20" class="first detail-w02 region description" name="description" /></textarea>
|
||||
</div>
|
||||
<div style="margin-bottom: 1.875rem;">
|
||||
<p>Attachment<span style="font-weight:100;color:#C6C7C9"> (Screenshot and video preferred)</span></p>
|
||||
<div class='img_box'>
|
||||
<ul>
|
||||
<li class='add_btn'></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div style= "color:#C6C7C9">File types: jpg | jpeg | png | gif | webp | bmp | mp4 | wmv | m4v | flv | 3gp </br>Size limit: 10 MB </br>Quantity limit: 5</div>
|
||||
|
||||
<div class="question_btn">SUBMIT</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!-- Bult Buy e -->
|
||||
<!--top End-->
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
<script>
|
||||
// 输入框失去焦点
|
||||
|
||||
$('.fname').blur(function(){
|
||||
if($('.fname').val() != ''){
|
||||
$('.fname').removeClass('error');
|
||||
$('.fname').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.fname').addClass('error');
|
||||
$('.fname').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.femail').blur(function(){
|
||||
if($('.femail').val() != ''){
|
||||
$('.femail').removeClass('error');
|
||||
$('.femail').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.femail').addClass('error');
|
||||
$('.femail').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.country').blur(function(){
|
||||
if($('.country').val() != ''){
|
||||
$('.country').removeClass('error');
|
||||
$('.country').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.country').addClass('error');
|
||||
$('.country').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.channel').blur(function(){
|
||||
if($('.channel').val() != ''){
|
||||
$('.channel').removeClass('error');
|
||||
$('.channel').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.channel').addClass('error');
|
||||
$('.channel').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.orderid').blur(function(){
|
||||
if($('.orderid').val() != ''){
|
||||
$('.orderid').removeClass('error');
|
||||
$('.orderid').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.orderid').addClass('error');
|
||||
$('.orderid').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
$('.description').blur(function(){
|
||||
if($('.description').val() != ''){
|
||||
$('.description').removeClass('error');
|
||||
$('.description').next('span').addClass('hide');
|
||||
}else{
|
||||
$('.description').addClass('error');
|
||||
$('.description').next('span').removeClass('hide');
|
||||
}
|
||||
})
|
||||
try {
|
||||
k_win_ref = window.parent.document.referrer;
|
||||
} catch(e) {
|
||||
k_win_ref = '';
|
||||
};
|
||||
|
||||
// 提交表单
|
||||
$('.question_btn').click(function(){
|
||||
var fname = $('.fname').val();
|
||||
var femail = $('.femail').val();
|
||||
var channel = $('.channel').val();
|
||||
var orderid = $('.orderid').val();
|
||||
var country = $('.country').val();
|
||||
var description = $('.description').val();
|
||||
|
||||
var product_model = $('.product_model').val();
|
||||
var operat_system = $('.operat_system').val();
|
||||
|
||||
if(fname == ''){
|
||||
$('.fname').addClass('error');
|
||||
$('.fname').next('span').removeClass('hide');
|
||||
}
|
||||
if(country == ''){
|
||||
$('.country').addClass('error');
|
||||
$('.country').next('span').removeClass('hide');
|
||||
}
|
||||
if(femail == ''){
|
||||
$('.femail').addClass('error');
|
||||
$('.femail').next('span').removeClass('hide');
|
||||
}
|
||||
if(channel == ''){
|
||||
$('.channel').addClass('error');
|
||||
$('.channel').next('span').removeClass('hide');
|
||||
}
|
||||
if(orderid == ''){
|
||||
$('.orderid').addClass('error');
|
||||
$('.orderid').next('span').removeClass('hide');
|
||||
}
|
||||
if(description == ''){
|
||||
$('.description').addClass('error');
|
||||
$('.description').next('span').removeClass('hide');
|
||||
}
|
||||
|
||||
//点击创建申请块
|
||||
if(country && femail && channel && orderid && description) {
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/us/group/addquestion",
|
||||
data: $('#addquestion').serialize(),
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
if(data.code == 200 || data.code == 1) {
|
||||
alert(data.msg);
|
||||
window.location.href='/us/group/question';
|
||||
}
|
||||
else{
|
||||
if(data.code == 403 || data.code == 201) {
|
||||
alert(data.msg);
|
||||
}
|
||||
else{
|
||||
|
||||
$('.email').addClass('error');
|
||||
$('.email').next('span').removeClass('hide');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
</script>
|
||||
<script type="text/javascript" src="__PUBLIC__/weben/scripts/upload.js"></script>
|
||||
<script type="text/javascript">
|
||||
new img_compress_upload({
|
||||
max_height: 1024,
|
||||
max_width: 1024,
|
||||
max_num: 1,
|
||||
list_box:$('.img_box'),
|
||||
add_btn:$('.img_box .add_btn'),
|
||||
del_btn_class: 'del',
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
.csunbmit{height: 35px;margin-top: 10px;margin-bottom: 5px;}
|
||||
.submitBtn{width: 75px;height: 30px;line-height: 26px;background-color: #339b53;text-align: center;display: block; color: #FFFFFF;font-size: 12px;border-radius: 6px;float: left;}
|
||||
.cli{border-bottom: 1px dashed #ccc;text-align: left;font-size: 12px;}
|
||||
.ccontent{width: 98%;padding: 10px; background: #f6f9fb;border:1px solid #ccc;margin-bottom: 10px}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
294
app/us/view/group/rdcenter.phtml
Executable file
294
app/us/view/group/rdcenter.phtml
Executable file
@@ -0,0 +1,294 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Dedicated R&D Achieve the Mission|Orico Group technology R & D Center</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/RDCenter.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--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" /}
|
||||
|
||||
<!--top End-->
|
||||
<div class="lj_rd_banner rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_rd_02.jpg" alt=""/>
|
||||
<div class="lj_rd_text">
|
||||
<h3>Dedicated R&D Achieve the Mission</h3>
|
||||
<div class="small">ORICO is a company driven by market demands and centered on products innovation. Our R&D group, as a development engine, is concentrating on USB technology as well as other leading techniques. Actual demands of market are our directions and the realization of product value is our purpose. We are intensified our efforts to stand in front tier of USB tech exploration around the globe!</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--研发团队-->
|
||||
<div class="rd_team_bg">
|
||||
<div class="rd_team_w">
|
||||
<div class="rd_team_title">R&D Group</div>
|
||||
<div class="rd_team_sm">ORICO R&D center is organized by 140+ engineers who are capable of ID proposal, industrial design, structure design, electronic design, model development and project management…, outputting more advanced tech and products. </div>
|
||||
<div class="rd_team_icon clearfix">
|
||||
<ul>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon01.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Chief Tech Officer</p><p class="">211 service speed: 2-week R&D and 1-week production</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon02.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Project Manager</p><p>Experienced and expert</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon03.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Industrial Designer</p><p>Service-oriented and more creative</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon04.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Senior Structure Engineer</p><p>Design every component carefully</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon05.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Electronics Engineer</p><p>Examine electronic accurately</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon06.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Mould Engineer</p><p>Fully responsible for model design, manufacturing, machine commissioning and material selection, etc</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon07.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Production Manager</p><p>A bond that brings together marketing, product design and manufacturing</p></div></li>
|
||||
<li><div class="rd_f"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon08.jpg" alt=""/></div> <div class="rd_team_t rd_f"><p class="rd_team_big">Package Designer</p><p>Skillful in design of diversified packages used for display, transportation, storage, etc.</p>
|
||||
</div></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--研发流程-->
|
||||
<div class="n_rd_process">
|
||||
<div class="vtext">
|
||||
<p class="rd_title">R&D Process</p>
|
||||
</div>
|
||||
<div class="n_process_w">
|
||||
<div class="n_pro_img01"><img src="__PUBLIC__/weben/images/RDCenter/n_rd_process_03.jpg" alt=""/></div>
|
||||
<div class="n_pro_img02"><img src="__PUBLIC__/weben/images/RDCenter/n_rd_process_02.jpg" alt=""/></div>
|
||||
<div class="n_pro_img03"><img src="__PUBLIC__/weben/images/RDCenter/n_rd_process_04.jpg" alt=""/></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--211快速交付-->
|
||||
<div class="rd_two_pay">
|
||||
<div class="rd_two_img">211 Rapid Delivery</div>
|
||||
<div class="rd_img_b">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_rd_img01.jpg" alt=""/>
|
||||
<div class="rd_pay_text">
|
||||
<div class="rd_pay_r"><img src="__PUBLIC__/weben/images/RDCenter/group_num01.png" alt=""/> </div>
|
||||
<div class="rd_pay_r rd_font_i">Launch new products fast, strengthen channel distribution capacity, seize market share, improve iteration speed
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="rd_img_b">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_rd_img03.jpg" alt=""/>
|
||||
<div class="rd_pay_text">
|
||||
<div class="rd_pay_r"><img src="__PUBLIC__/weben/images/RDCenter/group_num03.png" alt=""/> </div>
|
||||
<div class="rd_pay_r rd_font_i">Quicken goods supplement, accelerate funds recycling, grasp market opportunity, set up distribution network fast
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="rd_img_b">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_rd_img02.jpg" alt=""/>
|
||||
<div class="rd_pay_text">
|
||||
<div class="rd_pay_r"><img src="__PUBLIC__/weben/images/RDCenter/group_num02.png" alt=""/> </div>
|
||||
<div class="rd_pay_r rd_font_i">Avoid goods overstocking, increase funding rotation rate, control cost effectively, alleviate market risk pressure
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--技术与应用-->
|
||||
<div class="n_rd_tech">
|
||||
<div class="vtext">
|
||||
<p class="rd_title">Technology & Application</p>
|
||||
</div>
|
||||
|
||||
<div class="n_rd_tech_w clearfix">
|
||||
<div class="n_tech_l">
|
||||
<div class="n_tech_title">All-around Application of Type-C Tech</div>
|
||||
<div class="n_tech_line"></div>
|
||||
<div class="n_tech_text">We apply more advanced Type-C technical scheme whose data transmission speed reaches up to 10Gbps into our classic storage, innovative expansion products, 3C accessories and more daily gadgets. ORICO products make up more than 65% market share in storage industry. As for function expansion, Type-C can be compatible with Apple Thunderbolt3 port and can support data transmission, PD two-way power deliver and more functions.</div>
|
||||
</div>
|
||||
<div class="n_tech_r"><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech.jpg" alt=""/></div>
|
||||
</div>
|
||||
<!--数据传输技术-->
|
||||
<div class="n_rd_usb">
|
||||
<div class="n_usb_title"><div class="n_usb_m">USB2.0-3.1</div><b>Data Transmission Tech</b></div>
|
||||
<div class="n_usb_text">ORICO keeps exploring and innovating USB technology and has developed the data transmission tech from USB2.0 to current leading USB3.1 tech. we are pursuing more breakthroughs coordinated with the technological era.</div>
|
||||
<div class="n_usb_img clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_01.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_02.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_03.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_04.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_05.jpg" alt=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--USB弱电运用技术-->
|
||||
<div class="n_type_c">
|
||||
<div class="n_type_c_title"><b>Application of USB Weak-current</b></div>
|
||||
<div class="n_type_c_line"></div>
|
||||
<div class="n_type_c_text">USB weak current tech has been widely used on more digital products, such as mouse, keyboard, Mini fan and other daily life peripherals like juicer, lamp, etc.
|
||||
</div>
|
||||
<div class="n_type_c_img clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_06.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_07.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_08.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_09.jpg" alt=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!--安全家用强电技术-->
|
||||
<div class="n_rd_safe clearfix">
|
||||
<div class="n_rd_left">
|
||||
<div class="n_rd_safe_title"><b>Household Strong-current Safety Tech</b></div>
|
||||
<div class="n_rd_safe_line"></div>
|
||||
<div class="n_rd_safe_text">Involved in household power strip and other products powered on 220V strong voltage, we take all aspects into account to ensure security, including material selection and electronic structure design. Our products are qualified national 3C standard, overseas FCC and other relevant certificates.</div>
|
||||
<div class="n_rd_safe_img clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_11.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_12.jpg" alt=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="n_rd_right">
|
||||
<div class="n_rd_safe_title"><b>Development of Precision Molds</b></div>
|
||||
<div class="n_rd_safe_line"></div>
|
||||
<div class="n_rd_safe_text">R&D of precision molds creates more delicate exterior for products that are crafted for some high-end peripherals. Electronic design enables products to be compatible with multiple systems and devices.</div>
|
||||
<div class="n_rd_safe_img clearfix">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_13.jpg" alt=""/></li>
|
||||
<li><img src="__PUBLIC__/web/images/RDCenter/n_rd_tech_14.jpg" alt=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!--资源利用-->
|
||||
<div class="lj_make_bg">
|
||||
<div class="lj_make_all">
|
||||
<div class="vtext">
|
||||
<p class="rd_title">Make the Best of Resource</p>
|
||||
</div>
|
||||
<div class="lj_make_text">Manufacturing process and material selection are strong supports for satisfying customers and bringing them better using experience. ORICO possesses professional techniques and equipments to make full use of resources. R&D group firmly believe that cost is not reduced by resource saving but reasonable design. The whole design procedure should be optimized according to market condition and target cost to control time and material costs effectively.</div>
|
||||
|
||||
<div class="lj_make_con clearfix">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="port-1 effect-2">
|
||||
<div class="image-box rd_img">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_make_01.jpg" alt="Image-1">
|
||||
</div>
|
||||
<div class="text-desc">
|
||||
<div class="lj_con_all">
|
||||
<div class="lj_con_title">Model Manufacturing</div>
|
||||
<div class="lj_con_text">Possess 300+ reserved precision moulds and we are continuing to produce new moulds by precision machining and cutting.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="port-1 effect-2">
|
||||
<div class="image-box rd_img">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_make_02.jpg" alt="Image-1">
|
||||
</div>
|
||||
<div class="text-desc">
|
||||
<div class="lj_con_all">
|
||||
<div class="lj_con_title">Injection Molding</div>
|
||||
<div class="lj_con_text">Produce 40,000 PCs and assemble 65,000 molds per mouth.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="port-1 effect-2">
|
||||
<div class="image-box rd_img">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_make_03.jpg" alt="Image-1">
|
||||
</div>
|
||||
<div class="text-desc">
|
||||
<div class="lj_con_all">
|
||||
<div class="lj_con_title">Surface Treatment</div>
|
||||
<div class="lj_con_text">Master all kinds of treatment techniques including spray painting, screen printing, laser carving, etc. </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="port-1 effect-2">
|
||||
<div class="image-box rd_img">
|
||||
<img src="__PUBLIC__/web/images/RDCenter/group_make_04.jpg" alt="Image-1">
|
||||
</div>
|
||||
<div class="text-desc">
|
||||
<div class="lj_con_all">
|
||||
<div class="lj_con_title">Material Selection</div>
|
||||
<div class="lj_con_text">Select high-pure PC material to ensure better insulation performance and flame resistance. Aluminum alloy and zinc alloy are widely used. </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li> </ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="lj_make_img clearfix">
|
||||
<div class="lj-Table">
|
||||
<div class="Table-Row">
|
||||
<div class="lj_make_al Table-Cell ">
|
||||
<div class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_make_05.jpg" alt=""/></div>
|
||||
<div class="lj_m_all">
|
||||
<div class="lj_make_l Table-Cell">Injection molding workshop</div>
|
||||
<div class="lj_make_r Table-Cell">5 Yizumi machines | 16 Haitian machines
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lj_flow_center"></div>
|
||||
<div class="lj_make_al Table-Cell">
|
||||
<div class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_make_06.jpg" alt=""/></div>
|
||||
<div class="lj_m_all">
|
||||
<div class="lj_make_l Table-Cell">Mould workshop</div>
|
||||
<div class="lj_make_r Table-Cell">4 Xianfeng milling machines | 2 Sanlian milling machines | 1 Xinxing sawing machine | 1 Xiongying cutting machine | 1 Tianma bench grinder</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lj_flow_center"></div>
|
||||
|
||||
<div class="lj_make_al Table-Cell">
|
||||
|
||||
<div class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_make_07.jpg" alt=""/></div>
|
||||
<div class="lj_m_all">
|
||||
<div class="lj_make_l Table-Cell">Other machines</div>
|
||||
<div class="lj_make_r Table-Cell">2 surface grinders | 1 radial drilling machine | 1 lathe</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="lj_quality_bg">
|
||||
<div class="vtext rd_img">
|
||||
<p class="rd_title">Quality Guarantee System</p>
|
||||
</div>
|
||||
<div class="lj_qua_icon clearfix">
|
||||
<ul>
|
||||
<li class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon_25.png" alt=""/>
|
||||
<div class="lj_qua_text">ISO 90012015 international quality management system</div>
|
||||
</li>
|
||||
<li class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon_26.jpg" alt=""/>
|
||||
<div class="lj_qua_text">Dongguan Municipal Quality Inspection Center simulated environmental monitoring</div>
|
||||
</li>
|
||||
<li class="rd_img"><img src="__PUBLIC__/web/images/RDCenter/group_rd_icon_27.jpg" alt=""/>
|
||||
<div class="lj_qua_text"> Internationally recognized certification system</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
145
app/us/view/group/report.phtml
Executable file
145
app/us/view/group/report.phtml
Executable file
@@ -0,0 +1,145 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Report Counterfeit/Orico</title>
|
||||
<meta name="Keywords" content="Report Counterfeit;" />
|
||||
<meta name="Description" content="Report Counterfeit;" />
|
||||
{include file="include/head" /}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/css/subject/report.css"></head>
|
||||
<body style="background-color:#f5f5f5">
|
||||
<!--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" /}
|
||||
<!--top End-->
|
||||
<div class="swt-Container padding-t-80">
|
||||
<div class="product_address">
|
||||
<a href="/index" class="href_01">Home</a>
|
||||
<span class="icon-arrow arrow_address"></span>
|
||||
<a href="" class="href_01">Support</a>
|
||||
<span class="icon-arrow arrow_address"></span>
|
||||
<a href="" class="href_01">Report Counterfeit</a>
|
||||
</div>
|
||||
<div class="img-responsive"><img src="__PUBLIC__/web/images/report/report_banner_en.jpg"></div>
|
||||
<div class="report_w">
|
||||
<p class="font-16 f-black f_weight_600 margin-t-30">Beware of counterfeit !</p>
|
||||
<p class="font-16 f-gray">In order to protect our users from counterfeits and improve ORICO’s brand reputation, we are now providing you with a channel to report counterfeits. If you find or suspect the product you bought is counterfeit, please report immediately and provide the following information. Our staff will immediately check it for you.</p>
|
||||
<p class="font-16 f-black margin-t-30"><span class="f_weight_600">Please provide the following information: ( * is required)</p>
|
||||
<div class="report_input font-16 margin-t-30">
|
||||
<ul>
|
||||
<li class="margin-t-30">
|
||||
<label>Product Name:<span>*</span></label>
|
||||
<input class="" type="text" name="product_name" id="product_name">
|
||||
<span style="display: none; font-size: 0.875em">Please input product name</span>
|
||||
</li>
|
||||
<li class="margin-t-30">
|
||||
<label>Contact Name:</label>
|
||||
<input class="" type="text" name="customer_name" id="customer_name">
|
||||
</li>
|
||||
<li class="margin-t-30">
|
||||
<label>Product Model:<span>*</span></label>
|
||||
<input class="" type="text" id="product_model" name="product_model">
|
||||
<span style="display: none; font-size: 0.875em">Please input product model</span>
|
||||
</li>
|
||||
<li class="margin-t-30">
|
||||
<label>Email Address:</label>
|
||||
<input class="" type="text" id="customer_email" name="customer_email">
|
||||
</li>
|
||||
<li class="margin-t-30">
|
||||
<label>Manufacturer:<span>*</span></label>
|
||||
<input class="" type="text" id="product_manufacturer" name="product_manufacturer">
|
||||
<span style="display: none; font-size: 0.875em">Please input manufacturer</span>
|
||||
</li>
|
||||
<li class="margin-t-30">
|
||||
<label>Phone Number:</label>
|
||||
<input class="" type="text" id="customer_telephone" name="customer_telephone">
|
||||
</li>
|
||||
<li class="margin-t-30">
|
||||
<label>Purchase Price:</label>
|
||||
<input class="" type="text" id="product_price" name="product_price">
|
||||
</li>
|
||||
<li class="margin-t-30">
|
||||
<label>Purchase Channel:</label>
|
||||
<input class="" type="text" id="buy_source" name="buy_source">
|
||||
</li>
|
||||
<li class="margin-t-30">
|
||||
<label>What makes your consider the goods is counterfeit? (e.g. price, quality, package, etc.)</label>
|
||||
<textarea class="" id="description"></textarea>
|
||||
</li>
|
||||
</ul>
|
||||
<button class="font-16" onclick="submit()">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file="include/bottom" /}
|
||||
</body>
|
||||
</html>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("input").focus(function(){
|
||||
$(".report_input span").hide();
|
||||
})
|
||||
});
|
||||
function submit() {
|
||||
var product_name = $("#product_name").val(); // 产品名称
|
||||
var customer_name = $("#customer_name").val(); // 名字
|
||||
var product_model = $("#product_model").val(); // 产品型号
|
||||
var customer_email = $("#customer_email").val(); // email
|
||||
var product_manufacturer = $("#product_manufacturer").val(); // 生产厂商
|
||||
var customer_telephone = $("#customer_telephone").val(); // 手机号码
|
||||
var product_price = $("#product_price").val(); // 价格
|
||||
var buy_source = $("#buy_source").val(); // 购买渠道
|
||||
var description = $("#description").val(); //仿冒产品原因*/
|
||||
|
||||
var data = {
|
||||
"product_name": product_name,
|
||||
"customer_name": customer_name,
|
||||
"product_model": product_model,
|
||||
"customer_email": customer_email,
|
||||
"product_manufacturer": product_manufacturer,
|
||||
"customer_telephone": customer_telephone,
|
||||
"product_price": product_price,
|
||||
"buy_source": buy_source,
|
||||
"description": description
|
||||
};
|
||||
|
||||
if (product_name.length == 0) {
|
||||
$("#product_name").next("span").show();
|
||||
}
|
||||
if (product_model.length == 0) {
|
||||
$("#product_model").next("span").show();
|
||||
}
|
||||
if (product_manufacturer.length == 0) {
|
||||
$("#product_manufacturer").next("span").show();
|
||||
}
|
||||
|
||||
// Ajax提交数据
|
||||
$.ajax({
|
||||
url: "/us/group/create_report", // 提交到controller的url路径
|
||||
type: "post", // 提交方式
|
||||
data: data, // data为String类型,必须为 Key/Value 格式。
|
||||
dataType: "json", // 服务器端返回的数据类型
|
||||
success: function (data) { // 请求成功后的回调函数,其中的参数data为controller返回的map,也就是说,@ResponseBody将返回的map转化为JSON格式的数据,然后通过data这个参数取JSON数据中的值
|
||||
if (data.code == 200)
|
||||
{
|
||||
alert("Submitted successfully");
|
||||
location.reload();
|
||||
}
|
||||
else if (data.code == -100)
|
||||
{
|
||||
alert(data.msg);
|
||||
location.href = '/us/login.html';
|
||||
}
|
||||
else
|
||||
alert(data.msg);
|
||||
|
||||
},
|
||||
});
|
||||
}
|
||||
</script>
|
||||
77
app/us/view/group/search.phtml
Executable file
77
app/us/view/group/search.phtml
Executable file
@@ -0,0 +1,77 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/search.css">
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
{include file="include/top-product" /}
|
||||
<!--top End-->
|
||||
<div class="S-search-bg banner-other nsea">
|
||||
<div class="swt-Container S-search-content secon1">
|
||||
<div class="S-Searchbox">
|
||||
<div class="Search">
|
||||
<input type="text" name="textfield" class="ipt" placeholder="HDD enclosure" id="search-in">
|
||||
<button type="submit" name="button" value="" class="searchbtn icon-search" id="search-btn"></button>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="sput">
|
||||
<input value="dfdff" placeholder="站内搜索" id="search-input" type="text">
|
||||
<a href="javascript:void(0);" id="search-button"><img src="/frontend/web/images/images/sea1.png"></a>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
|
||||
<script type="text/javascript">
|
||||
/*定位光标*/
|
||||
document.querySelector('#search-in').focus();
|
||||
|
||||
|
||||
$(function() {
|
||||
//
|
||||
$("#search-btn").bind("click", function(event) {
|
||||
var skeyword = $("#search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "<?php echo url('/us/search'); ?>?skeyword=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
$("#search-in").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);
|
||||
});
|
||||
//搜索框
|
||||
$(".Searchbox .icon").click(function() {
|
||||
$(".Search").slideToggle();
|
||||
});
|
||||
// 城市
|
||||
$(".zg").click(function() {
|
||||
$(".topnav").toggle();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
258
app/us/view/group/series_35.phtml
Executable file
258
app/us/view/group/series_35.phtml
Executable file
@@ -0,0 +1,258 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>35 Series External Hard Drive Enclosure_ORICO</title>
|
||||
<meta name="Keywords" content="Hard Drive Enclosure" />
|
||||
<meta name="Description" content="Hard Drive Enclosure" />
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/series35.css">
|
||||
|
||||
<body style="background-color:#f5f5f5;">
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/weben/images/series_35/banner.jpg">
|
||||
<!--<div class="position-a banner">
|
||||
<div class="swt-Container f-White padding-t-60">
|
||||
<div class="font-60 f_weight_400 margin-t-80 ">存储新贵<br>倾尽锋芒</div>
|
||||
<div class="font-32 margin-t-20vw f_weight_400 light_height_48">orico 35系列硬盘柜<br>——企业级</div>
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
<!--视频一-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<div class="video_subject">
|
||||
<div class="swt-Container f-black text-l">
|
||||
<div class="left">
|
||||
<p class="font-48 margin-t-50">The Ideal Storage Experience</p>
|
||||
<p class="font-16 margin-t-20vw">The 35 series changes the hard drive from a "lone Wolf" to a "Armed Squad", it giving more space to data storage. In order to cater diverse needs of consumers, 35 series provides multiple storage modes with personalization. It's not just a stack of hardware, we've poured all our care into polishing each part and combining them together to give the 35 series a high level of appearance and performance.</p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<video controls poster="" width="100%" src="" loop x-webkit-airplay="true" webkit-playsinline="true">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--365×24h-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/series35/series35_01.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="series35_right series35_mt">
|
||||
<div class="font-48 padding-t-8vw">365×24h Working</div>
|
||||
<div class="font-16 margin-t-30 padding-t-8vw">In view of the work characteristics of enterprise servers, the 35 series adopts engineering JMS578+JMB394 dual control scheme, which can adapt to continuous working condition, reduce heating while maintaining stable and excellent performance; It allow the hard drive can keep a high MTBF(Mean Time Between Failures) thus to ensure that the data of hard drive will not be damage.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--80TB海量存储-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/series35/series35_02.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="series35_two_right series35_mt">
|
||||
<div class="font-48 padding-t-8vw">Up to 80TB Capacity</div>
|
||||
<div class="font-16 margin-t-30 padding-t-8vw">With the growth demand of personal and enterprise data storage, it is increasingly important to have a method to solves massive data storage. In response to this situation, each bay of 35 series hard drive enclosure supports 16TB hard drive, combining 5-bay allows your computer to have extra 80TB large capacity, the ideal solution for both personal document and enterprise data storage.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="img-responsive f_weight_100 series05_three">
|
||||
<div class="swt-Container f-White">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/series35/series05_three_01.jpg">
|
||||
<div class="title font-32 text-c">Security Monitoring</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/series35/series05_three_02.jpg">
|
||||
<div class="title font-32 text-c">Video Editing</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/series35/series05_three_03.jpg">
|
||||
<div class="title font-32 text-c">Private Storage</div>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/web/images/series35/series05_three_04.jpg">
|
||||
<div class="title font-32 text-c">Sever Expansion</div>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div><!--来自螺丝钉的呵护-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/series35/series35_04.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="series35_four_right series35_mt">
|
||||
<div class="font-48 padding-t-8vw">Superior Protection</div>
|
||||
<div class="font-16 margin-t-30 padding-t-8vw">35 series hard drive enclosure adopts separate bracket design with fixed screws, to perfectly tighten the hard drive on the bracket without loosening or displacement, it greatly improve the stability and safety of data transmission, all the carefully installed screws are designed to give you a safe and carefree storage experience.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--时尚与沉稳的交织-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/series35/series35_05.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="series35_left series35_mt">
|
||||
<div class="font-48 padding-t-8vw">Soild and Stylish</div>
|
||||
<div class="font-16 margin-t-30 padding-t-8vw">The case is made of high-quality aluminum alloy, which has gone through 13 working process. It has skillfully blended practical technology and sophisticated design, the aluminum alloy tightly encloses the hard drive, giving it a stronger and safer space. The whole product is delicate and stylish with the dual color embellishment of dark gray and silver.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--8种RAID模式-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/series35/series35_06.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="series35_four_left">
|
||||
<div class="font-48">About RAID</div>
|
||||
<div class="margin-t-50"><img src="__PUBLIC__/weben/images/series_35/series35_06_content.png"></div>
|
||||
</div>
|
||||
<div class="series35_four_right">
|
||||
<div class="font-48 margin-t-80">Multiple RAID Modes</div>
|
||||
<div class="font-16 margin-t-30 padding-t-8vw">Support multiple disk array modes, including RAID 0, RAID 1, RAID 5, RAID 3, RAID 10, SPAN, Normal and CLONE, to meet the needs of various users and levels of data security.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--8种RAID模式-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<div class="series35_07">
|
||||
<div class="font-48 f-White text-c">5 Core Performance</div>
|
||||
<div class="swt-Container f-White series35_border text-c">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="font-32 position-r"><img src="__PUBLIC__/web/images/series35/2.png">Efficient Heat Dissipation</div>
|
||||
<div class="line_height"></div>
|
||||
<div class="font-16">Honeycomb heat dissipation holes with 80*80mm high-power silent fan, which provide excellent air circulation, thus to improve heat dissipation performance.</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="font-32 position-r"><img src="__PUBLIC__/web/images/series35/1.png">Strong Power Supply</div>
|
||||
<div class="line_height"></div>
|
||||
<div class="font-16">Built-in 150W power adapter, with strong power supply that provide more stable data exchange of large hard drive. Adopts multiple protection, including overcurrent protection, short-circuit protection, leakage protection, overheat protection and overvoltage protection.</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="font-32 position-r"><img src="__PUBLIC__/web/images/series35/3.png">Ultrafast Transmission</div>
|
||||
<div class="line_height"></div>
|
||||
<div class="font-16">USB3.0 interface with up to 5Gbps transfer rate, can reducing the data latency and enabling multi-task easily.</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="font-32 position-r"><img src="__PUBLIC__/web/images/series35/4.png">Auto-Sleep</div>
|
||||
<div class="line_height"></div>
|
||||
<div class="font-16">Enters sleep mode automatically after left unused for 10 minutes, energy-saving, it can prolong the service life of disk. </div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="font-32 position-r"><img src="__PUBLIC__/web/images/series35/5.png">Universal Compatibility</div>
|
||||
<div class="line_height"></div>
|
||||
<div class="font-16">Fits most of 2.5/3.5-inch SATA HDD and SSD, and compatibile with multiple systems includes Windows, Mac and Linux, plug and play.</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--产品列表-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<div class="series35_list subject_three_list">
|
||||
<ul>
|
||||
<li class="solid_blue">
|
||||
<a href="__ORICOROOT__/product/detail/7050.html"><img src="__PUBLIC__/web/images/series35/series35_eight_01.jpg"></a>
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">3529RU3</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/7050.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<a href="/product/detail/6767.html"><img src="__PUBLIC__/web/images/series35/series35_eight_02.jpg"></a>
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">3549RU3</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/7070.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<a href="/product/detail/6769.html"><img src="__PUBLIC__/web/images/series35/series35_eight_03.jpg"></a>
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">3559RU3</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/7072.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="solid_blue">
|
||||
<a href="__ORICOROOT__/product/detail/7049.html"><img src="__PUBLIC__/web/images/series35/series35_eight_04.jpg"></a>
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">3529U3</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/7049.html" class="subject_span" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<a href="/product/detail/6767.html"><img src="__PUBLIC__/web/images/series35/series35_eight_05.jpg"></a>
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">3549U3</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/7069.html" class="subject_span" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<a href="/product/detail/6769.html"><img src="__PUBLIC__/web/images/series35/series35_eight_06.jpg"></a>
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">3559U3</p>
|
||||
</div>
|
||||
<div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/7071.html" class="subject_span" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="charger_06_img_M img-responsive"><img src="__PUBLIC__/web/images/ssd/ssd_b.jpg"></div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
272
app/us/view/group/series_95.phtml
Executable file
272
app/us/view/group/series_95.phtml
Executable file
@@ -0,0 +1,272 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title> Our team may help you advance the realization of ideas</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/95_series.css">
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body style="background-color:#f2f2f2;">
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/95_series/banner.jpg">
|
||||
<div class="position-a banner">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="font-60 f_weight_400">More Capacity. Easier Storage.</div>
|
||||
<div class="font-32 margin-t-20vw f_weight_400">Ultimate Data Shelter . All-New Upgrade</div>
|
||||
<div class="font-18 margin-t-15vw">ORICO 95 Series External Hard Drive Enclosure Launches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频一-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/95_series/95_series_01.jpg">
|
||||
<div class="position-a ssd_video">
|
||||
<div class="swt-Container f-black text-l">
|
||||
<div class="left">
|
||||
<p class="font-60 margin-t-50 padding-t-60">More Capacity. Easier Storage. </p>
|
||||
<p class="font-18 margin-t-20vw">The ultimate in storage, upgraded. The larger storage space of the ORICO 95 Series external hard drive enclosure is designed to meet users’ urgent need for large storage capacity. Through its’ extraordinary performance proves that: “More Capacity. Easier Storage”.</p>
|
||||
</div>
|
||||
<div class="right img-responsive">
|
||||
<video controls poster="" width="100%" src="__PUBLIC__/web/images/95_series/video-en.mp4" loop="loop" x-webkit-airplay="true" webkit-playsinline="true">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--第三屏-->
|
||||
<div class="img-responsive position-r f_weight_100 series_95_three_all">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="font-60 text-c padding-t-60">The 5 Major Upgrade.</div>
|
||||
<div class="margin-t-50 series_95_three text-c">
|
||||
<ul class="two_list">
|
||||
<li>
|
||||
<p class="font-32"><img src="__PUBLIC__/web/images/95_series/icon_01.png">Cooling Upgrade</p>
|
||||
<p class="line margin-t-10vw"></p>
|
||||
<p class="margin-t-10vw">Honeycomb heat dissipation holes with high-power silent fan, which provide excellent air circulation, thus to improve heat dissipation performance.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="font-32"><img src="__PUBLIC__/web/images/95_series/icon_02.png">Security Upgrade</p>
|
||||
<p class="line margin-t-10vw"></p>
|
||||
<p class="margin-t-10vw">Unibody aluminum alloy body, up to 4mm thick, extruded aluminum case which is hard to deform, with independent safety lock, to avoid disk damage caused by accidental falling down.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="three_list">
|
||||
<li>
|
||||
<p class="font-32"><img src="__PUBLIC__/web/images/95_series/icon_03.png">Power Upgrade</p>
|
||||
<p class="line margin-t-10vw"></p>
|
||||
<p class="margin-t-10vw">Built-in 150W power adapter, with strong power supply that provide more stable data exchange and secure data transmission.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="font-32"><img src="__PUBLIC__/web/images/95_series/icon_04.png">Speed Upgrade</p>
|
||||
<p class="line margin-t-10vw"></p>
|
||||
<p class="margin-t-10vw">Adopts SATA 3.0 TO USB3.0 bridge scheme, with UASP protocol, support theoretical transfer rate up to 5Gbps, easily transfer large files. </p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="font-32"><img src="__PUBLIC__/web/images/95_series/icon_05.png">Performance Upgrade</p>
|
||||
<p class="line margin-t-10vw"></p>
|
||||
<p class="margin-t-10vw">Adopts JMS578+JMB575 dual control chip, improve the safety and stability of data storage and transferring. </p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--RAID版本-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/95_series/95_series_03.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="series_95_right series_95_mt">
|
||||
<div class="font-60 padding-t-8vw">RAID Version</div>
|
||||
<div class="font-18 margin-t-30 padding-t-8vw">On the basis of the regular version, 95 series has added RAID function, which provides 4/7 types of RAID mode. It can operate with RAID 0, 1, 3, 5, 10, as well as normal and large array modes for all your storage needs, whether it's in the pursuit of a high-speed, large capacity storage, or in the security of data, 95 series with RAID will bring you unexpected experience.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--精雕细琢,更见匠心-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/95_series/95_series_04.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="series_95_left series_95_mt">
|
||||
<div class="font-60 padding-t-8vw">Always Pursuing Better</div>
|
||||
<div class="font-18 margin-t-30 padding-t-8vw des">Product managers at ORICO are obsessed with the appearance design of their products and strive to make them eye-catching. The whole series is forged by aluminum alloy with high quality, matched with sand-blasting anodizing process to highlight the metal quality. Pure color design with black and silver, delicate and stylish.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--适用更多场景-->
|
||||
<div class="img-responsive f_weight_100 overflow-f">
|
||||
<div class="swt-Container f-black text-c padding-t-60">
|
||||
<div class="font-60">Various Applications</div>
|
||||
<div class="series_95_05_text font-18 margin-t-15vw padding-t-5vw">95 Series Hard Drive Enclosure supports 16TB hard drive, combining 5-bay can provide a 80Tb large capacity, which applicable to various applications from work to life, and bring you excellent storage experience.</div>
|
||||
<div class="series_95_05 margin-t-20vw f-White">
|
||||
<div class="left position-r">
|
||||
<img src="__PUBLIC__/web/images/95_series/01.jpg">
|
||||
<div class="position-a text text-c">
|
||||
<div class="font-32 title">
|
||||
<p>Enterprise/Private Storage</p>
|
||||
<p class="line"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<ul>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/95_series/02.jpg">
|
||||
<div class="position-a text text-c">
|
||||
<div class="font-32 title">
|
||||
<p>Sever Expansion</p>
|
||||
<p class="line"></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/95_series/03.jpg">
|
||||
<div class="position-a text text-c">
|
||||
<div class="font-32 title">
|
||||
<p>Cloud Storage</p>
|
||||
<p class="line"></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/95_series/04.jpg">
|
||||
<div class="position-a text text-c">
|
||||
<div class="font-32 title">
|
||||
<p>Security Monitoring</p>
|
||||
<p class="line"></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/95_series/05.jpg">
|
||||
<div class="position-a text text-c">
|
||||
<div class="font-32 title">
|
||||
<p>HD Video Transcoding</p>
|
||||
<p class="line"></p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--95系列产品-->
|
||||
<div class="img-responsive f_weight_100">
|
||||
<div class="swt-Container f-black text-c margin-t-20vw overflow-f">
|
||||
<div class="font-60">Choose Your Preference?</div>
|
||||
<div class="font-32 margin-t-20vw">95U3 Series</div>
|
||||
<div class="subject_four_list margin-t-20vw overflow-f padding-b-30">
|
||||
<ul>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_01.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9518 Hard Drive Enclosure</p>
|
||||
</div>
|
||||
<!-- <div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/6770.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div> -->
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_02.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9528 Hard Drive Enclosure</p>
|
||||
</div>
|
||||
<!-- <div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/6762.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div> -->
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_03.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9548 Hard Drive Enclosure</p>
|
||||
</div>
|
||||
<!-- <div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/6764.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div> -->
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_04.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9558 Hard Drive Enclosure</p>
|
||||
</div>
|
||||
<!-- <div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/6775.html" class="subject_span" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div> -->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swt-Container f-black text-c overflow-f">
|
||||
<div class="font-32 margin-t-20vw">95RU3 Series</div>
|
||||
<div class="subject_four_list margin-t-20vw padding-b-30 margin-b-30vw overflow-f">
|
||||
<ul>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_05.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9528 RAID Enclosure</p>
|
||||
</div>
|
||||
<!-- <div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/6772.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div> -->
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_06.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9548 RAID Enclosure</p>
|
||||
</div>
|
||||
<!-- <div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/6773.html" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div> -->
|
||||
</li>
|
||||
<li class="solid_blue">
|
||||
<img src="__PUBLIC__/web/images/95_series/product_07.jpg">
|
||||
<div class="position-a position-a-w text-c">
|
||||
<p class="margin-t-20vw padding-t-5vw font-24">9558 RAID Enclosure</p>
|
||||
</div>
|
||||
<!-- <div class="subject_Popup_buy computer">
|
||||
<div class="subject_Popup_button">
|
||||
<a href="__ORICOROOT__/product/detail/6774.html" class="subject_span" target="_blank">Learn More</a>
|
||||
</div>
|
||||
</div> -->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="charger_06_img_M img-responsive"><img src="__PUBLIC__/web/images/ssd/ssd_b.jpg"></div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
|
||||
</html>
|
||||
142
app/us/view/group/special.phtml
Executable file
142
app/us/view/group/special.phtml
Executable file
@@ -0,0 +1,142 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>ORICO Transparent Series</title>
|
||||
<link href="__PUBLIC__/weben/css/subject/specil_new.css" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body style="background: #b5b5b5;">
|
||||
<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" /}
|
||||
<!--top End-->
|
||||
<!--banner-->
|
||||
<div class="position-r">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/banner.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container">
|
||||
<p class="banner-title img-responsive"><img src="__PUBLIC__/web/images/special/banner-title-en.png"></p>
|
||||
<p class="font-36 f-White text-c">We make technology products that perfect your life details.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第一屏-->
|
||||
<div class="special_01">
|
||||
<div class="content f-black">
|
||||
<div class="swt-Container text-c">
|
||||
<p><span><img src="__PUBLIC__/web/images/special/fly.png"></span></p>
|
||||
<p class="font-24">We’ll make unremitting efforts to provide you a better life with concise and comfort.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第二屏-->
|
||||
<div class="position-r">
|
||||
<a href="__ORICOROOT__/Group/transparent.html" class="f-White">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/1.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_02">
|
||||
<p class="special_small_title">ORICO Transparent Series</p>
|
||||
<p class="special_title">See The Performance Inside-Out </p>
|
||||
<p class="special_text">Crystal-clean body with high-performance chip, all confidence in technology. </p>
|
||||
<p class="special_button">Learn More </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="special_num special_num_r">01</div>
|
||||
</div>
|
||||
<!--第三屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<a href="__ORICOROOT__/Group/ssd.html" class="f-White">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/2.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_03">
|
||||
<p class="special_small_title">ORICO Troodon SSD Series</p>
|
||||
<p class="special_title"> Dominate With Furious Speed </p>
|
||||
<p class="special_text">Ultimate performance, designed to bring real speed for laptop/desk top user, easily process multitasking, take control of your game. </p>
|
||||
<p class="special_button">Learn More </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="special_num special_num_l">02</div> </div>
|
||||
<!--第四屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<a href="__ORICOROOT__/Group/series_95.html" class="f-White">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/3.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_04">
|
||||
<p class="special_small_title">95 Series Hard Drive Enclosure</p>
|
||||
<p class="special_title">Enhance the Safety of Your Data</p>
|
||||
<p class="special_text">Up to 5Gbps transfer rate, easily accommodate 16TB large capacity hard disk, anodized aluminum alloy case, with safety lock, silent heat dissipation and tool-free installation. It is the optimal choice of data storage for you.</p>
|
||||
<p class="special_button">Learn More </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="special_num special_num_r">03</div>
|
||||
</div>
|
||||
|
||||
<!--第五屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<a href="__ORICOROOT__/Group/thunderbolt_3" class="f-White">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/4.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_05">
|
||||
<p class="special_small_title">Thunderbolt 3 Storage + Expansion</p>
|
||||
<p class="special_title">The Power of Thunderbolt™ 3</p>
|
||||
<p class="special_text">Excellent Intel chip is here to quench your thirst for state-of-the-art technology, Thunderbolt 3 storage supports 2TB expansion, delivers up to 40 Gbps transfer speed with stable thermal management. And the Thunderbolt 3 expansion provide 8-in-1 expansion which can meet a variety of functional requirement. Let’s enjoy the real lightning speed from work to life with Thunderbolt 3.</p>
|
||||
<p class="special_button">Learn More </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="special_num special_num_l">04</div>
|
||||
</div>
|
||||
<!--第六屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<a href="__ORICOROOT__/Group/stripe" class="f-White">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/5.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_06">
|
||||
<p class="special_small_title">Pick Up Your Favorite Stripe</p>
|
||||
<p class="special_title">The Stripe Collection </p>
|
||||
<p class="special_text">Adopts stripe elements, perfect combination of shock and skid resistance, exquisite and delicate, enrich your life.</p>
|
||||
<p class="special_button">Learn More </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="special_num special_num_r">05</div>
|
||||
</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body></body>
|
||||
</html>
|
||||
133
app/us/view/group/special20191213.phtml
Executable file
133
app/us/view/group/special20191213.phtml
Executable file
@@ -0,0 +1,133 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{include file="include/head" /}
|
||||
<meta charset="UTF-8">
|
||||
<title>ORICO Transparent Series</title>
|
||||
<link href="__PUBLIC__/weben/css/subject/specil_new.css" rel="stylesheet" type="text/css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body style="background: #b5b5b5;">
|
||||
<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" /}
|
||||
<!--top End-->
|
||||
<!--banner-->
|
||||
<div class="position-r">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/banner.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container">
|
||||
<p class="banner-title img-responsive"><img src="__PUBLIC__/web/images/special/banner-title-en.png"></p>
|
||||
<p class="font-36 f-White text-c">We make technology products that perfect your life details.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第一屏-->
|
||||
<div class="special_01">
|
||||
<div class="content f-black">
|
||||
<div class="swt-Container text-c">
|
||||
<p><span><img src="__PUBLIC__/web/images/special/fly.png"></span></p>
|
||||
<p class="font-24">We’ll make unremitting efforts to provide you a better life with concise and comfort.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--第二屏-->
|
||||
<div class="position-r">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/1.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_02">
|
||||
<p class="special_small_title">ORICO Transparent Series</p>
|
||||
<p class="special_title">See The Performance Inside-Out </p>
|
||||
<p class="special_text">Crystal-clean body with high-performance chip, all confidence in technology. </p>
|
||||
<a href="__ORICOROOT__/Group/transparent.html" class="f-White"><p class="special_button">Learn More </p></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="special_num special_num_r">01</div>
|
||||
</div>
|
||||
<!--第三屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/2.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_03">
|
||||
<p class="special_small_title">ORICO Troodon SSD Series</p>
|
||||
<p class="special_title"> Dominate With Furious Speed </p>
|
||||
<p class="special_text">Ultimate performance, designed to bring real speed for laptop/desk top user, easily process multitasking, take control of your game. </p>
|
||||
<a href="__ORICOROOT__/Group/ssd.html" class="f-White"><p class="special_button">Learn More </p></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="special_num special_num_l">02</div> </div>
|
||||
<!--第四屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/3.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_04">
|
||||
<p class="special_small_title">95 Series Hard Drive Enclosure</p>
|
||||
<p class="special_title">Enhance the Safety of Your Data</p>
|
||||
<p class="special_text">Up to 5Gbps transfer rate, easily accommodate 16TB large capacity hard disk, anodized aluminum alloy case, with safety lock, silent heat dissipation and tool-free installation. It is the optimal choice of data storage for you.</p>
|
||||
<a href="__ORICOROOT__/Group/series_95.html" class="f-White"><p class="special_button">Learn More </p></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="special_num special_num_r">03</div>
|
||||
</div>
|
||||
|
||||
<!--第五屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/4.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_05">
|
||||
<p class="special_small_title">Thunderbolt 3 Storage + Expansion</p>
|
||||
<p class="special_title">The Power of Thunderbolt™ 3</p>
|
||||
<p class="special_text">Excellent Intel chip is here to quench your thirst for state-of-the-art technology, Thunderbolt 3 storage supports 2TB expansion, delivers up to 40 Gbps transfer speed with stable thermal management. And the Thunderbolt 3 expansion provide 8-in-1 expansion which can meet a variety of functional requirement. Let’s enjoy the real lightning speed from work to life with Thunderbolt 3.</p>
|
||||
<a href="__ORICOROOT__/Group/thunderbolt_3" class="f-White"><p class="special_button">Learn More </p></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="special_num special_num_l">04</div>
|
||||
</div>
|
||||
<!--第六屏-->
|
||||
<div class="position-r margin-t-10vw">
|
||||
<div class="Swt-Banner">
|
||||
<img src="__PUBLIC__/web/images/special/5.jpg">
|
||||
</div>
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="special_06">
|
||||
<p class="special_small_title">Pick Up Your Favorite Stripe</p>
|
||||
<p class="special_title">The Stripe Collection </p>
|
||||
<p class="special_text">Adopts stripe elements, perfect combination of shock and skid resistance, exquisite and delicate, enrich your life.</p>
|
||||
<a href="__ORICOROOT__/Group/stripe" class="f-White"><p class="special_button">Learn More </p></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="special_num special_num_r">05</div>
|
||||
</div>
|
||||
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body></body>
|
||||
</html>
|
||||
372
app/us/view/group/ssd.phtml
Executable file
372
app/us/view/group/ssd.phtml
Executable file
@@ -0,0 +1,372 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Troodon Series</title>
|
||||
<meta name="Keywords" content="SSD" />
|
||||
<meta name="Description" content="SSD" />
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/ssd.css">
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/banner01.jpg">
|
||||
<div class="position-a ssd_banner">
|
||||
<div class="swt-Container f-White text-c">
|
||||
<div class="font-28">Troodon Series Solid State Drive</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">Unfathomable Performance · Drive at Furious Speed </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--视频一-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/video_bg.jpg">
|
||||
<div class="position-a ssd_video">
|
||||
<div class="swt-Container f-black text-l">
|
||||
<div class="left">
|
||||
<p class="font-20 f-gray margin-t-20vw">New Generation -3D NAND TECHNOLOGY</p>
|
||||
<p class="font-48 f-black margin-t-10vw f_weight_400">Boosted Storage Density<br>Enhanced Performance</p>
|
||||
<p class="font-16 margin-t-66">The whole series of ORICO Troodon solid-state drives are powered by 3D NAND flash, and the storage density is higher than traditional 2D flash. Reached the high level of storage density in the industry, and greatly enhancing the transmission performance, making it easy to process a large amount of stored data.</p>
|
||||
</div>
|
||||
<div class="right">
|
||||
<video controls="" poster="" src="__PUBLIC__/weben/images/ssd/external_ssd.mp4" width="100%">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--SN100/SV100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/SN100_SV100.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right padding-t-80">
|
||||
<div class="font-24">Troodon- Armor Series SN100/SV100</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">All it Protect is Memory</div>
|
||||
<div class="font-24 margin-t-20vw">- External Mobile SSD </div>
|
||||
<div class="font-16 margin-t-30">Troodon Armor Series adopts double protection of aluminum alloy case and silicon protector, this makes it stands up to shock, splashes, spills and dusts, and it also provide 4 optional capacity includes 128G/256G/512G/1TB.
|
||||
With Speed 1.0 version and Speed 2.0 version, SN100 internal NGFF SSD delivers high-speed transfer with up to 540MB/s read speeds; SV100 internal NVMe SSD can delivers super-speed transfer with up to 940MB/s read speeds. Both of SN100 and SV100 are supports to UASP+TRIM dual protocol, high-performance of transferring. Compatible with Type-C devices like cell phone and PCs, made for the outdoors.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/5455.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--FV300/GV100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/FV300_GV100.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left padding-t-80">
|
||||
<div class="font-24">Troodon- Wing Series FV100/GV100</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">Light. Compact. Fast.</div>
|
||||
<div class="font-24 margin-t-20vw">- External Mobile SSD </div>
|
||||
<div class="font-16 margin-t-30">Troodon Wing Series, ultra-compact and portable, it just fit in your pocket, built to go wherever you go. Built-in NVMe superspeed solid state drive, which provide 940MB/s sequential reads, transferring 1G large files in a flash.
|
||||
Equipped with two data cable of A-to-C port and C-to-C port, it supports the selection of four capacity versions, and can be compatible with mobile phone, computer, TV and other devices to expansion, creating the portable database.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/5491.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--BH100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/BH100.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right padding-t-80">
|
||||
<div class="font-24">Troodon- Shield Series BH100/BM200/BV300</div>
|
||||
<div class="font-48 padding-t-8vw f_weight_400">Designed to Stable. Built to Rugged. </div>
|
||||
<div class="font-24 margin-t-20vw">- External Mobile SSD </div>
|
||||
<div class="font-16 margin-t-30">Troodon Shield Series is made of high-quality aluminum alloy + CNC technology, which help to maintain the stability of heat dissipation during the high-speed data transferring, help to transfer large files steadily and smoothly. It has two versions of highspeed and superspeed, embedded with self-encapsulated 3D NAND flash particles, it can process big data at incredible speed and be compatible with various office devices.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/5501.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--SSD外置产品-->
|
||||
<div class="img-responsive ssd_08 f_weight_100">
|
||||
<div class="swt-Container f-black text-c padding-t-60">
|
||||
<div class="font-48 f_weight_400">Complement Your Storage Experience</div>
|
||||
<div class="margin-t-15vw font-30"><i>See All The Portable SSD > </i></div>
|
||||
<div class="margin-t-66 ssd_p_three padding-t-8vw ">
|
||||
<ul class="padding-b-80">
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_01.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Armor Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO SN100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5455.html">Learn More</a>
|
||||
</div> -->
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_02.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Armor Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO SV100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5456.html">Learn More</a>
|
||||
</div> -->
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_03.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Wing Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO FV300</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5491.html">Learn More</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_04.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Shield Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO BH100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5501.html">Learn More</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_05.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Shield Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO BM200</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5506.html">Learn More</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_06.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Shield Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO BV300</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5507.html">Learn More</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_three_07.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-30">Troodon- Wing Series </p>
|
||||
<p class="font-24 padding-t-8vw">ORICO GV100</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/5508.html">Learn More</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--视频-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_02.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="f-White text-c ssd_02">
|
||||
<div class="font-48 margin-t-90 padding-t-5vw">ORICO’s Ten Years Experience in Storage</div>
|
||||
<div class="margin-t-30 font-24">The Excellent SSD Solution You Never Had</div>
|
||||
<div class="font-16 margin-t-30 ssd_02_des">ORICO’s SSD has achieved a strong presence in personal consumption storage through its rapidly program response, quick data processing and stable flash.</div>
|
||||
<video controls="" poster="" src="__PUBLIC__/weben/images/ssd/ssd_video.mp4" class="margin-t-20vw" width="100%">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--H100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_03.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left margin-t-90">
|
||||
<div class="font-18">Troodon in Armor H100</div>
|
||||
<div class="font-48 padding-t-8vw">Cool down<br>Speed Up</div>
|
||||
<div class="font-24 margin-t-66">- SATA3.0 protocol, the SSD you better choose.</div>
|
||||
<div class="font-16 margin-t-30">Silver Troodon H100 adopts SATA3.0 protocol, up to 6Gbps data transferrin, 550MB/s sequential read and 510 MB/s sequential write, with 2.5-inch aluminum alloy case which provide steady heat dissipation at high speed transmission. </div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/4113.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--M200-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_04.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right margin-t-90">
|
||||
<div class="font-18">Troodon M200 </div>
|
||||
<div class="font-48 padding-t-8vw">No Delay<br>Exceptional Responsivity</div>
|
||||
<div class="font-24 margin-t-66">- mSATA interface, born for the notebook.</div>
|
||||
<div class="font-16 margin-t-30">Troodon M200 adopts 3D flash particles that allow to processing data rapidly, it has low-delay and SATA3.0 protocol, be equipped with excellent transmission performance; Compact and lightweight, compatible with most of mSATA interface notebook.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/4116.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--N300-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_05.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left margin-t-90">
|
||||
<div class="font-18">Troodon N300 </div>
|
||||
<div class="font-48 padding-t-8vw">SSD Master<br>Always Evolving Performance</div>
|
||||
<div class="font-24 margin-t-66">- Enhanced LDPC algorithm, less loading time.</div>
|
||||
<div class="font-16 margin-t-30">The next advancement in NVMe SSDs. Troodon series with advanced control chip, LDPC error correction, DevSleep power-saving tech, Trim SSD optimize instruction and NCQ intelligent queue management, further improving the performance and service life of SSD.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/4095.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--V500-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_06.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right margin-t-90">
|
||||
<div class="font-18">Troodon V500</div>
|
||||
<div class="font-48 padding-t-8vw">Dominate the E-Sport with Ferocious Speed</div>
|
||||
<div class="font-24 margin-t-66">- PCI-E ×4, approximately four times faster than the traditional SSD.</div>
|
||||
<div class="font-16 margin-t-30">Experience the best. ORICO Troodon V500 combines the M.2 interface, with the NVMe protocol SSD and PCI-E Gen3.0x4 to deliver ultimate performance; Up to 2000 MB/s sequential reads and 1500 MB/s sequential writes. Approximately four times faster than the traditional SSD, built to be professional.</div>
|
||||
<!-- <a href="__ORICOROOT__/product/detail/4098.html"><div class="ssd_button f-black font-24 margin-t-66">Learn More > </div></a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--产品-->
|
||||
<div class="img-responsive ssd_08 f_weight_100">
|
||||
<div class="swt-Container f-black text-c padding-t-60">
|
||||
<div class="font-48">Complement Your Sense of Style</div>
|
||||
<div class="margin-t-15vw font-24"><i>SEE ALL THE SSD></i></div>
|
||||
<div class="ssd_p margin-t-66 padding-t-8vw ">
|
||||
<ul class="padding-b-80">
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_01.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon in Armor H100</p>
|
||||
<p class="font-20 f-gray">SATA3.0 SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4113.html">View details</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_02.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon M200 </p>
|
||||
<p class="font-20 f-gray">MSATA SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4116.html">View details</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_03.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon N300 </p>
|
||||
<p class="font-20 f-gray">M.2 (NGFF) SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4095.html">View details</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_04.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon V500</p>
|
||||
<p class="font-20 f-gray">M.2 NVMe SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span class="c_span">128 GB</span>
|
||||
<span class="c_span">256 GB</span>
|
||||
<span class="c_span">512 GB</span>
|
||||
<span class="c_span">1 TB</span>
|
||||
<!-- <div class="ssd_buy_button">
|
||||
<a href="__ORICOROOT__/product/detail/4098.html">View details</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="charger_06_img_M img-responsive"><img src="__PUBLIC__/web/images/ssd/ssd_b.jpg"></div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
203
app/us/view/group/ssd20190906.phtml
Executable file
203
app/us/view/group/ssd20190906.phtml
Executable file
@@ -0,0 +1,203 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Troodon Series</title>
|
||||
<meta name="Keywords" content="SSD" />
|
||||
<meta name="Description" content="SSD" />
|
||||
{include file="include/head" /}
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/subject/ssd.css">
|
||||
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
{include file="include/top" /}
|
||||
{include file="include/top-header" /}
|
||||
</div>
|
||||
</header>
|
||||
<!--top End-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/banner01.jpg">
|
||||
<div class="position-a ssd_banner">
|
||||
<div class="swt-Container f-White">
|
||||
<div class="ssd_left margin-t-90">
|
||||
<div class="font-28">Troodon Series Solid State Drive</div>
|
||||
<div class="font-90 padding-t-8vw">Unfathomable Performance<br>Drive at Furious Speed</div>
|
||||
<div class="ssd_button f-black font-30 margin-t-66">Learn More > </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--视频-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_02.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="f-White text-c ssd_02">
|
||||
<div class="font-48 margin-t-50 padding-t-5vw">ORICO’s Ten Years Experience in Storage</div>
|
||||
<div class="margin-t-30 font-24">The Excellent SSD Solution You Never Had</div>
|
||||
<div class="font-20 margin-t-30 ssd_02_des">ORICO’s SSD has achieved a strong presence in personal consumption storage through its rapidly program response, quick data processing and stable flash.</div>
|
||||
<video controls="" poster="" src="__PUBLIC__/weben/images/ssd/ssd_video.mp4" class="margin-t-20vw" width="100%">
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--H100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_03.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left margin-t-90">
|
||||
<div class="font-18">Troodon in Armor H100</div>
|
||||
<div class="font-48 padding-t-8vw">Cool down<br>Speed Up</div>
|
||||
<div class="font-24 margin-t-66">- SATA3.0 protocol, the SSD you better choose.</div>
|
||||
<div class="font-20 margin-t-30">Silver Troodon H100 adopts SATA3.0 protocol, up to 6Gbps data transferrin, 550MB/s sequential read and 510 MB/s sequential write, with 2.5-inch aluminum alloy case which provide steady heat dissipation at high speed transmission. </div>
|
||||
<div class="ssd_button f-black font-24 margin-t-66">Learn More > </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--M100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_04.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right margin-t-90">
|
||||
<div class="font-18">Troodon M200 </div>
|
||||
<div class="font-48 padding-t-8vw">No Delay<br>Exceptional Responsivity</div>
|
||||
<div class="font-24 margin-t-66">- mSATA interface, born for the notebook.</div>
|
||||
<div class="font-20 margin-t-30">Troodon M200 adopts 3D flash particles that allow to processing data rapidly, it has low-delay and SATA3.0 protocol, be equipped with excellent transmission performance; Compact and lightweight, compatible with most of mSATA interface notebook.</div>
|
||||
<div class="ssd_button f-black font-24 margin-t-66">Learn More > </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--H100-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_05.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_left margin-t-90">
|
||||
<div class="font-18">Troodon N300 </div>
|
||||
<div class="font-48 padding-t-8vw">SSD Master<br>Always Evolving Performance</div>
|
||||
<div class="font-24 margin-t-66">- Enhanced LDPC algorithm, less loading time.</div>
|
||||
<div class="font-20 margin-t-30">The next advancement in NVMe SSDs. Troodon series with advanced control chip, LDPC error correction, DevSleep power-saving tech, Trim SSD optimize instruction and NCQ intelligent queue management, further improving the performance and service life of SSD.</div>
|
||||
<div class="ssd_button f-black font-24 margin-t-66">Learn More > </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--V500-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_06.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="swt-Container f-White ">
|
||||
<div class="ssd_right margin-t-90">
|
||||
<div class="font-18">Troodon V500</div>
|
||||
<div class="font-48 padding-t-8vw">Dominate the E-Sport with Ferocious Speed</div>
|
||||
<div class="font-24 margin-t-66">- PCI-E ×4, approximately four times faster than the traditional SSD.</div>
|
||||
<div class="font-20 margin-t-30">Experience the best. ORICO Troodon V500 combines the M.2 interface, with the NVMe protocol SSD and PCI-E Gen3.0x4 to deliver ultimate performance; Up to 2000 MB/s sequential reads and 1500 MB/s sequential writes. Approximately four times faster than the traditional SSD, built to be professional.</div>
|
||||
<div class="ssd_button f-black font-24 margin-t-66">Learn More > </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--新一代-->
|
||||
<div class="img-responsive position-r f_weight_100">
|
||||
<img src="__PUBLIC__/web/images/ssd/ssd_07.jpg">
|
||||
<div class="position-a position-a-w">
|
||||
<div class="f-White text-c padding-t-80 ssd_02">
|
||||
<div class="font-48">New Generation -3D NAND TECHNOLOGY</div>
|
||||
<div class="margin-t-30 font-24">Boosted Storage Density, Enhanced Performance</div>
|
||||
<div class="font-20 margin-t-30 ssd_02_des">The whole series of ORICO Troodon solid-state drives are powered by 3D NAND flash, and the storage density is higher than traditional 2D flash. Reaching the high level of storage density in the industry, the P/E life, durability and transmission performance have been greatly enhanced, making it easy to process a large amount of stored data.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--产品-->
|
||||
<div class="img-responsive ssd_08 f_weight_100">
|
||||
<div class="swt-Container f-black text-c padding-t-80">
|
||||
<div class="font-48">Complement Your Sense of Style</div>
|
||||
<div class="margin-t-15vw font-24"><i>SEE ALL THE SSD></i></div>
|
||||
<div class="padding-t-48vw ssd_p">
|
||||
<ul class="padding-b-150">
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_01.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon in Armor H100</p>
|
||||
<p class="font-20 f-gray">SATA3.0 SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span>128 GB</span>
|
||||
<span>256 GB</span>
|
||||
<span>512 GB</span>
|
||||
<span>1 TB</span>
|
||||
</div>
|
||||
<div class="ssd_buy_button position-a">
|
||||
<span class="subject_span">Amazon</span>
|
||||
<span class="subject_span">eBay</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_02.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon M200 </p>
|
||||
<p class="font-20 f-gray">MSATA SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span>128 GB</span>
|
||||
<span>256 GB</span>
|
||||
<span>512 GB</span>
|
||||
<span>1 TB</span>
|
||||
</div>
|
||||
<div class="ssd_buy_button position-a">
|
||||
<span class="subject_span">Amazon</span>
|
||||
<span class="subject_span">eBay</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_03.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon N300 </p>
|
||||
<p class="font-20 f-gray">M.2 (NGFF) SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span>128 GB</span>
|
||||
<span>256 GB</span>
|
||||
<span>512 GB</span>
|
||||
<span>1 TB</span>
|
||||
</div>
|
||||
<div class="ssd_buy_button position-a">
|
||||
<span class="subject_span">Amazon</span>
|
||||
<span class="subject_span">eBay</span>
|
||||
</div>
|
||||
</li>
|
||||
<li class="position-r">
|
||||
<img src="__PUBLIC__/web/images/ssd/p_04.jpg">
|
||||
<div class="title position-a f-black">
|
||||
<p class="font-28">Troodon V500</p>
|
||||
<p class="font-20 f-gray">M.2 NVMe SSD</p>
|
||||
</div>
|
||||
<div class="capacity position-a f-l-gray">
|
||||
<span>128 GB</span>
|
||||
<span>256 GB</span>
|
||||
<span>512 GB</span>
|
||||
<span>1 TB</span>
|
||||
</div>
|
||||
<div class="ssd_buy_button position-a">
|
||||
<span class="subject_span">Amazon</span>
|
||||
<span class="subject_span">eBay</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="charger_06_img_M img-responsive"><img src="__PUBLIC__/web/images/ssd/ssd_b.jpg"></div>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user