Location: PHPKode > projects > PowerMovieList > powermovielist-0_14_beta/templates/list/menu_bottom.tpl
{* powermovielist list default template
* $Id: menu_bottom.tpl,v 1.5 2005/03/02 07:16:18 niko Exp $ *}
<html>
<head>
<link REL="shortcut icon" HREF="image/divx.ico">
<title>PowerMovieList - {$ActiveList.title}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$lang.LngCharSet}">
<link rel="stylesheet" href="css/{if $ActiveList.designcss}{$ActiveList.designcss}{else}default.css{/if}">
</head>
<body>
{include file="head_filter.tpl"}
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="tblback">
<tr class=row1>
<td width="{if $ActiveList.showchars}20%{else}100%{/if}" height="27" align="left"> <b>
{if $AnzFound == 0}
{$lang.strSqlNothingFound}
{else}
{$AnzFound} {$lang.strSqlFound}
{if $AnzFound != $AnzGes}
({$lang.strSqlFrom} {$AnzGes})
{/if}
{/if}
</b></td>
{if $ActiveList.showchars}
{* the characters (can be switched of in config) *}
<td width="60%" align="center"><b><font size="2">
{if $sDisplay.Char != ""}<a href='{$CharUrl}Char='>{$lang.strFormatAll}</a>{/if}
{if $sDisplay.Char != "0"}<a href='{$CharUrl}Char=0'>0-9</a> {else}0-9 {/if}
{foreach item=Chr from=$Chars}
{if $sDisplay.Char != $Chr}<a href='{$CharUrl}Char={$Chr}'>{$Chr} </a>{else}{$Chr} {/if}
{/foreach}
</font></b></td>
<td width="20%" align="center">&nbsp;</td>
{/if}
</tr>
</table>
{include file="loanmenu.tpl"}
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="1" class="tblback">
{if $Nums}
	<tr class=row1><td colspan='100%' align='center'><b><font size='2'>
		{foreach item=Num from=$Nums}	
			{if $Num.page == -1}
				{$Num.text}
			{else}
				<a href='{$NumUrl}&Page={$Num.page}'>{$Num.text}</a> 
			{/if}	
		{/foreach}
	</font></b></td></tr>
{/if}
  <tr class="top"> 
{if $ActiveUserRights >= 2 && $ActiveList.EnableLoan}
      <td>add to cart</td>  
  {/if}  
    {foreach item=Prop from=$PropAll}  
{if $Prop.ShowInList && ($ActiveUserRights >= $Prop.RequiredRights || ($Prop.RequiredRights == -1 && $ActiveUser.name != "Guest"))}
	  {if $Prop.UseSort}
		  <td><a href='{$SortUrl}&Sort={$Prop.ID}{if $sDisplay.SortPropID == $Prop.ID && $sDisplay.SortDirection == false}&Dir=1{/if}'>
			{$Prop.ListHeader} 			
			{if $sDisplay.SortPropID == $Prop.ID}
				{if $Prop.UseSort == 1 && $sDisplay.SortDirection == true || $Prop.UseSort == 2 && $sDisplay.SortDirection == false}
					<img src='image/sort/desc_order.gif' border=0>
				{else}
					<img src='image/sort/asc_order.gif' border=0>
				{/if}
			{/if}
			</a></td>
		{else}
		  <td>{$Prop.ListHeader}</td>
		{/if}
	{/if}
{/foreach}
{if $ActiveUserRights >= 4}<td>&nbsp;</td>{/if}
  </tr>

{assign var="GlobalArg" value=$CFG.GlobalArg}
{foreach item=MovieID key=kMovie from=$MovieIDs}	
	<tr onmouseover="this.className='rowpoint'" onmouseout="this.className='{$MovieRow.$kMovie}'" class='{$MovieRow.$kMovie}'>
{if $ActiveUserRights >= 2 && $ActiveList.EnableLoan}
          <td> 
              {cartIcon MovieID=$MovieID} 
          </td> 
          {/if} 
	{foreach item=Prop from=$PropAll}
	  {assign var="Url" value=""}	  
		{if $Prop.ShowInList && ($ActiveUserRights >= $Prop.RequiredRights || ($ActiveUserRights == -1 && $ActiveUser.name != "Guest"))}
		  {* process URL *}
		  {if $Prop.Url == "Info"}
				{assign var="Url" value="<a href='popup.php$GlobalArg&ID=$MovieID' onClick=\"var popup=window.open(this.href,'infopopup','scrollbars=yes,resizable=yes,width=400,height=500'); popup.focus(); return false\">"}
			{elseif $Prop.Url != ""}
				{assign var="Url" value=$Prop.Url|replace:"\$ID":$MovieID|replace:"\$Active":$Active}
        {assign var="Url" value="<a href='$Url'>"}
			{/if}
			<td{if $Prop.ListProperties} {$Prop.ListProperties}{/if}>
			{$Url}
			{if $Prop.PropType == 13}
				{$MovieNrs.$kMovie}
			{else}			  			  
				{GetMovieProp MovieID=$MovieID PropID=$Prop.ID}			
			{/if}
			{if $Url != ""}</a>{/if}
      </td>
		{/if}
	{/foreach}
	{if $ActiveUserRights >= 4}
		<td nowrap>
			<a href="editentry.php{$CFG.GlobalArg}action=edit&ID={$MovieID}">
			<img src='image/edit/edit.png' width='15' height='13' border='0' alt='edit' title='edit'></a>
			<a href="editentry.php{$CFG.GlobalArg}action=fetchall&ID={$MovieID}">
			<img src='image/edit/fetch.jpg' width='13' height='13' border='0' alt='fetch' title='fetch'></a>
			<a href="editentry.php{$CFG.GlobalArg}action=delete&ID={$MovieID}" onclick="return confirm('{$lang.strDeleteEntrySure}')">
			<img src='image/edit/del.png' width='13' height='13' border='0' alt='delete' title='delete'></a>
		</td>
	{/if}
	</tr>
{/foreach}
</table>
<br>
{include file="announcments.tpl"}
{include file="head.tpl"}
</body>
</html>
Return current item: PowerMovieList