<%--
  % This Javer Server Page is part of the iX JSP tutorial.
  % Start page of the Pizza Online Servce
 --%>


<%-- Setting up an error page --%>
<%@ page errorPage="/jspTutorial/errorpage.jsp" %>


<jsp:useBean
     id    = "pizzaModelManager"
     class = "de.ix.jspTutorial.controller.ModelManager"
     scope = "session"
   >
   <%
     pizzaModelManager.init(config.getServletContext(), session);
   %>   
 </jsp:useBean>

<HTML>
<HEAD>
	<TITLE>PIZZA SERVICE ONLINE</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF" LINK="#406E6E" ALINK="#406E6E" VLINK="#406E6E">
<CENTER>
<FONT FACE="Arial,Helvtica" SIZE="2">
<BR>
<BR>
<FONT SIZE="5" COLOR="#406E6E"><B><I>Willkommen</I></B></FONT>
<BR>
<BR>
<BR>
<A HREF="index.jsp"><IMG SRC="logo.gif" WIDTH="115" HEIGHT="115" ALT="Pizza Service" BORDER="0"></A>
<BR>
<BR>
<BR>
Willkommen beim Pizza Service Online.<BR>
<BR>
<%
if (pizzaModelManager.isCustomerLoggedIn()) {
%><A HREF="PizzaServiceFC.jsp?doAction=showChoice">Bestellen</A> <A HREF="PizzaServiceFC.jsp?doAction=logout">Abmelden</A> <A HREF="mailto:pr@webapp.de,Lars.Roewekamp@openKnowledge.de">Kontakt</A>
<%} else {
%><A HREF="PizzaServiceFC.jsp?doAction=showlogin">Anmelden</A> <A HREF="mailto:pr@webapp.de,Lars.Roewekamp@openKnowledge.de">Kontakt</A>
<% } %>
<BR>
<BR>
<BR>
</FONT>
<%@ include file="/jspTutorial/includes/copyright.html"%>
</CENTER>
</BODY>
</HTML>