<table class="outer" 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="right"><{$block.lang_lastpost}></th>
  </tr>
  <{foreach item=topic from=$block.topics}>
	  <tr>
	    <td class="even" 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"  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}>"'><a href="<{$xoops_url}>/modules/xphpbbi/viewtopic.php?t=<{$topic.id}>&sid=<{$topic.sess_id}>"><{$topic.title}></a> <{$topic.pages}><div align=right><font size="1"><a href="<{$xoops_url}>/modules/xphpbbi/viewforum.php?f=<{$topic.forum_id}>&sid=<{$topic.sess_id}>"><{$topic.forum_name}></a></font></div></td>
	    <td class="even" width="12%" onmouseout='this.className="even";' onmouseover='this.className="odd";' 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="even" width="20%" onmouseout='this.className="even";' onmouseover='this.className="odd";' align="right"><font size="1pt"><{$topic.time}><br><{if $topic.isuser}> <a href='<{$xoops_url}>/modules/xphpbbi/profile.php?mode=viewprofile&u=<{$topic.poster_id}>'><{$block.lang_by}>:&nbsp;<{$topic.poster_name}></a><{else}> <{$block.lang_by}>:&nbsp;<{$topic.poster_name}> <{/if}></font></td>
	 </tr>
  <{/foreach}>

  <tr>
    <td class="foot" align="left" colspan="2"><a target="_blank" href="http://www.bbpixel.com">::BBpixel::</a></td>
    <td class="foot" align="right" colspan="3"><a href="<{$xoops_url}>/modules/xphpbbi/"><{$block.lang_visitforums}></a></td>
  </tr>

  <{else}>

  <tr>
    <td class="head"></td>
    <td class="head"><{$block.lang_topic}></td>
    <td class="head" align="center"><{$block.lang_replies}></td>
    <td class="head" align="right"><{$block.lang_lastpost}></td>
  </tr>

   <{foreach item=topic from=$block.topics}>
	  <tr class="even" onmouseout='this.className="even";'  onmouseover='this.className="odd"; this.style.cursor="hand";' onclick='window.location.href="<{$xoops_url}>/modules/xphpbbi/viewtopic.php?t=<{$topic.id}>&sid=<{$topic.sess_id}>"'>
	    <td valign='middle'><table border="0" width = "25" ><td align="center"><a href="<{$xoops_url}>/modules/xphpbbi/viewforum.php?f=<{$topic.forum_id}>&sid=<{$topic.sess_id}>"><img src='<{$topic.img_dir}>'></img></a></td></table></td>
	    <td><a href="<{$xoops_url}>/modules/xphpbbi/viewtopic.php?t=<{$topic.id}>&sid=<{$topic.sess_id}>"><{$topic.title}></a> <{$topic.pages}></td>
	    <td align="center"><{$topic.replies}></td>
	    <td align="right"><font size="1pt"><{$topic.time}><br><{if $topic.isuser}> <a href='<{$xoops_url}>/modules/xphpbbi/profile.php?mode=viewprofile&u=<{$topic.poster_id}>'><{$block.lang_by}>:&nbsp;<{$topic.poster_name}></a><{else}> <{$block.lang_by}>:&nbsp;<{$topic.poster_name}> <{/if}></font></td>
	 </tr>
  <{/foreach}>

  <tr>
    <td class="foot" align="left" colspan="2"><a target="_blank" href="http://www.bbpixel.com">::BBpixel::</a></td>
    <td class="foot" align="right" colspan="2"><a href="<{$xoops_url}>/modules/xphpbbi/"><{$block.lang_visitforums}></a></td>
  </tr>

  <{/if}>

</table>