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

📄 showth.jsp

📁 jsp注册
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="errorpage.jsp" %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE2 {color: #0000CC}
.STYLE3 {
	color: #FFFFFF;
	font-weight: bold;
}
body,td,th {
	font-size: 12px;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
.STYLE5 {color: #000000; font-weight: bold; }
-->
</style>
</head>
<%
String shopname = new String(request.getParameter("shopname").getBytes("iso-8859-1"));%>
<jsp:useBean id="db" class="data.shopdb"/>
<body>
<tr>
  <td width="616" height="309"><table width="622" height="313" border="1" align="left" cellspacing="0" bordercolor="#993300">
      <tr>
        <td width="616" height="16" bgcolor="#993300"><span class="STYLE3">搜索结果如下:</span></td>
      </tr>
      <tr>
        <td><table width="618" height="294" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td background="../pic/bbgg.jpg"><%
			  if(db.checshopname(shopname)){%><script language="JavaScript">
             alert("没有搜索到!");
           </script>
		    <meta   HTTP-EQUIV=REFRESH   CONTENT="0;URL=/xunibuluo/shop/showshop.jsp"></meta>
		   <%}else{ResultSet rs=db.showths(shopname);
		while (rs.next()){
		String ddid=rs.getString("soldid");%><table width="494" border="1" align="center" cellpadding="0" cellspacing="2">
      <tr>
        <td width="189"><span class="STYLE21">店名:<a href="../shop/showtss.jsp?shopid=<%=ddid%>"><%=rs.getString("shopname")%></a></span></td>
        <td width="158"><span class="STYLE21">店主:<%=ddid%></span></td>
        <td width="167"><span class="STYLE21">信用度:<%=rs.getString("xinyong")%></span></td>
      </tr>
      <tr>
        <td height="50"><table width="185" border="0" cellpadding="0">
            <tr>
              <td width="73"><strong>公告:</strong></td>
              <td width="105"><strong>
                <textarea name="textfield" cols="16" rows="3" readonly="readonly"><%=rs.getString("shopmes")%></textarea>
              </strong></td>
            </tr>
        </table></td>
        <td><table width="106" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td><strong>图片:</strong></td>
              <td><strong><span class="STYLE2"><img src="../shoppic/<%=rs.getString("shoppic")%>" width="50" height="50" /></span></strong></td>
            </tr>
        </table></td>
        <td><div align="center"><strong><a href="../message/sendmessage.jsp?fromid=<%=ddid%>">联系店主</a></strong></div></td>
      </tr>
    </table>
             <p>
               <%}}%>
               </p>
             <p align="center"><span class="STYLE5"><a href="showshop.jsp">&lt;&lt;返回</a></span></p></td>
            </tr>
        </table></td>
      </tr>
    </table>
  </body>
</html>

⌨️ 快捷键说明

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