⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msg_edit.asp

📁 不是我做的一个留言板
💻 ASP
字号:
<!--#include file="conn.asp" -->
<!--#include file="session.asp" -->
<!--#include file="../templet/mon.asp" -->
<!--#include file="../function/function.asp" -->
<!--#include file="../templet/top.asp" -->

<%
id=request.QueryString("id")
on_web=L_CLASSi_MsgEDIT
 y=L_CLASSi_MsgEDIT
call Mon(y)
if id<>"" then 
up_sql="select msg_text from class_msg where id="&id
set msgup=conn.execute(up_sql)
msg_text=msgup("msg_text")
msgup.close
end if
%>
<center>
<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript"><!--
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.msg_text.value == "")
  {
    alert("<%=L_MSG_CHECK1%>");
    theForm.msg_text.focus();
    return (false);
  }

  if (theForm.msg_text.value.length > 200)
  {
    alert("<%=L_MSG_CHECK2%>");
    theForm.msg_text.focus();
    return (false);
  }
  return (true);
}
//--></script><!--webbot BOT="GeneratedScript" endspan --><form action="addmsg2.asp" method="post" onsubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">
<table>
<tr> 
<td align="center"><%=L_CLASSi_Msg1 %>
<br>
  <!--webbot bot="Validation" B-Value-Required="TRUE" I-Maximum-Length="200" -->

<TEXTAREA style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'" name=msg_text rows=7 cols=38><%=msg_text%></TEXTAREA><br>
<input name="id" type="hidden" value="<%=id%>">  
                                       
<input type="hidden" id="method" value="submit">  

 <input type="submit" name="Submit" value="<%=L_CLASSi_MsgSubmit%>" style="background-color: <%=test_style_onMouseOut%>" onMouseOver = "this.style.backgroundColor = '<%=test_style_onMouseOver%>'" onMouseOut = "this.style.backgroundColor = '<%=test_style_onMouseOut%>'">  
 
 </td>
</tr>
<tr><td align="center">
<%msg_text="msg_text"%>
<!--#include file="../templet/msg_mon.asp" -->
</form> 
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p>
          <!--#include file="../templet/foot.asp" -->  
 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -