<?php
/**
 * The thread block mobile view file of block module of ZDOO.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Hao Sun <sunhao@cnezsoft.com>
 * @package     block
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
include "../../../sys/common/view/m.avatar.html.php";
?>
<table class='table bordered compact no-margin'>
  <?php foreach($threads as $id => $thread):?>
  <tr data-id='<?php echo $id?>' data-url='<?php echo $this->createLink('team.thread', 'view', "id=$thread->id"); ?>'>
    <td style='overflow:hidden'><?php echo $thread->title;?></td>
    <td class='w-70px'><?php echo $thread->authorRealname;?></td>
    <td class='w-70px'><?php echo substr($thread->createdDate, 5, 5);?></td>
  </tr>
  <?php endforeach;?>
</table>
