<%@ page language="java" buffer="100kb" errorPage="/common/error.jsp"%>

<%@ page import="vkc.view.WebShare" %>

<%@ taglib uri="struts-bean"  prefix="bean"  %>
<%@ taglib uri="struts-html"  prefix="html"  %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="vkc-taglib"   prefix="vkc"   %>

<html:html locale="true">
<head>
    <meta http-equiv="content-type"  content="text/html; charset=iso-8859-1" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="pragma"        content="no-cache" />
    <meta http-equiv="expires"       content="0" />

    <link rel="stylesheet" href="<vkc:rewrite page='/templates/${template.name}/vkc.css'/>" />

	<script type="text/javascript">
   	window.name = 'COPYRIGHTVIEW';
	 
	function showImpressum() {
		alert('<vkc:message javascript="true" filter="false" key="vkc.copyright"/>');
	}
	
	</script>
</head>
<body id="copyrightview" marginwidth="0" marginheight="0">
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
  <tr>
    <td height="0" class="color_trenner"><vkc:img page="/templates/${template.name}/gfx/trans.gif" width="1" height="1" border="0" alt="" /></td>
  </tr>
  <tr>
    <td height="100%">
      <table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
        <tr>
          <td width="1%" align="left" nowrap="nowrap">&nbsp;<vkc:img page="/templates/${template.name}/gfx/copyright-logo.gif" width="20" height="20" border="0" alt=""/></td>  
          <td width="10%" align="left" nowrap="nowrap">|&nbsp;©&nbsp;2008&nbsp;by&nbsp;<a href="http://www.c-lab.de/" target="_blank">C-LAB</a></td>
          <td width="20%" align="left" nowrap="nowrap">&nbsp;|&nbsp;VKC:<%=WebShare.getProperties().get("vkc.version")%>&nbsp;|&nbsp;<%=WebShare.getDbPathInfo()%></td>
          <td align="right">
            <table width="1">
              <tr>
                <logic:present name="<%=WebShare.TEMP_USER_KEY%>" scope="session"> 
                <bean:define id="user" name="<%=WebShare.TEMP_USER_KEY%>" type="vkc.db.entities.VKCUser"/>
		        <td><vkc:img page='<%="/templates/${template.name}/gfx/" + user.getUserTypeIcon()%>' alt=''/></td>
		        <td nowrap="nowrap"><b><vkc:message key="vkc.user"/>:</b>&nbsp;<vkc:write name="user" property="user"/>&nbsp;(<vkc:write name="user" property="firstname"/>&nbsp;<vkc:write name="user" property="lastname"/>)</td>
		        </logic:present>
              </tr>
            </table>
          </td>
          <td width="10" align="right"><vkc:img page="/templates/${template.name}/gfx/trans.gif" alt="" width="10" height="10" border="0"/></td>
          <td width="1" align="right"><html:link href="javascript:showImpressum();" style="font-weight:normal;">Impressum</html:link>&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html:html>