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

📄 send3567hdfdfg256.asp

📁 本oa系统内部短信.手机短信.文件传输.公文收发.邮件服务.共享下载.内部论坛等功能
💻 ASP
字号:


<!--#include file="../../Connections/oavbsconn.asp" -->

<!--#include file="../../Connections/leq.asp" -->
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers=""
MM_authFailedURL="../../index.asp"
MM_grantAccess=false
If Session("userssdfgfhtrh") <> "" Then
  If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
         (InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
    MM_grantAccess = true
  End If
End If
If Not MM_grantAccess Then
  MM_qsChar = "?"
  If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
  MM_referrer = Request.ServerVariables("URL")
  if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
  MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
  Response.Redirect(MM_authFailedURL)
End If
%>
<!--#include file="../../Connections/ifr/ifrasp.asp" -->
<%function DbCombox() 

Dim Recordset1__MMColParam
Recordset1__MMColParam = "对所有人群发"
If (Request("MM_EmptyValue") <> "") Then 
  Recordset1__MMColParam = Request("MM_EmptyValue")
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_oavbsconn_STRING
Recordset1.Source = "SELECT 部门  FROM sms部门表  WHERE 部门 <> '" + Replace(Recordset1__MMColParam, "'", "''") + "' and 开关='开'  ORDER BY 排序 ASC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
while not Recordset1.eof 
msg = msg & "<option value=""" &Recordset1("部门") & """>" & Recordset1("部门") & "</option>" 
Recordset1.movenext 
wend 
Recordset1.close 
set Recordset1 = nothing 
DbCombox = msg 
End function 

Recordset1_numRows = 0
%>
<html>
<head>
<script>
<!--
function dis(){
document.form1.submit.value=' 发送..'
document.form1.submit.disabled=true;
return true;
}
function check() {
if (document.form1.接收部门.value=="null") {
window.alert ("请您选择接收对象!")
document.form1.接收部门.focus()
return false
}
if (document.form1.标题.value=="") {
window.alert ("请您输入标题 !")
document.form1.标题.focus()
return false
}
if (document.form1.file1.value=="" && document.form1.file2.value=="" &&document.form1.file3.value=="" &&document.form1.file4.value==""
&&document.form1.file5.value=="" &&document.form1.file6.value=="") 
{
window.alert ("请选择上传公文!")
document.form1.file1.focus()
return false
}
if (form1.接收部门.value=="对所有人群发"){
     if(!confirm('您确定要群发公文吗,服务器通信将迅疾处理?'))
 {
return false
} 
else 
document.form1.submit;

}
return true
}
//-->
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>报送公文</title>
<style type="text/css">
<!--
.tx1 {height: 20px; width: 30px; font-size: 9pt; border: 1px solid; border-color: black black #000000; color: #0000FF}
.bt {font-size: 9pt; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; height: 16px; width: 80px; background-color: #eeeeee; cursor: hand}
.tx {height: 16px; width: 30px; border-color: black black #000000; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; font-size: 9pt; background-color: #eeeeee; color: #0000FF}
-->
</style>
<link href="../../css/link.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style6 {
	color: #FFFFFF;
	font-weight: bold;
}
.style7 {font-size: 12px}
.style9 {font-size: 14px}
-->
</style>
<link href="../../css/link1.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style5 {color: #FFFFFF}
-->
</style>
</head>

<body>
<div align="center"><form action="upgongwenpost.asp" method="post" enctype="multipart/form-data" name="form1" onSubmit="return dis()">
  <br>
  <table width="80%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="6" height="21"><img src="../../img/bbs/leftlin1.gif" width="6" height="21"></td>
        <td width="936" bgcolor="#5AAE18"><div align="center"><span class="style5"><span class="style13 style5 style6"><span class="style6"><span class="style9">公 文</span> 传 输 系 统</span></span></span></div></td>
        <td width="6" height="21"><img src="../../img/bbs/rightlin1.gif" width="6" height="21"></td>
      </tr>
    </table>
    <table width="80%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
      <tr>
        <td><table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#5AAE18">
          <tr bgcolor="#FFFFFF">
            <td height="10" colspan="2"></td>
            </tr>
          <tr bgcolor="#FFFFFF">
            <td width="16%"><div align="right">接收对象:</div></td>
            <td width="84%">              <select name="接收部门" id="接收部门">
              <option value="null" selected>选择接收对象</option>
              <option value="对所有人群发">对所有人群发</option>
                <%=DbCombox()%>
              </select> 
              </td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td><div align="right">标题:</div></td>
            <td><input name="标题" type="text" id="标题" size="30" maxlength="48" ></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td rowspan="7"><p>
                <input name="发送人姓名" type="hidden" id="发送人姓名" value="<%= Session("names") %>">
                <input type="hidden" name="filepath" class="tx" style="width:350" value="../../dataandfiles/files/gwdghjfcfd9bdf4xm21g4" size="20">
                <input type="hidden" name="act" value="upload">
                <input name="发送人帐号" type="hidden" id="发送人帐号" value="<%= Session("userssdfgfhtrh") %>">
              </p>
			  
                <p align="center"> <img src="/toall/gw/img/gif/111.gif" width="36" height="36"><br>
        </p></td>
            <td><input type="file" name="file1" style="width:400"  value="" size="20"></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td><input name="file2" type="file"  id="file2" style="width:400" value="" size="20"></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td><input name="file3" type="file"  id="file3" style="width:400" value="" size="20"></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td><input name="file4" type="file"  id="file4" style="width:400" value="" size="20"></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td><input name="file5" type="file"  id="file5" style="width:400" value="" size="20"></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td><input name="file6" type="file" id="file6" style="width:400" value="" size="20"> 

</td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td height="45"><span class="bg"><span class="bg style2"> <STRONG><FONT color=#ffffff> <strong><font color=#ffffff>

<span class="style7"><STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff>
<input name="submit" type=submit id="submit" style="FONT-SIZE: 12px; HEIGHT: 27px"  value= " 发 送 " onClick='return check();'>
  
</font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG> </font></strong></font></strong></font></strong> </font></strong></FONT></STRONG> </FONT></STRONG> <STRONG><FONT color=#ffffff> <strong><font color=#ffffff> <STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff>
<input name="重置" type=reset style="FONT-SIZE: 12px; HEIGHT: 27px"  value= " 清 空 " >
  
</font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></FONT></STRONG>
<input name="按钮" type=button style="FONT-SIZE: 12px; HEIGHT: 27px"   onClick="javascript:history.go(-1)" value= " 取 消 " >
</font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></FONT></STRONG></span></font></strong></FONT></STRONG></span></span> </td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td height="8" colspan="2"></td>
          </tr>
        </table></td>
      </tr>
    </table>
  </form>
</div>
</body>
</html>

⌨️ 快捷键说明

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