📄 toppage.jsp
字号:
<jsp:useBean id="hppc" class="org.homeplayer.web.HPPageContext" scope="request"/>
<html>
<head>
<jsp:include page="/WEB-INF/jsp/head.jsp"/>
<% if (!hppc.isFreeBox()) {%>
<style type="text/css">
body {
background : <%= hppc.color(hppc.getSkin().getProp("menuBGColor")) %>
}
td {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
}
a { FONT: bold 12px Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: <%= hppc.color(hppc.getSkin().getProp("link")) %> }
a:hover { color: <%= hppc.color(hppc.getSkin().getProp("alink")) %>}
</style>
<% } %>
</head>
<body text="<%= hppc.color(hppc.getSkin().getProp("text")) %>" link="<%= hppc.color(hppc.getSkin().getProp("link")) %>" alink="<%= hppc.color(hppc.getSkin().getProp("alink")) %>">
<CENTER>
<jsp:include page="exttoppage.jsp"/>
<table width="90%">
<tr>
<td>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td height=20 width=600><img border=0 src="<%= hppc.getSkin().getPath() %>/images/htop.gif"></td>
</tr>
<tr>
<td height=18>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td height=18 width=11><img border=0 src="<%= hppc.getSkin().getPath() %>/images/hleft.gif"></td>
<td valign=center align=center height=18 width=169 bgcolor="<%= hppc.color(hppc.getSkin().getProp("menuTitleColor")) %>">
<%= hppc.getMenuTitle() %>
</td>
<td colspan=3 height=18 width=420><img border=0 src="<%= hppc.getSkin().getPath() %>/images/hright.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=8 width=600><img border=0 src="<%= hppc.getSkin().getPath() %>/images/hbottom.gif"></td>
</tr>
<tr>
<td valign=top>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=8 height=430><img border=0 src="<%= hppc.getSkin().getPath() %>/images/left.gif"></td>
<%-- ************** MENU ******************** --%>
<td valign=top height=430 width=176 bgcolor="<%= hppc.color(hppc.getSkin().getProp("menuBGColor")) %>"><jsp:include page="menu.jsp"/></td>
<td width=5 height=430><img border=0 src="<%= hppc.getSkin().getPath() %>/images/vermiddle.gif"></td>
<td height=430 width=406 valign=top align=left>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<%-- ************** HEADER TITLE ******************** --%>
<td height=27 valign=top align=left><jsp:include page="headertitle.jsp"/></td>
</tr>
<tr>
<td>
<table cellpadding=0 cellspacing=0 width=406>
<%-- ************** TOP COMMAND & PREVIOUS LINK ******************** --%>
<%
boolean topCommandNeeded = (! hppc.getTopCommand().equals("")) || (hppc.getTopCommandPage() != null) ||(hppc.getPreviousPageUrl() != null);
%>
<% if (topCommandNeeded) { %>
<tr>
<td>
<table width="100%" border=0 cellpadding=0 cellspacing=0>
<tr bgcolor="<%= hppc.color(hppc.getSkin().getProp("pageColor")) %>">
<td width="344">
<% if (hppc.getTopCommandPage() != null) { %>
<jsp:include page="<%=hppc.getTopCommandPage()%>" />
<% } else { %>
<%= hppc.getTopCommand() %>
<% } %>
</td>
<% if (hppc.getPreviousPageUrl() != null) { %>
<td bgcolor="<%= hppc.color(hppc.getSkin().getProp("pageColor")) %>" width=62 height=18 align=right><small>Pr閏. </small><img src="/images/greenbutton.gif"></td>
<%} else {%>
<td bgcolor="<%= hppc.color(hppc.getSkin().getProp("pageColor")) %>" height=18 align=right> </td>
<%}%>
</tr>
</table>
</td>
</tr>
<tr>
<td height=7 align=left><img src="<%= hppc.getSkin().getPath() %>/images/btitle.gif"></td>
</tr>
<%}%>
<%
int topHeight = 0;
if (! hppc.getTopCommand().equals("")) {
topHeight = hppc.getTopCommandHeigth() == -1 ? 25 : hppc.getTopCommandHeigth();
} else if (hppc.getPreviousPageUrl() != null) {
topHeight = 25;
} else if (hppc.getTopCommandHeigth() != -1) {
topHeight = hppc.getTopCommandHeigth();
}
int bottomHeight = 0;
if (hppc.getNextPageUrl() != null || !hppc.getBottomCommand().equals("") || hppc.getPageCount()!=0) {
bottomHeight = 25;
}
int pageHeight = 403 - topHeight - bottomHeight;
%>
<tr>
<td height="<%=pageHeight%>" valign=top bgcolor="<%= hppc.color(hppc.getSkin().getProp("pageColor")) %>">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -