<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
  <head>
    <html:base />
	
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

	<title>Library Application</title>
	</head>
	<body>
	<table border="0" width="100%" height="100%">
		<colgroup>
    		<col width="10%">
			<col width="80%">
			<col width="10%">
		</colgroup>
  		<!-- Kopfbereich -->
		<tr bgcolor="lightgrey" height="10%">
			<td align="center" colspan="3"><b>Library Manager</b></td>
		</tr>
		<!-- Hauptbereich -->
		<tr>
			<!-- Linker Navigationsbereich -->
			<td bgcolor="peachpuff" valign="top" width="100">
				<% out.println(com.peetz.library.navigation.MenuLinks.getInstance().toString()); %>
			</td>
			<td bgcolor="papayawhip" valign="top">
				<p>Library Manager</p>
				<html:link action="bookList">Show the booklist</html:link>
				<br>
				Import CD List
				<br>
				<html:form action="importBook" method="post" enctype="multipart/form-data">
					<html:file property="dataFile"></html:file>
					<html:submit>Import Books</html:submit>
				</html:form>
				<br>
				<html:link action="shelfList">Show the bookshelfs</html:link>
				<br>
				<html:link action="articleList">Show the articles</html:link>
			</td>
			<!-- Rechter Navigationsbereich -->
			<td bgcolor="peachpuff" with="15%">&nbsp;</td>
		</tr>
		<!-- Fussbereich -->
		<tr bgcolor="lightgrey" height="10%">
			<td align="right" colspan="3">
				<p>Ingenieurb&uuml;ro Thomas Peetz</p>
			</td>
		</tr>
	</table>
	</body>
</html:html>
