<{include file="db:weblinks_header.html"}>

<h3><{$lang_main}></h3>

- <a href="<{$module_url}>/index.php#new_sitelist"><{$lang_new_sitelist}></a><br />
- <a href="<{$module_url}>/index.php#new_atomfeed"><{$lang_new_atomfeed}></a><br />
<br />

<{if count($categories) gt 0}>
  <table border="0" cellspacing="5" cellpadding="0" align="center">
  <tr>
<!-- Start category loop -->
  <{foreach item=category from=$categories}>
    <td valign="top" width="33%">
    <{if $category_image_mode == 1}>
      <a href="<{$module_url}>/viewcat.php?cid=<{$category.id}>"><img src="<{$module_url}>/images/folder.gif" border="0" alt="category" /></a>&nbsp;
    <{elseif $category_image_mode == 2}>
      <{if $category.image != ""}>
        <a href="<{$module_url}>/viewcat.php?cid=<{$category.id}>"><{$category.image}></a><br />
      <{/if}>
    <{/if}>
<a href="<{$module_url}>/viewcat.php?cid=<{$category.id}>"><b><{$category.title}></b></a>&nbsp;(<{$category.totallink}>)<br />
<{$category.subcategories}></td>
    <{if $category.count is div by 3}>
      </tr><tr>
    <{/if}>
  <{/foreach}>
<!-- End category loop -->
  </tr>
  </table>
  <br /><br />
  <div><{$lang_thereare}></div>
  <hr /><br />
<{/if}>

<a name='new_sitelist'></a>
<h4><{$lang_new_sitelist}></h4>

<{if $links != ""}>
<!-- Start new link loop -->
  <{section name=i loop=$links}>
    <{include file="db:weblinks_linklist.html" link=$links[i]}>
  <{/section}>
<!-- End new link loop -->
<{/if}>

<a name='new_atomfeed'></a>
<h4><{$lang_new_atomfeed}></h4>
<a href="<{$module_url}>/viewmark.php?mark=rss"><{$lang_site_rss}></a>
 (<{$total_site_rss}>) <br />
<a href="<{$module_url}>/viewfeed.php"><{$lang_atomfeed}></a>
 (<{$total_atomfeed}>) <br />
<a href="<{$module_url}>/rss.php" target='_blank'><img src="<{$module_url}>/images/rss.png" border="0" alt="rss" /></a>&nbsp;
<a href="<{$module_url}>/atom.php" target='_blank'><img src="<{$module_url}>/images/atom.png" border="0" alt="atom" /></a>&nbsp;
<br /><br />

<{if $feeds != ""}>
<!-- Start new atomfeed loop -->
  <{section name=i loop=$feeds}>
    <{include file="db:weblinks_feedlist.html" feed=$feeds[i]}>
  <{/section}>
<!-- End new atomfeed loop -->
<{/if}>

<{include file="db:system_notification_select.html"}>

<br />
<div align='right'><a href='<{$happy_linux_url}>' target='_blank'><font size='-1'>Powered by Happy Linux</font></a></div>

