home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 Special / chip-cd_2001_spec_05.zip / spec_05 / apps / crystal / disk24 / Xasp20 < prev    next >
Text File  |  1999-08-23  |  3KB  |  95 lines

  1. <%@ LANGUAGE="VBSCRIPT" %>
  2. <% if Session("username") = "" then
  3.         Response.Redirect("logon.asp")
  4.     end if
  5. %>
  6.  
  7. <html>
  8.  
  9. <head>
  10. <meta http-equiv="Content-Type"
  11. content="text/html; charset=iso-8859-1">
  12. <meta name="FORMATTER" content="Microsoft FrontPage 2.0">
  13. <meta name="GENERATOR" content="Microsoft FrontPage 2.0">
  14. <title>Navigation</title>
  15. <base target="navbar">
  16. </head>
  17.  
  18. <% if request.querystring("page") = "fr_company" then %>
  19. <body bgcolor="#330066">
  20. <% elseif request.querystring("page") = "fr_warehouse" then %>
  21. <body bgcolor="#990000">
  22. <% elseif request.querystring("page") = "fr_sales" then %>
  23. <body bgcolor="#003366">
  24. <% elseif request.querystring("page") = "legal" then %>
  25. <body bgcolor="#330066">
  26. <% elseif request.querystring("page") = "preferences" then %>
  27. <body bgcolor="#330066">
  28. <% elseif request.querystring("page") = "fr_eis" then %>
  29. <body bgcolor="#186666">
  30. <% else %>
  31. <body bgcolor="#FFFFFF">
  32. <% end if %>
  33.  
  34. <div align="center"><center>
  35.  
  36. <table border="0" cellpadding="0" cellspacing="0">
  37.     <tr>
  38.         <td>
  39.         <% if request.querystring("page") = "fr_company" then %>
  40.             <img src="images/nav_coinfo_on.jpg" width="98" height="20" alt="Company Info">
  41.         <% else %>
  42.             <a href="mainframe.asp?page=fr_company" target="_top">
  43.             <img src="images/nav_coinfo.jpg" width="98" height="20" border="0" alt="Company Info"></a>
  44.         <% end if %>
  45.         </td>
  46.         <% if (Session("accesslevel") = 1) then %>
  47.             <td>
  48.             <% if request.querystring("page") = "fr_eis" then %>
  49.                 <img src="images/nav_reports_on.gif" width="123" height="20" alt="Management Reports">
  50.             <% else %>
  51.                 <a href="mainframe.asp?page=fr_eis" target="_top">
  52.                 <img src="images/nav_reports.jpg" width="123" height="20" border="0" alt="Management Reports"></a>
  53.             <% end if %>
  54.             </td>
  55.         <% end if %>
  56.         <% if ((Session("accesslevel") = 1) or (Session("accesslevel") = 2)) then %>
  57.             <td>
  58.             <% if request.querystring("page") = "fr_sales" then %>
  59.                 <img src="images/nav_sales_on.gif" width="97" height="20" alt="Sales Tools">
  60.             <% else %>
  61.                 <a href="mainframe.asp?page=fr_sales" target="_top">
  62.                 <img src="images/nav_sales.jpg" width="97" height="20" border="0" alt="Sales Tools"></a>
  63.             <% end if %>
  64.             </td>
  65.         <% end if %>
  66.         <% if ((Session("accesslevel") = 1) or (Session("accesslevel") = 3)) then %>
  67.             <td>
  68.             <% if request.querystring("page") = "fr_warehouse" then %>
  69.                 <img src="images/nav_warehouse_on.gif" width="96" height="20" alt="Warehouse">
  70.             <% else %>
  71.                 <a href="mainframe.asp?page=fr_warehouse" target="_top">
  72.                 <img src="images/nav_warehouse.jpg" width="96" height="20" border="0" alt="Warehouse"></a>
  73.             <% end if %>
  74.             </td>
  75.         <% end if %>
  76.         <td>
  77.         <a href="logon.asp" target="_top">
  78.         <img src="images/nav_login.jpg" width="98" height="20" border="0"></a>
  79.         </td>
  80.        
  81.         <td>
  82.         <% if request.querystring("page") = "preferences" then %>
  83.             <img src="images/nav_pref_on.gif" width="98" height="20" alt="Preferences">
  84.         <% else %>
  85.             <a href="mainframe.asp?page=preferences" target="_top">
  86.             <img src="images/nav_pref.jpg" width="96" height="20" border="0" alt="Preferences"></a>
  87.         <% end if %>
  88.         </td>
  89.     </tr>
  90. </table>
  91. </center></div>
  92.  
  93. </body>
  94. </html>
  95.