📄 mark_edit.asp
字号:
<!--#include file="../main/conn.asp" -->
<!--#include file="../main/session.asp" -->
<%
web_id="../language/"&l_id
web_id=web_id&"/L_MARK.ASP"
call include(web_id)
id=request.form("make_id")
if request.QueryString("edit_id")=1 then
mark_name=trim(request.Form("mark_name"))
mark_addr=trim(request.Form("mark_addr"))
mark_comment=trim(request.Form("mark_comment"))
mark_lx=request.Form("mark_lx")
strsql="update mark set mark_lx='"&mark_lx&"',mark_name='"&mark_name&"',mark_addr='"&mark_addr&"',mark_comment='"&mark_comment&"' where mark_id="&id
conn.execute(strsql)
log_url="my_mark.asp"
log_msg=L_myMARK_editT
%>
<!--#include file="../main/welcom.asp" -->
<%
end if
strsql="select * from mark where mark_id="&id
set rs=conn.execute(strsql)
Do while not rs.eof
mark_name=rs("mark_name")
mark_lx=rs("mark_lx")
mark_addr=rs("mark_addr")
mark_comment=rs("mark_comment")
rs.movenext
Loop
rs.close
set rs=nothing
%>
<center>
<table bgcolor='<%=tr_bg_color%>' border="1" cellpadding="3" cellspacing="0" width="300">
<TBODY>
<TR>
<TD width="100%">
<TABLE border="0" width="100%" cellpadding="1" cellspacing="1" bgcolor="#C0C0C0">
<TBODY>
<tr>
<td>
<form method="post" action="mark_edit.asp?edit_id=1">
<table border="0" cellpadding="2" width="98%">
<tr>
<td colspan="3" align="center">
<font color="#800000">::<%=L_myMARK_editT%>:::</font></td></tr>
<tr>
<td><%=L_myMARK_editT%><%=L_myMARK_addN%>:</td>
<td>
<input name="mark_name" type="text" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'" value="<%=mark_name%>"></td>
</tr>
<tr>
<td><%=L_myMARK_addU%>:</td>
<td>
<input name="mark_addr" type="text" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'" value="<%=mark_addr%>" size="20" height="20">
</td>
</tr>
<tr>
<td><%=L_myMARK_addC%>:</td>
<td>
<select name="mark_lx"style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'">
<option selected value="<%=mark_lx%>">-<%=mark_lx%>-</option>
<option value="学习">-<%=L_myMARK_class1%>-</option>
<option value="娱乐">-<%=L_myMARK_class2%>-</option>
<option value="游戏">-<%=L_myMARK_class3%>-</option>
<option value="网页">-<%=L_myMARK_class4%>-</option>
<option value="软件">-<%=L_myMARK_class5%>-</option>
<option value="硬件">-<%=L_myMARK_class6%>-</option>
<option value="其它">-<%=L_myMARK_class7%>-</option>
</select>
</td>
</tr>
<tr>
<td><p><%=L_myMARK_addR%>:<br>
</p></td>
<td>
<textarea name="mark_comment" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'" value="<%=mark_name%>" cols="21" rows="2"><%=mark_comment%></textarea> <br>
<%=L_myMARK_sLen%></td>
</tr>
<tr>
<td colspan="2">
<DIV align=center>
<input name="make_id" type="hidden" value="<%=id%>">
<input type="submit" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'" name="Submit" value="<%=L_myMARK_edit%>">
<input type="reset" name="Submit2" value="<%=L_myMARK_reset%>" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'">
</DIV></td>
</tr>
</form>
</table>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -