Files
2025-06-27 21:04:18 +08:00

62 lines
2.1 KiB
HTML
Executable File

<script type="text/javascript">
function delItem(tid){
if( confirm('确定删除?') ){
var url = '{$curl}&act=delete&formhash={FORMHASH}&tid=' + tid ;
ajaxget(url, 'data_'+tid);
}
}
</script>
<form method="post" action="">
<table class="tb tb2">
<tbody id="list">
<tr class="partition">
<th width="">主题</th>
<th width="70">发帖者</th>
<th width="100">原版块</th>
<th width="230">跨越fids</th>
<th width="120">发布时间</th>
<th width="110"></th>
</tr>
<!--{loop $lists $thread}-->
<tr id="data_{$thread['tid']}">
<td>
<a href="forum.php?mod=viewthread&tid={$thread['tid']}">
$thread['subject']
</a>
</td>
<td>
<a href="home.php?mod=space&uid={$thread['authorid']}">
{$thread['author']}
</a>
</td>
<td>
<a href="forum.php?mod=forumdisplay&fid={$thread['fid']}">
{$_G['cache']['forums'][$thread['fid']]['name']}
</a>
</td>
<td>
{eval $across_fids = array_filter(explode(',', $thread['across_fids']));}
<!--{loop $across_fids $across_fid}-->
<a href="forum.php?mod=forumdisplay&fid={$across_fid}">
{$_G['cache']['forums'][$across_fid]['name']}
</a>
<!--{/loop}-->
</td>
<td>
{eval echo dgmdate($thread['dateline'])}
</td>
<td>
<button type="button" class="" onclick="delItem( '{$thread['tid']}' )">删除</button>
</td>
</tr>
<!--{/loop}-->
</tbody>
</table>
</form>
<!--{if $multipage }-->
{$multipage}
<!--{/if}-->