📄 dlmod.asp
字号:
<!-- #include file="include/adovbs.inc" -->
<!-- #include file="include/dataconn.asp" -->
<!-- #include file="common.asp" -->
<%id=request("id")
if id<>"" then
set rs=server.createobject("adodb.recordset")
rs.open "select * from dlclub where id="&id&"",conn,1,1
hid=rs("hid")
tid=rs("tid")
set h=conn.execute("select * from hyclub where id="&hid&"")
hname=h("hynumber")
set tt=conn.execute("select * from hyclub where id="&tid&"")
tname=tt("hynumber")
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<link rel="stylesheet" href="include/e1.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title></title></HEAD>
<script language="javascript">
function gotoCheckjxsName(plogin){
if (checkMemLoginName(plogin))
{
window.open('checkHyNumber.asp?regName=' + plogin,plogin,'resizable=0,scrollbars=0,status=0,toolbar=0,location=0,menu=0,width=320,height=125,top='+ (screen.height/2-75) +',left=' + (screen.width-150)/2);
}
}
function checkMemLoginName(plogin){
if (plogin=='')
{
alert('请填写您的企业网名!');
document.form1.HyNumber.focus();
return false;
}
return true;
}
function check()
{
if(form1.HyName.value=="")
{
alert("至少需要输入姓名!");
document.form1.HyName.focus();
return false;
}
else if(form1.HyNumber.value=="")
{
alert("至少需要输入登录帐户!");
document.form1.HyNumber.focus();
return false;
}
else if(form1.HyTjNumberr.value=="")
{
alert("至少需要输入帐号!");
document.form1.HyTjNumber.focus();
return false;
}
else
{
return true;
document.form1.submit();
}
}
</script>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="99%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td>
<table><tr><td height="10"></td></tr></table>
<br>
<form name="form1" method="post" action="dlregcheck.asp?action=mod" onsubmit="return check();" ID="Form1">
<table align="center" bgcolor="#AAAAAA" border="0" cellpadding="0" cellspacing="0" width="80%">
<tr><td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" ID="Table1">
<tr>
<td width="100%" height="46" bgcolor="#CCDDEE">
<div align="center"><font color="#000000" size="4">专 卖 店 修 改 表</font></div></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" bordercolorlight="#799ae1" bordercolordark="#162d6b" id="Table2">
<tr bgcolor=#ffffff>
<td height="30" width="40%"><div align="right">
专卖店编号:</div></td>
<td>
<input type="text" name="id" size="30" id="Text11" value="<%=rs("id")%>">
(<font color=#ff0000>*</font>) </td>
</tr>
<tr bgcolor=#ffffff>
<td height="30"><div align="right">
专卖店名称:</div></td>
<td>
<input type="text" name="dlName" size="30" id="Text11" value="<%=rs("dlName")%>">
(<font color=#ff0000>*</font>)</td>
</tr>
<tr bgcolor=#ffffff>
<td width="40%" height="30"><div align="right">会员卡号:</div></td>
<td width="60%">
<input name="hid" type="text" size="30" id="Text1" value="<%=hname%>">
(<font color=#ff0000>*</font>) </td>
</tr>
<tr bgcolor=#ffffff>
<td height="30"><div align="right">推荐人卡号:</div></td>
<td>
<input name="tid" size="30" value="<%=tname%>" >
(<font color=#ff0000>*</font>) </td>
</tr>
<tr>
<td bgcolor="#ffffff" align="right" > 电子货币总数:</td>
<td bgcolor="#ffffff" >
<input name="allmoney0" size="30" value="<%=rs("allmoney")%>" > (元)</td>
</tr>
<tr>
<td bgcolor="#ffffff" align="right" > 单价:</td>
<td bgcolor="#ffffff">
<input name="oprice" size="30" value="<%=rs("oprice")%>" >
(元)</td>
</tr>
<tr bgcolor=#ffffff>
<td bgcolor="#ffffff" align="right" > 充值:</td>
<td >
<input name="allmoney" size="30" value="0" >
(如果需要减少请填-)(元)</td>
</tr>
<tr bgcolor=#ffffff>
<td bgcolor="#ffffff" > <div align="right">
备注:</div></td>
<td ><textarea name="Memo" cols="70" rows="8" id="HyMemo"><%=rs("Memo")%></textarea></td>
</tr>
<tr bgcolor=#ffffff>
<td height="30" colspan="2"> <div align="center">
<input type="submit" name="Submit" value="提 交" id="Submit1" class="b02">
<input type="reset" name="Submit2" value="取 消" id="Reset1" class="b02">
</div></td>
</tr>
</table> </td>
</tr>
</table>
</form>
</table>
</BODY>
</HTML>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -