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

📄 send_manage.php

📁 通达OA2007SE源代码 非常好的
💻 PHP
字号:
<?
  include_once 'inc/auth.php';
  echo '
<html>
<head>
<title>短信发送管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
  echo '<s';
  echo 'cript>
function delete_sms()
{
 msg=\'确认要删除指定范围内的短信记录么?\';
 if(window.confirm(msg))
 {
  document.form1.DELETE_FLAG.value="1";
  document.form1.submit();
 }
}
function td_calendar(fieldname)
{
  myleft=document.body.scrollLeft+event.clientX-event.offsetX-80;
  mytop=document.body.scrollTop+event.clientY-event.offsetY+140;
  window.showModalDialog("/inc/calendar.php?FIE';
  echo 'LDNAME="+fieldname,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:215px;dialogTop:"+mytop+"px;dialogLeft:"+myleft+"px");
}
function td_clock(fieldname)
{
  myleft=document.body.scrollLeft+event.clientX-event.offsetX-80;
  mytop=document.body.scrollTop+event.clientY-event.offsetY+140;
  window.showModalDialog("/inc/clock.php?FIELDNAME="+fieldname,self,';
  echo '"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:120px;dialogTop:"+mytop+"px;dialogLeft:"+myleft+"px");
}
function clear_user()
{
  document.form1.TO_NAME.value="";
  document.form1.TO_ID.value="";
}
function LoadWindow()
{
  URL="/module/user_select";
  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
  loc_y=document.body.scrollTop+ev';
  echo 'ent.clientY-event.offsetY+170;
  window.showModalDialog(URL,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:400px;dialogHeight:350px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
}
function report()
{
	var STAT_MODE;
	if(document.form2.radio0[0].checked) STAT_MODE=1;
	else STAT_MODE=0;
  if(document.form2.radio1[0].checked)   //html显示报表
  {
  	URL="report.php?B';
  echo 'EGIN_DATE="+document.form2.BEGIN_DATE.value+"&END_DATE="+document.form2.END_DATE.value+"&STAT_MODE="+STAT_MODE;
  	window.location=URL;
  }
  else                    //导出excel报表
  {
  	URL="send_excel.php?BEGIN_DATE="+document.form2.BEGIN_DATE.value+"&END_DATE="+document.form2.END_DATE.value+"&STAT_MODE="+STAT_MODE;
  	window.location=URL;
  }
}
</script>
</head>
<body class="bodycol';
  echo 'or" topmargin="5">
';
  $CUR_DATE = date ('Y-m-d H:i:s', time ());
  echo '
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/menu/system.gif" WIDTH="22" HEIGHT="20" align="absmiddle">';
  echo '<s';
  echo 'pan class="big3"> 短信发送管理</span>
    </td>
  </tr>
</table>
  <table border="0" width="400" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
  <form action="send_search.php" name="form1">
    <tr>
      <td nowrap class="TableData">短信发送状态:</td>
      <td class="TableData">
        ';
  echo '<s';
  echo 'elect name="SEND_FLAG" class="BigSelect">
          <option value="ALL">所有</option>
          <option value="0">未发送</option>
          <option value="1">发送成功</option>
          <option value="2">发送失败</option>
        </select>
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData">发送人:</td>
      <td class="TableData">
        <input type="hidden" name="TO_ID" value="">
   ';
  echo '     <textarea cols=23 name="TO_NAME" rows="3" class="BigStatic" wrap="yes" readonly></textarea>
        &nbsp;<input type="button" value="添 加" class="SmallButton" onClick="LoadWindow()" title="添加用户" name="button">
        &nbsp;<input type="button" value="清 空" class="SmallButton" onClick="clear_user()" title="清空用户" name="button">
      </td>
    </tr>
    <tr>
      <td nowrap class="Ta';
  echo 'bleData">收信人号码:</td>
      <td class="TableData"><input type="text" name="PHONE" size="20" class="BigInput" value="">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData">内容:</td>
      <td class="TableData"><textarea cols=40 name="CONTENT" rows="3" class="BigInput" wrap="yes"></textarea>
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData">起始时间:</td>
      <td cl';
  echo 'ass="TableData"><input type="text" name="BEGIN_DATE" size="20" maxlength="20" class="BigInput" value="">
          <img src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.BEGIN_DATE\');">
          <img src="/images/menu/clock.gif" border="0" style="cursor:hand" onclick="td_clock(\'form1.BEGIN_DATE\');">
      </td>
    </tr>
    <tr>
      <td nowrap class="Tab';
  echo 'leData">截止时间:</td>
      <td class="TableData"><input type="text" name="END_DATE" size="20" maxlength="20" class="BigInput" value="';
  echo $CUR_DATE;
  echo '">
          <img src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.END_DATE\');">
          <img src="/images/menu/clock.gif" border="0" style="cursor:hand" onclick="td_clock(\'form1.END_DATE\');">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData">查询显示条数:</td>
      <td class="TableData"><input type="text" name="LIMIT" size="4" class="Big';
  echo 'Input" value="100">
      </td>
    </tr>
    <tr >
      <td nowrap class="TableControl" colspan="2" align="center">
      	  <input type="hidden" name="DELETE_FLAG" value="0">
          <input type="submit" value="查询" class="BigButton" title="进行查询">&nbsp;&nbsp;&nbsp;
          <input type="button" value="删除" class="BigButton" title="删除指定范围内的短信记录" onclick="delete_sms();">
   ';
  echo '   </td>
    </tr>
    </form>
  </table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src="/images/menu/system.gif" WIDTH="22" HEIGHT="20" align="absmiddle">';
  echo '<s';
  echo 'pan class="big3"> 短信发送统计</span>
    </td>
  </tr>
</table>
  <table border="0" width="400" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
  <form action="report.php" name="form2">
    <tr>
      <td nowrap class="TableData">起始时间:</td>
      <td class="TableData"><input type="text" name="BEGIN_DATE" size="20" maxlength="20" class="BigInput" value="">
    ';
  echo '      <img src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form2.BEGIN_DATE\');">
          <img src="/images/menu/clock.gif" border="0" style="cursor:hand" onclick="td_clock(\'form2.BEGIN_DATE\');">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData">截止时间:</td>
      <td class="TableData"><input type="text" name="END_DATE" size="20" maxlength="20"';
  echo ' class="BigInput" value="';
  echo $CUR_DATE;
  echo '">
          <img src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form2.END_DATE\');">
          <img src="/images/menu/clock.gif" border="0" style="cursor:hand" onclick="td_clock(\'form2.END_DATE\');">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData">统计方式:</td>
      <td nowrap class="TableData" align="left">
        <INPUT type="radio" name=';
  echo '"radio0" CHECKED>按人员统计
        <INPUT type="radio" name="radio0">按部门统计 &nbsp;
      </td>
    </tr>
    <tr>
      <td nowrap class="TableData">查看方式:</td>
      <td nowrap class="TableData" align="left">
        <INPUT type="radio" name="radio1" CHECKED>网页方式 &nbsp;
        <INPUT type="radio" name="radio1">EXCEL方式 &nbsp;
      </td>
      </td>
    </tr>
    <tr>
      <td nowr';
  echo 'ap class="TableData" colspan="2" align="center">
         <input type="button" name="button1" value="统计报表" class="BigButton" title="按人员统计报表" onclick="report();">&nbsp;&nbsp;
      </td>
    </tr>
    </form>
  </table>
</body>
</html>
';
?>

⌨️ 快捷键说明

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