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

📄 toppage.jsp

📁 HomePlayer is an extention of the FreePlayer software provided by the french internet provider Free
💻 JSP
字号:
<%@page contentType="text/html;charset=ISO-8859-15" pageEncoding="ISO-8859-1"%>
<%@page import="org.homeplayer.util.*"%>
<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 : black;
	}
	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:  #FFFFFF;*/
	}
	a:hover {  color: <%= hppc.color(hppc.getSkin().getProp("alink")) %>}
</style>
<% } %>
</head>
<body text="<%= hppc.color(hppc.getSkin().getProp("textColor"))%>" link="<%= hppc.color(hppc.getSkin().getProp("linkColor"))%>" 
	  alink="<%= hppc.color(hppc.getSkin().getProp("alink")) %>" vlink="<%= hppc.color(hppc.getSkin().getProp("vlink")) %>">
<jsp:include page="../default/exttoppage.jsp"/>
<table width="615" align="center"  border="0" cellspacing="0" cellpadding="0">
	<tr><td height="15">&nbsp;</td></tr>
	<tr>
		<td>
			<table border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="465" width="405" valign="top">
						<table border="0" cellspacing="0" cellpadding="0" width="100%">
							<tr>
								<td>
									<table border="0" cellspacing="0" cellpadding="0" width="100%">
										<tr>
											<td align="center" bgcolor="<%= hppc.color(hppc.getSkin().getProp("headerColor")) %>" width="30">
												<% if (hppc.getFavorite() != null) { %><img width="16" height="16" src="<%=hppc.isFreeBoxHD()?"/images/favoritesV5.gif":"/images/favorites16.gif"%>"><% }  %>
											</td>
											<td bgcolor="<%= hppc.color(hppc.getSkin().getProp("bodyColor")) %>" width="15" valign="top">
												<table border="0" cellspacing="0" cellpadding="0" width="100%">
													<tr>
														<td bgcolor="<%= hppc.color(hppc.getSkin().getProp("bodyColor")) %>" valign="bottom" height="25"><img width="1" height="1" src="/images/blanck.gif"></td>
													</tr>	
													<tr><td height=2 bgcolor="<%= hppc.color(hppc.getSkin().getProp("headerColor")) %>" ><img width="1" height="1" src="/images/blanck.gif"></td></tr>
												</table>																							
											</td>
											<td>
												<table border="0" cellspacing="0" cellpadding="0" width="100%">
													<tr>
														<td bgcolor="<%= hppc.color(hppc.getSkin().getProp("bodyColor")) %>" valign="bottom" height="25">

<%
String headerTitle;
if (hppc.getHeaderTitle() == null) {
	headerTitle = "&nbsp;";
} else {
	String headerWithoutHtml = StringUtil.removeHTMLCode(hppc.getHeaderTitle());
	headerTitle = headerWithoutHtml.length()>55 ? (hppc.getHeaderTitle().substring(0,45)+"...") : hppc.getHeaderTitle() ;
}
%>
															<font size="+1"><%= headerTitle %></font>
														</td>
													</tr>
													<tr><td height=2 bgcolor="<%= hppc.color(hppc.getSkin().getProp("headerColor")) %>" ><img width="1" height="1" src="/images/blanck.gif"></td></tr>
													
<%
	String topCommand = hppc.getTopCommand();
	int topHeight = 0;
	if (!topCommand.trim().equals("") || (hppc.getTopCommandPage() != null)) {
		topHeight = 25;
	}
%>
													<% if (topHeight > 0) { %>
													<tr bgcolor="<%= hppc.color(hppc.getSkin().getProp("bodyColor")) %>">
														<td height="25"> <% if (hppc.getTopCommandPage() != null) { %><jsp:include page="<%=hppc.getTopCommandPage()%>" /><% } else { %><%= topCommand %><% } %></td>
													</tr>
													<% } %>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td height="5"><img width="1" height="1" src="/images/blanck.gif"></td>
							</tr>
<%
	topHeight = Math.max(topHeight, hppc.getTopCommandHeigth());
	int bottomHeight = 0;
	if (!hppc.getBottomCommand().trim().equals("") || hppc.getPageCount() > 1) {
		bottomHeight = 30;
	}
	int pageHeight = 433 - topHeight - bottomHeight;
	request.setAttribute("bottomHeight", new Integer(bottomHeight));
%>
							<tr>
								<td height="<%= pageHeight %>" align="center"  bgcolor="<%= hppc.color(hppc.getSkin().getProp("bodyColor")) %>" valign="top">

⌨️ 快捷键说明

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