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

📄 selectmail.asp

📁 网络办公系统源码
💻 ASP
字号:
<!--#include file="../../config.asp"-->
<!--#include file="../checklogin.asp"-->
<link href="../img/css1.css" type=text/css rel=stylesheet>

<html>   
  <style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style><head>   
  <script>   
  function   selectall(check)   {   
          var   length   =   100;   
          document.form1.all.checked   =   check.checked;   
    
          if   (length   ==   0   )   return;   
          if   (length   ==1   )   document.form1.email.checked=document.form1.email.checked   ;   
          if   (length>1)   {   
              for   (var   i   =   0;   i   <   length;   i++)   {   
                  document.form1.email[i].checked=document.form1.all.checked;                     
              }   
        }   
  }   
  function   send(){   
  window.opener.document.form1.email.value="";   
  var   obj=document.form1.email;   
  for(j=0;j<(obj.length);j++){   
    for(i=j;i<(obj.length-1);i++){   
                  if(obj[i].checked)window.opener.document.form1.email.value+=document.form1.email[i].value+","   
  j   =   i;   
                  }   
  j++;   
  if(obj[i].checked)window.opener.document.form1.email.value+=document.form1.email[j].value;     
  }     
  //window.opener.document.form1.mobile.value=str;   
  window.close();   
  }   
  </script>   
  <title>手机号码选择</title>   
  <meta   http-equiv="Content-Type"   content="text/html; charset=gb2312">   
  <link   rel="stylesheet"   href="css.css"   type="text/css">   
  </head>   
  <body   bgcolor="#ffffff"   text="#000000">   
  <form   name="form1"   method="post"   action="">   
      <table   width="100%"   border="1"   cellspacing="0"   cellpadding="0"     bordercolor="#009999">
        <tr>
          <td   height="18"   colspan="3" bgcolor="#F5F5F5"> 请选择用户</td>
        </tr>
        <tr>
          <td   width="20%"   height="20" align="left"><input name="checkbox" type=checkbox class="tabel1" onclick=sel('email')>
        选择</td>
          <td   width="41%"     height="20">E_mail</td>
          <td   width="39%"     height="20">姓名</td>
        </tr>
        <%
   sql="select  email,truename from oa_admin where companyid="&session("companyid")&" and len(email)>5"
   set rs=conn.execute(sql)
   do while not rs.eof
  %>
        <tr>
          <td   width="20%"     height="20">
            <input   type="checkbox"   name="email"   value="<%=trim(rs(0))%>">
          </td>
          <td   width="41%"   height="20"><%=trim(rs(0))%></td>
          <td   width="39%"   height="20"><%=trim(rs(1))%></td>
        </tr>
        <%
  rs.movenext
  loop
  rs.close
  set rs=nothing
  %>
        <tr>
          <td   colspan="3"   height="20">
            <div   align="center">
              <input   type="button"   name="submit"   value="提交"  onClick="send()">
              <input   type="reset"   name="submit2"   value="清空"   onclick="window.opener.document.form1.email.value=">
          </div></td>
        </tr>
      </table>
  </form>   
  </body>   
  </html> 

⌨️ 快捷键说明

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