prtype_modi.asp
来自「房地产管理系统 vb写的,很不错!!!!!!!!!!!」· ASP 代码 · 共 164 行
ASP
164 行
<!--#include file="../inc/conn.asp"--><%'┌─ 风云ASP在线 ────────────────────────┐'│ │'│ 作者:赵振波. http://www.fyasp.com │'│ │'│ Q Q:176189168 │'│ │'│ Email:fy96@163.com │'│ │'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│'│ │'│ │'└─────────────────── http://www.fyasp.com ──┘%>
<%
if instr(session("manager"),"manager")=0 then
response.redirect "manage.asp"
response.end
end if
%>
<html>
<!-- DW6 -->
<head>
<title>后台管理系统</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../ht.css" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body bgcolor="#666666" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (index.psd) -->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../images/ht_01.gif" width=778 height=62 usemap="#Map" border="0"></td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" background="../images/htbj.gif">
<tr>
<td valign="top" align="left" width="145" height="395">
<!--#include file="List.asp" -->
</td>
<td height="395" align="center" valign="top"> <br> <table width="621" border="0" cellspacing="0" cellpadding="0" height="286">
<tr>
<td align="center" valign="top" height="293"> <table width="606" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="18"><img src="../images/httable_01.gif" width=606 height=17></td>
</tr>
<tr>
<td background="../images/httable_02.gif" height="34" align="center" valign="top">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> <hr noshade size="1"> </td>
</tr>
</table>
<table width="413" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="167"><a href="prtype_add.asp">[网上商城产品类别添加]</a></td>
<td width="147"><a href="prtype_del.asp">[网上商城产品类别修改、删除]</a></td>
</tr>
</table></td>
</tr>
<tr>
<td background="../images/httable_02.gif" height="282" align="center" valign="top">
<form method="post" action="prtype_modi_ok.asp" name="form3">
<div align="center">
<center>
<font color="#FFCCCC"> <font color="#FFCC99">产品类别修改</font></font><br>
<table border="0" width="70%" cellspacing="1" cellpadding="0" class="black" height="137">
<tr>
<td width="100%" valign="top" height="132"> <table border="0" width="100%" cellspacing="1" cellpadding="0" height="116">
<%
opendataconn
set rs=server.createobject("adodb.recordset")
id=request("id")
if id<>"" then
sql="select * from prtype where id="&id&" "
rs.open sql,conn,1,1
%>
<tr>
<td height="33" class="black"> <div align="right">产品类别:</div></td>
<td class="black"> </td>
<td class="black"> <input name="name" type="text" id="name2" size="45" maxlength=70 value="<%=rtrim(rs("prtype"))%>">
</td>
</tr>
<tr>
<td height="2" colspan="3" valign="middle" class="black">
<div align="center">
<script language="JavaScript">
function saveexit()
{
if (chk()==0)
{
return false;
};
document.form3.submit();
}
function chk()
{
if (document.form3.name.value.length==0)
{
alert("请填写一级目录。");
document.form3.name.focus();
return 0;
};
return 1;
}
</script>
</div>
<div align="right">
<input name="oldname" type="hidden" id="oldname" value="<%=rs("prtype")%>">
<input type="hidden" name="id" value="<%=rs("id")%>">
<input type="button" value=" 修改 " name="B1" onclick="saveexit()">
</div></td>
</tr>
<%
rs.close
end if
%>
</table></td>
</tr>
</table>
</center>
</div>
</form></td>
</tr>
<tr>
<td><img src="../images/httable_04.gif" width=606 height=19></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="778" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="../images/ht_04.gif" width="778" height="4"></td>
</tr>
</table>
<!-- End ImageReady Slices -->
<map name="Map">
<area shape="rect" coords="630,36,775,56" href="http://www.fyasp.com" target="_blank">
</map>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?