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

📄 editsign.asp

📁 蓝芒3.0A最新所有功能完整破解版
💻 ASP
字号:
<!--#include file="passinc.asp" -->

<%
sid = trim(request("sid"))
if IsNumeric(sid) = false then
	Response.Redirect "err.asp?" & getGRSN() & "&gourl=Signature.asp"
end if


issave = trim(Request("issave"))

dim esm
set esm = server.createobject("easymail.SignManager")
esm.Load Session("wem")
esm.Get CInt(sid), stitle, stext


if issave = "1" and Request.ServerVariables("REQUEST_METHOD") = "POST" then
	esm.Modify CInt(sid), trim(Request("sgtitle")), trim(Request("message"))
	esm.Save
	set esm = nothing

	Response.Redirect "ok.asp?" & getGRSN() & "&gourl=Signature.asp"
end if
%>

<html>

<head>
<title>Corp.Email</title>
<LINK href="images\hwem.css" rel=stylesheet>
</head>

<SCRIPT LANGUAGE=javascript>
<!--
function ssave() {
	if (f1.sgtitle.value != "")
	{
		if (f1.message.value.length > 1000)
			f1.message.value = f1.message.value.substring(0, 1000);

		f1.submit();
	}
	else
	{
		alert("Please enter title.");
		f1.sgtitle.focus();
	}
}
//-->
</SCRIPT>


<body>
<br><br>
<form method="post" action="editsign.asp" name="f1">
<input type="hidden" name="issave" value="1">
<input type="hidden" name="sid" value="<%=sid %>">
<table width="90%" border="0" align="center" cellspacing="0" bgcolor="#EFF7FF">
  <tr>
    <td height="28" bgcolor="#dbeaf5" style="border-left:1px #8CA5B5 solid; border-top:1px #8CA5B5 solid; border-top:1px #8CA5B5 solid; border-right:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;"><p align="center"><font class="s" color="#104A7B"><b>Edit Signature</b></font></td>
  </tr>
  <tr>
    <td height="25" style="border-left:1px #8CA5B5 solid; border-right:1px #8CA5B5 solid;"><p align="center">Title:  <input type="text" name="sgtitle" class="textbox" size="60" maxlength="250" value="<%=server.htmlencode(stitle) %>"></td>
  </tr>
  <tr>
	<td align="center" style="border-left:1px #8CA5B5 solid; border-right:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
<textarea cols="63" rows="12" wrap="soft" name="message" class="textbox">
<%=server.htmlencode(stext) %></textarea>
	</td>
  </tr>
	<tr><td align='right' bgcolor="#ffffff"><br>
<INPUT type=button value=' Save ' LANGUAGE=javascript onclick="ssave()" class="Bsbttn">&nbsp;&nbsp;
<input type="reset" value=' Reset ' class="Bsbttn">&nbsp;&nbsp;
<input type="button" value='Cancel' onclick="javascript:history.back();" class="Bsbttn">
	</td></tr>
</table>
</FORM>
</body>
</html>

<%
set esm = nothing
%>

⌨️ 快捷键说明

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