<%--
====================================================
アカウント検索結果の表示
====================================================
--%>
<%@ page contentType="text/html; charset=Shift_JIS" %>
<%@ page language="java" pageEncoding="SHIFT_JIS" %>

<%@ taglib prefix="c" uri="/WEB-INF/tlds/c.tld" %>

<%@ page import="jp.co.orangesoft.xgate.account.GateAccount" %>

<jsp:useBean id="xgate_config" class="jp.co.orangesoft.xgate.XGateConfig" scope="application"/>
<jsp:useBean id="version" class="jp.co.orangesoft.xgate.XGateVersion"/>

<%
	GateAccount[] users = (GateAccount[])session.getAttribute("gateadmin.search_result");
	boolean isLoginByTel = xgate_config.isLoginByTelphone();
%>

<!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en">

<HTML>
<HEAD>
<TITLE>Modify/Delete Account - Search Result</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Shift_JIS">
</head>

<BODY BGCOLOR="#FFFFFF" BACKGROUND="<%=request.getContextPath()%>/img/ja/bg.gif" TEXT="#444444" LINK="#3355BB" VLINK="#9966CC" TOPMARGIN="0" LEFTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0">

<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="700">

<TR VALIGN="TOP">

<!--LEFT_SIDE-->
<TD WIDTH="150">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
  <TR>
    <TD HEIGHT="10"></TD>
  </TR>

  <TR VALIGN="TOP">
    <TD ALIGN="CENTER">
      <A HREF="<%=request.getContextPath()%>/GateAdmin?lang=ja" TARGET="_TOP">
      <IMG SRC="<%=request.getContextPath()%>/img/ja/logo.gif" WIDTH="156" HEIGHT="45" BORDER="0" ALT="xGate">
      </A>
    </TD>
  </TR>

  <TR>
    <TD HEIGHT="50"></TD>
  </TR>

  <TR VALIGN="TOP">
    <TD>
      <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">
        <TR VALIGN="CENTER">
          <TD WIDTH="20" HEIGHT="30" ALIGN="RIGHT">
            <IMG SRC="<%=request.getContextPath()%>/img/ja/arrow_ylw.gif" BORDER="0" HSPACE="2" VSPACE="0">
          </TD>
          <TD>
            <A HREF="<%=request.getContextPath()%>/GateAdmin?cmd=SHOW_MAINPAGE&lang=ja">
            <FONT SIZE="2" COLOR="#FFFFFF">Administration Menu</FONT>
            </A>
          </TD>
        </TR>

        <TR>
          <TD HEIGHT="20"></TD>
        </TR>
      </TABLE>
    </TD>
  </TR>

  <TR>
    <TD HEIGHT="50"></TD>
  </TR>

  <TR>
    <TD ALIGN="CENTER">
      <FONT SIZE="2" COLOR="#FFFFFF"><c:out value="${version.displayString}"/></FONT>
    </TD>
  </TR>

  <TR>
    <TD HEIGHT="10"></TD>
  </TR>

  <TR>
    <TD ALIGN="CENTER">
      <A HREF="http://www.orangesoft.co.jp/" TARGET="_NEW">
      <IMG SRC="<%=request.getContextPath()%>/img/ja/orange.gif" WIDTH="100" HEIGHT="22" BORDER="0">
      </A>
    </TD>
  </TR>
</TABLE>

</TD>
<!--LEFT_SIDE_END-->

<TD WIDTH="556" ALIGN="CENTER">

<table border="0" cellpadding="10" cellspacing="5" width="500">
  <tr>
    <td bgcolor="#0000A0">
      <font color="#FFFFFF"><b>
      Modify/Delete Account - Search Result
      </b></font>
    </td>
  </tr>

  <TR><TD HEIGHT="10"></TD></TR>

  <tr>
    <td align="center">
      <table border="0" width=450 cellpadding="3" cellspacing="0">
        <tr>
          <th>
            <c:if test="${xgate_config.loginByTelphone}"> User name </c:if>
            <c:if test="${!xgate_config.loginByTelphone}"> Login name </c:if>
          </th>
          <th>e-mail</th>
        </tr>
        <% 
        for(int n=0; n<users.length; ++n) { 
        	String name = isLoginByTel ? users[n].getCellularPhoneNumber() : users[n].getLoginName();
        %>
			<tr>
				<td nowrap>
					<a href="<%=request.getContextPath()%>/GateAdmin?telno=<%=name%>&cmd=MODIFY_ACCOUNT_ENTRY&lang=ja"><%=name%></a>
				</td>
				<td nowrap><%=users[n].getMailAddress()%></td>
			</tr>
		<% } %>
      </table>
    </td>
  </tr>

</table>

</TD>
</TR>

</TABLE>

</BODY>
</HTML>
<!-- Copyright (c) 2000-2004 Orangesoft Inc. All Rights Reserved. -->
