<%@ language="jScript" %>

PARTS DATABASE

<% if(parseInt(Request.Cookies('USER_ID'))){ // HTML BELOW IS TO BE SEEN BY SOMEONE THAT IS LOGGED IN %>
  • Logged in as: <%=Request.Cookies('userEmail')%>, LOG OUT
  • ADD New Part(s)
  • View/Edit Your Parts
  • Print your parts list
  • View/Edit Your Info <% } else { // HTML BELOW IS TO BE SEEN BY ALL NON-LOGGED IN VISITORS %>
  • New user sign up
  • Current user Log-in <% } // END OF THE NAVIGATIONAL CODE %>
  • <%partsList()%>