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

📄 clientsearch.jsp

📁 java web开发宝典源代码
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<%
  String path=request.getContextPath();
  String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
 
  String sqlE=(String)request.getAttribute("SearchSql");
  String valueE=(String)request.getAttribute("SearchValue");
  String deleteR=(String)request.getAttribute("deleteR");
  if(sqlE==null)
	  sqlE="";
  if(valueE==null)
	  valueE=""; 
  if(deleteR==null)
	  deleteR="";
  request.setCharacterEncoding("gb2312");
%>
<html>
<head>
  <title>客户管理</title>
  <base href=<%=basePath%>>
  <link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body background="image/back.gif">
  <center>
    <table border="0" cellspacing="0" cellpadding="0">
       <tr><td align="center" valign="top"><jsp:include page="/view/top.jsp"/></td></tr>
       <tr>
           <td>
               <table border="0" cellspacing="0" cellpadding="0" background="image/content_back.gif" width="760" height="464">
                   <tr><td align="right" colspan="2" height="40"><jsp:include page="/view/sub_menu.jsp"/></td></tr>
                   <tr>
                       <td width="208" align="right" valign="top"><jsp:include page="/view/left.jsp"/></td>
                       <td valign="top" align="center">
                         <table width="539" height="401" border="0" cellpadding="1" cellspacing="0">    
                           <tr>
                             <td bgcolor="#AC8258" align="center">                                 
                                 <table border="0" width="539" height="401" cellspacing="0" cellpadding="0">
                                     <tr height="24" bgcolor="#d9b466"><td align="right" valign="bottom" colspan="2"><jsp:include page="/pages/showPos.jsp"/></td></tr>
                                     <!-- 查询视图 -->
                                     <form action="admin/subMenu/client" method="post">
                                     <tr>
                                         <td align="center" height="50" bgcolor="#f9f2e0">
                                              <input type="hidden" name="op" value="search">
                                              <input type="hidden" name="type" value="dosearch">
                                              查询类型:
                                              <select name="subsql">
                                                  <option value="user_id">客户名</option>
                                                  <option value="user_name">真实姓名</option>
                                                  <option value="user_email">电子邮箱</option>
                                                  <option value="user_phone">电话号码</option>
                                                  <option value="user_addr">客户住址</option>
                                              </select>
                                              值:
                                              <input type="text" name="sqlvalue" size="25">
                                              &nbsp;
                                              <input type="submit" value="查询" style="border:0;width:45;height:20;background-image:url(image/client/add_b.jpg)">
                                              <br>
                                         </td>
                                     </tr>
                                     </form>
                                     <tr height="1" bgcolor="white"><td></td></tr>
                                     <tr height="1" bgcolor="#f9f2e0"><td></td></tr>                                     
                                     <% if(!sqlE.equals("")||!valueE.equals("")||!deleteR.equals("")){ %>                     
                                     <tr bgcolor="#fbf6e9"><td align="center" height="25"><font color="red"><%=sqlE%>&nbsp;<%=valueE%>&nbsp;<%=deleteR%></font></td>
                                     <% } %>
                                     <!-- 显示记录视图 -->
                                     <tr>
                                         <td align="center" valign="top" bgcolor="#fffcf6">
                                            <jsp:include page="Show.jsp">
                                                <jsp:param name="from" value="search"/>
                                            </jsp:include>
                                         </td>                        
                                     </tr>
                                 </table>
                             </td>
                           </tr>
                         </table>
                       </td>
                   </tr>               
               </table>               
           </td>
       </tr>
       <tr><td align="center"><jsp:include page="/view/end.jsp"/></td></tr>       
    </table>
  </center>
</body>
</html>

⌨️ 快捷键说明

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