📄 new text document.txt
字号:
<%@ page contentType="text/html;charset=GB2312" language="java" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="shop" prefix="shop"%>
<%@ page import="com.publish.shop.util.javabeans.Utility" %>
<script language="javascript">
function searchProductsByCat() {
document.productform.strutsAction.value="0";
document.productform.submit();
}
</script>
<html:form name="userform" action="/user/login" type="com.publish.shop.security.javabeans.UserForm">
<html:hidden property="strutsAction"/>
<%
String IfLogin = (String)session.getAttribute("IfLogin");
if (IfLogin!=null) {
%>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=50>
<TBODY>
<TR>
<TD>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=152>
<TBODY>
<TR>
<TD colSpan=3><IMG border=0
src="<%=request.getContextPath()%>/images/user_info_top.gif">
</TD>
</TR>
<TR>
<TD bgColor=#cccccc><IMG alt="" border=0 height=1
src="<%=request.getContextPath()%>/images/dot.gif" width=1>
</TD>
<TD align=center class=ko width=150>
<TABLE>
<TBODY>
<TR>
<TD align=center><FONT color=#000000>
<BR><bean:message key="label.welcomeaccess"/>
</FONT></TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD bgColor=#cccccc><IMG alt="" border=0 height=1
src="<%=request.getContextPath()%>/images/dot.gif" width=1>
</TD>
</TR>
<TR>
<TD bgColor=#cccccc colSpan=3><IMG alt="" border=0 height=1
src="<%=request.getContextPath()%>/images/dot.gif" width=1>
</TD>
</TR>
<TR>
<TD bgColor=#cccccc><IMG alt="" border=0 height=1
src="<%=request.getContextPath()%>/images/dot.gif" width=1>
</TD>
<TD align=center class=ko width=150>
<TABLE>
<TBODY>
<TR>
<TD>
<html:link page="/user/modify.do"><bean:message key="label.modifyRegisInfo"/></html:link>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD bgColor=#cccccc><IMG alt="" border=0 height=1
src="<%=request.getContextPath()%>/images/dot.gif" width=1>
</TD>
</TR>
<TR>
<TD colSpan=3><IMG border=0
src="<%=request.getContextPath()%>/images/user_info_bottom.gif">
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
<%
}
else
{%>
<table border=0 cellspacing=0 cellpadding=0 width=152>
<tr>
<td colspan=3><img src="<%=request.getContextPath()%>/images/user_info_top.gif" border="0"></td>
</tr>
<tr>
<td bgcolor="#CCCCCC"><img src="<%=request.getContextPath()%>/images/dot.gif" width="1" height="1" border=0 alt=""></td>
<td align=center class="ko" width="150"><table border=0 cellspacing=3 cellpadding=0 >
<tr>
<td><bean:message key="Shop.User.LoginName"/>:<br>
<html:text property="loginName" size="20" maxlength="20"/></td>
</tr>
<tr>
<td><bean:message key="Shop.User.LoginPwd"/>:<br>
<html:password property="userPwd" size="20" maxlength="20"/></td>
</tr>
<tr>
<td colspan=2 align=center><input type="Submit" name="Submit" value="<bean:message key="label.login"/>" onClick="return login();">
</td>
</tr>
</table></td>
<td bgcolor="#CCCCCC"><img src="<%=request.getContextPath()%>/images/dot.gif" width="1" height="1" border=0></td>
</tr>
<tr>
<td colspan=3><img src="<%=request.getContextPath()%>/images/user_info_bottom.gif" border="0"></td>
</tr>
</table>
<%}%>
</html:form>
<!-- search begin -->
<TABLE border=0 cellPadding=0 cellSpacing=0 width=152>
<TBODY>
<TR>
<TD height=5><IMG alt="" border=0 height=5 src="<%=request.getContextPath()%>/dot.gif" width=1></TD>
</TR>
</TBODY>
</TABLE>
<html:form name="productform" action="/product/search.do" type="com.publish.shop.product.javabeans.ProductForm">
<html:hidden property="strutsAction"/>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=152>
<TBODY>
<TR>
<TD colSpan=3><IMG border=0 src="<%=request.getContextPath()%>/images/left_search_top.gif"></TD>
</TR>
<TR>
<TD bgColor=#cccccc><IMG alt="" border=0 height=1 src="<%=request.getContextPath()%>/images/dot.gif" width=1></TD>
<TD align=center class=ko width=150>
<TABLE>
<TBODY>
<TR>
<TD><html:text property="productName" size="15" maxlength="20"/></TD>
</TR>
<TR>
<TD aling="center"><INPUT border=0 name=imageField src="<%=request.getContextPath()%>/images/search_go.gif" type=image onclick="return searchProductsByCat();"></TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD bgColor=#cccccc><IMG alt="" border=0 height=1 src="<%=request.getContextPath()%>/images/dot.gif" width=1></TD>
</TR>
<TR>
<TD colSpan=3><IMG border=0 src="<%=request.getContextPath()%>/images/user_info_bottom.gif"></TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=152>
<TBODY>
<TR>
<TD height=5><IMG alt="" border=0 height=5 src="<%=request.getContextPath()%>/images/dot.gif" width=1></TD>
</TR>
</TBODY>
</TABLE>
<!-- product directory begin -->
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=152>
<tr>
<td height="5"><IMG SRC="<%=request.getContextPath()%>/images/dot.gif" WIDTH="1" HEIGHT="5" BORDER=0 ></td>
</tr>
</table>
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=152>
<tr>
<td colspan=3><img src="<%=request.getContextPath()%>/images/left_product_top.gif" border="0"></td>
</tr>
<tr>
<td bgcolor="#CCCCCC"><IMG SRC="<%=request.getContextPath()%>/images/dot.gif" WIDTH="1" HEIGHT="1" BORDER=0 ></td>
<td align=center class="ko" width="150">
<table width="140">
<tr>
<td class="txt">
<a href='/shop/product/search.do?catId=1'><img src='<%=request.getContextPath()%>/images/add.gif' border=0 alt='' align='left' vspace=4><bean:message key="label.book"/></a><br>
<a href='/shop/product/search.do?catId=2'><img src='<%=request.getContextPath()%>/images/add.gif' border=0 alt='' align='left' vspace=4><bean:message key="label.magazine"/></a><br>
<a href='/shop/product/search.do?catId=3'><img src='<%=request.getContextPath()%>/images/add.gif' border=0 alt='' align='left' vspace=4>VCD</a><br>
<a href='/shop/product/search.do?catId=4'><img src='<%=request.getContextPath()%>/images/add.gif' border=0 alt='' align='left' vspace=4>DVD</a><br>
<a href='/shop/product/search.do?catId=5'><img src='<%=request.getContextPath()%>/images/add.gif' border=0 alt='' align='left' vspace=4>CD</a><br>
<a href='/shop/product/search.do?catId=6'><img src='<%=request.getContextPath()%>/images/add.gif' border=0 alt='' align='left' vspace=4><bean:message key="label.software"/></a><br>
</td>
</tr>
</table>
</td>
<td bgcolor="#CCCCCC"><IMG SRC="<%=request.getContextPath()%>/images/dot.gif" WIDTH="1" HEIGHT="1" BORDER=0></td>
</tr>
<tr>
<td colspan=3><img src="<%=request.getContextPath()%>/images/user_info_bottom.gif" border="0"></td>
</tr>
</table>
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=152>
<tr>
<td height="5"><IMG SRC="<%=request.getContextPath()%>/images/dot.gif" WIDTH="1" HEIGHT="5" BORDER=0></td>
</tr>
</table>
</html:form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -