<{$bootstrap}>
<{$jquery}>
<{$toolbar}>

<{if $all_content}>
  <{$FooTableJS}>
	<table class="table table-striped table-hover">
	<thead>
	<tr>
		<th data-hide="phone"></th>
		<th data-class="expand"></th>
		<th data-hide="phone"></th>
		<th data-hide="phone"></th>
	</tr>
	</thead>

	<tbody>
  <{foreach item=bb from=$all_content}>

		<tr>
      <td style="vertical-align:top;width:100px;">
        <div style="width:90px;height:60px;background: transparent url(<{$bb.pic}>) no-repeat center top;-moz-border-radius: 5px;-khtml-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;position:relative;" alt="<{$bb.BoardTitle}>" title="<{$bb.BoardTitle}>"></div>

      </td>
      <td colspan=4>
      <a href="discuss.php?op=tad_discuss_form&BoardID=<{$bb.BoardID}>" style="float:right;" class="btn btn-info"><{$smarty.const._MD_TADDISCUS_ADD_DISCUSS}></a>
      <a href="discuss.php?BoardID=<{$bb.BoardID}>" style="font-size:130%"><{$bb.BoardTitle}></a> <{$bb.fun}>
      <div style="margin:10px auto;font-size:12px;">
        <div><img src="images/add.png" align="absmiddle" hspace=4 alt="<{$bb.BoardNum}>"><{$bb.BoardNum}> / <img src="images/add.png" align="absmiddle" hspace=4 alt="<{$bb.DiscussNum}>"><{$bb.DiscussNum}></div>
      </div>
      </td>
    </tr>
    <{if $bb.list_tad_discuss}>
      <{foreach item=discuss from=$bb.list_tad_discuss}>
        <tr>
          <td nowrap style="font-size:11px;"><{$discuss.LastTime}></td>
          <td><a href="discuss.php?DiscussID=<{$discuss.DiscussID}>&BoardID=<{$discuss.BoardID}>"><{$discuss.DiscussTitle}></a></td>
          <td class="text-right;"><{$discuss.uid_name}></td>
          <td class="text-center"><{$discuss.renum}></td>
      	</tr>
      <{/foreach}>
    <{elseif $login}>
      <tr>
        <td colspan=4 style="border:none;text-align:right;"><a href="discuss.php?op=tad_discuss_form&BoardID=<{$bb.BoardID}>"><img src="images/add.png" align="absmiddle" hspace=4 alt="<{$smarty.const._MD_TADDISCUS_ADD_DISCUSS}>"><{$smarty.const._MD_TADDISCUS_DISCUSS_EMPTY}></a></td></tr>
    <{else}>
      <tr><td colspan=4 style="border:none;text-align:right;"><{$smarty.const._MD_TADDISCUS_DISCUSS_EMPTY}></td></tr>
    <{/if}>
  <{/foreach}>
	</tbody>
	</table>
<{else}>

    <div class="hero-unit">
    <a href="admin/main.php?op=tad_discuss_board_form"><{$smarty.const._MD_TADDISCUS_BOARD_EMPTY}></a>
    </div>
  
<{/if}>	
	
<{include file="db:system_notification_select.html"}>