File: C:/xampp/htdocs/discuz/forumdata/templates/1_1_my_attention_forums.tpl.php
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); if($attentionlist) { ?>
<form method="post" action="my.php?item=attention&type=forum">
<input type="hidden" name="formhash" value="<?=FORMHASH?>" />
<table cellspacing="0" cellpadding="0" summary="關注的主題" class="datatable">
<thead class="colplural">
<tr>
<td width="6%"></td>
<th>版塊</th>
<td>新主題</td>
<td>主題</td>
<td>帖數</td>
<td>今日</td>
<td class="lastpost">最後發表</td>
</tr>
</thead>
<tbody><? if(is_array($attentionlist)) { foreach($attentionlist as $attention) { ?><tr>
<td><input class="checkbox" type="checkbox" name="delete[]" value="<?=$attention['fid']?>" /></td>
<? if($attention['newthreads']) { ?>
<th><strong><a href="my.php?item=attention&action=detail&type=forum&fid=<?=$attention['fid']?>"><?=$attention['name']?></a></strong> <a href="my.php?item=attention&type=forum&action=open&fid=<?=$attention['fid']?>" target="_blank">(進入)</a></th>
<? } else { ?>
<th><a href="my.php?item=attention&action=detail&type=forum&fid=<?=$attention['fid']?>"><?=$attention['name']?></a></th>
<? } ?>
<td><?=$attention['newthreads']?></td>
<td><?=$attention['threads']?></td>
<td><?=$attention['posts']?></td>
<td><?=$attention['todayposts']?></td>
<td class="lastpost"><cite><a href="redirect.php?tid=<?=$attention['lastpost']['tid']?>&goto=lastpost#lastpost" title="<? echo cutstr($attention['lastpost']['subject'], 30); ?> by <? if($attention['lastpost']['author']) { ?><?=$attention['lastpost']['author']?><? } else { ?>匿名<? } ?>"><?=$attention['lastpost']['subject']?></a></cite><em><?=$attention['lastpost']['dateline']?></em></td>
</tr><? } } ?><tr>
<td><input class="checkbox" type="checkbox" name="chkall" id="chkall" onclick="checkall(this.form)" /> <label for="chkall">刪?</label></td>
<th><button type="submit" class="submit" name="attentionsubmit" value="true">提交</button></th>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</form>
<? } else { ?>
<table cellspacing="0" cellpadding="0" class="datatable">
<tr><th><p class="nodata">暫無數據</p></th></tr>
</table>
<? } if(!empty($multipage)) { ?>
<div class="pages_btns"><?=$multipage?></div>
<? } ?>