Shop/WebContent/manage/mail_add.jsp

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page contentType="text/html; charset=utf-8" %>
<%@ include file="/manage/menu.jsp"%>
<script src="/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
    mode : "exact",
    elements : "mailContent",
    theme : "advanced", 
    plugins : "pagebreak",
    theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink,separator,image",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",
    theme_advanced_toolbar_location : "top",
    theme_advanced_toolbar_align : "left",
    theme_advanced_path_location : "bottom",
    width:700,
    height:300,
    extended_valid_elements : "a[name|href|target|title|onclick],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
    language : "zh"
});

function checkForm(arg){
	var mailTo = arg.mailTo.value;
	if(mailTo == null || mailTo == ""){
		alert("请填写收件人");
        return false;
	}
	var your_email = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	if(!mailTo.match(your_email)){
		alert("请填写收件人");
		return false;
	}
	var title = arg.title.value;
	if(title == null || title == ""){
		alert("请填写标题");
        return false;
	}
	if(tinyMCE.get('mailContent').getContent()==""){
        alert("请填写内容");
        return false;
    }
}
</script>

<div class="mainPage">
    <div class="nav">
        系统设置&gt;&gt;网站尾部静态信息    </div>
    <div class="mainContent">
  发送邮件    </div>
      <div class="mainContent">
        <p style="font-weight: bold; color: #FF0000">发送邮件之前先配置您的发送邮件服务器:</p>
        <p style="font-weight: bold; color: #FF0000">打开文件 : WEB-INF/classes/mail.xml修改您的邮件发送设置信息</p>
      </div>
  <form id="form1" name="form1" method="post" action="<%=basePath%>/manage/mail.do" onsubmit="return checkForm(this)">
    <div class="mainContent">
 
        <table width="95%" border="0" align="left" cellpadding="5" cellspacing="0" bordercolor="#FFFFFF">
          <tr>
            <td width="15%" align="right" valign="middle" nowrap="nowrap" bgcolor="#975A00"><span style="color: #FFFFFF">接收人邮件地址:</span></td>
            <td width="4%" align="center" valign="middle" bgcolor="#975A00">&nbsp;</td>
后面还有 31 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。