home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
221.214.14.186
/
221.214.14.186.tar
/
221.214.14.186
/
wh
/
lyb
/
adm_edit2.asp
< prev
next >
Wrap
Text File
|
2007-08-20
|
4KB
|
101 lines
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/lyb.asp" -->
<%
Dim lyb__MMColParam
lyb__MMColParam = "1"
If (Request.QueryString("id") <> "") Then
lyb__MMColParam = Request.QueryString("id")
End If
%>
<%
Dim lyb
Dim lyb_numRows
Set lyb = Server.CreateObject("ADODB.Recordset")
lyb.ActiveConnection = MM_lyb_STRING
lyb.Source = "SELECT * FROM lyb WHERE id = " + Replace(lyb__MMColParam, "'", "''") + ""
lyb.CursorType = 0
lyb.CursorLocation = 2
lyb.LockType = 1
lyb.Open()
lyb_numRows = 0
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>╟⌐╨┤┴⌠╤╘</title>
<script language="JavaScript" type="text/javascript">
function PreviewWin() {
window.open('','newWin','width=400,height=400')
form1.action = "view.asp";
form1.method = "POST";
form1.target = "newWin"
form1.submit();
}
</script>
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<body>
<form name="form1" method="post" action="save.asp">
<p>╖├┐═╡─├√╫╓
<input name="mz" type="text" id="mz" value="<%=(lyb.Fields.Item("zd_mz").Value)%>" maxlength="20">
</p>
<p>┴⌠╤╘▒Ω╠Γú║
<input name="bt" type="text" id="bt" value="<%=(lyb.Fields.Item("zd_bt").Value)%>" maxlength="20">
</p>
<p>┴⌠╤╘─┌╚▌ú║
<textarea name="nr" cols="45" rows="10" id="nr"><%=(lyb.Fields.Item("zd_nr").Value)%></textarea>
</p>
<p>╗╪╕┤─┌╚▌ú║
<textarea name="hf" rows="4" id="hf"><%=(lyb.Fields.Item("zd_hf").Value)%></textarea>
</p>
<p>╖├┐═qq║┼:
<input name="qq" type="text" id="qq" value="<%=(lyb.Fields.Item("zd_qq").Value)%>" maxlength="12">
</p>
<p>╖├┐═uc║┼:
<input name="uc" type="text" id="uc" value="<%=(lyb.Fields.Item("zd_uc").Value)%>" maxlength="12">
</p>
<p>╖├┐═╙╩╧Σú║
<input name="yx" type="text" id="yx" value="<%=(lyb.Fields.Item("zd_yx").Value)%>" maxlength="50">
</p>
<p>╖├┐═╓≈╥│ú║
<input name="zy" type="text" id="zy" value="<%=(lyb.Fields.Item("zd_zy").Value)%>" maxlength="100">
</p>
<p>╖├┐══╖╧±ú║<img src="icon/1.gif" width="50" height="70">
<input <%If (CStr((lyb.Fields.Item("zd_tx").Value)) = CStr("1.gif")) Then Response.Write("checked=""checked""") : Response.Write("")%> name="tx" type="radio" value="1.gif">
<img src="icon/2.gif" width="50" height="70">
<input <%If (CStr((lyb.Fields.Item("zd_tx").Value)) = CStr("2.gif")) Then Response.Write("checked=""checked""") : Response.Write("")%> type="radio" name="tx" value="2.gif">
<img src="icon/3.gif" width="50" height="70">
<input <%If (CStr((lyb.Fields.Item("zd_tx").Value)) = CStr("3.gif")) Then Response.Write("checked=""checked""") : Response.Write("")%> type="radio" name="tx" value="3.gif">
<img src="icon/4.gif" width="50" height="70">
<input <%If (CStr((lyb.Fields.Item("zd_tx").Value)) = CStr("4.gif")) Then Response.Write("checked=""checked""") : Response.Write("")%> type="radio" name="tx" value="4.gif">
<img src="icon/b1.gif" width="50" height="70">
<input <%If (CStr((lyb.Fields.Item("zd_tx").Value)) = CStr("5.gif")) Then Response.Write("checked=""checked""") : Response.Write("")%> type="radio" name="tx" value="5.gif">
<img src="icon/b2.gif" width="50" height="70">
<input <%If (CStr((lyb.Fields.Item("zd_tx").Value)) = CStr("6.gif")) Then Response.Write("checked=""checked""") : Response.Write("")%> type="radio" name="tx" value="6.gif">
<img src="icon/b3.gif" width="50" height="70">
<input <%If (CStr((lyb.Fields.Item("zd_tx").Value)) = CStr("7.gif")) Then Response.Write("checked=""checked""") : Response.Write("")%> type="radio" name="tx" value="7.gif">
<img src="icon/b4.gif" width="50" height="70">
<input <%If (CStr((lyb.Fields.Item("zd_tx").Value)) = CStr("8.gif")) Then Response.Write("checked=""checked""") : Response.Write("")%> type="radio" name="tx" value="8.gif">
</p>
<p>
<input type="submit" name="Submit" value="╠ß╜╗">
<input type="reset" name="Submit2" value="╓╪╓├">
<a href="save.aspú┐" target="_blank">
<input name="Submit3" type="button" onClick="PreviewWin()
" value="╘ñ└└">
</a>
<input name="id" type="hidden" id="id" value="<%=(lyb.Fields.Item("id").Value)%>">
</p>
</form>
</body>
</html>
<%
lyb.Close()
Set lyb = Nothing
%>