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

📄 bbsmanager.jsp

📁 简单实现的商品购物系统
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title>
bbsmanager
</title>
<style type="text/css">
<!--
.style1 {font-size: 24px;
	font-weight: bold;
	color: #FF0000;
}
.style3 {font-size: 16px}
-->
</style>
</head>
<link href="../style.css" rel="stylesheet" type="text/css">
<body bgcolor="#799AE1">
<c:set var="pageid"  value="${requestScope.pageid}" scope="page"/>
<c:set var="totalPage"  value="${requestScope.totalPage}" scope="page"/>

<table width=100% height="28" border=1 align="center" cellpadding=0 cellspacing=0 bordercolor=#6a7f9a background="image/1.gif" style="border-collapse:collapse;" >
  <tr>
    <td height=25 align=center><span class="style1"> <img src="image/head-1.gif" width="22" height="21"> <span class="style3">管理留言</span></span></td>
  </tr>
</table>
<c:forEach var="xie" items="${requestScope.coll}">
<form name="form1" method="post" action="bbsDel.jsp?bbsid=${xie[10]}&action=update">
  <table width="100%" border="0" align="center" cellspacing="0" bordercolor="#767676">

    <tr>
      <td width="19%" rowspan="4" bgcolor="#ececf4"><div align="center"><img src="../${xie[0]}" width="101" height="141"></div>
      <p align="center">留言作者 </p>
      <p align="center">:${xie[7]}</p></td>
      <td colspan="3" bgcolor="#ececf4"><table width="100%" border="0" cellspacing="0">
          <tr>
            <td width="29%" height="28"><div align="left"><img src="image/aa1.jpg" width="15" height="15">用户留言</div></td>
            <td width="31%"><div align="left"><img src="image/email.gif" width="16" height="16">EMail:${xie[2]}</div></td>
            <td width="40%"><div align="left">发表时间:${xie[6]}</div></td>
          </tr>
      </table>
          <div align="center">
              <textarea name="asd"   cols="90" rows="6" readonly="true">${xie[4]}</textarea>
          </div></td>
    </tr>
    <tr>
      <td width="23%" height="23" valign="top" bgcolor="#ececf4"><p align="center"><img src="image/ip.gif" width="16" height="15">IP:${xie[5]}</p>      </td>
      <td width="25%" valign="top" bgcolor="#ececf4"><img src="image/oicq.gif" width="16" height="16">QQ:${xie[1]}</td>
      <td width="33%" valign="top" bgcolor="#ececf4"><img src="image/home.gif" width="16" height="16">主页:${xie[3]}</td>
    </tr>
    <tr>
      <td height="96" colspan="3" valign="top" bgcolor="#ececf4">
        <div align="center">
          <textarea name="txtreplay" cols="90" rows="6" id="textarea2">${xie[8]}</textarea>
        </div></td>
    </tr>
    <script type="">
              function hello(p)
              {
               if(confirm("确定要删除留言吗?")==true)
               location.href="bbsDel.jsp?action=del&bbsid="+p;

             }
            </script>
    <tr>
      <td height="35" colspan="3" bgcolor="#ececf4"><table width="99%" border="0" cellspacing="0">
          <tr>
            <td width="29%" height="28"><div align="left"><img src="image/PullBack-1-up.jpg" width="15" height="15">管理员回复</div></td>
            <td width="41%"><div align="left">回复时间:${xie[9]}</div></td>
            <td width="30%"><div align="center">
              <input name="imageField" type="image" src="image/re.gif" width="61" height="20" border="0">
              <a href="#" onclick="hello(${xie[10]})"><img src="image/shanchu.GIF" width="61" height="20" border=0></a></div></td>
          </tr>
      </table></td>
    </tr>
  </table>
</form>
</c:forEach>
<p align="center"> 当前是第${pageid}页 共${totalPage}页 <a href="viewBbs.jsp?pageid=1">第一页</a> <c:if test="${pageid>1}"> <a href="viewBbs.jsp?pageid=${pageid-1}">上一页</a> </c:if> <c:if test="${pageid<totalPage}"> <a href="viewBbs.jsp?pageid=${pageid+1}">下一页</a> </c:if> <a href="viewBbs.jsp?pageid=${totalPage}">最后一页</a>

</body>
</html>

⌨️ 快捷键说明

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