<{* $Id: discuss_admin_simplelist.html 45 2006-08-23 11:02:21Z yosha_01 $ *}>
<h3><{$modulename}></h3>
<h4><{$title}></h4>
<div align="left">
<table width="100%"><tr><td>
<{if $newlink}>
 <table cellspacing="3" class="outer"><tr class="head"><td>
 <a href="<{$newlink}>" title="Create new record" ><{$lang.new}></a>
 </td></tr></table>
<{/if}>
<{if $showalllink}>
 </td><td align="left">
 <table cellspacing="3" class="outer"><tr class="head"><td>
 <a href="<{$showalllink}>" title="Show all records" ><{$lang.showall}></a>
 </td></tr></table>
<{/if}>
<{if $delalllink }>
 </td><td align="right">
 <table cellspacing="3" class="outer"><tr class="head"><td>
 <a href="<{$delalllink}>" title="Delete all records" ><{$lang.deleteall}></a>
 </td></tr></table>
<{/if}>
</td></tr></table>
</div>
<br />
<table cellspacing="1" class="outer">
<tr class="head" align="center">
<{foreach item=header from=$headers}>
<{if $header.link }>
<th width="<{$header.width}>px"><a href="<{$header.link}>" title="<{$header.linktitle}>" <{$header.style}>><{$header.caption}></a></th>
<{else}>
<th width="<{$header.width}>px"><{$header.caption}></th>
<{/if}>
<{/foreach}>
</tr>
<{foreach item=record from=$records}>
<tr class="<{cycle values="odd,even"}>">
<{foreach item=item from=$record.items}>
<{if $item.link }>
<td align="<{$item.align}>"><a href="<{$item.link}>" title="<{$item.linktitle}>" <{$item.style}>><{$item.value}></a></td>
<{else}>
<td align="<{$item.align}>" <{$item.style}>><{$item.value}></td>
<{/if}>
<{/foreach}>
</tr>
<{/foreach}>
</table>
<{$pagenav}>
</div>
