⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 info.asp

📁 政府网站集成OA办公考勤新闻发布网站信息管理会员管理
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CodePage="936"%>
<%
'jetiben.com
Option Explicit
Response.Buffer = True
Server.scriptTimeout="20"
on error resume next
Dim Jurl:Jurl=Left(Request.ServerVariables("URL"),InstrRev(Request.ServerVariables("URL"),"/")-1)
Dim strSourceFile,objXML,objRootsite,AllNodesNum
strSourceFile=Server.MapPath("xml/info.xml")
Set objXML=Server.CreateObject("Microsoft.XMLDOM")
objXML.load(strSourceFile)
Set objRootsite=objXML.documentElement.selectSingleNode("qqinfo")
Dim Sitename,Siteskin,siteww,sitemyt,sitemsn,sitetel1,sitetel2,sitefax,siteemail,sitepost,siteaddress,siteskype
Sitename=objRootsite.childNodes.item(0).childNodes.item(0).text
Siteskin=objRootsite.childNodes.item(0).childNodes.item(1).text
sitemyt=objRootsite.childNodes.item(0).childNodes.item(4).text
sitemsn=objRootsite.childNodes.item(0).childNodes.item(5).text
siteskype=objRootsite.childNodes.item(0).childNodes.item(6).text
siteww=objRootsite.childNodes.item(0).childNodes.item(7).text
sitetel1=objRootsite.childNodes.item(0).childNodes.item(8).text
sitetel2=objRootsite.childNodes.item(0).childNodes.item(9).text
sitefax=objRootsite.childNodes.item(0).childNodes.item(10).text
siteemail=objRootsite.childNodes.item(0).childNodes.item(11).text
sitepost=objRootsite.childNodes.item(0).childNodes.item(12).text
siteaddress=objRootsite.childNodes.item(0).childNodes.item(13).text
Set objRootsite=nothing
Set objXML=nothing
strSourceFile=Server.MapPath("xml/qq.xml")
Set objXML=Server.CreateObject("Microsoft.FreeThreadedXMLDOM")
objXML.load(strSourceFile)
Set objRootsite=objXML.documentElement.selectSingleNode("qqlist")
AllNodesNum=objRootsite.childNodes.length-1
Dim iCount
%> 
document.write('<table cellSpacing="0" cellPadding="0" width="200" border="0" id="qqtab">');

document.write('    <tr>');
document.write('      <td width="200" valign="middle" align="center"><img src="<%=Jurl%>/images/qq/skin/<%=Siteskin%>/top.gif" border="0"></td>');
document.write('    </tr>');
document.write('    <tr id="qqstab">');
document.write('      <td valign="middle" align="center" background="<%=Jurl%>/images/qq/skin/<%=Siteskin%>/middle.gif">');    
document.write('<table border="0" width="180" align="center" cellSpacing="0" cellPadding="0">');
document.write('  <tr>');
document.write('    <td width="180" height="5" border="0" colspan="2"></td>');
document.write('  </tr>');
<%
For iCount=0 to AllNodesNum
%>
document.write('  <tr>');
if (online[<%=iCount%>]==0)
{
document.write('    <td width="60" height="22" valign="middle" align="center">');
document.write("<a target=blank href=tencent://message/?uin=<%=objRootsite.childNodes.item(iCount).childNodes.item(0).text%>&amp;Site=<%=Sitename%>&amp;Menu=yes><img src=<%=Jurl%>/images/qqface/<%=objRootsite.childNodes.item(iCount).childNodes.item(2).text%>_f.gif border=0></a>");
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="left">');
document.write("<a target=blank href=tencent://message/?uin=<%=objRootsite.childNodes.item(iCount).childNodes.item(0).text%>&amp;Site=<%=Sitename%>&amp;Menu=yes><font style=font-size:12px;TEXT-DECORATION:none;color:<%=objRootsite.childNodes.item(iCount).childNodes.item(3).text%>;><%=objRootsite.childNodes.item(iCount).childNodes.item(1).text%></font></a><br>");
document.write('    </td>');
}
else
{
document.write('    <td width="60" height="22" valign="middle" align="center">');
document.write("<a target=blank href=tencent://message/?uin=<%=objRootsite.childNodes.item(iCount).childNodes.item(0).text%>&amp;Site=<%=Sitename%>&amp;Menu=yes><img src=<%=Jurl%>/images/qqface/<%=objRootsite.childNodes.item(iCount).childNodes.item(2).text%>_m.gif border=0></a>");
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="left">');
document.write("<a target=blank href=tencent://message/?uin=<%=objRootsite.childNodes.item(iCount).childNodes.item(0).text%>&amp;Site=<%=Sitename%>&amp;Menu=yes><font style=font-size:12px;TEXT-DECORATION:none;color:<%=objRootsite.childNodes.item(iCount).childNodes.item(3).text%>;><%=objRootsite.childNodes.item(iCount).childNodes.item(1).text%></font></a><br>");
document.write('    </td>');
}
document.write('  </tr>');
<%
Next
Set objRootsite=nothing
Set objXML=nothing
%>
 <%
if  siteww <> "" then
%>
document.write('    <tr >');
document.write('      <td width="60" height="22" valign="middle" align="center">');
document.write('<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid=<%=siteww%>&s=2" ><img border="0" src="http://amos1.taobao.com/online.ww?v=2&uid=<%=siteww%>&s=2" alt="点击这里给我发消息" /></a>');
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="LEFT" style=font-size:12px;TEXT-DECORATION:none>');
document.write("<a target=_blank href=http://amos1.taobao.com/msg.ww?v=2&uid=<%=siteww%>&s=2 >阿里旺旺</a>");
document.write('    </td>');
document.write('    </tr>');
 <%end if%>
 <%
if  sitemyt <> "" then
%>
document.write('    <tr >');

document.write('     <td width="60" height="22" valign="middle" align="center">');

document.write('<a target="_blank" href="http://amos1.sh1.china.alibaba.com/msg.atc?v=1&amp;uid=<%=sitemyt%>" ><img border="0" src="http://amos1.sh1.china.alibaba.com/online.atc?v=1&amp;uid=<%=sitemyt%>&amp;s=101" alt="点击这里给我发消息" /></a>');
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="LEFT" style=font-size:12px;TEXT-DECORATION:none>');
document.write("<a target=_blank href=http://amos1.sh1.china.alibaba.com/msg.atc?v=1&amp;uid=<%=sitemyt%> >阿里贸易通</a>");
document.write('    </td>');
document.write('    </tr>');
<%end if%>
<%
if  sitemsn <> "" then
%>
document.write('    <tr >');

document.write('      <td width="60" height="22" valign="middle" align="center">');
document.write('  <a target="_blank" href="msnim:chat?contact=<%=sitemsn%>" ><img border="0" src="<%=Jurl%>/images/msn.gif" width="21" height="22" alt="点击这里给我发消息"/></a>');
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="LEFT" style=font-size:12px;TEXT-DECORATION:none>');
document.write("<a target=_blank href=msnim:chat?contact=<%=sitemsn%>>MSN</a>");
document.write('    </td>');
document.write('    </tr>');
<%end if%>
<%
if  siteskype <> "" then
%>
document.write('    <tr >');
document.write('      <td width="60" height="22" valign="middle" align="center">');
document.write('<a target="_blank" href="skype:<%=siteskype%>?call" ><img border="0" src="<%=Jurl%>/images/skype.gif" width="34" height="34" alt="点击这里给我发消息"/></a>');
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="LEFT" style=font-size:12px;TEXT-DECORATION:none>');
document.write("<a target=_blank href=skype:<%=siteskype%>?call >SKYPE</a>");
document.write('    </td>');
document.write('    </tr>');
<%end if%>
<%
if  sitetel1 <> "" then
%>
document.write('    <tr >');
document.write('      <td width="60" height="22" valign="middle" align="center" style=font-size:12px;TEXT-DECORATION:none>');
document.write('电话:');
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="LEFT" style=font-size:12px;TEXT-DECORATION:none>');
document.write("<%=sitetel1%>");
document.write('    </td>');
document.write('    </tr>');
<%end if%>

<%
if  sitetel2<> "" then
%>
document.write('    <tr >');
document.write('      <td width="60" height="22" valign="middle" align="center" style=font-size:12px;TEXT-DECORATION:none>');
document.write('电话:');
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="LEFT" style=font-size:12px;TEXT-DECORATION:none>');
document.write("<%=sitetel2%>");
document.write('    </td>');
document.write('    </tr>');
<%end if%>

<%
if  sitefax<> "" then
%>
document.write('    <tr >');
document.write('      <td width="60" height="22" valign="middle" align="center" style=font-size:12px;TEXT-DECORATION:none>');
document.write('传真:');
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="LEFT" style=font-size:12px;TEXT-DECORATION:none>');
document.write("<%=sitefax%>");
document.write('    </td>');
document.write('    </tr>');
<%end if%>


<%
if  siteemail<> "" then
%>
document.write('    <tr >');
document.write('      <td width="60" height="22" valign="middle" align="center" style=font-size:12px;TEXT-DECORATION:none>');
document.write('Email:');
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="LEFT" style=font-size:12px;TEXT-DECORATION:none>');
document.write("<%=siteemail%>");
document.write('    </td>');
document.write('    </tr>');
<%end if%>
<%
if  sitepost<> "" then
%>
document.write('    <tr >');
document.write('      <td width="60" height="22" valign="middle" align="center" style=font-size:12px;TEXT-DECORATION:none>');
document.write('邮编:');
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="LEFT" style=font-size:12px;TEXT-DECORATION:none>');
document.write("<%=sitepost%>");
document.write('    </td>');
document.write('    </tr>');
<%end if%>

<%
if  siteaddress<> "" then
%>
document.write('    <tr >');
document.write('      <td width="60" height="22" valign="middle" align="center" style=font-size:12px;TEXT-DECORATION:none>');
document.write('地址:');
document.write('    </td>');
document.write('    <td width="120" height="22" valign="middle" align="LEFT" style=font-size:12px;TEXT-DECORATION:none>');
document.write("<%=siteaddress%>");
document.write('    </td>');
document.write('    </tr>');
<%end if%>

document.write('</table>');     
document.write('</td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('      <td width="200" onclick="if(document.all.qqstab.style.display==\'none\'){document.all.qqstab.style.display=\'\'} else {document.all.qqstab.style.display=\'none\'}"><img src="<%=Jurl%>/images/qq/skin/<%=Siteskin%>/bottom.gif" border="0"></td>');
document.write('    </tr>');
document.write('</table>');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -