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

📄 showtss.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">
<!--
.STYLE21 {color: #000000; 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;
}
.STYLE2 {color: #0000CC}
-->
</style>
</head>
<jsp:useBean id="db" class="data.shopdb"/>
<%
String shopid="";
if (request.getParameter("shopid")!=null) shopid=request.getParameter("shopid");
%>
<body>
<table width="600" height="327" border="1" align="left" cellspacing="0" bordercolor="#993300">
  <tr>
    <td height="16" background="../pic/bbgg.jpg"><div align="center"><strong>本店有如下货物:</strong></div></td>
  </tr>
  <tr>
    <td width="616" height="309" background="../pic/bbgg.jpg"><p align="center">
	<%ResultSet rs=db.showthing(shopid);
		while (rs.next()){
		String ddid=rs.getString("shopid");%>
	<table width="516" border="1" align="center" cellpadding="0" cellspacing="2">
      <tr>
      <td width="202"><span class="STYLE21">物品:<%=rs.getString("thingname")%></span></td>
        <td width="145"><span class="STYLE21">店主:<%=ddid%></span></td>
        <td width="153"><span class="STYLE21">上架时间:<%=rs.getString("starttime")%></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("thingmes")%>
                </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("pic")%>" 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><%}%></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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