This commit is contained in:
2022-05-28 09:55:02 +08:00
commit 892c7889a1
45 changed files with 10845 additions and 0 deletions

1126
index.html Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
var JCaption=function(c){var e,b,a=function(f){e=jQuery.noConflict();b=f;e(b).each(function(g,h){d(h)})},d=function(i){var h=e(i),f=h.attr("title"),j=h.attr("width")||i.width,l=h.attr("align")||h.css("float")||i.style.styleFloat||"none",g=e("<p/>",{text:f,"class":b.replace(".","_")}),k=e("<div/>",{"class":b.replace(".","_")+" "+l,css:{"float":l,width:j}});h.before(k);k.append(h);if(f!==""){k.append(g)}};a(c)};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
jQuery.noConflict();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,19 @@
div.mod-languages ul {
margin: 0;
padding: 0;
list-style:none;}
div.mod-languages li {
margin-left: 5px;
margin-right: 5px;}
div.mod-languages ul.lang-inline li {
display:inline;}
div.mod-languages ul.lang-block li {
display:block;}
div.mod-languages img {
border:none;}
div.mod-languages a {
text-decoration: none;}

View File

@@ -0,0 +1,32 @@
// Provide a default path to dwr.engine
if (dwr == null) var dwr = {};
if (dwr.engine == null) dwr.engine = {};
if (DWREngine == null) var DWREngine = dwr.engine;
if (NewsvoteDWR == null) var NewsvoteDWR = {};
NewsvoteDWR._path = '/system/dwr';
NewsvoteDWR.addLinkClickTimes = function(p0, p1, p2, callback) {
dwr.engine._execute(NewsvoteDWR._path, 'NewsvoteDWR', 'addLinkClickTimes', p0, p1, p2, callback);
}
NewsvoteDWR.getLinkClickTimes = function(p0, p1, p2, p3, callback) {
dwr.engine._execute(NewsvoteDWR._path, 'NewsvoteDWR', 'getLinkClickTimes', p0, p1, p2, p3, callback);
}
NewsvoteDWR.getNewsLinkUrl = function(p0, p1, p2, callback) {
dwr.engine._execute(NewsvoteDWR._path, 'NewsvoteDWR', 'getNewsLinkUrl', p0, p1, p2, callback);
}
NewsvoteDWR.getVoteResult = function(p0, p1, callback) {
dwr.engine._execute(NewsvoteDWR._path, 'NewsvoteDWR', 'getVoteResult', p0, p1, false, callback);
}
NewsvoteDWR.getVoteTitle = function(p0, p1, callback) {
dwr.engine._execute(NewsvoteDWR._path, 'NewsvoteDWR', 'getVoteTitle', p0, p1, callback);
}
NewsvoteDWR.isVote = function(p0, p1, p2, callback) {
dwr.engine._execute(NewsvoteDWR._path, 'NewsvoteDWR', 'isVote', p0, p1, p2, callback);
}
NewsvoteDWR.save = function(p0, p1, p2, p3, callback) {
dwr.engine._execute(NewsvoteDWR._path, 'NewsvoteDWR', 'save', p0, p1, p2, p3, callback);
}
NewsvoteDWR.getResult = function(p0, p1, callback) {
dwr.engine._execute(NewsvoteDWR._path, 'NewsvoteDWR', 'getResult', p0, p1, callback);
}

5
index_files/_sitegray.js Normal file
View File

@@ -0,0 +1,5 @@
/*
* -- grayscale.js --
* Copyright (C) James Padolsey (http://james.padolsey.com)
*
*/

View File

@@ -0,0 +1 @@
/*.nograyforsite{}*/

220
index_files/ajax.js Normal file
View File

@@ -0,0 +1,220 @@
//创建XMLHTTP对象
function createXMLHttpRequest()
{
var xmlHttp = null;
try{
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
catch(e)
{
try{
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e)
{
try{
xmlHttp = new XMLHttpRequest();
}catch(e){
}
}
}
return xmlHttp;
}
//请求链接
//url: 请求地址
//fun回调函数
function startRequest(url, fun,xmlHttp)
{
xmlHttp.onreadystatechange = fun;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
//获得xml子节点
//father父节点
//name子节点名称
//如果获得则返回节点没有则返回null
function getXmlChild(father, name)
{
var es = father.getElementsByTagName(name);
if(es.length == 0)
return null;
else
return es[0];
}
String.prototype.trim = function()
{
// 用正则表达式将前后空格
// 用空字符串替代。
var t = this.replace(/(^\s*)|(\s*$)/g, "");
return t.replace(/(^ *)|( *$)/g, "");
}
//获得xml节点值
//father父节点
//name子节点名称
//defaultvalue默认值
//如果获得则返回节点值没有则返回defaultvalue
function getXmlData(father, name, defaultvalue)
{
var es = father.getElementsByTagName(name);
if(es.length == 0)
return defaultvalue;
else if(es[0].firstChild == null)
return defaultvalue;
else
{
for(var i=0;i<es[0].childNodes.length;i++){
var node = es[0].childNodes[i];
if(node.nodeValue != null && node.nodeValue.trim() !="")
{
return node.nodeValue;
}
}
return defaultvalue;
}
}
//把"转换为&quot;
function escapeForValue(str)
{
return str.replace(/\"/g, "&quot;");
}
//用来实现文章的计数
function getClickTimes(newsid, owner,type,randomid) {
var url = '/system/resource/code/news/click/clicktimes.jsp';
if(!type) type="wbnews";
if(!randomid)
{
randomid="n";
}else
{
randomid="n"+randomid;
}
var xmlHttp = createXMLHttpRequest();
var url = url+"?wbnewsid="+newsid+"&owner="+owner+"&type="+type+"&randomid="+randomid;
xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = function(){onGetClickTimes(xmlHttp);};
xmlHttp.send(null);
}
function _getBatchClickTimes(newsid, owner,type,randomid) {
var url = '/system/resource/code/news/click/batchclicktimes.jsp';
if(!type) type="wbnews";
if(!randomid)
{
randomid="n";
}else
{
randomid="n"+randomid;
}
var wbnewsids = newsid.split(",");
var isshow = false;
for(var i = 0; i < wbnewsids.length; i++)
{
var obj = document.getElementById(randomid+wbnewsids[i]);
if(obj != null)
isshow = true;
}
if(isshow)
{
var xmlHttp = createXMLHttpRequest();
var url = url+"?wbnewsid="+newsid+"&owner="+owner+"&type="+type+"&randomid="+randomid;
xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = function(){_onGetBatchClickTimes(xmlHttp);};
xmlHttp.send(null);
}
}
//用来实现文章的计数
function _onGetBatchClickTimes(originalRequest)
{
if(originalRequest.readyState == 4 && originalRequest.status == 200)
{
var str = originalRequest.responseText;
var json = eval("("+str+")");
for(var i = 0; json != null && i < (json.length?json.length:1);i++)
{
var objid =json.length?(json[i].randomid+json[i].wbnewsid):(json.randomid+json.wbnewsid);
var spanobj = document.getElementsByName(objid);
if(spanobj.length > 0)
{
for(var j=0; j<spanobj.length;j++)
{
spanobj[j].innerHTML = json[i].clicktime;
}
}
}
}
}
//用来实现文章的计数
function onGetClickTimes(originalRequest)
{
if(originalRequest.readyState == 4 && originalRequest.status == 200)
{
var str = originalRequest.responseText;
var json = eval("("+str+")");
for(var i = 0; json != null && i < (json.length?json.length:1);i++)
{
var objid = json.length?(json[i].randomid+json[i].wbnewsid):(json.randomid+json.wbnewsid);
var objs = document.getElementsByTagName("span");
if(objs.length > 0)
{
for(var j=0; j<objs.length;j++)
{
if(objid==objs[j].id)
objs[j].innerHTML = json.length?json[i].wbshowtimes:json.wbshowtimes;
}
}
}
}
}
function addClickTimes(urlid,owner,type){
var url = '/system/resource/code/news/click/addclicktimes.jsp';
var xmlHttp = createXMLHttpRequest();
var url = url+"?wburlid="+urlid+"&owner="+owner+"&type="+type;
xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = function(){};
xmlHttp.send(null);
}
loadXML = function(xmlString){
var xmlDoc=null;
//判断浏览器的类型
//支持IE浏览器
if(!window.DOMParser && window.ActiveXObject){ //window.DOMParser 判断是否是非ie浏览器
var xmlDomVersions = ['MSXML.2.DOMDocument.6.0','MSXML.2.DOMDocument.3.0','Microsoft.XMLDOM'];
for(var i=0;i<xmlDomVersions.length;i++){
try{
xmlDoc = new ActiveXObject(xmlDomVersions[i]);
xmlDoc.async = false;
xmlDoc.loadXML(xmlString); //loadXML方法载入xml字符串
break;
}catch(e){
}
}
}
//支持Mozilla浏览器
else if(window.DOMParser && document.implementation && document.implementation.createDocument){
try{
/* DOMParser 对象解析 XML 文本并返回一个 XML Document 对象。
* 要使用 DOMParser使用不带参数的构造函数来实例化它然后调用其 parseFromString() 方法
* parseFromString(text, contentType) 参数text:要解析的 XML 标记 参数contentType文本的内容类型
* 可能是 "text/xml" 、"application/xml" 或 "application/xhtml+xml" 中的一个。注意,不支持 "text/html"。
*/
domParser = new DOMParser();
xmlDoc = domParser.parseFromString(xmlString, 'text/xml');
}catch(e){
}
}
else{
return null;
}
return xmlDoc;
}

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M22.55 42V37.8Q19.7 37.3 17.875 35.625Q16.05 33.95 15.25 31.4L18.05 30.25Q18.9 32.65 20.5 33.825Q22.1 35 24.35 35Q26.75 35 28.3 33.8Q29.85 32.6 29.85 30.5Q29.85 28.3 28.475 27.1Q27.1 25.9 23.3 24.65Q19.7 23.5 17.925 21.6Q16.15 19.7 16.15 16.85Q16.15 14.1 17.925 12.25Q19.7 10.4 22.55 10.15V6H25.55V10.15Q27.8 10.4 29.425 11.625Q31.05 12.85 31.9 14.75L29.1 15.95Q28.4 14.35 27.225 13.625Q26.05 12.9 24.15 12.9Q21.85 12.9 20.5 13.95Q19.15 15 19.15 16.8Q19.15 18.7 20.65 19.875Q22.15 21.05 26.2 22.3Q29.6 23.35 31.225 25.325Q32.85 27.3 32.85 30.3Q32.85 33.45 31 35.375Q29.15 37.3 25.55 37.85V42Z"/></svg>

After

Width:  |  Height:  |  Size: 673 B

BIN
index_files/banner-flip.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 KiB

BIN
index_files/banner.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 KiB

38
index_files/banner.js Normal file
View File

@@ -0,0 +1,38 @@
var i=0;
var indexhtml_li="<li data-target='#carousel-example-generic' data-slide-to='0' class='active'></li>";
var indexhtml_temp="";
var index_ol=document.getElementById("banner-index");
var banner_id=document.getElementById("banner");
if(banner_id){
var banner_img=banner_id.getElementsByTagName("img");
if(banner_img.length>0){
for(i=0;i<banner_img.length;i++){
if(i==0){
index_ol.innerHTML=indexhtml_li;
indexhtml_temp=indexhtml_li;
}else{
index_ol.innerHTML=indexhtml_temp+"<li data-target='#carousel-example-generic' data-slide-to='"+i+"'></li>";
indexhtml_temp=indexhtml_temp+"<li data-target='#carousel-example-generic' data-slide-to='"+i+"'></li>";
}
}
}}
//20190613 LRC
var i=0;
var indexhtml_li="<li data-target='#myCarousel' data-slide-to='0' class='active'></li>";
var indexhtml_temp="";
var index_ol=document.getElementById("banner-index");
var banner_id=document.getElementById("banner");
if(banner_id){
var banner_img=banner_id.getElementsByTagName("img");
if(banner_img.length>0){
for(i=0;i<banner_img.length;i++){
if(i==0){
index_ol.innerHTML=indexhtml_li;
indexhtml_temp=indexhtml_li;
}else{
index_ol.innerHTML=indexhtml_temp+"<li data-target='#myCarousel' data-slide-to='"+i+"'></li>";
indexhtml_temp=indexhtml_temp+"<li data-target='#myCarousel' data-slide-to='"+i+"'></li>";
}
}
}}

718
index_files/base.css Normal file
View File

@@ -0,0 +1,718 @@
@charset "utf-8";
/***************
United International College (UIC)
28 Jinfeng Road,Tangjiawan,Zhuhai,Guangdong Prov.
Author:Coco Lin ED Li
***************/
/*comm used header,content,footer*/
img,object,video,embed {
max-width: 100%; height:auto;}
.mainWrap {padding-left:0px; padding-right:0px;}
.mainWrap{margin:auto;min-width:320px;}
.mainWrap,.footer,.division{ margin:auto;}
#carousel-example-generic{ margin:auto!important;}
.header{}
.header .topWrap
{
height:102px;
padding-top:20px!important;}
.header .logo
{
_display:inline;
display:inline;}
.header .search1
{
float:right;
_display:inline;}
.header .search1 label{ display:none;}
.header .search1 .ext
{
padding:0px 0 10px 0;
text-align:right;}
.header .search1 .ext a
{
color:#444;
text-align:right;}
.search label{color:#ccc;}
.search input{ border:1px solid #999;}
.header .search1 .ext a:hover{ color:#900;}
.both{ clear:both;}
.events_title{ width:98%; border-bottom:0px solid #C30; clear:both; padding-top:15px; margin-bottom:10px ;}
.rightp_title{border-bottom:0px solid #C30; clear:both; padding-top:15px; margin-bottom:10px;width:100%;}
.aidanews2_title{ line-height:30px;}
.aidanews2_text{ line-height:22px; text-align:left;}
.events_title h3,.rightp_title h3{
float: left;
padding: 0px;
color: #0084ce;
display: block;
margin: 0px 0px 6px 0px;
line-height: 22px;
font-size: 16px;
-webkit-font-weight: 500!important;
font-weight: bold;}
.events_title span a, .rightp_title span a{ float:right; color:#666666;}
.aidanews2_title a{ font-weight:bold!important; color:#484848;}
.rightp h1{line-height:22px; width:100%;}
.rightp .aidanews2_title {border-bottom:1px dashed #f2f2f2; width:100%;}
.rightp .aidanews2_title a{color:#000;}
.rightp .aidanews2_line{ height:6px;}
.line{ height:1px;
background:linear-gradient(90deg, #278de6 0%, #63a3d8 50%, #fff 100%);
background:-moz-linear-gradient(90deg, #278de6 0%, #63a3d8 50%, #fff 100%);
background:-webkit-llinear-gradient(90deg, #278de6 0%, #63a3d8 50%, #fff 100%);
background:-o-linear-gradient(90deg, #278de6 0%, #63a3d8 50%, #fff 100%);
background:--ms-linear-gradient(90deg, #278de6 0%, #63a3d8 50%, #fff 100%);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#278de6, endColorstr=#fff);/*ie<9>*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=1, startColorstr=#278de6, endColorstr=#fff)";}
.line2{ height:1px;background: linear-gradient(90deg, #f5f5f5 0%, #ccc 50%, #f5f5f5 100%); margin-top:15px; margin-bottom:15px;}
.red{ color:#f00;}
.events .aidanews2_mainL{ float:left; width:30%; margin-right:5%; vertical-align:top!important; padding:0px;}
.events .aidanews2_mainR{ float:right; width:65%;}
.events .aidanews2_img1{ max-height:150px;}
.events .aidanews2_line{ height:10px; margin-bottom:15px;}
.rightp .aidanews2_line{ height:4px; margin-bottom:15px; border-bottom:1px dashed #ccc;}
.well{ margin-top:15px;}
.well h3{ padding:0px; margin:0px; line-height:30px;}
.well ul { padding:0px; margin-top:10px;}
.well ul li{ display:inline; margin-right:20px;}
.well ul li a{ color:#000;}
.itemid-138 .sidebar, .itemid-129 .sidebar,.itemid-153 .sidebar,.itemid-164 .sidebar,.itemid-203 .sidebar,.itemid-204 .sidebar{ display:none;}
.itemid-138 .conta, .itemid-129 .conta,.itemid-153 .conta, .itemid-164 .conta, .itemid-203 .conta, .itemid-204 .conta{ width:100%;}
.article-info dt{ display:none;}
.article-info dd{ font-weight: normal;
line-height: 150%;
color: #999; font-size: 65%;}
.sidebar{ width:22%; float:left; border:1px solid #ccc ; border-radius:5px; box-shadow:0px 3px 3px 0px #f1f1f1;background-color: #f1f5f8;}
.sidebar li{width:100%; line-height:18px;border-bottom:1px solid #e6e6e6;}
.sidebar li a{ line-height:18px!important; font-weight:bold;}
.current.active a, #sidebar .active a {
display: block;
background-color: #cee8ff;}
ul#sidebar li a {
padding: 5px 10px;}
.conta{width:72%; float:right;}
.page-header h2,.content-category h2{ font-size:22px;color:#000;}
.sidebar h2{font-size:14px; color:#fff; background-color:#225a9c;
margin:0px; text-align:center; line-height:32px; border-bottom:none; font-weight:bold;}
/*.active a{ color:#c00}*/
.footter_line{ height:6px; width:100%; background-color:#c00;}
.sitemap{}
.panel-footer{ margin-top:15px;}
.copyright{ float:left;}
.foot_logo{ float:right;}
.allfoot{ color:#ffffff!important; line-height:22px; font-size:90%;}
.allfoot a{color:#ffffff!important;}
.sitemap ul li{}
.sitemap ul li a{ color:#5a5a5a;font-weight: bold;}
.sitemap ul li{ list-style:none;}
.sitemap ul li ul{ padding:0px; margin-top:10px!important;}
.sitemap ul li ul li {margin-bottom:5px; display: block!important;}
.sitemap ul li ul li a{ color:#444;font-weight: normal;}
.unstyled li{ list-style-type:none;}
.unstyled li a{line-height:22px;}
/*20150821*/
.edit fieldset{margin-top:15px;}
.inputbox{width:100%;}
#jform_tags, #jform_tags-lbl{height:25px!important;width:400px;line-height:25px!important;}
@font-face {
font-family: 'IcoMoon';
src: url(../../../media/jui/fonts/icomoon.jpg);
src: url(../../../media/jui/fonts/icomoon.eot?#i.jpg) format('embedded-opentype'), url(../../../media/jui/fonts/icomoon..jpg) format
('woff'), url(../../../media/jui/fonts/icomoon.jpg) format('truetype'), url(../../../media/jui/fonts/icomoon.svg#ico.jpg) format('svg');
font-weight: normal;
font-style: normal;}
.icon-publish:before,
.icon-save:before,
.icon-ok:before,
.icon-checkmark:before {
content: "\47";}
.icon-unpublish:before,
.icon-cancel:before {
content: "\4a";}
.icon-archive:before,
.icon-drawer-2:before {
content: "\50";}
.icon-calendar:before {
content: "\43";}
.icon-apply:before,
.icon-edit:before,
.icon-pencil:before {
content: "\e065";}
[data-icon]:before {
font-family: 'IcoMoon';
content: attr(data-icon);
speak: none;}
[class^="icon-"],
[class*=" icon-"] {
display: inline-block;
width: 14px;
height: 14px;
margin-right: .25em;
line-height: 14px;}
dd > span[class^="icon-"] + time,
dd > span[class*=" icon-"] + time {
margin-left: -0.25em;}
dl.article-info dd.hits span[class^="icon-"],
dl.article-info dd.hits span[class*=" icon-"] {
margin-right: 0;}
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: 'IcoMoon';
font-style: normal;
speak: none;}
[class^="icon-"].disabled,
[class*=" icon-"].disabled {
font-weight: normal;}
.control-label .hasTooltip {
display: inline-block;}
.icon-edit{ background:url(../images/edit.jpg);width:40px;height:18px;}
footer.panel_footer {
margin-top: 10px;}
@media (min-width: 1200px) {
.mainWrap
{
width:980px; padding-left:0px!important; padding-right:0px!important;}
.mainWrap .logo2 img{ width:290px!important; height:78px!important;display:inline-block;}
.zh-cn .mainWrap .logo2 img{ width:290px!important; height:78px!important;}
.container{ width:980px;padding-left:0px!important; padding-right:0px!important;}
.footer{width:980px;padding-left:0px!important; padding-right:0px!important;}
#carousel-example-generic{width:980px;padding-left:0px!important; padding-right:0px!important; margin:auto!important ;}
.events{ float:left; width:100%;}
.rightp{float:right!important; width:39%;}
.events-bg{width:60%;}
.sitemap ul{ margin:0px; padding:0px;}
.sitemap ul li{ float:left; margin-right:100px;width:auto;}
.sitemap ul li ul{ padding:0px; margin:0px;}
.sitemap ul li ul li{ float: bolck;
float:none;margin-right:20px;}
.navbar-collapse{ margin-left:-15px!important;}
}
@media screen and (min-width: 1025px) and (max-width: 1199px)
{
.sitemap ul{ margin:0px; padding:0px;}
.sitemap ul li{ float:left; margin-right:100px;width:auto;}
.sitemap ul li ul{ padding:0px; margin:0px;}
.sitemap ul li ul li{ float: bolck;
float:none;margin-right:20px;}
.navbar-collapse{ margin-left:-15px!important;}
.events {
float: left;
width: 100%;}
.rightp {
float: right!important;
width: 39%;}
}
@media screen and (max-width: 1024px){
.mainWrap
{
width:960px; padding-left:0px!important; padding-right:0px!important;}
.container{ width:960px;padding-left:0px!important; padding-right:0px!important;}
.footer{width:960px;padding-left:0px!important; padding-right:0px!important;}
#carousel-example-generic{width:960px;padding-left:0px!important; padding-right:0px!important; margin:auto!important ;}
.events{ float:left; width:100%;}
.rightp{float:right!important; width:39%;}
.navbar-collapse{ margin-left:-15px!important;}
.sitemap ul{ margin:0px; padding:0px;}
.sitemap ul li{ float:left; margin-right:30px;width:auto;}
.sitemap ul li ul{ padding:0px; margin:0px;}
.sitemap ul li ul li{ float: bolck;
float:none;margin-right:20px;}
}
@media screen and (max-width: 980px){
.mainWrap
{
width:auto; padding-left:0px!important; padding-right:0px!important;}
.mainWrap .logo1 img{ width:247px; height:75px;}
.mainWrap .logo2 img{ width:172px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:65px;}
.container{ width:auto;padding-left:0px!important; padding-right:0px!important;}
.footer{width:920px;padding-left:0px!important; padding-right:0px!important;}
#carousel-example-generic{width:auto;padding-left:0px!important; padding-right:0px!important; margin:auto!important ;}
.events{ float:left; width:100%;}
.events-bg { width:60%;float:left;}
.rightp{float:right!important; width:39%;}
.sitemap ul{ margin:0px; padding:0px;}
.sitemap ul li{ float:left; margin-right:60px;width:auto;}
.sitemap ul li ul{ padding:0px; margin:0px;}
.sitemap ul li ul li{ float: bolck;
float:none;margin-right:20px;}
.navbar-collapse{ margin-left:-15px!important;}
}
@media screen and (max-width:800px) {
.nav > li {
margin-right: 0px;}
}
@media screen and (max-width:800px) {
.mainWrap
{
width:740px;}
.container{ width:740px;padding-left:0px!important; padding-right:0px!important;}
.footer{width:740px;padding-left:0px!important; padding-right:0px!important;}
#carousel-example-generic{width:100%;padding-left:0px!important; padding-right:0px!important;}
.mainWrap .logo1 img{ width:198px; height:60px;}
.mainWrap .logo2 img{ width:172px; height:60px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:60px;}
.rightp{ margin-top:15px; width:39%;}
.events{ margin-top:5px;width:100%;float: left;}
.events-bg {float: left;}
.well{ margin-top:15px;}
.sitemap ul{ margin:0px; padding:0px;}
.sitemap ul li{ float:left; margin-right:60px;width:auto;}
.sitemap ul li ul{ padding:0px; margin:0px;}
.sitemap ul li ul li{ float: bolck;
float:none;margin-right:20px;}
}
@media screen and (max-width:768px) {
.mainWrap
{
width: 100%;padding-left:15px; padding-right:15px;
background: none;}
#carousel-example-generic{width:100%;}
.container{ width:100%;padding-left:15px!important; padding-right:15px!important;}
.sidebar ul li{ width:50%; float:left; text-align:left;}
.item-785,.item-782,.item-783,.item-784,.item-848,.item-849,.item-850,.item-851{
width: 100%!important;
float:none!important;}
.item-785 ul li,.item-782 ul li,.item-783 ul li,.item-784 ul li,.item-848 ul li,.item-849 ul li,.item-850 ul li,.item-851 ul li{
width:100%;}
.item-785 ul li a,.item-782 ul li a,.item-783 ul li a,.item-784 ul li a,.item-848 ul li a,.item-849 ul li a,.item-850 ul li a,.item-851 ul li a{
padding-top:10px;
padding-bottom:10px;}
li.item-783, li.item-784, li.item-785,li.item-848,li.item-849,li.item-850,li.item-851{
clear: left;}
.header .topWrap
{
position:relative;}
.header .logo
{
float:none!important;
margin:auto!important;
_display:block;
display:block;
position:absolute;
top:50px;
width:100%; clear:both;
text-align:center!important;}
.mainWrap .logo1{ width:100%; display:block;text-align:center!important;}
.mainWrap .logo2{ width:100%;display:block;text-align:center!important;}
.mainWrap .logo1 img{ width:214px; height:65px; margin:auto;}
.mainWrap .logo2 img{ width:190px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:190px; height:65px;}
.header .search1
{
float:none;
position:absolute;
width:100%;
top:0px;
background:#27568E;}
.header .search1 .ext
{
float:right;
padding:4px 30px 10px 0;}
.header .search1 .ext a
{
color:#fff;}
.mod_search102 .search-query{margin-left:15px;}
.header .topWrap
{
height:170px;}
.navbar-collapse{ padding-left:15px;}
.rightp{ margin-top:15px; width:100%;}
.events{ margin-top:5px;width:100%;}
.events-bg {width: 100%;}
.foot_logo{ display:none;}
.sitemap ul li ul{ display:none;}
}
@media screen and (max-width:720px) {
.mainWrap .logo1 img{ width:214px; height:65px;}
.mainWrap .logo2 img{ width:172px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:65px;}
}
@media screen and (max-width:667px) {
.mainWrap .logo1 img{ width:214px; height:65px;}
.mainWrap .logo2 img{ width:172px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:65px;}
}
@media screen and (max-width:640px) {
.mainWrap
{
width: 100%;padding-left:15px; padding-right:15px;}
#carousel-example-generic{width:100%;}
.container{ width:100%;padding-left:15px!important; padding-right:15px!important;}
.sidebar,.conta{ width:100%;}
/*.sidebar ul li{ width:50%!important; float:left; text-align:left;}*/
.header .topWrap
{
position:relative;}
.header .topLine
{
border-top:7px solid #27568E;}
.header .logo
{
float:none!important;
margin:auto;
_display:block;
display:block;
position:absolute;
top:50px;}
/*
.mainWrap .logo1 img{ width:198px; height:60px;}
.mainWrap .logo2 img{ width:362px; height:60px;}*/
.mainWrap .logo1 img{ width:214px; height:65px;}
.mainWrap .logo2 img{ width:172px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:65px;}
.header .search1
{
float:none;
position:absolute;
width:100%;
top:0px;
background:#27568E;}
.header .search1 .ext
{
float:right;
padding:4px 30px 10px 0;}
.header .search1 .ext a
{
color:#fff;}
.header .topWrap
{
height:165px;}
.zh-cn .header .topWrap{height:170px;}
.navbar-collapse{ padding-left:15px;}
.rightp{ margin-top:15px; width:100%;}
.events{ margin-top:5px;width:100%;}
.foot_logo{ display:none;}
.sitemap ul li ul{ display:none;}
.en-gb .sidebar ul li{height:50px;}
}
@media screen and (max-width:600px){
.mainWrap .logo1 img{ width:214px; height:65px;}
.mainWrap .logo2 img{ width:172px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:65px;}
.sidebar .nav > li > a:hover,
.sidebar .nav > li > a:focus {
text-decoration: none;
background-color: transparent;
color:#27568E
;}
}
@media screen and (max-width:568px) {
.mainWrap .logo1 img{ width:214px; height:65px;}
.mainWrap .logo2 img{ width:172px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:65px;}
}
@media screen and (max-width:480px) {
.header .logo
{
float:none;
margin:auto;
display:block;
position:absolute;
top:50px;}
.mainWrap .logo1 img{ width:198px; height:60px;}
.mainWrap .logo2 img{ width:width:172px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:65px;}
.sidebar,.conta{ width:100%;}
.sitemap ul ul{ display:none;}
}
@media screen and (max-width:414px) {
.mainWrap .logo1 img{ width:198px; height:60px;}
.mainWrap .logo2 img{ width:172px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:65px;}
.min360{ display:none;}
}
@media screen and (max-width:384px) {
.mainWrap .logo1 img{ width:198px; height:60px;}
.mainWrap .logo2 img{ width:172px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:65px;}
}
@media screen and (max-width:375px) {
.header .logo
{
float:none;
margin:auto;
display:block;
position:absolute;
top:50px;
margin-left:10px;}
.mainWrap .logo1 img{ width:198px; height:60px;}
.mainWrap .logo2 img{ width:172px; height:65px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:65px;}
.sidebar,.conta{ width:100%;}
.sitemap ul ul{ display:none;}
}
@media screen and (max-width:360px) {
.header .logo
{
float:none;
margin:auto;
display:block;
position:absolute;
top:50px;
margin-left:0px;}
/*
.mainWrap .logo1 img{ width:115px; height:35px;}
.mainWrap .logo2 img{ width:211px; height:35px;}*/
.mainWrap .logo1 img{ width:165px; height:50px;}
.mainWrap .logo2 img{ width:172px; height:55px;}
.zh-cn .mainWrap .logo2 img{ width:172px; height:55px;}
.header .topWrap{height:150px;}
.zh-cn .header .topWrap{height:150px;}
.sidebar,.conta{ width:100%;}
.en-gb.itemid-167 .sidebar ul li{height:70px;}
.en-gb.itemid-168 .sidebar ul li{height:70px;}
.en-gb.itemid-166 .sidebar ul li{height:70px;}
/*.zh-cn .sidebar ul li{height:50px;}*/
}
@media screen and (max-width:320px) {
.sidebar,.conta{ width:100%;}
.header .logo
{
float:none;
margin:auto;
display:block;
position:absolute;
top:50px;
width:100%;
text-align:center!important;}
.mainWrap .logo1 img{ width:158px; height:48px;}
.mainWrap .logo2 img{ width:auto; height:26px;}
.zh-cn .mainWrap .logo2 img{ width:auto; height:26px;}
.header .topWrap{height:140px;}
.zh-cn .header .topWrap{height:140px;}
.header .search1{
width:100%; overflow:hidden;}
}
/* cpanel */
#cpanel {width:100%; min-width:1002px; font:normal 14px/110% Arial, Helvetica, sans-serif; position:fixed; left:0; top:0; z-index:1000000;}
#cpanel .cpanelContent {height:199px;display:none;background:url(cpanel/toppanel_bg.jpg) #999;}
#cpanel .cpanelControl {width:200px; height:19px; margin:auto; line-height:19px; white-space:nowrap; text-align:center; color:#ccc;
cursor:pointer; position:relative; background:url(cpanel/toppanel_trigger_m.jpg) #000;}
#cpanel .cpanelControl:before {width:20px;height:19px;content:"";display:block; float:left; position:absolute; left:-20px; top:0;background:url
(cpanel/toppanel_trigger_l.png);}
#cpanel .cpanelControl:after {width:20px;height:19px;content:"";display:block; float:left; position:absolute; right:-20px; top:0;background:url
(cpanel/toppanel_trigger_r.png);}
#cpanel .cpanelContent ul {margin:0 20px; padding:0;}
#cpanel .cpanelContent .moduletable {width:960px; margin:auto; padding:15px 0;}
#cpanel .cpanelContent #login-form {margin:0; color:#fff;}
#cpanel .cpanelContent .menu {list-style:none;}
#cpanel .cpanelContent .menu li {float:left; margin-right:5px;}
#cpanel .cpanelContent .menu li a {width:60px; height:80px; padding:5px; display:block; text-align:center; border:solid 1px #000; border-
radius:5px; text-decoration:none; background:#fff;}
#cpanel .cpanelContent .menu li a:hover { text-decoration:none;background:#E6F5F9;}
/* profile */
.profile {}
.profile dl {float:left;}
.profile dt {width:120px;float:left;clear:left;}
.profile dd {float:left; margin-left:10px;}
.head-right-top {
display: inline;
float:right;}
.head-right {
display: inline;
position: relative;}
.head-right a {
color: #27568e;}
.events-bg {
margin: auto;float: left;}
/*itrianing link*/
@media screen and (max-width: 980px){
.itrianing-link a img {
width: 10%;
margin: 18px;}
}
@media screen and (max-width: 768px){
.aidanews2_art {
clear:both!important;
width: 100%;
margin: auto;
text-align:left;}
.aidanews2 {
width: 100%;
margin: auto;}
.head-right-top{ float:none;}
.head-right{top:5px;}
.navbar-inverse {
background: none;
background-color: #27568E;
border: 1px solid #549fd6;
border-radius: 0px;}
.sidebar,.conta{ width:100%;}
}
@media (max-width: 760px){
.itrianing-link a img {
width: 17%;
margin: 5px 33px;}
.mainWrap {background: none;}
}
@media screen and (max-width:480px){
.itrianing-link {
width: 100%;}
}

139
index_files/base64.js Normal file
View File

@@ -0,0 +1,139 @@
/**
*
* Base64 encode / decode
* 文字采用UTF-8方式进行Base64编码
*
*/
function Base64() {
// private property
_keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
// public method for encoding
this.encode = function (input) {
var output=new Array();
var chr1, chr2, chr3;
var enc1, enc2, enc3, enc4;
var i = 0;
input = _utf8_encode(input);
while (i < input.length)
{
chr1 = input[i++];
chr2 = input[i++];
chr3 = input[i++];
enc1 = chr1 >> 2;
enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
enc4 = chr3 & 63;
if (isNaN(chr2)) {
enc3 = enc4 = 64;
} else if (isNaN(chr3)) {
enc4 = 64;
}
output.push(_keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4));
}
return output.join('');
}
// public method for decoding
this.decode = function (input) {
var output = "";
var chr1, chr2, chr3;
var enc1, enc2, enc3, enc4;
var i = 0;
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
while (i < input.length) {
enc1 = _keyStr.indexOf(input.charAt(i++));
enc2 = _keyStr.indexOf(input.charAt(i++));
enc3 = _keyStr.indexOf(input.charAt(i++));
enc4 = _keyStr.indexOf(input.charAt(i++));
chr1 = (enc1 << 2) | (enc2 >> 4);
chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
chr3 = ((enc3 & 3) << 6) | enc4;
output = output + String.fromCharCode(chr1);
if (enc3 != 64) {
output = output + String.fromCharCode(chr2);
}
if (enc4 != 64) {
output = output + String.fromCharCode(chr3);
}
}
output = _utf8_decode(output);
return output;
}
// private method for UTF-8 encoding
_utf8_encode = function (string) {
string = string.replace(/\r\n/g,"\n");
var utftext = new Array();
var utftextlen=0;
for (var n = 0; n < string.length; n++) {
var c = string.charCodeAt(n);
if (c < 128) {
utftext[utftextlen++] = c;
} else if((c > 127) && (c < 2048)) {
utftext[utftextlen++] = (c >> 6) | 192;
utftext[utftextlen++] = (c & 63) | 128;
} else {
utftext[utftextlen++] = (c >> 12) | 224;
utftext[utftextlen++] = ((c >> 6) & 63) | 128;
utftext[utftextlen++] = (c & 63) | 128;
}
}
return utftext;
}
// private method for UTF-8 decoding
_utf8_decode = function (utftext) {
var string = "";
var i = 0;
var c = c1 = c2 = 0;
while ( i < utftext.length ) {
c = utftext.charCodeAt(i);
if (c < 128) {
string += String.fromCharCode(c);
i++;
} else if((c > 191) && (c < 224)) {
c2 = utftext.charCodeAt(i+1);
string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
i += 2;
} else {
c2 = utftext.charCodeAt(i+1);
c3 = utftext.charCodeAt(i+2);
string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
i += 3;
}
}
return string;
}
_exchange_character = function(charArray){
charArray=charArray.split("");
for (var i = 0; i < charArray.length; i++)
{
// 互换相邻的字符
if (i > 0 && i % 2 == 0)
{
var c = charArray[i];
charArray[i] = charArray[i - 1];
charArray[i - 1] = c;
}
}
return charArray.join("");
}
//参数需要绕过防火墙可使用此方法加密
this.encodePostParam = function(input) {
input=this.encode(input).split("").reverse().join("");
return _exchange_character(input);
}
this.decodePostParam = function(input) {
input=_exchange_character(input).split("").reverse().join("");
return this.decode(input);
}
}

5109
index_files/bootstrap.css vendored Normal file

File diff suppressed because it is too large Load Diff

3
index_files/bootstrap.js vendored Normal file
View File

@@ -0,0 +1,3 @@
if(typeof jQuery==="undefined"){throw new Error("Bootstrap's JavaScript requires jQuery")}+function($){var version=$.fn.jquery.split(" ")[0].split(".");if((version[0]<2&&version[1]<9)||(version[0]==1&&version[1]==9&&version[2]<1)){throw new Error("Bootstrap's JavaScript requires jQuery version x.x.x or higher")}}(jQuery);+function($){var Carousel=function(element,options){this.$element=$(element);this.$indicators=this.$element.find(".carousel-indicators");this.options=options;this.paused=null;this.sliding=null;this.interval=null;this.$active=null;this.$items=null;this.options.keyboard&&this.$element.on("keydown.bs.carousel",$.proxy(this.keydown,this));this.options.pause=="hover"&&!("ontouchstart" in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",$.proxy(this.pause,this)).on("mouseleave.bs.carousel",$.proxy(this.cycle,this))};Carousel.VERSION="x.x.x";Carousel.TRANSITION_DURATION=600;Carousel.DEFAULTS={interval:5000,pause:"hover",wrap:true,keyboard:true};Carousel.prototype.keydown=function(e){if(/input|textarea/i.test(e.target.tagName)){return}switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()};Carousel.prototype.cycle=function(e){e||(this.paused=false);this.interval&&clearInterval(this.interval);this.options.interval&&!this.paused&&(this.interval=setInterval($.proxy(this.next,this),this.options.interval));return this};Carousel.prototype.getItemIndex=function(item){this.$items=item.parent().children(".item");return this.$items.index(item||this.$active)};Carousel.prototype.getItemForDirection=function(direction,active){var activeIndex=this.getItemIndex(active);var willWrap=(direction=="prev"&&activeIndex===0)||(direction=="next"&&activeIndex==(this.$items.length-1));if(willWrap&&!this.options.wrap){return active}var delta=direction=="prev"?-1:1;var itemIndex=(activeIndex+delta)%this.$items.length;return this.$items.eq(itemIndex)};Carousel.prototype.to=function(pos){var that=this;var activeIndex=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(pos>(this.$items.length-1)||pos<0){return}if(this.sliding){return this.$element.one("slid.bs.carousel",function(){that.to(pos)})}if(activeIndex==pos){return this.pause().cycle()}return this.slide(pos>activeIndex?"next":"prev",this.$items.eq(pos))};Carousel.prototype.pause=function(e){e||(this.paused=true);if(this.$element.find(".next, .prev").length&&$.support.transition){this.$element.trigger($.support.transition.end);this.cycle(true)}this.interval=clearInterval(this.interval);return this};Carousel.prototype.next=function(){if(this.sliding){return}return this.slide("next")};Carousel.prototype.prev=function(){if(this.sliding){return}return this.slide("prev")};Carousel.prototype.slide=function(type,next){var $active=this.$element.find(".item.active");var $next=next||this.getItemForDirection(type,$active);var isCycling=this.interval;var direction=type=="next"?"left":"right";var that=this;if($next.hasClass("active")){return(this.sliding=false)}var relatedTarget=$next[0];var slideEvent=$.Event("slide.bs.carousel",{relatedTarget:relatedTarget,direction:direction});this.$element.trigger(slideEvent);if(slideEvent.isDefaultPrevented()){return}this.sliding=true;isCycling&&this.pause();if(this.$indicators.length){this.$indicators.find(".active").removeClass("active");var $nextIndicator=$(this.$indicators.children()[this.getItemIndex($next)]);$nextIndicator&&$nextIndicator.addClass("active")}var slidEvent=$.Event("slid.bs.carousel",{relatedTarget:relatedTarget,direction:direction});if($.support.transition&&this.$element.hasClass("slide")){$next.addClass(type);$next[0].offsetWidth;$active.addClass(direction);$next.addClass(direction);$active.one("bsTransitionEnd",function(){$next.removeClass([type,direction].join(" ")).addClass("active");$active.removeClass(["active",direction].join(" "));that.sliding=false;setTimeout(function(){that.$element.trigger(slidEvent)},0)}).emulateTransitionEnd(Carousel.TRANSITION_DURATION)}else{$active.removeClass("active");$next.addClass("active");this.sliding=false;this.$element.trigger(slidEvent)}isCycling&&this.cycle();return this};function Plugin(option){return this.each(function(){var $this=$(this);var data=$this.data("bs.carousel");var options=$.extend({},Carousel.DEFAULTS,$this.data(),typeof option=="object"&&option);var action=typeof option=="string"?option:options.slide;if(!data){$this.data("bs.carousel",(data=new Carousel(this,options)))}if(typeof option=="number"){data.to(option)}else{if(action){data[action]()}else{if(options.interval){data.pause().cycle()}}}})}var old=$.fn.carousel;$.fn.carousel=Plugin;$.fn.carousel.Constructor=Carousel;$.fn.carousel.noConflict=function(){$.fn.carousel=old;return this};var clickHandler=function(e){var href;var $this=$(this);var $target=$($this.attr("data-target")||(href=$this.attr("href"))&&href.replace(/.*(?=#[^\s]+$)/,""));
if(!$target.hasClass("carousel")){return}var options=$.extend({},$target.data(),$this.data());var slideIndex=$this.attr("data-slide-to");if(slideIndex){options.interval=false}Plugin.call($target,options);if(slideIndex){$target.data("bs.carousel").to(slideIndex)}e.preventDefault()};$(document).on("click.bs.carousel.data-api","[data-slide]",clickHandler).on("click.bs.carousel.data-api","[data-slide-to]",clickHandler);$(window).on("load",function(){$('[data-ride="carousel"]').each(function(){var $carousel=$(this);Plugin.call($carousel,$carousel.data())})})}(jQuery);

2
index_files/common.js Normal file

File diff suppressed because one or more lines are too long

12
index_files/counter.js Normal file
View File

@@ -0,0 +1,12 @@
var _jsq_image = new Image();
function _jsq_encode(){_keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";this.encode=function(a){if(a==null||a==undefined||a=="")return"";var b=new Array();var c,chr2,chr3;var d,enc2,enc3,enc4;var i=0;a=_utf8_encode(a);while(i<a.length){c=a[i++];chr2=a[i++];chr3=a[i++];d=c>>2;enc2=((c&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64}else if(isNaN(chr3)){enc4=64}b.push(_keyStr.charAt(d)+_keyStr.charAt(enc2)+_keyStr.charAt(enc3)+_keyStr.charAt(enc4))}return escape(b.join(''))};_utf8_encode=function(a){a=a.replace(/\r\n/g,"\n");var b=new Array();var d=0;for(var n=0;n<a.length;n++){var c=a.charCodeAt(n);if(c<128){b[d++]=c}else if((c>127)&&(c<2048)){b[d++]=(c>>6)|192;b[d++]=(c&63)|128}else{b[d++]=(c>>12)|224;b[d++]=((c>>6)&63)|128;b[d++]=(c&63)|128}}return b}}
function _jsq_(treeid, pagename, newsid, owner)
{
if(window.top != window)
return;
var c = navigator.appName=='Netscape'?screen.pixelDepth:screen.colorDepth;
var e = new _jsq_encode();
var r = '&e=1&w='+screen.width + '&h='+ screen.height+'&treeid='+treeid+'&refer='+e.encode(document.referrer)+ '&pagename='+e.encode(pagename)+'&newsid='+newsid;
_jsq_image.src = "/system/resource/code/datainput.jsp?owner="+owner+ r;
}

136
index_files/dynclicks.js Normal file
View File

@@ -0,0 +1,136 @@
function _dynClicks_ajax()
{
var xmlhttp = null;
try
{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
catch(e)
{
try
{
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e)
{
try
{
xmlhttp = new XMLHttpRequest();
}
catch(e)
{
}
}
}
return xmlhttp;
}
function _showDynClicks(clicktype, owner, clickid)
{
try
{
var dynobj = "dynclicks_" + clicktype + "_" + clickid + "_" + (Math.floor(Math.random()*1000));
document.write("<span id=\"" + dynobj + "\" name=\"" + dynobj + "\"></span>");
var url = '/system/resource/code/news/click/dynclicks.jsp?clickid='+clickid+'&owner='+owner+'&clicktype='+clicktype;
var xmlhttp = _dynClicks_ajax();
xmlhttp.onreadystatechange = function(){_onShowDynClicks(xmlhttp, dynobj);};
xmlhttp.open("GET",url, true);
xmlhttp.send();
}
catch(e)
{
}
}
function _showDynClickBatch(spanids,wbnewsids,clicktype, owner)
{
if(spanids.length == 0 || wbnewsids.length == 0)
return;
var usespanids = new Array();
var usernewsids = new Array();
for(var i = 0; i < spanids.length; i++)
{
if(document.getElementById(spanids[i]) != null)
{
usespanids[usespanids.length] = spanids[i];
usernewsids[usernewsids.length] = wbnewsids[i];
}
}
if(usespanids.length == 0)
return;
try
{
var url = '/system/resource/code/news/click/dynclicksbatch.jsp?clickids='+usernewsids+'&owner='+owner+'&clicktype='+clicktype;
var xmlhttp = _dynClicks_ajax();
xmlhttp.onreadystatechange = function(){_onShowDynClicksBatch(xmlhttp, usespanids);};
xmlhttp.open("GET",url, true);
xmlhttp.send();
}
catch(e)
{
}
}
function _onShowDynClicksBatch(xmlhttp, dynobjs)
{
if(xmlhttp.readyState == 4 && xmlhttp.status == 200)
{
var texts = xmlhttp.responseText.split(",");
for(var i = 0; i < dynobjs.length;i++)
{
try
{
//针对2个内容重叠而且 id 相同时的处理方法
var imgobjs = document.getElementsByName(dynobjs[i]);
for(var j = 0; j < imgobjs.length; j++)
{
imgobjs[j].innerHTML = texts[i];
}
}
catch(e)
{
}
}
}
}
function _onShowDynClicks(xmlhttp, dynobj)
{
if(xmlhttp.readyState == 4 && xmlhttp.status == 200)
{
try
{
document.getElementById(dynobj).innerHTML = xmlhttp.responseText;
//针对2个内容重叠而且 id 相同时的处理方法
var imgobjs = document.getElementsByName(dynobj);
if(imgobjs.length>0)
{
imgobjs[1].innerHTML = xmlhttp.responseText;
}
}
catch(e)
{
}
}
}
function _addDynClicks(clicktype, owner, clickid)
{
try
{
var url = '/system/resource/code/news/click/addclicktimes.jsp?wburlid=' + clickid + '&owner=' + owner + '&type=' + clicktype;
var xmlhttp = _dynClicks_ajax();
xmlhttp.open("GET",url, true);
xmlhttp.send();
}
catch(e)
{
}
}

1335
index_files/engine.js Normal file

File diff suppressed because it is too large Load Diff

1
index_files/event.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M29.85 37Q27.8 37 26.4 35.6Q25 34.2 25 32.15Q25 30.1 26.4 28.7Q27.8 27.3 29.85 27.3Q31.9 27.3 33.3 28.7Q34.7 30.1 34.7 32.15Q34.7 34.2 33.3 35.6Q31.9 37 29.85 37ZM9 44Q7.8 44 6.9 43.1Q6 42.2 6 41V10Q6 8.8 6.9 7.9Q7.8 7 9 7H12.25V4H15.5V7H32.5V4H35.75V7H39Q40.2 7 41.1 7.9Q42 8.8 42 10V41Q42 42.2 41.1 43.1Q40.2 44 39 44ZM9 41H39Q39 41 39 41Q39 41 39 41V19.5H9V41Q9 41 9 41Q9 41 9 41ZM9 16.5H39V10Q39 10 39 10Q39 10 39 10H9Q9 10 9 10Q9 10 9 10ZM9 16.5V10Q9 10 9 10Q9 10 9 10Q9 10 9 10Q9 10 9 10V16.5Z"/></svg>

After

Width:  |  Height:  |  Size: 580 B

BIN
index_files/fangyuhui.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

49
index_files/formfunc.js Normal file
View File

@@ -0,0 +1,49 @@
/*按钮之类的提交时disabled, 然后提交完成自动enable; 用在提交动作发生前, 如 onsubmit 中
用法举例: 参见本目录formfuncdemo.htm
*/
function VsbFormFunc()
{
var _this = this;
_this.disableAutoEnable = function(o)
{
o.disabled=true;
setTimeout(function(){_this.enableOnComplete(o);}, 500);
}
_this.enableOnComplete = function(o)
{
if(window.document.readyState=='complete')
{
o.disabled = false;
}
else
{
setTimeout(function(){_this.enableOnComplete(o);}, 500);
}
}
};
function changebase64_util(nameList,formName)
{
if(!!nameList && nameList.length>0)
{
for(var i=0;i<nameList.length;i++)
{
var realName = nameList[i];
var tmpName = realName+"_temp";
try{
var tmpNameObj = eval("document."+formName+"."+tmpName);
var nameObj = eval("document."+formName+"."+realName)
if(tmpNameObj &&nameObj)
{
nameObj.value=new Base64().encode(tmpNameObj.value);
new VsbFormFunc().disableAutoEnable(tmpNameObj);
}
}catch (e){}
}
}
return true;
}

1
index_files/group.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M1.9 40V35.3Q1.9 33.55 2.8 32.125Q3.7 30.7 5.3 30Q8.95 28.4 11.875 27.7Q14.8 27 17.9 27Q21 27 23.9 27.7Q26.8 28.4 30.45 30Q32.05 30.7 32.975 32.125Q33.9 33.55 33.9 35.3V40ZM31.1 26.85Q34.55 27.25 37.6 28.025Q40.65 28.8 42.55 29.8Q44.2 30.75 45.15 32.15Q46.1 33.55 46.1 35.3V40H36.9V35.3Q36.9 32.15 35.3 30.125Q33.7 28.1 31.1 26.85ZM17.9 23.95Q14.6 23.95 12.5 21.85Q10.4 19.75 10.4 16.45Q10.4 13.15 12.5 11.05Q14.6 8.95 17.9 8.95Q21.2 8.95 23.3 11.05Q25.4 13.15 25.4 16.45Q25.4 19.75 23.3 21.85Q21.2 23.95 17.9 23.95ZM35.9 16.45Q35.9 19.75 33.8 21.85Q31.7 23.95 28.4 23.95Q27.85 23.95 27.175 23.875Q26.5 23.8 25.95 23.6Q27.15 22.35 27.775 20.525Q28.4 18.7 28.4 16.45Q28.4 14.2 27.775 12.475Q27.15 10.75 25.95 9.3Q26.5 9.15 27.175 9.05Q27.85 8.95 28.4 8.95Q31.7 8.95 33.8 11.05Q35.9 13.15 35.9 16.45ZM4.9 37H30.9V35.3Q30.9 34.5 30.425 33.75Q29.95 33 29.25 32.7Q25.65 31.1 23.2 30.55Q20.75 30 17.9 30Q15.05 30 12.575 30.55Q10.1 31.1 6.5 32.7Q5.8 33 5.35 33.75Q4.9 34.5 4.9 35.3ZM17.9 20.95Q19.85 20.95 21.125 19.675Q22.4 18.4 22.4 16.45Q22.4 14.5 21.125 13.225Q19.85 11.95 17.9 11.95Q15.95 11.95 14.675 13.225Q13.4 14.5 13.4 16.45Q13.4 18.4 14.675 19.675Q15.95 20.95 17.9 20.95ZM17.9 16.45Q17.9 16.45 17.9 16.45Q17.9 16.45 17.9 16.45Q17.9 16.45 17.9 16.45Q17.9 16.45 17.9 16.45Q17.9 16.45 17.9 16.45Q17.9 16.45 17.9 16.45Q17.9 16.45 17.9 16.45Q17.9 16.45 17.9 16.45ZM17.9 30Q17.9 30 17.9 30Q17.9 30 17.9 30Q17.9 30 17.9 30Q17.9 30 17.9 30Q17.9 30 17.9 30Q17.9 30 17.9 30Q17.9 30 17.9 30Q17.9 30 17.9 30Z"/></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M4 40V35.3Q4 33.6 4.85 32.175Q5.7 30.75 7.4 30Q11 28.4 14 27.7Q17 27 20 27Q21.45 27 23.075 27.175Q24.7 27.35 26.4 27.8L23.95 30.25Q22.95 30.15 21.975 30.075Q21 30 20 30Q17.1 30 14.725 30.525Q12.35 31.05 8.6 32.7Q7.75 33.1 7.375 33.85Q7 34.6 7 35.3V37H22.95L25.95 40ZM31.25 40.8 24.2 33.75 26.3 31.65 31.25 36.6 41.9 25.95 44 28.05ZM20 23.9Q16.7 23.9 14.6 21.8Q12.5 19.7 12.5 16.4Q12.5 13.1 14.6 11Q16.7 8.9 20 8.9Q23.3 8.9 25.4 11Q27.5 13.1 27.5 16.4Q27.5 19.7 25.4 21.8Q23.3 23.9 20 23.9ZM22.95 37Q22.95 37 22.95 37Q22.95 37 22.95 37Q22.95 37 22.95 37Q22.95 37 22.95 37Q22.95 37 22.95 37Q22.95 37 22.95 37ZM20 20.9Q21.95 20.9 23.225 19.625Q24.5 18.35 24.5 16.4Q24.5 14.45 23.225 13.175Q21.95 11.9 20 11.9Q18.05 11.9 16.775 13.175Q15.5 14.45 15.5 16.4Q15.5 18.35 16.775 19.625Q18.05 20.9 20 20.9ZM20 16.4Q20 16.4 20 16.4Q20 16.4 20 16.4Q20 16.4 20 16.4Q20 16.4 20 16.4Q20 16.4 20 16.4Q20 16.4 20 16.4Q20 16.4 20 16.4Q20 16.4 20 16.4Z"/></svg>

After

Width:  |  Height:  |  Size: 1014 B

BIN
index_files/kong.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

1
index_files/language.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M24 44Q19.8 44 16.15 42.425Q12.5 40.85 9.8 38.15Q7.1 35.45 5.55 31.775Q4 28.1 4 23.9Q4 19.7 5.55 16.075Q7.1 12.45 9.8 9.75Q12.5 7.05 16.15 5.525Q19.8 4 24 4Q28.2 4 31.85 5.525Q35.5 7.05 38.2 9.75Q40.9 12.45 42.45 16.075Q44 19.7 44 23.9Q44 28.1 42.45 31.775Q40.9 35.45 38.2 38.15Q35.5 40.85 31.85 42.425Q28.2 44 24 44ZM31.9 16.5H39.4Q37.75 13.05 34.875 10.75Q32 8.45 28.25 7.5Q29.5 9.35 30.375 11.5Q31.25 13.65 31.9 16.5ZM19.2 16.5H28.9Q28.35 13.85 27.05 11.375Q25.75 8.9 24 7Q22.4 8.35 21.3 10.55Q20.2 12.75 19.2 16.5ZM7.6 28.45H15.55Q15.4 27.1 15.375 26.025Q15.35 24.95 15.35 23.9Q15.35 22.65 15.4 21.675Q15.45 20.7 15.6 19.5H7.6Q7.25 20.7 7.125 21.65Q7 22.6 7 23.9Q7 25.2 7.125 26.225Q7.25 27.25 7.6 28.45ZM19.75 40.5Q18.5 38.6 17.6 36.4Q16.7 34.2 16.1 31.45H8.6Q10.5 35 13 37.025Q15.5 39.05 19.75 40.5ZM8.6 16.5H16.15Q16.7 13.8 17.55 11.675Q18.4 9.55 19.7 7.55Q15.95 8.5 13.15 10.75Q10.35 13 8.6 16.5ZM24 41.1Q25.75 39.3 26.925 36.975Q28.1 34.65 28.85 31.45H19.2Q19.9 34.45 21.075 36.85Q22.25 39.25 24 41.1ZM18.65 28.45H29.4Q29.6 26.9 29.65 25.925Q29.7 24.95 29.7 23.9Q29.7 22.9 29.65 21.975Q29.6 21.05 29.4 19.5H18.65Q18.45 21.05 18.4 21.975Q18.35 22.9 18.35 23.9Q18.35 24.95 18.4 25.925Q18.45 26.9 18.65 28.45ZM28.3 40.45Q31.9 39.3 34.775 37Q37.65 34.7 39.4 31.45H31.95Q31.3 34.15 30.425 36.35Q29.55 38.55 28.3 40.45ZM32.4 28.45H40.4Q40.75 27.25 40.875 26.225Q41 25.2 41 23.9Q41 22.6 40.875 21.65Q40.75 20.7 40.4 19.5H32.45Q32.6 21.25 32.65 22.175Q32.7 23.1 32.7 23.9Q32.7 25 32.625 25.975Q32.55 26.95 32.4 28.45Z"/></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
index_files/liangjian.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

BIN
index_files/liuyongsong.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
index_files/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

404
index_files/newscontent.js Normal file
View File

@@ -0,0 +1,404 @@
/**
Obtain news content components of the vote
*/
var _newscontent_errcode = "";
var _newscontent_errorcode = "";
var _newscontent_votebgcolor = "";
var _newscontent_votetitlestyle = "";
var _newscontent_votefgcolor = "";
var _newscontent_qdimg = "";
var _newscontent_votestyle = "";
var _newscontent_Welcomevote = "";
var _newscontent_padding = "";
var _newscontent_toupiao = "";
var _newscontent_chakan = "";
var _newscontent_myform = "";
var _newscontent_writevote = "";
var _newscontent_owner = "";
var _newscontent_ip = "";
var _newscontent_newsid = "";
var _newscontent_againvote = "";
var _newscontent_errvote = "";
var _newscontent_thinksvote = "";
var _newscontent_voteresult = "";
function showVote(pnewsid,powner,pvotebgcolor,pvotetitlestyle,pvotefgcolor,pqdimg,pvotestyle,pWelcomevote,ppadding,ptoupiao,pchakan,pformname,pwritevote,pip,pagainvote,perrvote,pthinksvote,pvoteresult)
{
_newscontent_votebgcolor = pvotebgcolor;
_newscontent_votetitlestyle = pvotetitlestyle;
_newscontent_votefgcolor = pvotefgcolor;
_newscontent_qdimg = pqdimg;
_newscontent_votestyle = pvotestyle;
_newscontent_Welcomevote = pWelcomevote;
_newscontent_padding = ppadding;
_newscontent_toupiao = ptoupiao;
_newscontent_chakan = pchakan;
_newscontent_myform = pformname;
_newscontent_writevote = pwritevote;
_newscontent_owner = powner;
_newscontent_ip = pip;
_newscontent_newsid = pnewsid;
_newscontent_againvote = pagainvote;
_newscontent_errvote = perrvote;
_newscontent_thinksvote = pthinksvote;
_newscontent_voteresult = pvoteresult;
NewsvoteDWR.getVoteTitle(pnewsid,powner,_newscontent_puttitle);
}
function _newscontent_puttitle(title)
{
if(title.result == "true")
{
var vote = "<div style='border:1px solid #cffcff;_newscontent_padding:4px;background-color:"+_newscontent_votebgcolor+";width:100%'>"
vote += "<table width='100%' align='center' " + _newscontent_votetitlestyle + ">";
vote += "<div style='_newscontent_padding:5px;border-bottom:1px dashed " + _newscontent_votefgcolor + ";margin:5px 5px 5px 5px;'>" + _newscontent_qdimg + "<span " + _newscontent_votestyle + ">&nbsp;&nbsp;" + _newscontent_Welcomevote + "</span></div>"
for(i=0; i<title.titlelist.length;i++)
{
var type = "radio";
var checked = "checked";
if(title.radiolist[i]==1)
{
type = "checkbox";
checked = "";
}
vote += "<tr>";
vote += "<td title='"+title.captionlist[i]+"' colspan=4 height=100% " + _newscontent_votetitlestyle + ">";
vote += title.titlelist[i];
vote += "</td>";
vote += "</tr>";
for(j = 0;j< title.option[i].optitlelist.length;j++)
{
if(j != 0)
checked = "";
vote += "<tr>";
vote += "<td style='_newscontent_padding-left:" + _newscontent_padding + "px' title='"+ title.option[i].optitlelist[j]+ "' colspan=4 height=100% " + _newscontent_votetitlestyle + ">";
vote += "<input type="+ type +" name='vote"+ type+ title.titleidlist[i] +"' "+ checked +" value="+ title.option[i].opidlist[j] +"> "
vote += title.option[i].optitlelist[j];
vote += "</td>";
vote += "</tr>";
}
}
vote += "<tr>"
vote += "<td align='center'>"
vote += _newscontent_toupiao;
vote += " "+_newscontent_chakan;
vote += "</td>"
vote += "</tr>"
vote += "</table>";
vote += "</div>"
document.getElementById("div_vote_id").innerHTML = vote;
}
else
{
}
}
function _newscontent_getresult(_newscontent_newsid,_newscontent_owner)
{
var hascheck =false;
var ischeck = false;
for(var i = 0; i < _newscontent_myform.elements.length; i++)
{
var item = _newscontent_myform.elements[i];
if(item.tagName == "INPUT" )
{
if(item.type.toLowerCase()=="checkbox")
{
hascheck = true;
var checkboxvalues = document.getElementsByName(item.name);
for(var j=0;j<checkboxvalues.length; j++)
{
if(checkboxvalues[j].checked )
{
ischeck = true;
break;
}
}
}
}
}
if(!ischeck && hascheck)
{
alert(_newscontent_writevote);
return false;
}
NewsvoteDWR.isVote(_newscontent_newsid,_newscontent_owner,_newscontent_ip,_newscontent_isvote);
}
function _newscontent_isvote(result)
{
if(result)
{
NewsvoteDWR.getVoteTitle(_newscontent_newsid,_newscontent_owner,_newscontent_setoption);
}
else
{
alert(_newscontent_againvote);
}
}
function _newscontent_lookresult()
{
NewsvoteDWR.getResult(_newscontent_newsid,_newscontent_owner,_newscontent_putresult);
}
function _newscontent_setoption(result)
{
for(i=0; i<result.titlelist.length;i++)
{
if(result.radiolist[i]==0)
{
NewsvoteDWR.save(result.titleidlist[i],_newscontent_owner,_newscontnent_checkRadioValue("voteradio" + result.titleidlist[i]),_newscontent_ip,_newscontent_seterror);
}
if(result.radiolist[i]==1)
{
var item = document.getElementsByName("votecheckbox"+result.titleidlist[i]);
for(j = 0;j< result.option[i].optitlelist.length;j++)
{
if(item[j].checked)
NewsvoteDWR.save(result.titleidlist[i],_newscontent_owner,item[j].value,_newscontent_ip,_newscontent_seterror);
}
}
}
_newscontent_geterror();
}
function _newscontent_seterror(error)
{
if(error=="")
_newscontent_errorcode = _newscontent_errvote;
_newscontent_errcode = error;
}
function _newscontent_geterror()
{
if(_newscontent_errorcode!="")
alert(_newscontent_errorcode);
else
alert(_newscontent_thinksvote);
NewsvoteDWR.getResult(_newscontent_newsid,_newscontent_owner,_newscontent_putresult);
}
function _newscontent_putresult(title)
{
if(title.result == "true")
{
var vote = "<div style='border:1px solid #cffcff;_newscontent_padding:4px;background-color:#F9F9F9;width:100%'>"
vote += "<table width='100%' align='center' " + _newscontent_votetitlestyle + ">";
vote += "<div style='_newscontent_padding:5px;border-bottom:1px dashed #222222;margin:5px 5px 5px 5px;'>" + _newscontent_qdimg + "<span " + _newscontent_votestyle + ">&nbsp;&nbsp;" + _newscontent_voteresult + "</span></div>"
for(i=0; i<title.titlelist.length;i++)
{
vote += "<tr>";
vote += "<td title='"+title.captionlist[i]+"' " + _newscontent_votetitlestyle + ">";
vote += title.titlelist[i];
vote += "</td>";
vote += "</tr>";
for(j = 0;j< title.option[i].optitlelist.length;j++)
{
vote += "<tr>";
vote += "<td style='_newscontent_padding-left:" + _newscontent_padding + "px' title='"+ title.option[i].optitlelist[j]+ "' width='60%' " + _newscontent_votetitlestyle + ">";
vote += title.option[i].optitlelist[j];
vote += "</td>";
vote += "</tr>";
vote += "<tr>"
vote += "<td>"
vote += "<div class='process'>"
vote += "<div class='style7' style='width:"+ title.option[i].opnumlist[j] +"'></div></div>"
vote += title.option[i].opchecklist[j]+"("+ title.option[i].opnumlist[j] +")";
vote += "</td>"
vote += "</tr>";
}
}
vote += "</table>";
vote += "</div>"
document.getElementById("div_vote_id").innerHTML = vote;
}
else
{
alert(_newscontent_errvote);
}
}
function _newscontnent_checkRadioValue(keystr)
{
var keyname = keystr;
var obj = document.getElementsByName(keyname);
var flag = false;
var i = 0;
if(obj == null)
{
return "";
}
if(obj.length == null)
{
if(obj.checked)
{
return obj.value;
}
}
for(i = 0; i < obj.length; i++)
{
if(obj[i].checked)
{
return obj[i].value;
break;
}
}
return "";
}
function shareto(a,U,T,S,key)
{
var ec = encodeURIComponent,
A = '/system/resource/news/weiboshare.htm';
var C = '?type=' + a + '&url=' + ec(U || document.location) + '&title=' + ec(T) + (S ? '&summary=' + S : '')+(key ? '&appkey=' + key : '');
if(a=='tsohu')
C = '?type=' + a + '&url=' + ec(U || document.location) + '&title=' + T + (S ? '&summary=' + S : '')+(key ? '&appkey=' + key : '');
try
{
window.open(A + C, '');
} catch (e)
{
}
return false;
}
function download_news(contentid,treeid,owner,newsid)
{
if(checkobj_content(contentid))
{
if(confirm('文章含有word中无法显示内容下载后可能无法正常显示。是否继续下载'))
{
location.href='/system/resource/news/newstoword.jsp?treeid='+treeid+'&owner='+owner+'&wbnewsid='+newsid;
}
}else{
location.href='/system/resource/news/newstoword.jsp?treeid='+treeid+'&owner='+owner+'&wbnewsid='+newsid;
}
}
function checkobj_content(contentid)
{
if(getContentTags(contentid))
{
return true;
}
return false;
}
function getContentTags(contentid)
{
var current;
var contentNode = document.getElementById(contentid).innerHTML;
var regex = /<object|OBJECT|iframe|IFRAME|embed|EMBED[^>/]*>(.*?)<\/object|OBJECT|iframe|IFRAME|embed|EMBED>/i;
var groups = regex.exec(contentNode);
if(groups){
return true;
}
return false;
}
function show_vsb_content_tips(buttonObj,conentid)
{
buttonObj.style.display="none";
var o=document.getElementById(conentid);
o.style.display="";
}
//正文中输出mp3播放代码
function showVsbAudio(aurl,vheight,vwidth,align,styles,vautoplay)
{
if(aurl=="")
{
return;
}
var playersrc = "/system/resource/images/ueditor/musicFlash/player_mp3_maxi.swf";
var flashvars = "mp3="+aurl+"&showstop=1&showvolume=1&bgcolor1=eeeeee&bgcolor2=a0a0a0";
var autoplayStr = "";
if(vautoplay=="true")
{
autoplayStr = "autoplay = 'true'";
flashvars +="&autoplay=1";
}
var outputHTML="";
outputHTML +='<audio src="'+aurl+'" width="'+vwidth+'" height="'+vheight+'" '+autoplayStr+' align="'+align+'" style="'+styles+'" controls="controls"><embed align="'+align+'" style="'+styles+'" width="'+vwidth+'" height="'+vheight+'" src="'+playersrc+'" flashvars="'+flashvars+'" /></audio>';
document.write(outputHTML);
}
/**
* 正文中显示PDF
* @param path
* @param width
* @param heigth
* @param imagenum
* @param style
* @param imagedata
*/
function showVsbpdfIframe(path,width,heigth,imagenum,style,imagedata){
if(path=="")
{
return;
}
var outputHTML="";
//判断浏览器版本
if(isSupportPddfjs()){
//pdfjs
outputHTML = "<iframe src=\"/system/resource/pdfjs/viewer.html?file="+encodeURIComponent(path)+"\" width=\""+width+"\" height=\""+heigth+"\" style='"+style+"'></iframe>";
}else{
//图片
if(imagedata && imagedata.length >0){
var imageStr = "";
imageStr = "<div style='"+style+";overflow-y: auto;overflow-x:hidden;text-indent: 0;width: "+(width.indexOf("%") != -1?width:width+"px")+";height: "+(heigth.indexOf("%") != -1?heigth:heigth+"px")+"; '>";
for(var i=0;i<imagedata.length ;i++){
var tmpimgpath = imagedata[i];
imageStr += "<img src='"+tmpimgpath+"' width='100%' class='img_vsb_content'>";
imageStr += "<div style=\"height:32px;line-height:32px;font-size:14px; width:100%;background-color:#3D3D3D;text-align:center;color:#ececec;\">第 "+(i+1)+" 页</div>";
}
imageStr += "</div>";
outputHTML = imageStr;
}else{
outputHTML = "<iframe src=\""+path+"\" width=\""+width+"\" height=\""+heigth+"\" style='"+style+"'></iframe>";
}
}
document.write(outputHTML);
}
/**
* 判断浏览器是否支持pdf.js
* @returns {boolean}
*/
function isSupportPddfjs(){
var agent = navigator.userAgent.toLowerCase();
var isIe = /(msie\s|trident.*rv:)([\w.]+)/.test(agent);
var version = 0;
if(isIe){
var v1 = agent.match(/(?:msie\s([\w.]+))/);
var v2 = agent.match(/(?:trident.*rv:([\w.]+))/);
if(v1 && v2 && v1[1] && v2[1]){
version = Math.max(v1[1]*1,v2[1]*1);
}else if(v1 && v1[1]){
version = v1[1]*1;
}else if(v2 && v2[1]){
version = v2[1]*1;
}else{
version = 0;
}
if(version < 11){
return false;
}
}
var safari;
if(/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(agent) && !/chrome/i.test(agent)){
safari = + (RegExp['\x241'] || RegExp['\x242']);
}
if(safari && safari < 9){
return false;
}
var mobile = agent.match(/applewebkit.*mobile.*/);
if(mobile){
return false;
}
return true;
}

1
index_files/nry1.vsb.css Normal file
View File

@@ -0,0 +1 @@
/*vsb_css*/

1
index_files/person.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M24 23.95Q20.7 23.95 18.6 21.85Q16.5 19.75 16.5 16.45Q16.5 13.15 18.6 11.05Q20.7 8.95 24 8.95Q27.3 8.95 29.4 11.05Q31.5 13.15 31.5 16.45Q31.5 19.75 29.4 21.85Q27.3 23.95 24 23.95ZM8 40V35.3Q8 33.4 8.95 32.05Q9.9 30.7 11.4 30Q14.75 28.5 17.825 27.75Q20.9 27 24 27Q27.1 27 30.15 27.775Q33.2 28.55 36.55 30Q38.1 30.7 39.05 32.05Q40 33.4 40 35.3V40ZM11 37H37V35.3Q37 34.5 36.525 33.775Q36.05 33.05 35.35 32.7Q32.15 31.15 29.5 30.575Q26.85 30 24 30Q21.15 30 18.45 30.575Q15.75 31.15 12.6 32.7Q11.9 33.05 11.45 33.775Q11 34.5 11 35.3ZM24 20.95Q25.95 20.95 27.225 19.675Q28.5 18.4 28.5 16.45Q28.5 14.5 27.225 13.225Q25.95 11.95 24 11.95Q22.05 11.95 20.775 13.225Q19.5 14.5 19.5 16.45Q19.5 18.4 20.775 19.675Q22.05 20.95 24 20.95ZM24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45Q24 16.45 24 16.45ZM24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Q24 37 24 37Z"/></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
index_files/ruanhuada.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M22 42V39H39Q39 39 39 39Q39 39 39 39V23.8Q39 20.9 37.75 18.225Q36.5 15.55 34.4 13.5Q32.3 11.45 29.6 10.225Q26.9 9 24 9Q21.1 9 18.4 10.225Q15.7 11.45 13.6 13.5Q11.5 15.55 10.25 18.225Q9 20.9 9 23.8V36H8Q6.35 36 5.175 34.825Q4 33.65 4 32V28Q4 26.85 4.55 25.975Q5.1 25.1 6 24.55L6.15 21.9Q6.6 18.25 8.225 15.3Q9.85 12.35 12.275 10.3Q14.7 8.25 17.725 7.125Q20.75 6 24 6Q27.3 6 30.325 7.125Q33.35 8.25 35.75 10.325Q38.15 12.4 39.775 15.325Q41.4 18.25 41.85 21.85L42 24.45Q42.9 24.9 43.45 25.775Q44 26.65 44 27.7V32.3Q44 33.4 43.45 34.25Q42.9 35.1 42 35.55V39Q42 40.25 41.125 41.125Q40.25 42 39 42ZM18 27.5Q17.4 27.5 16.95 27.05Q16.5 26.6 16.5 25.95Q16.5 25.35 16.95 24.925Q17.4 24.5 18.05 24.5Q18.65 24.5 19.075 24.925Q19.5 25.35 19.5 26Q19.5 26.6 19.075 27.05Q18.65 27.5 18 27.5ZM30 27.5Q29.4 27.5 28.95 27.05Q28.5 26.6 28.5 25.95Q28.5 25.35 28.95 24.925Q29.4 24.5 30.05 24.5Q30.65 24.5 31.075 24.925Q31.5 25.35 31.5 26Q31.5 26.6 31.075 27.05Q30.65 27.5 30 27.5ZM12.05 24.9Q11.85 21.95 12.875 19.55Q13.9 17.15 15.625 15.475Q17.35 13.8 19.6 12.9Q21.85 12 24.1 12Q28.65 12 31.75 14.875Q34.85 17.75 35.55 22.05Q30.85 22 27.275 19.525Q23.7 17.05 21.75 13.1Q20.95 17.15 18.375 20.275Q15.8 23.4 12.05 24.9Z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
index_files/tangjie.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

BIN
index_files/tangtao.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

1466
index_files/template.css Normal file

File diff suppressed because it is too large Load Diff

1
index_files/topic.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M12.5 23.5H35.5V20.5H12.5ZM12.5 31.5H27.5V28.5H12.5ZM7.05 40Q5.85 40 4.95 39.075Q4.05 38.15 4.05 37V11Q4.05 9.85 4.95 8.925Q5.85 8 7.05 8H21.05L24.05 11H41.05Q42.2 11 43.125 11.925Q44.05 12.85 44.05 14V37Q44.05 38.15 43.125 39.075Q42.2 40 41.05 40ZM7.05 11V37Q7.05 37 7.05 37Q7.05 37 7.05 37H41.05Q41.05 37 41.05 37Q41.05 37 41.05 37V14Q41.05 14 41.05 14Q41.05 14 41.05 14H22.8L19.8 11H7.05Q7.05 11 7.05 11Q7.05 11 7.05 11ZM7.05 11Q7.05 11 7.05 11Q7.05 11 7.05 11V14Q7.05 14 7.05 14Q7.05 14 7.05 14V37Q7.05 37 7.05 37Q7.05 37 7.05 37Q7.05 37 7.05 37Q7.05 37 7.05 37Z"/></svg>

After

Width:  |  Height:  |  Size: 647 B

View File

@@ -0,0 +1,11 @@
+function($){
var side;var mun;$("ul.navbar-nav>li>ul").addClass("dropdown-menu");
$(".dropdown-toggle").attr("data-toggle","mydropdown");
$(".dropdown-toggle").attr("role","button");
$(".dropdown-toggle").attr("aria-expanded","false");
$("html").css({"-webkit-filter":"none!important"})
}(jQuery);

1
index_files/upload.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M22.5 32.35V13.8L16.5 19.8L14.35 17.65L24 8L33.65 17.65L31.5 19.8L25.5 13.8V32.35ZM11 40Q9.8 40 8.9 39.1Q8 38.2 8 37V29.85H11V37Q11 37 11 37Q11 37 11 37H37Q37 37 37 37Q37 37 37 37V29.85H40V37Q40 38.2 39.1 39.1Q38.2 40 37 40Z"/></svg>

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
index_files/zhumingruo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB