<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
	<title>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc"))</title>
</HEAD>
<STYLE type="Text/css">
a:link        { font-weight: bold; text-decoration: underline; color: #000000; }
a:visited     { font-weight: bold; text-decoration: underline; color: #000000; }

body{ font-family:sans-serif;
      font-size:10pt;
      background-color: #f2f2f2;
}

td{  font-family:sans-serif;
     font-size:10pt;
}
.color_doctitle{
    background-color:#ffffff;
}
</STYLE>
<body marginwidth=5 marginheight=0 topmargin="0" bottommargin="5" leftmargin="5" rightmargin="5">
 	<table width="100%" height="25" cellspacing="0" cellpadding="0" border="0" bgcolor="#7fb1e9" >
	  	<tr><td width="100%" height="10"> </td></tr>
		<tr><td align="center" width="100%" height="25">
		<P  STYLE="margin-bottom: 0cm"><FONT COLOR="#fffff"><B><I>
		<FONT SIZE=4 STYLE="font-size: 16pt"><FONT FACE="sans-serif">      
		$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc"))
		</FONT></FONT></I></B> </FONT></P></td></tr>
		<tr><td width="100%" height="10"> </td></tr>

	</table>

<table cellspacing="1" cellpadding="0" width="100%" border="0">
  <tr>
    <td colspan="2" class="color_toolbar">
      <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>

		  <!-- Kategoriepfad --> 	
          <td width="100%" align="left">

			<table>
			  <tr>
			  #set( $i = 0 ) 
			  #foreach( $parentcat in $parentcats )
    				<td nowrap><a href="$vkcstringutils.filterUnicodeChars($parentpaths.get($i))"><b>$vkcstringutils.filterUnicodeChars($parentcat.getName())</b></a></td>
    				<td>>></td>
    				#set( $i = $i+1 )
    		  #end
    				<td nowrap><b>$vkcstringutils.filterUnicodeChars($currentcat.getName())</b></td>  
                	<td>&nbsp;</td>    
              </tr>
            </table>   
          </td>
          <!-- Ende Categoriepfad-->

        </tr>
	    #if( $currentcat.isProjectCategory() )
        <tr>
          <td width="100%" align="left">
		  <table>
		    <tr>
			  <td nowrap width="100%">&nbsp;</td>
			  <td nowrap width="1%" align="right"><a href="vkc_index_projectcontacts.html"><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("project.label.contacts"))</b></a></td>
			  <td nowrap width="1%" align="right"><a href="vkc_index_projectstate.html"><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("project.label.state"))</b></a></td>
		    </tr>
		  </table>
          </td>
        </tr>
	    #end
      </table>
    </td>
  </tr>

  #if( $currentcat.getDescription() )
  <tr><td><vkc:img page="/templates/${template.name}/gfx/trans.gif" alt="" width="20" height="5" border="0"/></td></tr>
  <!-- Beschreibung -->
  <tr><td>$vkcstringutils.htmlFormatedText($vkcstringutils.convertNewLineInHTML($vkcstringutils.filterUnicodeChars($currentcat.getDescription())))</td></tr>
  #end

  #if( $currentcat.getAddAttributes() && !$currentcat.getAddAttributes().isEmpty() )
  <!-- additional attributes -->
  <tr><td><vkc:img page="/templates/${template.name}/gfx/trans.gif" alt="" width="20" height="20" border="0"/></td></tr>
  <tr>
    <td>
      <table width="100%" cellspacing="3" cellpadding="0" border="0">
        <colgroup><col><col width="100%"></colgroup>
		#foreach( $addAttr in $currentcat.getAddAttributes() )
        <tr align="left" valign="top">
          <td><b>$addAttr.getName():&nbsp;</b></td>
          <td>$addAttr.getValuestring()</td>
        </tr>
  		#end
      </table>
    </td>
  </tr>
  <!-- end of additional attributes -->
  #end

  #if( $currentcat.getDynaAttributes() && !$currentcat.getDynaAttributes().isEmpty() )
  <!-- dynamical attributes -->
  <tr><td><vkc:img page="/templates/${template.name}/gfx/trans.gif" alt="" width="20" height="20" border="0"/></td></tr>
  <tr>
    <td>
      <table width="100%" cellspacing="3" cellpadding="0" border="0">
        <colgroup><col><col width="100%"></colgroup>
		#foreach( $dynaAttr in $currentcat.getDynaAttributes() )
        <tr align="left" valign="top">
          <td><b>$dynaAttr.getName():&nbsp;</b></td>
          <td>$dynaAttr.getValue()</td>
        </tr>
  		#end
      </table>
    </td>
  </tr>
  <!-- end dynamical attributes -->
  #end


  <tr>
  	#if( !$subcategories.isEmpty() )
    <td width="100%">
      <table cellspacing="3" cellpadding="0" width="100%" border="0">
        <tr><td width="20" height="5" border="0"></td></tr>


        <tr><td height="5" width="10" border="0"></td></tr>
        <tr><td width="100%"><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.subcategories")):</b></td></tr>

        <tr><td height="5" width="10" border="0"></td></tr>

        <tr>
          <td>
            <table cellspacing="0" cellpadding="2" border="0">
			  <!-- Unterkategorien und Dokumente -->
              <colgroup><col><col><col width="100%"></colgroup>
              
              <!-- begin iteration subcategories -->
              #set( $i = 0 )
              #foreach( $subcat in $subcategories )
              <tr>
                <td align="left" border="0" > </td>
                <td nowrap><a href="$vkcstringutils.filterUnicodeChars($subcatpaths.get($i))"><b>$vkcstringutils.filterUnicodeChars($subcat.getName())</b></a></td>
    			#set( $i = $i + 1 ) 
			  </tr>
			  #end
              <!-- end iteration subcategories -->

          </table>
        </td>
      </tr>
    </table>
  </td>
  #end
  <td align="right" valign="top" width="1%">
    <!-- Suchen -->
    <table cellspacing="0" border="0">
      <tr>
        <td width="10" height="1" border="0" > </td>
      </tr>
      <tr>
        <td>
          <table cellspacing="5" border="0" >
            <tbody>
              <tr>
                <td>
                </td>
              </tr>
            </tbody>
          </table>
        </td>
      </tr>
    </table>
  </td>
</tr>
</table>         

<!-- Publizierte Dokumente -->
<table cellspacing="1" cellpadding="0" width="100%" border="0">

  <tr><td height="10" width="10" border="0"></td></tr>

  <tr>
    <td>
      <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
          <td>
            <table cellspacing="0" cellpadding="0" border="0" width="100%">
              <tr bgcolor="#888888" height="1"><td height="1" width="10" border="0"> </td></tr>
              <tr bgcolor="#FFFFFF" height="1"><td height="1" width="10" border="0"> </td></tr>
            </table>
          </td>
        </tr>
        <tr><td height="1" width="10" border="0" > </td></tr>
        <tr><td height="5" width="10" border="0" > </td></tr>

        <tr><td height="5" width="10" border="0"> </td></tr>
      </table>
    </td>
  </tr>
  <tr><td><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.published_docs")):</b></td></tr>

</table>

<!-- Dokumente -->
 #foreach( $doc in $documents )
 	#set( $doctype = $doc.getDocumentType().getExtension() )
    #set( $prefix = "vkc_doc_id_" )
    #set( $docId = $doc.getDocumentId() )
    #set( $suffix = ".html" )
    #set( $docVersionsFilename = "$prefix$docId$suffix" )
  <table cellspacing="0" cellpadding="0" width="100%" border="0">

    <tr><td height="10" width="10" alt=""> </td></tr>

    <tr>
      <td>
        <table cellspacing="0" cellpadding="0" width="100%" border="0">
          <tr>
            <td>
              <table width="100%" cellspacing="0" cellpadding="0" border="0">
                <tbody>
                  <tr class="color_doctitle">

					<td height="10" width="4"> </td>
					<td height="10" width="2"> </td>
					
					<td align="left" ><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.title")):&nbsp;</b></td>
                    <td align="left" width="100%">
                        <table width="100%">
                            <tr>
                                <td align="left" width="100%"><b>$vkcstringutils.filterUnicodeChars($doc.getTitle())</b></td>
                                <td align="right" nowrap="nowrap" width="1">
                                #if( $doc.getAllVersions().size() > 1 )
                                <a href="$docVersionsFilename">$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.versions"))</a>
                                #end
                                </td>
                            </tr>
                        </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>

        <tr>
          <td>
            <table cellspacing="0" cellpadding="5" width="100%" border="0">

              <colgroup>
                <col width="13%">
                <col width="47%">
                <col width="13%">
                <col width="27%">
              </colgroup>

              #set($docfilename = $documentfilenames.get($doc.getDocumentId()))

              <tr>
                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.type.file")):</b></td>
                <td valign="top" nowrap><b><a href="$vkcstringutils.filterUnicodeChars($docfilename)" target="_blank">$vkcstringutils.filterUnicodeChars($doc.getName())</a></b></td>

                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.type.fileformat")):</b></td>
                <td valign="top" nowrap>$doctype</td>
              </tr>
              <tr>
                <td colspan="2"><b>&nbsp;</b></td>

                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.type.filesize")):</b></td>
                <td nowrap>$vkcstringutils.filterUnicodeChars($doc.getFormattedDocSize($user.getLanguageId().toString()))</td>
              </tr>
              <tr>
                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.version")):</b></td>
                <td valign="top"><b>$doc.getVersionNo()</td>

                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.label")):</b></td>
                <td valign="top" nowrap>$doc.getVersionHigh().$doc.getVersionLow()</td>
              </tr>

              <tr>
                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.versiondescr")):</b></td>
                <td valign="top" colspan="3">$vkcstringutils.filterUnicodeChars($doc.getVersionDescr())</td>
              </tr>

              <tr>
                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.published")):</b></td>
                <td valign="top" nowrap>$doc.getPublished().toString()</td>

                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.author")):</b></td>
                <td valign="top" nowrap><link href=' '>$vkcstringutils.filterUnicodeChars($doc.getAuthorName())</link></td>
              </tr>

              <tr>
                <td colspan="2"><b>&nbsp;</b></td>

                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.publisher")):</b></td>
                <td valign="top" nowrap><link href=' '>$vkcstringutils.filterUnicodeChars($doc.getPublisherName())</link></td>
              </tr>

              <tr>
                <td valign="top"><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.keywords")):</b></td>
                <td valign="top" colspan="3">$vkcstringutils.filterUnicodeChars($doc.getExternalKeywordsString())</td>
              </tr>

              <tr>
                <td valign="top"><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.description")):</b></td>
                <td valign="top" colspan="3">$vkcstringutils.htmlFormatedText($vkcstringutils.convertNewLineInHTML($vkcstringutils.filterUnicodeChars($doc.getDescription())))</td>
              </tr>

              <!-- begin iteration dynaAttributes -->
              #foreach( $dynaAttr in $doc.getDynaAttributes() )
              <tr>
                <td valign="top"><b>$vkcstringutils.filterUnicodeChars($dynaAttr.getName()):</b></td>
                <td valign="top" colspan="3">$vkcstringutils.filterUnicodeChars($dynaAttr.getValue())</td>
			  </tr>
			  #end
              <!-- end iteration dynaAttributes -->

              <!-- begin iteration addAttributes -->
              #foreach( $addAttr in $doc.getAddAttributes() )
              <tr>
                <td valign="top"><b>$vkcstringutils.filterUnicodeChars($addAttr.getName()):</b></td>
                #if( $addAttr.getValuestring() )
                <td valign="top" colspan="3">$vkcstringutils.filterUnicodeChars($addAttr.getValuestring())</td>
               	#else 
                <td valign="top" colspan="3">$vkcstringutils.filterUnicodeChars($addAttr.getDefaultValue())</td>
                #end
			  </tr>
			  #end
              <!-- end iteration addAttributes -->
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
#end

#if( !$virtualdocuments.isEmpty() )
<!-- Virtuale Dokumente -->
<table cellspacing="1" cellpadding="0" width="100%" border="0">

  <tr><td height="10" width="10" border="0"></td></tr>

  <tr>
    <td>
      <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
          <td>
            <table cellspacing="0" cellpadding="0" border="0" width="100%">
              <tr bgcolor="#888888" height="1"><td height="1" width="10" border="0"> </td></tr>
              <tr bgcolor="#FFFFFF" height="1"><td height="1" width="10" border="0"> </td></tr>
            </table>
          </td>
        </tr>
        <tr><td height="1" width="10" border="0" > </td></tr>
        <tr><td height="5" width="10" border="0" > </td></tr>

        <tr><td height="5" width="10" border="0"> </td></tr>
      </table>
    </td>
  </tr>
  <tr><td><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.virtual_docs")):</b></td></tr>

</table>

<!-- Dokumente -->
 #foreach( $doc in $virtualdocuments )
 	#set( $doctype = $doc.getDocumentType().getExtension() )
    #set( $prefix = "vkc_doc_id_" )
    #set( $docId = $doc.getDocumentId() )
    #set( $suffix = ".html" )
    #set( $docVersionsFilename = "$prefix$docId$suffix" )
  <table cellspacing="0" cellpadding="0" width="100%" border="0">

    <tr><td height="10" width="10" alt=""> </td></tr>

    <tr>
      <td>
        <table cellspacing="0" cellpadding="0" width="100%" border="0">
          <tr>
            <td>
              <table width="100%" cellspacing="0" cellpadding="0" border="0">
                <tbody>
                  <tr class="color_doctitle">

					<td height="10" width="4"> </td>
					<td height="10" width="2"> </td>
					
					<td align="left" ><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.title")):&nbsp;</b></td>
                    <td align="left" width="100%">
                        <table width="100%">
                            <tr>
                                <td align="left" width="100%"><b>$vkcstringutils.filterUnicodeChars($doc.getTitle())</b></td>
                                <td align="right" nowrap="nowrap" width="1">
                                #if( $doc.getAllVersions().size() > 1 )
                                <a href="$docVersionsFilename">$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.versions"))</a>
                                #end
                                </td>
                            </tr>
                        </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>

        <tr>
          <td>
            <table cellspacing="0" cellpadding="5" width="100%" border="0">

              <colgroup>
                <col width="13%">
                <col width="47%">
                <col width="13%">
                <col width="27%">
              </colgroup>

              #set($docfilename = $documentfilenames.get($doc.getDocumentId()))

              <tr>
                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.type.file")):</b></td>
                <td valign="top" nowrap><b><a href="$vkcstringutils.filterUnicodeChars($docfilename)" target="_blank">$vkcstringutils.filterUnicodeChars($doc.getName())</a></b></td>

                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.type.fileformat")):</b></td>
                <td valign="top" nowrap>$doctype</td>
              </tr>
              <tr>
                <td colspan="2"><b>&nbsp;</b></td>

                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.type.filesize")):</b></td>
                <td nowrap>$vkcstringutils.filterUnicodeChars($doc.getFormattedDocSize($user.getLanguageId().toString()))</td>
              </tr>
              <tr>
                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.version")):</b></td>
                <td valign="top"><b>$doc.getVersionNo()</td>

                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.label")):</b></td>
                <td valign="top" nowrap>$doc.getVersionHigh().$doc.getVersionLow()</td>
              </tr>

              <tr>
                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.document.versiondescr")):</b></td>
                <td valign="top" colspan="3">$vkcstringutils.filterUnicodeChars($doc.getVersionDescr())</td>
              </tr>

              <tr>
                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.published")):</b></td>
                <td valign="top" nowrap>$doc.getPublished().toString()</td>

                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.author")):</b></td>
                <td valign="top" nowrap><link href=' '>$vkcstringutils.filterUnicodeChars($doc.getAuthorName())</link></td>
              </tr>

              <tr>
                <td colspan="2"><b>&nbsp;</b></td>

                <td valign="top" nowrap><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.publisher")):</b></td>
                <td valign="top" nowrap><link href=' '>$vkcstringutils.filterUnicodeChars($doc.getPublisherName())</link></td>
              </tr>

              <tr>
                <td valign="top"><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.keywords")):</b></td>
                <td valign="top" colspan="3">$vkcstringutils.filterUnicodeChars($doc.getExternalKeywordsString())</td>
              </tr>

              <tr>
                <td valign="top"><b>$vkcstringutils.filterUnicodeChars($resources.getMessage("vkc.description")):</b></td>
                <td valign="top" colspan="3">$vkcstringutils.htmlFormatedText($vkcstringutils.convertNewLineInHTML($vkcstringutils.filterUnicodeChars($doc.getDescription())))</td>
              </tr>

              <!-- begin iteration dynaAttributes -->
              #foreach( $dynaAttr in $doc.getDynaAttributes() )
              <tr>
                <td valign="top"><b>$vkcstringutils.filterUnicodeChars($dynaAttr.getName()):</b></td>
                <td valign="top" colspan="3">$vkcstringutils.filterUnicodeChars($dynaAttr.getValue())</td>
			  </tr>
			  #end
              <!-- end iteration dynaAttributes -->

              <!-- begin iteration addAttributes -->
              #foreach( $addAttr in $doc.getAddAttributes() )
              <tr>
                <td valign="top"><b>$vkcstringutils.filterUnicodeChars($addAttr.getName()):</b></td>
                #if( $addAttr.getValuestring() )
                <td valign="top" colspan="3">$vkcstringutils.filterUnicodeChars($addAttr.getValuestring())</td>
               	#else 
                <td valign="top" colspan="3">$vkcstringutils.filterUnicodeChars($addAttr.getDefaultValue())</td>
                #end
			  </tr>
			  #end
              <!-- end iteration addAttributes -->
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
#end
#end


<table cellspacing="0" cellpadding="0" width="100%" height="12" border="0" bgcolor="#7fb1e9">
  <tr><td width="100%" height="3"> </td></tr>
  <tr>
    <td width="10%" align="left" nowrap>&nbsp;©&nbsp;2006&nbsp;by&nbsp;<a href="http://www.c-lab.de/" target="_blank">C-LAB</a></td>
  </tr>
  <tr><td width="100%" height="3"> </td></tr>
</table>
</body>
</html>