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

📄 manage_resolvent.jsp~5~

📁 一个完整的门户网站,基于JSP环境下开发的,使用SQL数据库.
💻 JSP~5~
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.bwm.model.User" %>
<%@ page import="com.bwm.model.Resolvent" %>
<%@ page import="com.bwm.core.*" %>
<%@ page import="java.util.*" %>
<%if (!Crazyadept.UserIsOK(session,FinalConstants.STATUS_ADMIN)) return;%>
<html>
<head>
<link href="../css/admin.css" rel="stylesheet" type="text/css">
<title>
manage_resolvent
</title>
</head>
<body bgcolor="#ffffff">
<table border="1" align="center" cellpadding="0" cellspacing="0" class="tableBorder2">
  <tr align="center">
    <td colspan="3" class="TableTitle1" >解决方案管理</td>
  </tr>
  <tr align="center">
    <td colspan="2">&nbsp;</td>
    <td width="30%"><a href="add_link.jsp" target="_self" >添加解决方案</a></td>
  </tr>
  <tr align="center">
    <td height="27">解决方案名称</td>
    <td>添加时间</td>
    <td width="30%">修改删除</td>
  </tr>
  <%
BasetableFactory bf=BasetableFactory.getInstance();
Collection coll=bf.ListResovlent("");
if(coll==null||coll.size()<=0){
%>
  <tr align="center">
    <td height="27" colspan="3">当前解决方案为空</td>
  </tr>
  <%
        }else{
            Iterator it=coll.iterator();
            while(it.hasNext()){
                Link a=(Link)it.next();
%>
  <tr align="center">
    <td height="27"><%=a.getName()%></td>
    <td><%=a.getLtime()%> </td>
    <td><a href="update_link.jsp?action=modify&lid=<%=a.getLid()%>"><img src="../images/modify.gif" border="0"></a>&nbsp;&nbsp; <a href="modify_link.jsp?action=del&lid=<%=a.getLid()%>"><img src="../images/del.gif" border="0"></a></td>
  </tr>
  <%
                }
%>
  <tr align="right">
    <td height="27" colspan="3"><%=HtmlUtils.table(bf.getRow("link"),submit_page,"manage_link.jsp")%></td>
  </tr>
  <%
        }
%>
</table>
</body>
</html>

⌨️ 快捷键说明

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