<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/ipboard/index.php?&s=<{$topic.sess_id}>&act=SF&f=<{$topic.forum_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/ipboard/index.php?act=ST&f=<{$topic.forum_id}>&t=<{$topic.id}>&s=<{$topic.sess_id}>"'><a href="<{$xoops_url}>/modules/ipboard/index.php?act=ST&f=<{$topic.forum_id}>&t=<{$topic.id}>&s=<{$topic.sess_id}>"><{$topic.title}></a> <{$topic.pages}><div align=right><font size="1"><a href="<{$xoops_url}>/modules/ipboard/index.php?&s=<{$topic.sess_id}>&act=SF&f=<{$topic.forum_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"><{$topic.time}><br><{if $topic.last_post_id <> 0}><a href='<{$xoops_url}>/modules/ipboard/index.php?s=<{$topic.sess_id}>&act=Profile&CODE=03&MID=<{$topic.last_post_id}>'><{$block.lang_by}>:&nbsp;<{$topic.last_post_name}></a><{else}><{$block.lang_by}>:&nbsp;<{$topic.last_post_name}><{/if}></td>
	 </tr>
	  <{/foreach}>

  <tr>
    <td class="foot" align="left" colspan="2"><a href="http://www.bbpixel.com">::BBpixel::</a></td>
    <td class="foot" align="right" colspan="3"><a href="<{$xoops_url}>/modules/ipboard/"><{$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_views}></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/ipboard/index.php?act=ST&f=<{$topic.forum_id}>&t=<{$topic.id}>&s=<{$topic.sess_id}>"'>
	    <td valign='middle'><table border="0" width = "25" ><td align="center"><a href="<{$xoops_url}>/modules/ipboard/index.php?&act=SF&f=<{$topic.forum_id}>&s=<{$topic.sess_id}>"><img src='<{$topic.img_dir}>'></img></a></td></table></td>
	    <td><a href="<{$xoops_url}>/modules/ipboard/index.php?act=ST&f=<{$topic.forum_id}>&t=<{$topic.id}>&s=<{$topic.sess_id}>"><{$topic.title}></a> <{$topic.pages}></td>
	    <td align="center"><{$topic.views}></td>
	    <td align="right"><{$topic.time}><br><{if $topic.last_post_id <> 0}><a href='<{$xoops_url}>/modules/ipboard/index.php?s=<{$topic.sess_id}>&act=Profile&CODE=03&MID=<{$topic.last_post_id}>'><{$block.lang_by}>:&nbsp;<{$topic.last_post_name}></a><{else}><{$block.lang_by}>:&nbsp;<{$topic.last_post_name}><{/if}></td>
	 </tr>
  <{/foreach}>

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

  <{/if}>

</table>