?? viewdm.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+" "+JiNode.attributes.getNamedItem("JiName").text);
%>
</title>
</head>
<body>
<center>
<%
Response.write(DMNode.attributes.getNamedItem("DMName").text+" "+JiNode.attributes.getNamedItem("JiName").text);
%><p align='center'>
<%=((PageIndex==1)?"上一頁":"<a href=\'viewdm.asp?DMIndex="+DMIndex+"&JIIndex="+JIIndex+"&PageIndex="+(PageIndex-1)+"\'>上一頁</a>")%> <select onchange='SetPage(this)'><%
for(i=0;i<PageNum;i++)
{
Response.write("<option value=\'"+(i+1)+"\'"+(((i+1)==PageIndex)?" selected":"")+">"+(i+1)+"</option>");
}
%></select> <%=((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>")%> <select onchange='SetPage(this)'><%
for(i=0;i<PageNum;i++)
{
Response.write("<option value=\'"+(i+1)+"\'"+(((i+1)==PageIndex)?" selected":"")+">"+(i+1)+"</option>");
}
%></select> <%=((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 + -