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

📄 usersearch.ftl

📁 学生选课系统 赶快来下载啊啊好东西 呵呵啊啊 啊啊啊啊啊
💻 FTL
字号:
<#include "lib/report.tpl"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<#import "lib/html.tpl" as html>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=${_encoding?default("GBK")}" />
  <#assign navtitle = "会员搜索 - ">
  <#include "/common/title.ftl">
  <#include "/common/meta.ftl">
  <link href="${_resPath}/lib/base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${_contextPath}/ef/js/prototype.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/base.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/eforumad.js"></script>

  <SCRIPT LANGUAGE="JavaScript">
  <!--

  function gotoPage(_pNo){
    $('_pNo_usersearch').value = _pNo;
    $('searchFlag').value = "-1";
    $('usersearch').submit();
  }

  //-->
  </SCRIPT>
 </head>

<body><!-- usersearch.ftl -->

<div id="wrap">

<#include "header.ftl"/>


<div id="content">
<div class="commonNavLine">
	<#assign onlyForumMenu = true/>
	<#assign nextForumNavStr = "会员搜索"/>
	<#include "forum_nav.ftl"/>
</div><#comment>end count</#comment>

<@_report/>
<#comment>会员搜索</#comment>
<a name="_reSearch"></a>

<#assign Search_Top =  _AdsUtil.getAds("Search_Top",_tplStyle)>
<#if Search_Top?? && Search_Top!="">
<div class="bannerAD" style="margin-top:5px;">
  ${Search_Top}
</div>
</#if>

<form method="post" id="usersearch" action="${_UrlUtil.encodeURL("/search.do?_fn=SearchUser#_userSearchList")}">
<input type="hidden" name="_pNo" id="_pNo_usersearch" value="1">
<input type="hidden" name="searchFlag" id="searchFlag" value="0">

<div id="userSearch" class="commonBox">

<table class="searchTable commonTable">
<tr class="hd1">
  <td colspan="2">会员搜索</td>
</tr>
<tr class="content">
  <td class="td1">
    <span class="three2Four">关键字</span>
  </td>
  <td class="td2">
    <input id="search_value" name="search_value" type="text" size="18" value="${search_value?default("")}" class="input1"><@_errorField name="search_value"/>
  </td>
</tr>
<tr class="content">
  <td class="td1">
    匹配范围
  </td>
  <td class="td2">
		<input name="search_type" type="radio" value="${_Constants.LOGIN_TYPE_NICKNAME}" <#if search_type?default(_Constants.LOGIN_TYPE_NICKNAME)?number == _Constants.LOGIN_TYPE_NICKNAME> checked </#if>>用户昵称
    <input name="search_type" type="radio" value="${_Constants.LOGIN_TYPE_ID}" <#if search_type?default(_Constants.LOGIN_TYPE_NICKNAME)?number == _Constants.LOGIN_TYPE_ID> checked </#if>>用户名

  </td>
</tr>
<tr class="content">
  <td class="td1">
    <span>所属用户组</span>
  </td>
  <td class="td2">
    <select name="group_id">
      <option value="-1"> - 全部 - </option>
      <#comment> 获取用户组数据 </#comment>
      <#assign groups = _GroupUtil.getAllList()/>
      <#list groups as group>
        <option value="${group.group_id}" <#if group_id?default(-1)?number == group.group_id?number> selected </#if>>${group.group_name}</option>
      </#list>
    </select>
  </td>
</tr>
<tr class="content">
  <td class="td3" colspan="2">
    <input type="button" class="middleButton" value="搜&nbsp;索" onclick="searchUser('usersearch',this,'search_value');">
  </td>
</tr>
</table>
</div><#comment>end userSearch </#comment>
</form>

<#if users ? exists>
<#comment>搜索结果</#comment>
<a name="_userSearchList"></a>

<#assign Search_ResultTop =  _AdsUtil.getAds("Search_ResultTop",_tplStyle)>
<#if Search_ResultTop?? && Search_ResultTop!="">
<div class="bannerAD" style="margin-top:5px;">
  ${Search_ResultTop}
</div>
</#if>

<div id="users" class="commonBox">
<table class="commonTable">
<tr class="hd1">
  <td>会员列表</td>
</tr>
<#if users.size() &gt; 0>
<tr class="content">
  <td class="td1">
  <#list users as user>
  <#assign efUser = _EFUserUtil.getEFUser(user.user_id)/>
  <#assign userHeadPic = efUser.headPic/>
    <div class="headPics" style="z-Index: ${500-user_index};">
      <a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(efUser.id))}" target="_blank">
      <img src="${_contextPath}/${userHeadPic}" onmouseover="showTip('user_${user_index}')" onmouseout="hideTip()">
			<div id="user_${user_index}" class="menu commonInfoPop usersPop">
				<ul>
					<li><b>昵&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称</b>${efUser.nickName}</li>
				  <#assign group_map = _GroupUtil.getAllMap()/>
					<li><b>用&nbsp;户&nbsp;组&nbsp;</b><#if group_map ? exists>${group_map[efUser.groupId?string].group_name}</#if></li>
					<li><b>积&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;分</b>${efUser.credit}</li>
					<li><b>帖&nbsp;子&nbsp;数&nbsp;</b>${efUser.posts}</li>
					<li><b>注&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;册</b>${_DateUtil.getDateStr(_EFUser, efUser.regTime)}</li>
				</ul>
      </div>
      <div class="userName">${efUser.nickName}</div>
      </a>
    </div>
	</#list>
  </td>
</tr>
<#else>
  <#assign noDataInfo = "没有符合条件的注册会员,请"/>
  <#assign aHref="#_reSearch"/>
  <#assign aHrefInfo = "重新搜索"/>
  <#assign isTable = true/>
  <#assign colspanNum = 1/>
  <#include "nodatainfo_inc.ftl"/>
</#if>
</table>
</div><#comment>end users</#comment>

<#if users.size() &gt; 0>
<#comment> 分页 </#comment>
<div class="actionLine">
  <div id="pageNavigationDiv" class="left">
    <#assign pagination=Context["PAGE_USERSEARCH_LIST"]?default(_EmptyObject.pagination()) />
    <@html.doPagination pagination=pagination/>
  </div>
  <div class="right">
    <a href="#_reSearch" >>>换个条件...</a>
  </div>
</div>
</#if>
</#if>

</div><#comment>end content</#comment>

<#assign _show_temp_=false>
<#include "footer.ftl"/>

</div><#comment>end wrap</#comment>

 </body>
</html>

⌨️ 快捷键说明

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