<table class="outer_forum" cellspacing="1" width="100%">
  <{if $block.full_view == true}>
  <tr>
    <th></th>
    <th><{$block.lang_topic}></th>
    <th align="center"><{$block.lang_replies}></th>
    <th align="center"><{$block.lang_views}></th>
    <th align="center"><{$block.lang_lastpost}></th>
  </tr>
  <{foreach item=topic from=$block.topics}>
	  <tr>
	    <td class="odd" width="6%" valign='middle' align="center"><a href="<{$xoops_url}>/modules/xphpbbi/viewforum.php?f=<{$topic.forum_id}>&sid=<{$topic.sess_id}>"><img src="<{$topic.img_dir}>" alt="<{$topic.forum_name}>"></a></td>
	    <td class="odd" align="left" width="50%" onmouseout='this.className="odd";'  onmouseover='this.className="even"; this.style.cursor="hand";' onclick='window.location.href="<{$xoops_url}>/modules/xphpbbi/viewtopic.php?t=<{$topic.id}>&sid=<{$topic.sess_id}>"'> <{$topic.icon_newest_reply}> <a href="<{$xoops_url}>/modules/xphpbbi/viewtopic.php?t=<{$topic.id}>&sid=<{$topic.sess_id}>"><{$topic.title}></a> <{$topic.pages}></td>
	    <td class="odd" width="12%" onmouseout='this.className="odd";' onmouseover='this.className="even";' align="center"><{$topic.replies}></td>
	    <td class="odd"  width="12%" onmouseout='this.className="odd";'  onmouseover='this.className="even";' align="center"><{$topic.views}></td>
	    <td nowrap class="odd" width="20%" onmouseout='this.className="odd";' onmouseover='this.className="even";' align="right"><font size="1pt"><{$topic.time}><br><{$block.lang_by}>&nbsp;<{if $topic.poster_id == 0}><{$topic.poster_name}><{else}><a href='<{$xoops_url}>/userinfo.php?uid=<{$topic.poster_id}>'><{$topic.poster_name}></a><{/if}> <a href="<{$xoops_url}>/modules/xphpbbi/viewtopic.php?p=<{$topic.post_id}>&sid=<{$topic.sess_id}>#<{$topic.post_id}>"><img src="<{$topic.icon_latest_reply}>" alt="<{$block.lang_view_last_post}>" border="0" /></a></font></td>
	 </tr>
  <{/foreach}>

  <tr>
    <td class="foot" align="left" colspan="3"><a href="<{$xoops_url}>/modules/xphpbbi/search.php?search_id=newposts"><{$block.lang_newposts}></td>
    <td class="foot" align="right" colspan="2"><a href="<{$xoops_url}>/modules/xphpbbi/"><{$block.lang_visitforums}></a></td>
  </tr>

  <{else}>

  <tr>
    <th></th>
    <th><{$block.lang_topic}></th>
    <th align="center"><{$block.lang_replies}></th>
    <th align="center"><{$block.lang_lastpost}></th>
  </tr>

   <{foreach item=topic from=$block.topics}>
	  <tr>
	    <td class="odd" width="6%" valign='middle' align="center"><a href="<{$xoops_url}>/modules/xphpbbi/viewforum.php?f=<{$topic.forum_id}>&sid=<{$topic.sess_id}>"><img src="<{$topic.img_dir}>" alt="<{$topic.forum_name}>"></a></td>
	    <td class="odd" align="left" width="50%" onmouseout='this.className="odd";'  onmouseover='this.className="even"; this.style.cursor="hand";' onclick='window.location.href="<{$xoops_url}>/modules/xphpbbi/viewtopic.php?t=<{$topic.id}>&sid=<{$topic.sess_id}>"'> <{$topic.icon_newest_reply}> <a href="<{$xoops_url}>/modules/xphpbbi/viewtopic.php?t=<{$topic.id}>&sid=<{$topic.sess_id}>"><{$topic.title}></a> <{$topic.pages}></td>
	    <td class="odd" width="12%" onmouseout='this.className="odd";' onmouseover='this.className="even";' align="center"><{$topic.replies}></td>
	    <td nowrap class="odd" width="20%" onmouseout='this.className="odd";' onmouseover='this.className="even";' align="right"><font size="1pt"><{$topic.time}><br><{$block.lang_by}>&nbsp;<{if $topic.poster_id == 0}><{$topic.poster_name}><{else}><a href='<{$xoops_url}>/userinfo.php?uid=<{$topic.poster_id}>'><{$topic.poster_name}></a><{/if}> <a href="<{$xoops_url}>/modules/xphpbbi/viewtopic.php?p=<{$topic.post_id}>&sid=<{$topic.sess_id}>#<{$topic.post_id}>"><img src="<{$topic.icon_latest_reply}>" alt="<{$block.lang_view_last_post}>" border="0" /></a></font></td>
	 </tr>
  <{/foreach}>

  <tr>
    <td class="foot" align="left" colspan="3"><a href="<{$xoops_url}>/modules/xphpbbi/search.php?search_id=newposts"><{$block.lang_newposts}></td>
    <td class="foot" align="right" colspan="1"><a href="<{$xoops_url}>/modules/xphpbbi/"><{$block.lang_visitforums}></a></td>
  </tr>

  <{/if}>

</table>