faxSend.asp 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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=gb2312" />
  5. <title></title>
  6. <link href="public/css.css" rel="stylesheet" type="text/css">
  7. <style type="text/css">
  8. <!--
  9. .body{font-size:12px}
  10. .left_li { list-style-image: url(images/littlepic.gif); padding-top:10px;text-align:left}
  11. .left_li li{ margin-top:3px}
  12. #menu{table-layout:fixed;}
  13. #menu .menuHere {
  14. BORDER-RIGHT: #9ec9ec 1px solid; BORDER-TOP: #9ec9ec 1px solid; BORDER-LEFT: #9ec9ec 1px solid; BORDER-BOTTOM: #9ec9ec 1px solid; HEIGHT: 24px; TEXT-ALIGN: center;FONT-WEIGHT: bold; BACKGROUND: #f4fbff; BORDER-BOTTOM-STYLE: none; color:#FF0000
  15. }
  16. #menu .menuWill {
  17. BORDER-RIGHT: #9ec9ec 1px solid; BORDER-TOP: #9ec9ec 1px solid; BORDER-LEFT: #9ec9ec 1px solid; BORDER-BOTTOM: #9ec9ec 1px solid; HEIGHT: 24px; TEXT-ALIGN: center; BACKGROUND: #ffffff;
  18. }
  19. #mySide {
  20. BORDER-RIGHT: #4F8DC1 1px solid;BORDER-LEFT: #4F8DC1 1px solid; BORDER-BOTTOM: #4F8DC1 1px solid; border-top:#9ec9ec 1px;
  21. padding-top:20px
  22. }
  23. #menu .clearance{BORDER-BOTTOM: #9ec9ec 1px solid}
  24. .STYLE4 {font-size: 24px}
  25. -->
  26. </style>
  27. <script language="javascript">
  28. function chckForm1(obj)
  29. {
  30. if (obj.telNo.value =="")
  31. {
  32. alert("接收号码不能为空");
  33. return false;
  34. }
  35. var temp=obj.faxFile.value;
  36. if (temp =="")
  37. {
  38. alert("传真文件不能为空");
  39. return false;
  40. }
  41. arr=temp.split(".");
  42. ext=arr[arr.length-1].toLowerCase() ;
  43. if ((ext =="doc")||(ext=="pdf")||(ext=="xls")||(ext=="ppt"))
  44. {
  45. return true;
  46. }
  47. else
  48. {
  49. alert("传真文件格式不正确.") ;
  50. return false;
  51. }
  52. }
  53. function chck_Mode(obj)
  54. {
  55. if (obj.value == 3)
  56. {
  57. document.getElementById("fileSound").style.display="";
  58. document.getElementById("tre_Content").Enabled=false;
  59. }else
  60. {
  61. document.getElementById("tre_Content").Enabled=true;
  62. document.getElementById("fileSound").style.display="none";
  63. }
  64. }
  65. </script>
  66. </head>
  67. <body class="body">
  68. <TABLE cellSpacing=0 cellPadding=0 width=600 align=center style=" padding-left:50px" border=0>
  69. <form name="sendForm" method="post" onsubmit="return chckForm1(this)" action="doFaxSend.asp" >
  70. <TR>
  71. <TD width="100%" valign="top" >
  72. <TABLE width="100%" border=0 align="center" cellPadding=0 cellSpacing=0 >
  73. <TBODY>
  74. <TR>
  75. <TD > <img src="img/f_title_bg.gif" width="100%" /></TD>
  76. </TR>
  77. <TR>
  78. <TD valign="top" id=mySide style="padding-top:2px;background-color:#E7F0F7">
  79. <table width="100%" border="0">
  80. <tr>
  81. <td><table width="100%" border="0">
  82. <tr>
  83. <td > <div style="padding-left:30px;">
  84. <table width="100%" border="0">
  85. <tr>
  86. <td width="46%">收件人 TO:
  87. <input name="txt_Fax_TO" type="text" id="txt_Fax_TO" /> </td>
  88. <td width="54%">标题 SUB:
  89. <input name="txt_Fax_SUB" type="text" id="txt_Fax_SUB" /></td>
  90. </tr>
  91. </table>
  92. </div></td>
  93. </tr>
  94. <tr>
  95. <td><table width="100%" border="0">
  96. <tr>
  97. <td width="74%"> <div style="padding-left:30px;">接收传真号码。分机号用逗号分隔(多个号码请换行)</div></td>
  98. <td width="26%">&nbsp;</td>
  99. </tr>
  100. </table></td>
  101. </tr>
  102. <tr>
  103. <td > <div style="padding-left:5px;">
  104. <textarea name="telNo" cols="70" rows="5" id="telNo"></textarea>
  105. </div></td>
  106. </tr>
  107. </table></td>
  108. </tr>
  109. <tr>
  110. <td>&nbsp; </td>
  111. </tr>
  112. <tr>
  113. <td><table width="100%" border="0">
  114. <tr>
  115. <td width="100%"><div style="padding-left:5px;">
  116. <fieldset>
  117. <legend>传真文件</legend>
  118. <table width="100%" border="0">
  119. <tr>
  120. <td height="21"><table width="100%" border="0">
  121. <tr>
  122. <td >请选择传真文件:
  123. <input type="file" name="faxFile"/>&nbsp; </td>
  124. </tr>
  125. </table></td>
  126. </tr>
  127. <tr>
  128. <td>目前支持WORD文档、EXCEL文档、POWER POINT
  129. 文档、PDF文档、TIFF图片等</td>
  130. </tr>
  131. </table>
  132. </fieldset>
  133. </div></td>
  134. </tr>
  135. </table></td>
  136. </tr>
  137. <tr>
  138. <td > <table width="100%" border="0">
  139. <tr>
  140. <td width="30%" >&nbsp;</td>
  141. <td width="70%"><input name="bnt_Fax_Send" type="submit" id="bnt_Fax_Send" value="发送传真" style="width:100px; height:40px; font-size:18px; font-weight: bold "/></td>
  142. </tr>
  143. </table></td>
  144. </tr>
  145. </table>
  146. </div></TD>
  147. </TR>
  148. </TBODY>
  149. </TABLE> </TD>
  150. </TR>
  151. </form>
  152. </TABLE>
  153. </body>
  154. </html>