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

📄 top_body.jsp

📁 Sun公司Dream项目
💻 JSP
字号:
<%
    // Set to expire far in the past.
    //response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");

    // Set standard HTTP/1.1 no-cache headers.
    response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");

    // Set IE extended HTTP/1.1 no-cache headers (use addHeader).
    response.addHeader("Cache-Control", "post-check=0, pre-check=0");

    // Set standard HTTP/1.0 no-cache header.
    response.setHeader("Pragma", "no-cache");
  
     //prevents caching at the proxy server
    response.setDateHeader ("Expires", 0);
    
%>

<html>
<head>
<title><%=pageTitle%></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="crimsun.css">
</head>

<body  bgcolor="#ACACAC" marginheight="0" marginwidth="0" bottommargin="0" topmargin="0" rightmargin="0" leftmargin="0">

<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
  <tr>
    <td valign="top">
      <table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td bgcolor="#FBE249">
            <table width="778" border="0" cellspacing="0" cellpadding="0">
              <tr>        
                <td width="100"><img src="images/crimsunlogo.gif" width="100" height="55" border="0" usemap="#Map9"></td>
                <td width="339">&nbsp;</td>
                <td width="339">
                  <table width="339" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td align="right">
                        <table width="300" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="50" align="center" class="menu">english</td>
                              <td width="5">|</td>
                              <td width="40" align="center" class="menu">dutch</td>
                              <td width="5">|</td>
                              <td width="50" align="center" class="menu">german</td>
                              <td width="5">|</td>
                              <td width="45" align="center" class="menu">french</td>
                              <td width="5">|</td>
                              <td width="40" align="center" class="menu">hindi</td>
                              <td width="5">|</td>
                              <td width="50" align="center" class="menu">japanese</td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                      
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      
                      <tr>
                        <td align="right">
                          <table width="293" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="185" class="menu" align="right">&nbsp;
<%
    if(isSignin) {
        if ("admin".equals(userID)) {
%>
                                <a href="/operaDemo1/shop/content.jsp" style="text-decoration:none;color:black;">add/edit content</a>&nbsp;&nbsp;&nbsp;
                                <a href="/operaDemo1/shop/coupon.jsp" style="text-decoration:none;color:black;">coupon</a>&nbsp;
<%
        } else {
%>
                                <a href="/operaDemo1/shop/my_account.jsp" style="text-decoration:none;color:black;">my account</a>
<%
        }
    } else {
%>
                                <a href="login.jsp?jsp_path=/operaDemo1/shop/my_account.jsp" style="text-decoration:none;color:black;">my account</a>
<%
    }
%>                                  
                                </td>
                              <td width="15">&nbsp;</td>
                              <td width="19"><a href="shopping_cart.jsp?jsp_path=<%=jspPath%>"><img src="images/carticon.gif" width="19" height="20" border="0" alt="View cart"></a></td>
                              <!--<td width="5">&nbsp;</td>-->
                              <td width="45" class="menu" nowrap align="center"><%=totalItems%> item<%=(totalItems>1?"s":"")%>&nbsp;</td>                              
                              <td width="19" class="menu" align="left"><a href="shopping_cart.jsp?jsp_path=<%=jspPath%>" style="text-decoration:none;color:black;"><img src="images/checkicon.gif" width="19" height="20" border="0" alt="check out"></a></td>
                              <td width="10" class="menu">&nbsp;&nbsp;</td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                      
                    </table>
                  </td>
                </tr>
              </table>
            </td>
          </tr>

          <tr>
            <td>
              <table width="778" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="274" height="20"><img src="images/crimsunlogin.gif" width="274" height="20" border="0" usemap="#Map7"></td>
<%
        if (! isSignin) {
%>
                  <td width="300" height="20"><img src="images/noncrimsunlogin.gif" width="300" height="20" border="0" usemap="#Map8"></td>
<%
        } else {
%>
                  <td width="300" height="20" class="menu" style="background: url(images/welcome_bg.gif) no-repeat;">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td align="left" style="color:#fbe249;font-weight:bold;font-size:13px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Welcome <%=userID%>&nbsp;</td>
                        <td align="right" style="color:#fbe249;font-weight:normal;font-size:11px"><a href="signout.jsp?jsp_path=<%=jspPath%>" style="text-decoration:none">Sign Out</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      </tr>
                    </table>
                  </td>
<%
        }
%>
                  <td width="204" height="20" align="right" bgcolor="#FBE249">
                    <table width="175" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="120" height="20" valign="bottom"></td>
                        <td width="30" class="menu">&nbsp;</td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
          </tr>

          <tr>
            <td>
              <table width="778" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="250"><img src="images/bandleft.gif" width="250" height="125"></td>
                  <td width="250"><img src="images/bandcenter.gif" width="250" height="125"></td>
                  <td width="278"><img src="images/bandright.gif" width="278" height="125"></td>
                </tr>
              </table>
            </td>
          </tr>

          <tr>
            <td>
              <table width="778" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="151" background="images/menubglines.gif">&nbsp;</td>
                  <td width="612"><table width="612" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="102"><img src="images/home<%=homeTab%>.gif" width="102" height="30" border="0" usemap="#Map"></td>
                  <td width="102"><img src="images/music<%=musicTab%>.gif" width="102" height="30" border="0" usemap="#Map2"></td>
                  <td width="102"><img src="images/videos<%=videoTab%>.gif" width="102" height="30" border="0" usemap="#Map3"></td>
                  <td width="102"><img src="images/games<%=gameTab%>.gif" width="102" height="30" border="0" usemap="#Map4"></td>
                  <td width="102"><img src="images/ringtones<%=ringtoneTab%>.gif" width="102" height="30" border="0" usemap="#Map5"></td>
                  <td width="102"><img src="images/screensavers<%=screensaverTab%>.gif" width="102" height="30" border="0" usemap="#Map6"></td>
                </tr>
              </table>
            </td>
            <td width="15" background="images/menubglines.gif">&nbsp;</td>
          </tr>
          
        </table>
      </td>
    </tr>
<%
    if(!showSubMenu) {
%>
    <tr>
      <td align="center" background="images/menubar.gif">&nbsp;</td>
    </tr>
<%
    } else {
%>
    <tr>
      <td height="20" align="center" background="images/menubar.gif">
        <table width="400" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="70" align="right" bgcolor="#A1A1D4" class="title"><a href="top10.htm" style="text-decoration:none;color:white;">Top-10</a></td>
            <td width="60" align="right" class="title"><a href="criticspick.htm" style="text-decoration:none;color:white;">Critic's Pick</a></td>
            <td width="40" align="center" class="title"><a href="sale.htm" style="text-decoration:none;color:white;">Sale</a></td>
            <td width="70" align="center" class="title"><a href="newrelease.htm" style="text-decoration:none;color:white;">New Release</a></td>
            <td width="80" class="title"><a href="comingsoon.htm" style="text-decoration:none;color:white;">Coming Soon</a></td>
          </tr>
        </table>
      </td>
    </tr>    
<%
    }
%>        
    <tr>
      <td bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
    
<!-- Flash image -- left -->
    <tr>
      <td>
        <table width="778" border="0" cellspacing="0" cellpadding="0">
          <tr bgcolor="#FFFFFF">
<%
    if (showFlashy) {
%>  
            <td width="228" valign="top">
              <table width="200" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td>
                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="260">
                      <param name="movie" value="download.swf">
                      <param name="quality" value="high">
                      <embed src="download.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="260"></embed>
                    </object>
                  </td>
                </tr>
              </table>
            </td>
<%
    }
%>  

⌨️ 快捷键说明

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