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

📄 side.jsp

📁 电子商城:包括两个部分,一是前台销售程序
💻 JSP
字号:
<TABLE border=0 cellPadding=0 cellSpacing=0 width=152>
  <TBODY>
  <TR>
    <TD colSpan=3 vAlign=top><IMG alt="" border=0 height=10
      src="<%=request.getContextPath()%>/images/dot(1).gif"
      width=1>
    </TD>
  </TR>
  <TR>
    <TD align=right vAlign=top width=170>
  </tr>
  </tbody>
</table>
<!-- userinfo begin -->
<!--html:form name="userform" action="/user/login" type="com.publish.shop.security.javabeans.UserForm"-->
<html:form action="/user/login">
<html:hidden property="strutsAction"/>
<%
String IfLogin = (String)session.getAttribute("IfLogin");
if (IfLogin!=null) {
%>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=152>
  <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=middle class=ko width=150>
            <TABLE>
              <TBODY>
              <TR>
                <TD><FONT color=#000000>
                  <%=(String)session.getAttribute("userName")%>
		  <bean:message key="label.sirormadam"/>  <BR><bean:message key="label.welcomeaccess"/>E-order
                </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=middle class=ko width=150>
            <TABLE>
              <TBODY>
              <TR>
                <TD><A
                  href="http://nokia.vip.ccwonline.com.cn/e-order/modify_usr.asp"
                  style="COLOR: #0000ff; TEXT-DECORATION: underline">&gt;&gt;<bean:message key="label.modifyRegisInfo"/></A>
		</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 >
        <BR>
        <tr>
          <td><bean:message key="Shop.User.LoginName"/>:<BR><html:text property="loginName" size="10" maxlength="20"/></td>
        </tr>
        <tr>
          <td><bean:message key="Shop.User.LoginPwd"/>:<BR><html:password property="userPwd" size="10" maxlength="20"/></td>
        </tr>
        <tr>
          <td colspan=2 align=center>
            <input type="Submit" name="Submit" value="<bean:message key="label.login"/>" onClick="return login();">&nbsp;&nbsp;
            <input type="button" name="register" value="<bean:message key="label.register"/>" onClick="javascript:window.location.href='<%=request.getContextPath()%>/docroot/purchase/register.jsp'"><br>
          </td>
        </tr>
        <tr>
          <td align=center class="ko" colspan=2>
            <a href="javascript:window.location.href='<%=request.getContextPath()%>/docroot/purchase/getpassword.jsp'"><font color="#0000FF"><u><bean:message key="label.forgetpwd"/></u></font></a>
          </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 -->
<script language="javascript">
function searchProductsByCat() {
  document.productform.strutsAction.value="0";
  document.productform.submit();
}
</script>
<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" 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=middle class=ko width=150>
          <TABLE>

            <TBODY>
              <TR>
                <TD colSpan=2><INPUT name=keyword style="WIDTH: 130px"></TD>
              </TR>
              <TR>
                <TD><html:select style="WIDTH: 110px" property="selectedCat">
			<html:options collection="ProductCatList" property="value" labelProperty="label"/>
		   </html:select></TD>
                <TD><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>
<!-- treemenu begin -->

⌨️ 快捷键说明

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