国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
4.2KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>发送邮件</title>
  6. <link href="css/base.css" rel="stylesheet" type="text/css" />
  7. <style type="text/css">
  8. .rb{ border-right:1px solid #98CAEF }
  9. .tb{ border-top:1px solid #98CAEF }
  10. .current {border:1px solid #dbe4cd;padding:5px;background:#FFFEF4;color:#FF0000;}
  11. </style>
  12. <script language="javascript">
  13. function ShowMore(formitem,one,more,group)
  14. {
  15. if(formitem.checked){
  16. document.getElementById(one).style.display = '';
  17. document.getElementById(more).style.display = 'none';
  18. document.getElementById(group).style.display = 'none';
  19. }
  20. }
  21. </script>
  22. </head>
  23. <body>
  24. <div class="bodytitle">
  25. <div class="bodytitleleft"></div>
  26. <div class="bodytitletxt" style="padding-left:10px;">邮件订阅</div>
  27. </div>
  28. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#cfcfcf;">
  29. <tr>
  30. <td height="25" colspan="9" bgcolor="#EDF9D5" background="images/tbg.gif" style="padding-left:10px;">发送邮件</td>
  31. </tr>
  32. <tr bgcolor="#ffffff" height="26">
  33. <td colspan="7" align="left">
  34. <form method="post" action="mail_send.php">
  35. <input name="action" type="hidden" value="post" />
  36. <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#ffffff">
  37. <tr>
  38. <td width="15%" height="30" align="right">发送到:</td>
  39. <td height="25" colspan="2">
  40. <input type="radio" name="mode" id="radio" value="one" onClick="ShowMore(this,'one','more','group');" checked />单人
  41. <input type="radio" name="mode" id="radio" value="more" onClick="ShowMore(this,'more','one','group');" />多人
  42. <input type="radio" name="mode" id="radio" value="group" onClick="ShowMore(this,'group','one','more');" />邮件群发
  43. </td>
  44. </tr>
  45. <tr id="one">
  46. <td height="30" align="right">E-Mail地址:</td>
  47. <td height="25" colspan="2"><input name="address" type="text" class="text" value="@" size="28" maxlength="40" style="width:250px;margin-top:5px;margin-left:10px;"/>
  48. 填写用户的E-Mail地址</td>
  49. </tr>
  50. <tr id="more" style="display:none">
  51. <td height="30" align="right">E-Mail地址:</td>
  52. <td height="25" colspan="2"><textarea name="address2" cols="28" rows="4" class="text" style="width:250px;margin-top:5px;margin-left:10px;">@,@</textarea>
  53. 不同的E-Mail地址之间用,号隔开</td>
  54. </tr>
  55. <tr id="group" style="display:none">
  56. <td height="30" align="right">邮件列表:</td>
  57. <td height="25" colspan="2">
  58. <select name="mailfile" id="mailfile" style="margin-left: 10px;">
  59. <?php
  60. foreach($mailfiles as $i=>$mailfile)
  61. {
  62. $selected = ($mailfile==$filename) ? " selected " : "";
  63. ?>
  64. <option value="<?php echo $mailfile; ?>" <?php echo $selected; ?> ><?php echo $mailfile; ?></option>
  65. <?php
  66. }
  67. ?>
  68. </select>
  69. </td>
  70. </tr>
  71. <tr>
  72. <td height="30" align="right">邮件标题:</td>
  73. <td height="25" colspan="2"><input name="title" type="text" id="title" class="company_manage_form_label" style="width:250px;margin-top:5px;margin-left:10px;" />
  74. 标题少于70个字符内</td>
  75. </tr>
  76. <tr>
  77. <td height="12" align="right" valign="top" style="padding-top:5px;"><label for="pm_textarea">邮件内容:</label></td>
  78. <td height="120" width="568" style="padding-left: 12px;">
  79. <div style="width:568px;"><?php GetEditor("message","",450,"MemberLit"); ?></div>
  80. </td>
  81. <td width="314" >&nbsp;</td>
  82. </tr>
  83. <tr>
  84. <td height="28" align="right" valign="top">&nbsp;</td>
  85. <td height="30" colspan="2" ><input type="submit" value="提交" class="button01" /></td>
  86. </tr>
  87. </table>
  88. </form>
  89. </td>
  90. </tr>
  91. <tr bgcolor="#F8FBFB">
  92. <td height="26" colspan="9" align="center" bgcolor="#F9FCEF">&nbsp;</td>
  93. </tr>
  94. </table>
  95. </body>
  96. </html>