Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/www.85520057.com/func.php:230) in /www/wwwroot/www.85520057.com/js.php on line 27
//=== viewid:dh_style_28_1608866904035,dh_style_28_1597981036631 ===//
/*pc,手机显示隐藏*/
function is_mobiles(){
return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767);
}
var is_mobiles_boolean = is_mobiles();
$(function(){
/*pc,手机显示隐藏*/
})
//=== viewid:dh_style_28_1597981036631 ===//
function navSwtich(obj) {
$(obj).siblings(".menuUlCopy").slideToggle(200);
$(obj).toggleClass('ontoggle');
$(obj).parent().siblings().find(".menuUlCopy").slideUp(200);
$(obj).parent().siblings().find(".fa-angle-down").removeClass('ontoggle');
}
function subLeft_dh_style_28_1597981036631(){
$("#dh_style_28_1597981036631 .menuUl>li").each(function(){
$(this).find(".menuUl03").css("left",'100%');
})
}
$(window).resize(function() {
subLeft_dh_style_28_1597981036631();
})
$(function(){
$("#dh_style_28_1597981036631 .fa-navicon").click(function(){
$("#dh_style_28_1597981036631").addClass('clearTransform');
$("#dh_style_28_1597981036631 .menuUlCopy").each(function(){
$(this).siblings(".fa").show();
})
})
subLeft_dh_style_28_1597981036631();
$("#dh_style_28_1597981036631 .subBox").css("top",$("#dh_style_28_1597981036631 .menuUl_box").height());
if($("#dh_style_28_1597981036631 .menuUl").hasClass("noHover")){
var tabNum = 0;
$("#dh_style_28_1597981036631 .menuUl>li").find(".Onsub").each(function(){
tabNum += 1;
$(this).parent().attr("tabNum",tabNum)
})
$("#dh_style_28_1597981036631 .menuUl>li .Onsub").mouseover(function(){
$("#dh_style_28_1597981036631 .subBox").show();
var index = $(this).parent().attr("tabNum");
$("#dh_style_28_1597981036631 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide();
$("#dh_style_28_1597981036631 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide();
})
$("#dh_style_28_1597981036631 .subBox").mouseleave(function(){
$(this).hide();
});
$("#dh_style_28_1597981036631 .menuUl>li .Nosub").mouseover(function(){
$("#dh_style_28_1597981036631 .subBox").hide();
})
//风格41 42
}
})
//=== viewid:searchbox_style_01_1600859707801 ===//
function goUrl(formname){
var url = "http://www.baidu.com/baidu";
if (formname.si.value!=""){
formname.ct.value = "2097152";
}
else {
formname.ct.value = "0";
}
formname.action = url;
return true;
}
//=== viewid:lang_style_1_1600933430080,newsKind_style_01_1601115823948 ===//
$(document).ready(function(){
});
//=== viewid:newsDetail_style_01_1506318095542 ===//
// var content_div = '';
// var show_div = '';
// var flag="";
// var lang="";
// var show_style="";
// var page_length = "";
var content_length = 0;
var page_num = 1;
var start_flag = 0;
var end_flag = 0;
var content_arr = '';
// var total_lenth = 0;
// var page_count = 0;
function getPage(hideNewsContent) {
if(flag == 2){
var content = $(hideNewsContent).html();
content_arr = content.split(/
]*>/);
page_count = content_arr.length;
}
else{
total_lenth = $(hideNewsContent).text().trim().length;
page_count = Math.ceil(total_lenth / page_length);
content_arr = $(hideNewsContent).html();
}
$(hideNewsContent).empty();
}
function goto(page,newsText,view_id,obj='', showAllText = '') {
if(obj && !newsText && !view_id){
view_id = $(obj).parents('.newsDetail').attr("id");
newsText = '#'+view_id+' .newsText.contSet';
}
if(page != -1 && !is_login && need_check_login == 1){
checkLogin();
}
if(page == -1 || is_login || need_check_login == 0){
content_length = 0;
start_flag = 0;
end_flag = 0;
if(page < 1) page_num = 1;
else if(page > page_count) page_num = page_count;
else page_num = page;
if(flag == 1){
$(newsText).html(content_arr);
getChildren(newsText);
}
else{
$(newsText).html(content_arr[page_num - 1]);
}
pagebutton(newsText, view_id, showAllText);
if(page != -1){
location.href = newsText;
}
setDivHeight(newsText)
}
}
function getChildren(el) {
var child = $(el).children();
if(child.length > 0){
child.each(function () {
if(end_flag == 1) return false;
content += $(this).contents().filter(function() {
return this.nodeType === 3;
}).text();
content_length += $(this).contents().filter(function() {
return this.nodeType === 3;
}).text().length;
//获取上一页结尾
if(start_flag == 0 && content_length >= (page_num - 1) * page_length){
var parents = $(this).parentsUntil(el);
start_flag = 1;
var need_length = content_length - ((page_num - 1) * page_length);
//将当前页开头到上一页结尾为止多出来的内容去掉
if(need_length > 0){
var now_html = $(this).html();
var now_text_length = $(this).contents().filter(function() {
return this.nodeType === 3;
}).text().length;
now_html = now_html.substring(now_text_length - need_length, now_html.length);
$(this).html(now_html);
}
parents.each(function () {
$(this).prevAll().remove();
});
}
//获取当前页结尾
if(content_length >= page_num * page_length){
var parents = $(this).parentsUntil(el);
var need_length = content_length - (page_num * page_length);
if(need_length == 0){
parents.each(function () {
$(this).nextAll().remove();
});
}
else{
var now_text = $(this).contents().filter(function() {
return this.nodeType === 3;
}).text();
var need_text = now_text.substring(0, now_text.length - need_length);
$(this).text(need_text);
parents.each(function () {
$(this).nextAll().remove();
});
}
end_flag = 1;
return false;
}
else {
var flag = getChildren(this);
}
});
}
}
function showAll() {
if(need_check_login == 1){
checkLogin();
}
if(is_login == true || need_check_login == 0){
$('.news_pagination').remove();
if(flag == 2){
$(show_div).html(content_arr.join(''));
}
else{
$(show_div).html(content_arr);
}
location.href = show_div;
setDivHeight(show_div)
}
}
function pagebutton(newsText,view_id, showAllText = '') {
$('#'+view_id+' .news_pagination').remove();
if (!showAllText) {
showAllText = '显示全部';
}
var button_html = '';
$(newsText).after(button_html);
}
function checkLogin(errorText = '', loginText = '') {
var serverUrl = '//' + diy_js_server + '/sysTools.php?mod=viewsConn&act=checkUserLogin&idweb=' + id_web;
if (!errorText) {
errorText = '亲,您必须登录了才可继续查看该文章';
}
if (!loginText) {
loginText = '马上登录';
}
//获取数据 xhrFields解决传输cookie问题
$.ajax({
type: 'get',
cache: false,
dataType: 'json',
async: false,
url: serverUrl,
xhrFields: {
withCredentials: true
},
crossDomain: true,
success: function(result){
if(result.is_login == false){
var fun_str = is_mobiles() ? 'OnLogin(' + lang +', 0, \'' + location.href + '\')' : 'OnLogin(' + lang +', 0)';
var html = '';
$('body').css({overflowY:'hidden',height:'100%'});
$('body').append(html);
}
else {
is_login = true
}
}
});
}
function hideLogin() {
$('.mustlogin').remove();
}
//=== viewid:newsDetail_style_01_1506318095542 ===//
//--
$(function(){
var viewid="newsDetail_style_01_1506318095542";
var sys_url="viewid=newsDetail_style_01_1506318095542&name=newsDetail&style=style_01&langid=2&pageid=663219&viewCtrl=newsDetail&isfb=1";
var moreParams='';
if(typeof(history.pushState) != 'undefined'){
var hstate=JSON.stringify(history.state);
if(hstate!='null'&& hstate!=null){
eval('var hjson = ' + hstate);
moreParams=hjson.moreParamsnewsDetail_style_01_1506318095542;
}
}
RequestURL(viewid,sys_url,moreParams);
});
//--
//=== viewid:newsDetail_style_01_1506318095542 ===//
$(function(){
$('title').html('News Title');
$('meta[name=keywords]').attr('content','News Keywords');
$('meta[name=description]').attr('content','News Summary');
});
//=== viewid:newsDetail_style_01_1506318095542 ===//
detailHeightAuto("newsDetail_style_01_1506318095542", "Loading...");
//=== viewid:qqol_style_05_1599142497028 ===//
$('#qqol_style_05_1599142497028 .item_box.backup').click(function(){
$('html , body').animate({scrollTop: 0},'slow');
});
//=== viewid:qqol_style_05_1599142497028 ===//
//购物车
if(typeof showcart !== 'function'){
function showcart(){
var langid = 2;
if (langid==0 && BodyIsFt) langid = 1;
if(window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767)){
location.href = "//s143js.nicebox.cn/exusers/u_cart.php?idweb=51557&act=show&lang="+langid+"&ismobiles=1";
}else{
document.getElementById("boxName").innerHTML="View Shopping Cart";
if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="×";
document.getElementById("showiframe").src="//s143js.nicebox.cn/exusers/u_cart.php?idweb=51557&act=show&lang="+langid+"&v=9";
box.Show({width:'1000px', height:'600px'});
}
}
}
//判断是否是手机,用于处理QQ电脑端及手机端链接不一致问题
var mobiles_flag = ismobiles();
if(mobiles_flag){
$('#qqol_style_05_1599142497028 .qq_pc').hide();
$('#qqol_style_05_1599142497028 .qq_mobiles').show();
}
function ismobiles() {
var userAgentInfo = navigator.userAgent;
var mobilesAgents = [ "androids", "iphoness", "SymbianOS", "Windows phones", "ipads","ipods"];
var mobiles_flag = false;
//根据userAgent判断是否是手机
for (var v = 0; v < mobilesAgents.length; v++) {
if (userAgentInfo.indexOf(mobilesAgents[v]) > 0) {
mobiles_flag = true;
break;
}
}
var screen_width = window.screen.width;
var screen_height = window.screen.height;
//根据屏幕分辨率判断是否是手机
if(screen_width < 500 && screen_height < 800){
mobiles_flag = true;
}
return mobiles_flag;
}
//=== viewid:qqol_style_06_1606468857651,qqol_style_05_1599142497028 ===//
// 对输入内容中的尖括号、引号等进行转义
function html_encode(str) {
var s = "";
if (str.length == 0) return "";
s = str.replace(/&/g, "&");
s = s.replace(//g, ">");
s = s.replace(/ /g, " ");
s = s.replace(/\'/g, "'");
s = s.replace(/\"/g, """);
s = s.replace(/\n/g, "
");
return s;
}
function html_decode(str) {
var s = "";
if (str.length == 0) return "";
s = str.replace(/&/g, "&");
s = s.replace(/</g, "<");
s = s.replace(/>/g, ">");
s = s.replace(/ /g, " ");
s = s.replace(/'/g, "\'");
s = s.replace(/"/g, "\"");
s = s.replace(/
/g, "\n");
return s;
}
//=== viewid:footerCustom_textlist_01_1600934786690,footerCustom_textlist_01_1600915330554 ===//
if(typeof showcart !== 'function'){
function showcart(){
var langid = 2;
if (langid==0 && BodyIsFt) langid = 1;
if(window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767)){
location.href = "https://s143js.nicebox.cn/exusers/u_cart.php?idweb=51557&act=show&lang="+langid+"&ismobiles=1";
}else{
document.getElementById("boxName").innerHTML="";
if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="×";
document.getElementById("showiframe").src="https://s143js.nicebox.cn/exusers/u_cart.php?idweb=51557&act=show&lang="+langid+"&v=9";
box.Show({width:'1000px', height:'600px'});
}
}
}