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

📄 grouplist.html

📁 一个实现邮件收发功能的客户端程序
💻 HTML
字号:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>个人通讯录组</title>
<script src="public.js" type="text/JavaScript"></script>
<SCRIPT LANGUAGE=javascript>
  <!--
  
  function  doDel(id)
{
  if(confirm("通讯地址不可恢复,是否真的删除?"))
  {
    ListForm.easyJWebCommand.value="del";
	ListForm.cid.value=id;
	ListForm.submit();
	}
  else
    return false;
}
function doAdd(){
    ListForm.easyJWebCommand.value="new";
	
	ListForm.submit();
    var t=(screen.availHeight-200)/2;
	var l=(screen.availWidth-300)/2;
	//window.open('/address.ejf?easyJWebCommand=new','_blank','width=300,height=150,top='+t+',left='+l+',center=yes,resizable=yes');
 }
 function doEdit(id){
  ListForm.cid.value=id;
  ListForm.easyJWebCommand.value="edit";
  ListForm.submit();
  
 //   var t=(screen.availHeight-200)/2;
//	var l=(screen.availWidth-300)/2;
	//window.open('/address.ejf?easyJWebCommand=edit&&cid='+id,'_blank','width=300,height=150,top='+t+',left='+l+',center=yes,resizable=yes');
 }
 
//-->
</SCRIPT>
<link href="/css/css.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#F2F1F2" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" scroll="auto">
  <table width="100%" height="5%"  border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="11" height="11"></td>
      <td ></td>
    </tr>
</table>
  <table width="100%" height="95%"  border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="11" background="/images/1.gif">&nbsp;</td>
      <td width="762" align="center" valign="top" bgcolor="ECF4F5"><br>
          <table border=0 width="96%">
           <FORM id='ListForm' name="ListForm" METHOD='POST' ACTION='/group.ejf'>	
	<input type="hidden" name="easyJWebCommand" value="list">
	<input type="hidden" name="cid" value="">
	<input type="hidden" name="mulitCid"   value="$!mulitCid">	
	<input type="hidden" name="page"   value="$!page">		
              <tr>
                <td><table width="100%" height="25">
                    <tr>
                      <td width="120" height="20" nowrap style="cursor:hand" onClick='doAdd()' align="left"><img src='/images/add.gif' border='0' align='absmiddle'>增加个人通讯录组</td>
                      <td width="5" align="center" height="20" nowrap class=""><span  class="vline"></span></td>
                      <td width="30" height="20" class='coolbutton' align="center" nowrap onClick="searchadr();">查询</td>
                      <td width="80"><select name="isword" >
                          <option value="groupname" selected>通讯录组</option>
                          <option value="name">通讯录组成员名</option>
                          <option value="address">通讯录组成员地址</option>
                        </select>
                      </td>
                      <td width="50"><select name="istate">
                          <option value="1" selected>包含</option>
                          <option value="2">等于 </option>
                        </select>
                      </td>
                      <td width="100"><input type="text" name="istext" height="18" onKeyDown="setvalue();">
                      </td>
                      <td>&nbsp;</td>
                      <!--td width="110" align="right" ><div>转到<img src="/images/luntan.gif" width="16" height="16">
				<a href="address.jsp">个人通讯录</a></div></td-->
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td height="90%" valign="top"><TABLE WIDTH='100%' height='100%' BORDER='1' align='center' CELLPADDING='4' CELLSPACING='1'  bgcolor="#ECF4F5" class="table1">
                    <thead><TR>
                      <TD width='50%' height="30" class='TableTitle'><div style="height:20;width:100%;cursor:hand"  title="点击按通讯录组排序" onClick="getSorted('groupname')" align="center"> 通讯录组</div></TD>
                      <TD width='25%'  class='TableTitle' align="center" >通讯录数</TD>
                      <TD width='25%'  class='TableTitle' align="center" >编辑 </TD>
                    </TR>
					</thead>					
                     #foreach( $info in $list)   
                    <TR  bgcolor='#FFFFFF'>
                      <TD style='word-break:break-all' height="23">$!info.name</TD>
                      <td width="5%" align="center">$!info.emails.size()</td>
                      <td width="25%" align="center"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="3">
                        <tr>
                          <td width="50%" align="center"><a href="#" onClick="doEdit('$!info.cid')"><img src="/images/help.gif" width="18" height="13" border="0" align="absmiddle"> 修改</a></td>
                          <td width="50%" align="center"><a href="#" onClick="doDel('$!info.cid')"><img src="/images/delete2.gif" width="16" height="16" border="0" align="absmiddle"> 删除</a></td>
                        </tr>
                      </table></td>
                    </TR>
                  #end
				  
                    <TR bgcolor='#FFFFFF'> </TR>
                </TABLE></td>
              </tr>
              <tr valign="bottom" >
                <td height="26" class="TableTitle"><table bgcolor="#ECF4F5" class='cooltbl-b' width='100%' height="100%" cellspacing='0'id='table_bar' >
                    <tr bgcolor="#ECF4F5">
                    
                      
                  <td nowrap align='left'>个人通讯录组:共有<b>$!rows</b>个通讯录组</td>
                      
                  <td>$!gotoPageHTML </td>
                  </tr>
                </table></td>
                          
            </tr>                         </form>
      </table></td>
      <td width="67" bgcolor="ECF4F5">&nbsp;</td>
    </tr>
</table>
</body>
</html>
#if($msg)
<script> alert('$!msg');</script>
#end

⌨️ 快捷键说明

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