📄 street.aspx
字号:
<%@ Page language="c#" Codebehind="street.aspx.cs" AutoEventWireup="false" Inherits="xajh.street" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>繁华街市</title>
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<link href="css/xajh.css" type="text/css" rel="stylesheet">
<script language="javascript" type="text/javascript">
function checkdis(v)
{
if (v == "-1")
{
return "..";
}
else
{
return v;
}
}
function showinfo(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26)
{
document.writeln ("『要求』等级:<font class=\"byts\">" + checkdis(v1) + "</font><font style=\"position: relative; top: 5\">~</font><font class=\"byts\">" + checkdis(v2) + "</font>");
document.writeln ("战级:<font class=\"byts\">" + checkdis(v3) + "</font><font style=\"position: relative; top: 5\">~</font><font class=\"byts\">" + checkdis(v4) + "</font>");
document.writeln ("会员:<font class=\"byts\">" + checkdis(v5) + "</font><font style=\"position: relative; top: 5\">~</font><font class=\"byts\">" + checkdis(v6) + "</font>");
document.write ("性别:<font class=\"byts\">");
if (v7 == "boy")
{
document.write ("男");
}
else if (v7 == "girl")
{
document.write ("女");
}
else
{
document.write ("无要求");
}
document.write ("</font><br />");
if (v8 != "")
{
document.write ("『附加要求』<font class=\"byts\">" + v8 + "</font><br />");
}
/////////////////////////////////////////////////
document.write ("『耗用』");
if (v9 != "(无)")
{
document.write (v9 + ":<font class=\"byts\">" + v10 + "</font><font style=\"position: relative; top: 5\">~</font><font class=\"byts\">" + v11 + "</font> ");
}
if (v12 != "(无)")
{
document.write (v12 + ":<font class=\"byts\">" + v13 + "</font><font style=\"position: relative; top: 5\">~</font><font class=\"byts\">" + v14 + "</font> ");
}
if (v15 != "(无)")
{
document.write (v15 + ":<font class=\"byts\">" + v16 + "</font><font style=\"position: relative; top: 5\">~</font><font class=\"byts\">" + v17 + "</font> ");
}
document.write ("<br />『增长』");
if (v18 != "(无)")
{
document.write (v18 + ":<font class=\"byts\">" + v19 + "</font><font style=\"position: relative; top: 5\">~</font><font class=\"byts\">" + v20 + "</font> ");
}
if (v21 != "(无)")
{
document.write (v21 + ":<font class=\"byts\">" + v22 + "</font><font style=\"position: relative; top: 5\">~</font><font class=\"byts\">" + v23 + "</font> ");
}
if (v24 != "(无)")
{
document.write (v24 + ":<font class=\"byts\">" + v25 + "</font><font style=\"position: relative; top: 5\">~</font><font class=\"byts\">" + v26 + "</font> ");
}
}
function dowork(v)
{
if (confirm("你确定要进行此操作吗?"))
{
document.street.exeid.value = v;
document.street.byts_execute.click();
}
}
</script>
</head>
<body>
<form id="street" method="post" runat="server">
<div align="center"><asp:label id="showtitle" font-size="11pt" font-bold="True" runat="server">繁华街市</asp:label><br>
[<a href="javascript:window.close()">关闭窗口</a>][<a href="javascript:location.reload()">刷新页面</a>]<hr color="#ffff00" size="1">
<asp:panel id="showtable" runat="server">
<input id="exeid" type="hidden" runat="server">
<asp:datagrid id="works_view" runat="server" bordercolor="White" borderwidth="1px" autogeneratecolumns="False" width="580px"><itemstyle height="75px"></itemstyle>
<headerstyle cssclass="table_head"></headerstyle>
<columns>
<asp:templatecolumn headertext="图 例">
<headerstyle horizontalalign="Center" width="75px"></headerstyle>
<itemstyle cssclass="table_body1" horizontalalign="Center" width="75px"></itemstyle>
<itemtemplate>
<asp:Image Runat="server" ImageUrl='<%# ((System.Data.DataRow) Container.DataItem)["图片"] %>'>
</asp:image>
</itemtemplate>
</asp:templatecolumn>
<asp:templatecolumn headertext="名 称">
<headerstyle horizontalalign="Center" width="75px"></headerstyle>
<itemstyle cssclass="table_body2" horizontalalign="Center" width="75px"></itemstyle>
<itemtemplate>
<%# ((System.Data.DataRow) Container.DataItem)["名称"] %>
<br />
<br />
<br />
[<font style="CURSOR:hand;text-decoration:underline" onclick='dowork(<%# ((System.Data.DataRow) Container.DataItem)["id"] %>)'><%# ((System.Data.DataRow) Container.DataItem)["按钮文字"] %></font>]
</itemtemplate>
</asp:templatecolumn>
<asp:templatecolumn headertext="说 明">
<headerstyle horizontalalign="Center" width="390px"></headerstyle>
<itemstyle cssclass="table_body1" width="390px"></itemstyle>
<itemtemplate>
<script language="javascript" type="text/javascript">
showinfo(
"<%# ((System.Data.DataRow) Container.DataItem)["等级最小"] %>",//1
"<%# ((System.Data.DataRow) Container.DataItem)["等级最大"] %>",//2
"<%# ((System.Data.DataRow) Container.DataItem)["战级最小"] %>",//3
"<%# ((System.Data.DataRow) Container.DataItem)["战级最大"] %>",//4
"<%# ((System.Data.DataRow) Container.DataItem)["会员最小"] %>",//5
"<%# ((System.Data.DataRow) Container.DataItem)["会员最大"] %>",//6
"<%# ((System.Data.DataRow) Container.DataItem)["性别限制"] %>",//7
"<%# ((System.Data.DataRow) Container.DataItem)["其他限制"] %>",//8
"<%# ((System.Data.DataRow) Container.DataItem)["耗名1"] %>",//9
"<%# ((System.Data.DataRow) Container.DataItem)["耗始1"] %>",//10
"<%# ((System.Data.DataRow) Container.DataItem)["耗末1"] %>",//11
"<%# ((System.Data.DataRow) Container.DataItem)["耗名2"] %>",//12
"<%# ((System.Data.DataRow) Container.DataItem)["耗始2"] %>",//13
"<%# ((System.Data.DataRow) Container.DataItem)["耗末2"] %>",//14
"<%# ((System.Data.DataRow) Container.DataItem)["耗名3"] %>",//15
"<%# ((System.Data.DataRow) Container.DataItem)["耗始3"] %>",//16
"<%# ((System.Data.DataRow) Container.DataItem)["耗末3"] %>",//17
"<%# ((System.Data.DataRow) Container.DataItem)["增名1"] %>",//18
"<%# ((System.Data.DataRow) Container.DataItem)["增始1"] %>",//19
"<%# ((System.Data.DataRow) Container.DataItem)["增末1"] %>",//20
"<%# ((System.Data.DataRow) Container.DataItem)["增名2"] %>",//21
"<%# ((System.Data.DataRow) Container.DataItem)["增始2"] %>",//22
"<%# ((System.Data.DataRow) Container.DataItem)["增末2"] %>",//23
"<%# ((System.Data.DataRow) Container.DataItem)["增名3"] %>",//24
"<%# ((System.Data.DataRow) Container.DataItem)["增始3"] %>",//25
"<%# ((System.Data.DataRow) Container.DataItem)["增末3"] %>"//26
);</script>
<br />
『简介』<%# ((System.Data.DataRow) Container.DataItem)["简介"] %>
</itemtemplate>
</asp:templatecolumn>
<asp:templatecolumn headertext="胜算">
<headerstyle horizontalalign="Center" width="40px"></headerstyle>
<itemstyle cssclass="table_body2" horizontalalign="Center" width="40px"></itemstyle>
<itemtemplate>
<%# ((System.Data.DataRow) Container.DataItem)["成功几率"] %>
%
</itemtemplate>
</asp:templatecolumn>
</columns>
</asp:datagrid>
<asp:button id="byts_execute" runat="server" width="0px" height="0px" text=""></asp:button><br><font style="COLOR: #ffcc00">
注意:</font>如果你的参数已经达到了上限,仍然可以执行操作,但即使是操作成功,<br>参数值也不会增加的,因为系统不允许参数超出上限,因此会把超出部分裁减。</asp:panel><br>
<br>
<asp:label id="showmsg" runat="server"></asp:label><br>
<asp:label id="byts_copyright" runat="server"></asp:label></div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -