payment.asp
来自「网店批发系统,很好很强大,很好很强大很好很强大」· ASP 代码 · 共 78 行
ASP
78 行
<!--#include file="conn.asp"-->
<!--#include file="checkAdmin.asp"-->
<!--#include file="../inc/check_inc.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<title>站内短信</title>
</head>
<body>
<!--#include file="inc/payment_inc.asp"-->
<table width="97%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="24" align="center" class="listtop">ID</td>
<td align="center" class="listtop">名称</td>
<td align="center" class="listtop">排序号</td>
<td align="center" class="listtop">操作</td>
</tr>
<%
if p <> -1 then
for j = 0 to p
%>
<Form name="myform" method="post" action="payment.asp?action=edit&lx=<%=lx%>&ID=<%=pay(0,j)%>">
<tr>
<td height="24" align="center" class="listitem"><%=pay(0,j)%></td>
<td align="center" class="listitem"><input name="title" type="text" class="input_text" value="<%=pay(1,j)%>" /></td>
<td align="center" class="listitem"><input name="orderid" type="text" class="input_text" value="<%=pay(2,j)%>" /></td>
<td align="center" class="listitem">
<%
if pay(1,j) <> "支付宝" and pay(1,j) <> "网银在线支付" then
%>
<input type="submit" value="修改" class="Button"/>
<input type="button" value="删除" class="Button" onclick="window.location.href='payment.asp?action=del&ID=<%=pay(0,j)%>&lx=<%=lx%>';" />
<%
end if
%>
</td>
</tr>
</Form>
<%
next
end if
%>
</table>
<form name="addAds" method="post" action="payment.asp?action=add&lx=<%=lx%>">
<table width="97%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="24" align="center" class="listtitle">
名称:<input name="title" type="text" class="input_text" value="" size="20" />
排序号:<input name="orderid" type="text" size="10" class="input_text" value="10000" />
<input name="submit" type="submit" class="Button" value="添加" onclick="checkMsg()" />
</td>
</tr>
</table>
</form>
<script language="javascript">
function checkMsg()
{
if (document.addAds.Adsurl.value=="")
{
alert("不能为空");
return false;
}
if (document.addAds.orderID.value=="")
{
alert("不能为空");
return false;
}
return true;
}
</script>
<!--#include file="inc/closeconn_inc.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?