📄 head.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%@ page import="java.util.List" %>
<%@ page import="com.longtime.wap.model.Business" %>
<%@ page import="com.longtime.wap.module.front.common.FrontConstant" %>
<table width="100%" border="0" align="center" background="images/header_bg.gif">
<tr>
<td height="45" valign="bottom" style="padding-left:250px;">
<table width="260" cellpadding="0" cellspacing="0" class="TableFrontHeadOperationType">
<tr>
<td align="center" height="25">
<a href="listBusinesses.frame?method=listBusiness&categoryId=0"><strong>文字</strong></a>
</td>
<td align="center">
<a href="listBusinesses.frame?method=listBusiness&categoryId=1"><strong>音乐</strong></a>
</td>
<td align="center">
<a href="listBusinesses.frame?method=listBusiness&categoryId=2"><strong>图片</strong></a>
</td>
</tr>
</table>
</td>
<td width="50%">
<html:form action="searchInformation.do?method=searchInfo">
<table border="0" align="right" class="TTableFrontHeadOperationType">
<tr>
<td><input type="image" src="images/search_pic.gif" width="16" height="16"/>
<font color="white">资讯搜索:</font><html:text property="searchValue"></html:text>
<html:image src="images/search_but.gif" align="middle"></html:image>
</td>
</tr>
</table>
</html:form>
<!-- <FORM METHOD=POST ACTION="searchInformation.do?method=searchInfo">
</FORM>-->
</td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="TableFrontHead">
<tr>
<td width="250" rowSpan="2">
<img src="images/main_logo.gif" width="215" height="58" />
</td>
<td align="left">
<a href="index.frame">首页</a> ||
<%
List businesses = (List)request.getAttribute(FrontConstant.FRAME_BUSINESSES);
for (int i = 0; i < businesses.size(); i ++){
Business business = (Business)businesses.get(i);
%>
<a href="listInformations.frame?method=listInformation&businessId=<%=business.getBusinessId()%>"><%=business.getBusinessName()%></a> ||
<%
if (i == 6)
break;
}
%>
</td>
</tr>
<tr>
<td align="left">
<%
for (int i = 7; i < businesses.size(); i ++){
Business business = (Business)businesses.get(i);
%>
<a href="listInformations.frame?method=listInformation&businessId=<%=business.getBusinessId()%>"><%=business.getBusinessName()%></a> ||
<%
}
%>
<a href="listBusinesses.frame?method=listBusiness">更多...</a>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -