<{strip}>

<{include file="db:`$mydirname`_head.html"}>


<{if $displaynav == true}>
  <div style="text-align: center;">
    <form name="form1" action="<{$mydirurl}>/index.php" method="get">
      <{$topic_select}>&nbsp;
      <{assign var=storynum_options value=","|explode:"5,10,15,20,30"}>
      <select name="storynum">
       <{html_options selected=$smarty.get.storynum values=$storynum_options output=$storynum_options}>
      </select>&nbsp;
      <input type="submit" value="<{$smarty.const._GO}>" />
    </form>
  </div>
<{/if}>

<!-- start news item loop -->
<{section name=i loop=$stories}>
<div class="row">
  <{include file="db:`$mydirname`_item.html" story=$stories[i]}>
 </div>
   <hr class="blog-post-sep">

<{/section}>
<!-- end news item loop -->

<div style="text-align: right;"><{$pagenav}></div>

<div align="right">
  |&nbsp;<a href="<{$mydirurl}>/index.php?page=archive"><{$smarty.const._MD_ARCHIVES}></a>
  <{if $can_post}>
    &nbsp;|&nbsp;<a href="<{$mydirurl}>/index.php?page=submit"><{$smarty.const._MD_SUBMITNEWS}></a>
  <{/if}>
  <{if $disp_rss_link}>
    &nbsp;|&nbsp;<a href="<{$mydirurl}>/index.php?page=rss"><{$smarty.const._MD_RSS}></a>
  <{/if}>
  &nbsp;|
</div>

<{/strip}>
