国内流行的内容管理系统(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.

93 line
4.0KB

  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 rel="stylesheet" href="css/base.css">
  7. <style>
  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">邮件订阅</div>
  27. </div>
  28. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle">
  29. <tr>
  30. <td height="26" 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="26" 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="26" colspan="2"><input name="address" type="text" class="text" value="@" size="28" maxlength="40" style="width:250px;margin-top:10px;margin-left:10px"> 填写用户的E-Mail地址</td>
  48. </tr>
  49. <tr id="more" style="display:none">
  50. <td height="30" align="right">E-Mail地址:</td>
  51. <td height="26" colspan="2"><textarea name="address2" cols="28" rows="4" class="text" style="width:250px;margin-top:10px;margin-left:10px;">@,@</textarea> 不同的E-Mail地址之间用,号隔开</td>
  52. </tr>
  53. <tr id="group" style="display:none">
  54. <td height="30" align="right">邮件列表:</td>
  55. <td height="26" colspan="2">
  56. <select name="mailfile" id="mailfile" style="margin-left:10px">
  57. <?php
  58. foreach($mailfiles as $i=>$mailfile)
  59. {
  60. $selected = ($mailfile==$filename) ? " selected " : "";
  61. ?>
  62. <option value="<?php echo $mailfile; ?>" <?php echo $selected; ?> ><?php echo $mailfile; ?></option>
  63. <?php
  64. }
  65. ?>
  66. </select>
  67. </td>
  68. </tr>
  69. <tr>
  70. <td height="30" align="right">邮件标题:</td>
  71. <td height="26" colspan="2"><input name="title" type="text" id="title" class="company_manage_form_label" style="width:250px;margin-top:10px;margin-left:10px"> 标题少于70个字符内</td>
  72. </tr>
  73. <tr>
  74. <td height="26" align="right" valign="top" style="padding-top:10px"><label for="pm_textarea">邮件内容:</label></td>
  75. <td height="120" width="560" style="padding-left:10px">
  76. <div style="width:568px;"><?php GetEditor("message","",450,"MemberLit"); ?></div>
  77. </td>
  78. <td width="310"></td>
  79. </tr>
  80. <tr>
  81. <td height="26" align="right" valign="top"></td>
  82. <td height="26" colspan="2" ><input type="submit" value="提交" class="button01"></td>
  83. </tr>
  84. </table>
  85. </form>
  86. </td>
  87. </tr>
  88. <tr bgcolor="#F8FBFB">
  89. <td height="30" colspan="9" align="center" bgcolor="#f6f6f6">&nbsp;</td>
  90. </tr>
  91. </table>
  92. </body>
  93. </html>