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

📄 viewdm.asp

📁 漫画网站原代码
💻 ASP
字号:
<%@Language='JavaSCRIPT'%><!--#include file="count.asp"-->
<%
var DMIndex=Request.QueryString("DMIndex");
var JIIndex=parseInt(Request.QueryString("JIIndex"));
var PageIndex=parseInt(Request.QueryString("PageIndex"));
var PDom=new ActiveXObject("MSXML2.DOMDocument");
PDom.load(Server.MapPath("dm/"+DMIndex+".xml"));
var DMNode=PDom.selectSingleNode("DM");
var JiNum=DMNode.selectNodes("Jis/Ji").length;
var JiNode=DMNode.selectSingleNode("Jis/Ji[@UIndex=\'"+JIIndex+"\']");
var JiName=JiNode.attributes.getNamedItem("JiName").text;
var PageNum=JiNode.selectNodes("Page").length;
var PageNode=JiNode.selectSingleNode("Page[@UIndex=\'"+PageIndex+"\']");
var i;
%>
<head>
<title>
<%
Response.write(DMNode.attributes.getNamedItem("DMName").text+"&nbsp;&nbsp;"+JiNode.attributes.getNamedItem("JiName").text);
%>
</title>
</head>
<body>
<center>

<%
Response.write(DMNode.attributes.getNamedItem("DMName").text+"&nbsp;&nbsp;"+JiNode.attributes.getNamedItem("JiName").text);
%><p align='center'>

<%=((PageIndex==1)?"上一页":"<a href=\'viewdm.asp?DMIndex="+DMIndex+"&JIIndex="+JIIndex+"&PageIndex="+(PageIndex-1)+"\'>上一页</a>")%>&nbsp;<select onchange='SetPage(this)'><%
for(i=0;i<PageNum;i++)
{
Response.write("<option value=\'"+(i+1)+"\'"+(((i+1)==PageIndex)?" selected":"")+">"+(i+1)+"</option>");
}
%></select>&nbsp;<%=((PageIndex!=PageNum)?("<a href=\'viewdm.asp?DMIndex="+DMIndex+"&JIIndex="+JIIndex+"&PageIndex="+(PageIndex+1)+"\'>下一页</a>"):((JIIndex!=JiNum)?"<a href=\'viewdm.asp?DMIndex="+DMIndex+"&JIIndex="+(JIIndex+1)+"&PageIndex=1\'>下一集</a>":"已完结"))%><br/>

<img src='<%=PageNode.attributes.getNamedItem("Url").text%>'/><br/>

<%=((PageIndex==1)?"上一页":"<a href=\'viewdm.asp?DMIndex="+DMIndex+"&JIIndex="+JIIndex+"&PageIndex="+(PageIndex-1)+"\'>上一页</a>")%>&nbsp;<select onchange='SetPage(this)'><%
for(i=0;i<PageNum;i++)
{
Response.write("<option value=\'"+(i+1)+"\'"+(((i+1)==PageIndex)?" selected":"")+">"+(i+1)+"</option>");
}
%></select>&nbsp;<%=((PageIndex!=PageNum)?("<a href=\'viewdm.asp?DMIndex="+DMIndex+"&JIIndex="+JIIndex+"&PageIndex="+(PageIndex+1)+"\'>下一页</a>"):((JIIndex!=JiNum)?"<a href=\'viewdm.asp?DMIndex="+DMIndex+"&JIIndex="+(JIIndex+1)+"&PageIndex=1\'>下一集</a>":"已完结"))%>
<script>
function SetPage(obj)
{
document.location="viewdm.asp?DMIndex=<%=DMIndex%>&JIIndex=<%=JIIndex%>&PageIndex="+obj.value;
}
</script>

<script>
var tixa_bad_mm_flag=true; <!-- BHVAD flag -->
var tixa_nadInIframe=false; <!-- iframe flag -->
var tixa_nadRowCount=1; <!--the row count of narrowad-->
var tixa_nadColumnCount=3;<!--the column count of narrowad-->
var tixa_nadHeight=85; <!--total height of narrowad-->
var tixa_nadWidth=525; <!--total width of narrowad-->
var tixa_nadBorderColor='9178E7'; <!--the color of the narrowad's border-->
var tixa_nadBgColor='F0ECFF'; <!--the color of the narrowad's background-->
var tixa_nadTitleColor='0000ff'; <!--the color of the ad's title-->
var tixa_nadDescColor='000000'; <!--the color of the ad's description-->
var tixa_adType='text'; <!--narrowad type-->
</script>
<script src='http://union.narrowad.com/proxy/narrowad.jsp?wid=9967&cid=36449'></script>
<script>
var tixa_bad_mm_flag=true; <!-- BHVAD flag -->
var tixa_wadRowCount=1; <!--the row count of widead-->
var tixa_wadColumnCount=3; <!--the column count of widead-->
var tixa_wadHeight=85; <!--total height of widead-->
var tixa_wadWidth=525; <!--total width of widead-->
var tixa_wadBorderColor='000000'; <!--the color of the widead's border-->
var tixa_wadBgColor='FFFFFF'; <!--the color of the widead's background-->
var tixa_wadTitleColor='0000ff'; <!--the color of the ad's title-->
var tixa_wadDescColor='034500'; <!--the color of the ad's description-->
var tixa_adType='text'; <!--widead type-->
</script>
<script src='http://union.narrowad.com/proxy/widead.jsp?wid=9967&cid=36449'></script>
</center>
</body>

⌨️ 快捷键说明

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