<{strip}>
<{if $submissions}>
<p>
  <strong><{$smarty.const._AM_WAITING_ARTICLES}></strong>
  &nbsp;&nbsp;<a href="<{$mydirurl}>/admin/index.php?mode=admin&amp;op=listall&amp;statu=newsubmission"><{$smarty.const._AM_DISP_CONTENUE}></a>
</p>
<table class="outer" cellpadding="4" cellspacing="1" width="100%">
  <tr align="center">
    <th width="40"><{$smarty.const._AM_STORYID}></th>
    <th><{$smarty.const._AM_TITLE}></th>
    <th width="100"><{$smarty.const._AM_TOPIC}></th>
    <th width="100"><{$smarty.const._AM_POSTER}></th>
    <th width="150"><{$smarty.const._AM_POSTED}></th>
    <th width="150"><{$smarty.const._AM_EXPIRED}></th>
    <th width="80"><{$smarty.const._AM_ACTION}></th>
  </tr>
  <{foreach item=i from=$submissions}>
    <tr align="center" class="<{cycle values="odd,even"}>">
      <td><{$i.storyid}></td>
      <td align="left"><{$i.title}></td>
      <td><{$i.topic}></td>
      <{if $i.uid}>
        <td><a href="<{$xoops_url}>/userinfo.php?uid=<{$i.uid}>"><{$i.uname}></a></td>
      <{else}>
        <td><{$i.uname}></td>
      <{/if}>
      <td><{$i.created}></td>
      <td><{$i.expired}></td>
      <td><a href="<{$mydirurl}>/index.php?page=submit&amp;return=1&amp;storyid=<{$i.storyid}>"><{$smarty.const._EDIT}></a>
      &nbsp;<a href="<{$mydirurl}>/index.php?page=submit&amp;return=1&amp;op=delete&amp;storyid=<{$i.storyid}>"><{$smarty.const._DELETE}></a></td>
    </tr>
  <{/foreach}>
</table>
<{/if}>

<{if $autostories}>
<p>
  <strong><{$smarty.const._AM_AUTOARTICLES}></strong>
  &nbsp;&nbsp;<a href="<{$mydirurl}>/admin/index.php?mode=admin&amp;op=listall&amp;statu=autostory"><{$smarty.const._AM_DISP_CONTENUE}></a>
</p>

<table class="outer" cellpadding="4" cellspacing="1" width="100%">
  <tr align="center">
    <th width="40"><{$smarty.const._AM_STORYID}></th>
    <th><{$smarty.const._AM_TITLE}></th>
    <th width="100"><{$smarty.const._AM_TOPIC}></th>
    <th width="100"><{$smarty.const._AM_POSTER}></th>
    <th width="150"><{$smarty.const._AM_PROGRAMMED}></th>
    <th width="150"><{$smarty.const._AM_EXPIRED}></th>
    <th width="80"><{$smarty.const._AM_ACTION}></th>
  </tr>
  <{foreach item=i from=$autostories}>
    <tr align="center" class="<{cycle values="odd,even"}>">
      <td><{$i.storyid}></td>
      <td align="left"><{$i.title}></td>
      <td><{$i.topic}></td>
      <{if $i.uid}>
        <td><a href="<{$xoops_url}>/userinfo.php?uid=<{$i.uid}>"><{$i.uname}></a></td>
      <{else}>
        <td><{$i.uname}></td>
      <{/if}>
      <td><{$i.published}></td>
      <td><{$i.expired}></td>
      <td><a href="<{$mydirurl}>/index.php?page=submit&amp;return=1&amp;storyid=<{$i.storyid}>"><{$smarty.const._EDIT}></a>
      &nbsp;<a href="<{$mydirurl}>/index.php?page=submit&amp;return=1&amp;op=delete&amp;storyid=<{$i.storyid}>"><{$smarty.const._DELETE}></a></td>
    </tr>
  <{foreachelse}>
    <tr><td colspan="7"><{$smarty.const._AM_NO_ARTICLES}></td></tr>
  <{/foreach}>
</table>
<{/if}>

<p>
  <strong><{$smarty.const._AM_PUB_ARTICLES}></strong>
  &nbsp;&nbsp;<a href="<{$mydirurl}>/admin/index.php?mode=admin&amp;op=listall&amp;statu=laststory"><{$smarty.const._AM_DISP_CONTENUE}></a>
</p>

<table class="outer" cellpadding="4" cellspacing="1" width="100%">
  <tr align="center">
    <th width="40"><{$smarty.const._AM_STORYID}></th>
    <th><{$smarty.const._AM_TITLE}></th>
    <th width="100"><{$smarty.const._AM_TOPIC}></th>
    <th width="100"><{$smarty.const._AM_POSTER}></th>
    <th width="150"><{$smarty.const._AM_PUBLISHED}></th>
    <th width="150"><{$smarty.const._AM_EXPIRED}></th>
    <th width="80"><{$smarty.const._AM_ACTION}></th>
  </tr>
  <{foreach item=i from=$published}>
    <tr align="center" class="<{cycle values="odd,even"}>">
      <td><{$i.storyid}></td>
      <td align="left"><{$i.title}></td>
      <td><{$i.topic}></td>
      <{if $i.uid}>
        <td><a href="<{$xoops_url}>/userinfo.php?uid=<{$i.uid}>"><{$i.uname}></a></td>
      <{else}>
        <td><{$i.uname}></td>
      <{/if}>
      <td><{$i.published}></td>
      <td><{$i.expired}></td>
      <td><a href="<{$mydirurl}>/index.php?page=submit&amp;return=1&amp;storyid=<{$i.storyid}>"><{$smarty.const._EDIT}></a>
      &nbsp;<a href="<{$mydirurl}>/index.php?page=submit&amp;return=1&amp;op=delete&amp;storyid=<{$i.storyid}>"><{$smarty.const._DELETE}></a></td>
    </tr>
  <{/foreach}>
</table>

<{if $expired}>
<p>
  <strong><{$smarty.const._AM_EXPARTS}></strong>
  &nbsp;&nbsp;<a href="<{$mydirurl}>/admin/index.php?mode=admin&amp;op=listall&amp;statu=expstory"><{$smarty.const._AM_DISP_CONTENUE}></a>
</p>

<table class="outer" cellpadding="4" cellspacing="1" width="100%">
  <tr align="center">
    <th width="40"><{$smarty.const._AM_STORYID}></th>
    <th><{$smarty.const._AM_TITLE}></th>
    <th width="100"><{$smarty.const._AM_TOPIC}></th>
    <th width="100"><{$smarty.const._AM_POSTER}></th>
    <th width="150"><{$smarty.const._AM_PUBLISHED}></th>
    <th width="150"><{$smarty.const._AM_EXPIRED}></th>
    <th width="80"><{$smarty.const._AM_ACTION}></th>
  </tr>
  <{foreach item=i from=$expired}>
    <tr align="center" class="<{cycle values="odd,even"}>">
      <td><{$i.storyid}></td>
      <td align="left"><{$i.title}></td>
      <td><{$i.topic}></td>
      <{if $i.uid}>
        <td><a href="<{$xoops_url}>/userinfo.php?uid=<{$i.uid}>"><{$i.uname}></a></td>
      <{else}>
        <td><{$i.uname}></td>
      <{/if}>
      <td><{$i.published}></td>
      <td><{$i.expired}></td>
      <td><a href="<{$mydirurl}>/index.php?page=submit&amp;return=1&amp;storyid=<{$i.storyid}>"><{$smarty.const._EDIT}></a>
      &nbsp;<a href="<{$mydirurl}>/index.php?page=submit&amp;return=1&amp;op=delete&amp;storyid=<{$i.storyid}>"><{$smarty.const._DELETE}></a></td>
    </tr>
  <{/foreach}>
</table>
<{/if}>
<{include file="$template_path/d3news_footer.html"}>

<{/strip}>
