?? friendsite_manage.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@include file ="../DT_inc/ChkPwd.jsp"%>
<%@include file="../ConnDB.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 name="robots" content="noindex,nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>廣告管理</title>
<link href="Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<br />
<a href="FriendSite_Manage.jsp">友情鏈接管理</a> | <a href="FriendSite_Add.jsp">添加友情鏈接</a>
<hr color="#0099FF" size="1" />
<%
Statement stmt_FriendSite=conn.createStatement();
String Sql_FriendSite="Select * from tFriendSite" ;
ResultSet RsFriendSiteManage =stmt_FriendSite.executeQuery(Sql_FriendSite);
%>
<div align="center">
<table width="600" border="0" cellspacing="1" bgcolor="#CCCCCC">
<tr height="20" bgcolor="#FFFFFF">
<td width="100" >站點名稱</td>
<td width="100" >友情鏈接類型</td>
<td width="100" >是否審核</td>
<td >站點LOGO</td>
<td width="100" >管 理</td>
</tr>
<%while (RsFriendSiteManage.next())
{
String LogoUrl=RsFriendSiteManage.getString("fLogoUrl");
int ID = RsFriendSiteManage.getInt("fID");
%>
<tr bgcolor="#FFFFFF" onmouseover="this.bgColor='#f0f8ff';" onmouseout="this.bgColor='#FFFFFF';">
<td ><a href="<%=RsFriendSiteManage.getString("fSiteUrl")%>" target="_blank" title="站點簡介:<%=RsFriendSiteManage.getString("fSiteIntro")%>
站點URL:<%=RsFriendSiteManage.getString("fSiteUrl")%>"><%=RsFriendSiteManage.getString("fSiteName")%></a></td>
<td ><%if (RsFriendSiteManage.getInt("fLinkType")==0) { out.print("文字連接");} else{ out.print("圖片連接");}%></td>
<td ><%if (RsFriendSiteManage.getString("fIsOK").equals("1") ) {out.print("審核");} else {out.print("未審核");} %></td>
<td ><%if (LogoUrl!=null ){%><img src="<%=LogoUrl%>" width="88" height="31" /><%}%></td>
<td ><a href="FriendSite_Update.jsp?ID=<%=ID%>">修改</a> | <a href="FriendSite_DEL.jsp?ID=<%=ID%>" onclick="return confirm('刪除后將不能恢復,你確定刪除么?')">刪除</a></td>
</tr>
<%
}
%>
</table>
</div>
<%
RsFriendSiteManage.close();
stmt_FriendSite.close();
conn.close();
%>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -