Location: PHPKode > scripts > Yet Another Link Directory > yald2/templates/classic/directory.html
<!--{include file="header.html"}-->

<!--{if $categories}-->
<table width="100%" border="0"><tr><td width="50%" valign="top"><ul>
<!--{section name=category loop=$categories}-->
<li><strong><a href="<!--{$categories[category].url}-->"><!--{$categories[category].name|escape:'htmlall'}--></a></strong> <small>(<!--{$categories[category].links}-->)</small>
<!--{if $categories[category].subs}-->
<br /><small><span class="subcats">
<!--{section name=sub loop=$categories[category].subs}-->
<a href="<!--{$categories[category].subs[sub].url}-->"><!--{$categories[category].subs[sub].name|escape:'htmlall'}--></a><!--{if !$smarty.section.sub.last}-->, <!--{/if}-->
<!--{/section}--><!--{if $categories[category].continued}-->, ...<!--{/if}--></span></small>
<!--{/if}--></li>

<!--{if $smarty.section.category.iteration == $category_division}-->
</ul></td><td width="50%" valign="top"><ul>
<!--{/if}-->

<!--{/section}-->
</ul></td></tr></table>
<br /><br />
<!--{/if}-->


<!--{if !$is_root}-->
<b><!--{$category_name}-->:</b><br />
<!--{if $links}-->
<ul>

<!--{section name=link loop=$links}-->
<li>
<a href="<!--{$links[link].linkurl}-->" target="_blank"><b><!--{$links[link].name|escape:'htmlall'}--></b></a> - <!--{$links[link].description|escape:'htmlall'}--><br />
<small><strong>URL: </strong><font color="999999"><!--{$links[link].url|escape:'htmlall'}--></font></small>
<!--{if $is_administrator}-->
<br /><a href="<!--{$actual_dir_path}-->/admin/edit.php?id=<!--{$links[link].id}-->">[edit]</a> <a href="javascript:deletelink('<!--{$links[link].id}-->','<!--{$links[link].url|urlencode|urlencode}-->')">[delete]</a>
<!--{/if}-->
</li>
<!--{/section}-->

</ul>

<!--{if $page_navigation}-->
<br />
<div align="center"><!--{$page_navigation}--></div>
<!--{/if}-->

<!--{else}-->
<i>There are no links in the selected category.</i>
<!--{/if}-->

<br /><br />
<div align="center"><a href="<!--{$suggest_url}-->">Suggest a link</a></div>


<!--{else}-->


<!--{if $latest_links}-->

<b>Latest Links:</b><br />
<ul>

<!--{section name=link loop=$latest_links}-->
<li>
<a href="<!--{$latest_links[link].linkurl}-->" target="_blank"><b><!--{$latest_links[link].name|escape:'htmlall'}--></b></a> - <!--{$latest_links[link].description|escape:'htmlall'}--><br />
<small><strong>URL: </strong><font color="999999"><!--{$latest_links[link].url|escape:'htmlall'}--></font></small>
<!--{if $is_administrator}-->
<br /><a href="<!--{$actual_dir_path}-->/admin/edit.php?id=<!--{$latest_links[link].id}-->">[edit]</a> <a href="javascript:deletelink('<!--{$latest_links[link].id}-->','<!--{$latest_links[link].url|urlencode|urlencode}-->')">[delete]</a>
<!--{/if}-->
</li>
<!--{/section}-->

</ul>

<!--{/if}-->

<!--{/if}-->


<!--{include file="footer.html"}-->
Return current item: Yet Another Link Directory