<%String login =(String)session.getAttribute("manager");
if(login==null){
response.sendRedirect("login.do");
 }%><%@ page language="java" pageEncoding="UTF-8"%><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %><%@ taglib uri="http://struts.apache.org/tags-logic" prefix="lg" %><%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><bean:message key="sys.name"/></title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0" class="table">
  <tr> 
    <td width="46%" height="34"><img src="Images/logo.jpg" width="240" height="60" /></td>
    <td width="54%"><script type="text/javascript"><!--
google_ad_client = "pub-2041102314177799";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel = "";
google_color_border = "6699CC";
google_color_bg = "003366";
google_color_link = "FFFFFF";
google_color_text = "AECCEB";
google_color_url = "AECCEB";
//-->
</script> <script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
  </tr>
  <tr> 
    <td height="25" colspan="2">&nbsp;&nbsp; <a href="login.do"><bean:message key="sys.login"/></a>&nbsp;&nbsp; 
      <a href="logins.do?action=editpa"><bean:message key="sys.editpass"/></a>&nbsp;&nbsp;<a href="adduser.do"><bean:message key="sys.adduser"/></a>&nbsp;&nbsp;<a href="logins.do?action=loginoff"><bean:message key="sys.loginout"/></a></td>
  </tr>
</table>
<br /><html:form action="/search">
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0" class="table">
  <tr>
    <td width="10%" height="22"><div align="right"><strong><bean:message key="sys.search"/>&nbsp;&nbsp;</strong></div></td>
    <td width="64%"><html:text size="55" property="keyword"/><html:errors property="keyword"/></td>
    <td width="26%"><html:submit><bean:message key="sys.search"/></html:submit></td>
  </tr>
</table></html:form>
<br /><lg:iterate id="s" name="users"><html:form action="/logins?action=editpass">
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0" class="table">
  <tr> 
    <td height="22" colspan="2">&nbsp;&nbsp;&nbsp;<strong>&nbsp;editpass</strong></td>
  </tr>
  <tr> 
    <td width="18%" height="22"><div align="right"><bean:message key="login.userpass"/></div></td>
    <td width="82%" height="22"><input name="id" type="hidden" value="${s.id }" /><html:password property="userpass"/><html:errors property="userpass"/></td>
  </tr>
  <tr> 
    <td height="22"><div align="right"><bean:message key="login.userpasa"/></div></td>
    <td height="22"><html:text property="userpasa"/><html:errors property="userpasa"/></td>
  </tr>
  <tr> 
    <td height="22"><div align="right"><bean:message key="login.logincode"/></div></td>
    <td height="22"><html:text size="5" property="logincode"/><html:errors property="logincode"/></td>
  </tr>
  <tr> 
    <td height="22" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;<html:submit><bean:message key="login.submit"/></html:submit><html:reset><bean:message key="login.reset"/></html:reset> 
    </td>
  </tr>
</table>
</html:form></lg:iterate>
</body>
</html>
