<{if $mylinksadcodes.all}>
<{$mylinksadcodes.all}>
<{elseif $mylinksadcodes.index}>
<{$mylinksadcodes.index}>
<{/if}>
<br /><br />
<{if $mylinksshowlogo}>
<div style='text-align: center;'><{$mylinkslogoimage}></div><br />
<{/if}>
<{if $mylinksshowsearch}>
<{include file='db:mylinks_search_inc.html'}>
<{/if}>
<{if $catarray.letters}>
<div style='text-align: center;' class='itemPermaLink'><{$catarray.letters}></div><br />
<{/if}>
<{if $catarray.toolbar}>
<div class='toolbar'><{$catarray.toolbar}></div><br />
<{/if}>
<br />
<{if count($categories) gt 0}>
<div style='text-align: right;'>
<a href="javascript:mltoggleEffect('<{$mylinks_imgurl}>/icons', 'resizemlcatblock', 'mlsizecatimage')"><img id='mlsizecatimage' src='<{$mylinks_imgurl}>/icons/minimize.gif'  alt='<{$lang_minimizeblock}>' title='<{$lang_minimizeblock}>' /></a>
</div>
<hr />
<div id='resizemlcatblock' style='display: block;'>
<table style='text-align: center; border-width: 0px; margin: 5px; padding: 0px;'>
  <tr>
  <!-- Start category loop -->
  <{foreach item=category from=$categories}>

    <td style='vertical-align: top;'>
    <{if $category.image != ''}>
    <a href='<{$mylinks_weburl}>/viewcat.php?cid=<{$category.id}>'><img src='<{$category.image}>' style='height: 50px; border-width: 0px;' alt='' /></a>
    <{/if}>
    </td>
    <td style='vertical-align: top; width: 30%;'><a href='<{$mylinks_weburl}>/viewcat.php?cid=<{$category.id}>'><strong><{$category.title}></strong></a>&nbsp;(<{$category.totallink}>)<br /><{$category.subcategories}></td>

    <{if $category.count is div by 3}>
    </tr><tr>
    <{/if}>

  <{/foreach}>
  <!-- End category loop -->

  </tr>
</table>
</div>
<br /><br />
<div><{$lang_thereare}></div>
<table style='margin: 0px; width: 100%;'>
  <tr>
    <td style='text-align: left;'>
<{if $mylinksshowfeed}>
<a href="javascript:openWithSelfMain('<{$mylinks_weburl}>/feedsubscription.php?feedtype=RSS&feedurl=<{$mylinks_weburl|cat:"/rss.php"|escape:"url"}>','modulefeedsubscription',300,500);">
<img src='<{$mylinks_imgurl}>/icons/feed-icon.gif' alt='<{$lang_feedsubscript}>' title='<{$lang_feedsubscript_desc}>'  /></a>
<strong><{$lang_feed}></strong>
<a href='<{$mylinks_weburl}>/rss.php' target='_blank'>
<img src='<{$mylinks_imgurl}>/icons/rss.png'  alt='<{$lang_rssfeed}>' title='<{$lang_rssfeed}>'  /></a>
<a href='<{$mylinks_weburl}>/atom.php' target='_blank'>
<img src='<{$mylinks_imgurl}>/icons/atom.png'  alt='<{$lang_atomfeed}>' title='<{$lang_atomfeed}>' /></a>
<a href='<{$mylinks_weburl}>/pda.php' target='_blank'>
<img src='<{$mylinks_imgurl}>/icons/pda.png'  alt='<{$lang_pdafeed}>' title='<{$lang_pdafeed}>' /></a>
<{/if}>
   </td>
   <td style='text-align: right;'>
<{if $mylinksshowthemechanger}>
  <form action='<{$xoops_requesturi}>' method='post'>
  <strong><{$lang_themechanger}></strong><{$mylinksthemeoption}>
  </form>
<{/if}>
  </td>
  </tr>
  </table>
<hr /><br />
<{/if}>
<{if $links != ''}>
<h4><{$lang_latestlistings}></h4>
<table style='width: 100%; margin: 0px; padding: 10px; border-width: 0px;'>
  <tr>
    <td style='text-align: right; width: 100%;'>
<a id='itemtop'>
<a href='#itembottom'><img src='<{$mylinks_imgurl}>/icons/bottom.gif' alt='<{$lang_gotobottom}>' title='<{$lang_gotobottom}>'  /></a>
    </td>
  </tr>
<tr>
<td style='text-align: center; width: 100%; vertical-align: top;'>

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

</td></tr>
  <tr>
    <td style='text-align: right; width: 100%;'>
<a id='itembottom'>
<a href='#itemtop'><img src='<{$mylinks_imgurl}>/icons/top.gif' alt='<{$lang_gototop}>' title='<{$lang_gototop}>'  /></a>
    </td>
  </tr>
</table>
<{/if}>
<{include file='db:system_notification_select.html'}>
