<h1><{$smarty.const._MD_TCW_DISCUSS}></h1>

<table class="footable">
<thead>
  <tr>
    <th data-class="expand" style="text-align:center;"><{$smarty.const._MD_TCW_DISCUSSTITLE}></th>
    <th data-hide="phone"><{$smarty.const._MD_TCW_LASTTIME}></th>
    <th data-hide="phone" style="text-align:center;"><{$smarty.const._MD_TCW_DISCUSS_UID}></th>
    <{if $showWebTitle}><th data-hide="phone" style="text-align:center;"><{$smarty.const._MD_TCW_TEAMID}></th><{/if}>
  </tr>
</thead>
<{if $discuss_data}>
  <{foreach item=discuss from=$discuss_data}>
  <tr>
		<td><a href="discuss.php?DiscussID=<{$discuss.DiscussID}>&WebID=<{$discuss.WebID}>"><{$discuss.DiscussTitle}></a><{$discuss.show_re_num}></td>
		<td style="text-align:center;"><{$discuss.LastTime}></td>
		<td style="text-align:center;"><{$discuss.uid_name}></td>
		<td style="text-align:center;"><{$discuss.showClassnName}></td>
    <{if $showWebTitle}><td style="width:100px;text-align:center;"><{$discuss.WebTitle}></td><{/if}>
	</tr>
  <{/foreach}>
<{else}>
  <tr><td colspan=5 style="text-align:center;"><{$smarty.const._MD_TCW_EMPTY}></td></tr>
<{/if}>
</table>

<{if $discuss_data}>
  <{$bar}>
<{/if}>

<div style="text-align:right">
  <{if $bar==""}>
    <{if $WebID==""}>
      <a href="index.php?op=list_tad_web_discuss" class="btn btn-mini btn-primary"><{$smarty.const._MD_TCW_MORE}><{$smarty.const._MD_TCW_DISCUSS_SHORT}></a>
    <{else}>
      <a href="discuss.php?WebID=<{$WebID}>" class="btn btn-mini btn-primary"><{$smarty.const._MD_TCW_MORE}><{$smarty.const._MD_TCW_DISCUSS_SHORT}></a>
    <{/if}>
  <{/if}>
  <{if $isMineDiscuss}><a href="discuss.php?op=tad_web_discuss_form&WebID=<{$WebID}>" class="btn btn-mini btn-info"><{$smarty.const._TAD_ADD}></a><{/if}>
</div>