home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-cocoon-addon-1.4.9-installer.exe / IncludeTop.vm < prev    next >
Encoding:
Text File  |  2004-07-12  |  2.7 KB  |  82 lines

  1. #*
  2.   Copyright 1999-2004 The Apache Software Foundation
  3.  
  4.   Licensed under the Apache License, Version 2.0 (the "License");
  5.   you may not use this file except in compliance with the License.
  6.   You may obtain a copy of the License at
  7.  
  8.       http://www.apache.org/licenses/LICENSE-2.0
  9.  
  10.   Unless required by applicable law or agreed to in writing, software
  11.   distributed under the License is distributed on an "AS IS" BASIS,
  12.   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13.   See the License for the specific language governing permissions and
  14.   limitations under the License.
  15. *#
  16. <html><head>
  17. <title>Cocoon Petstore Demo</title>
  18. <meta content="text/html; charset=windows-1252" http-equiv="Content-Type" />
  19. <META HTTP-EQUIV="Cache-Control" CONTENT="max-age=0"/>
  20. <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"/>
  21. <meta http-equiv="expires" content="0"/>
  22. <META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT"/>
  23. <META HTTP-EQUIV="Pragma" CONTENT="no-cache"/>
  24. </head>
  25.  
  26. <body bgcolor="white">
  27.  
  28. <table background="images/bkg-topbar.gif" border="0" cellspacing="0" cellpadding="5" width="100%">
  29.   <tbody>
  30.   <tr>
  31.     <td>
  32.       <form method="post" action="index.do">
  33.         <input type="image" border="0" src="images/logo-topbar.gif" />
  34.         <select name="view" width="14" align="left" onChange="document.forms[0].submit()">
  35.           <option value="jexl">Jexl</option>
  36.           <option value="jxpath">JXPath</option>
  37.           <option value="xsp">Xsp</option>
  38.           <option value="velocity" selected="selected">Velocity</option>
  39.         </select>
  40.       </form>
  41.     </td>
  42.     <td align="right"><a href="viewCart.do"><img border="0" name="img_cart" src="images/cart.gif" /></a>
  43.       <img border="0" src="images/separator.gif" />
  44.  
  45. #if ($accountForm.signOn)
  46.       <a href="signonForm.do">
  47.       <img border="0" name="img_signin" src="images/sign-in.gif" /></a>
  48. #else
  49.       <a href="signonForm.do?signoff=true">
  50.       <img border="0" name="img_signout" src="images/sign-out.gif" /></a>
  51.       <img border="0" src="images/separator.gif" />
  52.       <a href="editAccount.do">
  53.       <img border="0" name="img_myaccount" src="images/my_account.gif" /></a>
  54. #end
  55.  
  56.     <img border="0" src="images/separator.gif" /><a href="../help.html"><img border="0" name="img_help" src="images/help.gif" /></a>
  57.     </td>
  58.     <td align="left" valign="bottom">
  59.       <form method="post" action="searchProducts.do">
  60.         <input name="keyword" size="14" /> <input border="0" src="images/search.gif" type="image" />
  61.       </form>
  62.     </td>
  63.   </tr>
  64.   </tbody>
  65. </table>
  66.  
  67. #parse( "view/velocity/IncludeQuickHeader.vm" )
  68.  
  69. <!-- Support for non-traditional but simpler use of errors... -->
  70. #if ($errors)
  71.   #foreach ($error in $errors)
  72.     <B><FONT color=RED>
  73.       <BR>$error
  74.     </FONT></B>
  75.   #end
  76. #end
  77.  
  78.  
  79.  
  80.  
  81.  
  82.