Location: PHPKode > projects > VideoDB > videodb/templates/default/header.tpl
{*
  This is the header which is displayed on top of every page
  $Id: header.tpl,v 2.12 2007/12/03 20:05:27 andig2 Exp $
*}
{include file="xml.tpl"}

<body>

<a name="top"></a>
<div align="center">

<table width="100%" class="menutable">
  <tr>
	<td width="120" valign="bottom">
	  <span class="logo">VideoDB</span>
	</td>
	<td width="100%" valign="bottom" align="center" style="text-align:center">

	  {if $header.browse != ''}[&nbsp;<a href="{$header.browse}" accesskey="i">{$lang.browse}</a>&nbsp;] {/if}
	  {if $header.trace != ''}[&nbsp;<a href="{$header.trace}">{$lang.imdbbrowser}</a>&nbsp;] {/if}
	  {if $header.random != ''}[&nbsp;<a href="{$header.random}">{$lang.random}</a>&nbsp;] {/if}
	  {if $header.search != ''}[&nbsp;<a href="{$header.search}" accesskey="f">{$lang.search}</a>&nbsp;] {/if}
	  {if $header.new != ''}[&nbsp;<a href="{$header.new}" accesskey="n">{$lang.n_e_w}</a>&nbsp;] {/if}
	  {if $header.edit != ''}[&nbsp;<a href="{$header.edit}" accesskey="e">{$lang.edit}</a>&nbsp;] {/if}
	  {if $header.view != ''}[&nbsp;<a href="{$header.view}">{$lang.view}</a>&nbsp;] {/if}
	  {if $header.del != ''}[&nbsp;<a href="{$header.del}" onclick="return(confirm('{$lang.really_del|escape:javascript|escape}?'))">{$lang.del}</a>&nbsp;] {/if}
	  {if $header.contrib != ''}[&nbsp;<a href="{$header.contrib}" accesskey="c">{$lang.contrib}</a>&nbsp;] {/if}
	  {if $header.borrow != ''}[&nbsp;<a href="{$header.borrow}" accesskey="b">{$lang.borrow}</a>&nbsp;] {/if}
	  {if $header.stats != ''}[&nbsp;<a href="{$header.stats}">{$lang.statistics}</a>&nbsp;] {/if}
	  {if $header.setup != ''}[&nbsp;<a href="{$header.setup}">{$lang.setup}</a>&nbsp;] {/if}
	  {if $header.profile != ''}[&nbsp;<a href="{$header.profile}">{$lang.profile}</a>&nbsp;] {/if}
	  {if $header.help != ''}[&nbsp;<a href="{$header.help}" accesskey="h">{$lang.help}</a>&nbsp;] {/if}
	  {if $header.login != ''}[&nbsp;<a href="{$header.login}" accesskey="l">{if $loggedin}{$lang.logout}{else}{$lang.login}{/if}</a>&nbsp;]{/if}
	</td>
  </tr>
</table>
<br />
Return current item: VideoDB