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

📄 huifuwritesms.asp

📁 绿叶oa系统办公自动化 2008.工作日志管理,文件管理
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../../Connections/oavbsconn.asp" -->
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers="1"
MM_authFailedURL="../../wrong.asp"
MM_grantAccess=false
If Session("MM_Username") <> "" Then
  If (false 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
%>
<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_oavbsconn_STRING
Recordset1.Source = "SELECT * FROM usertertggbng ORDER BY 排序 ASC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>
<%
Dim Recordset2__MMColParam
Recordset2__MMColParam = "1"
If (Request.QueryString("ID") <> "") Then 
  Recordset2__MMColParam = Request.QueryString("ID")
End If
%>
<%
Dim Recordset2
Dim Recordset2_numRows

Set Recordset2 = Server.CreateObject("ADODB.Recordset")
Recordset2.ActiveConnection = MM_oavbsconn_STRING
Recordset2.Source = "SELECT *  FROM infoall  WHERE ID = " + Replace(Recordset2__MMColParam, "'", "''") + ""
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 1
Recordset2.Open()

Recordset2_numRows = 0
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>短消息回复</title>
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
.style2 {font-size: 12px}
.style4 {font-size: 12px; font-weight: bold; }
-->
</style>
</head>

<body>
<div align="center">
  <table width="524" border="0" cellpadding="0" cellspacing="0" bgcolor="#006699">
    <tr>
      <td><form action="huifusmspost.asp" method="post" name="form1">
        <table width="640" border="0" cellpadding="2" cellspacing="1" bgcolor="#006699">
          <tr bgcolor="#006699">
            <td colspan="2"><div align="center" class="style1">短消息回复</div></td>
            </tr>
          <tr bgcolor="#FFFFFF">
            <td width="77">接收人:</td>
            <td width="552"><%=session("jieshouhufnames")%><span class="style4">
              <input name="接收人帐号" type="hidden" id="接收人帐号" value="<%=session("jieshouhufuzhanghao")%>">
              <input name="接收人姓名" type="hidden" id="接收人姓名" value="<%=session("jieshouhufnames")%>">
              <input name="smsid" type="hidden" id="smsid" value="<%=(Recordset2.Fields.Item("ID").Value)%>">
            </span></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td>消息内<span class="style2">
            </span>容: <span class="style4">
            </span> </td>
            <td>              <textarea name="消息内容" cols="60" rows="15" id="消息内容"></textarea></td>
          </tr>
          <tr bgcolor="#FFFFFF">
            <td><input name="信息属性" type="hidden" id="信息属性" value="短消息回复">
              <input name="发送人帐号" type="hidden" id="发送人帐号" value="<%= Session("userssdfgfhtrh") %>">
              <input name="发送人姓名" type="hidden" id="发送人姓名" value="<%= Session("names") %>">              
              <input name="datas" type="hidden" id="datas" value="<%=date%>"></td>
            <td><input type="submit" name="Submit" value="立即回复">  
              <input type="reset" name="Submit" value="清 空">  
               <input type="submit" name="Submit" value="取 消"></td>
          </tr>
        </table>
      
                
      </form></td>
    </tr>
  </table>
</div>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>

⌨️ 快捷键说明

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