📄 announce.tpl
字号:
{{include file="header.tpl"}}
<div class="pagetitle">公告管理</div>
<form name="form1" method="post">
<table class="tborder" cellSpacing="1" cellPadding="4" align="center">
<tr>
<td align="center" colspan="10" class="tcat">已发布公告<a href="announce.php?act=add"><span class="text_red">[发布公告]</span></a></td>
</tr>
<tr class="thead" align="center">
<td width="20%" nowrap="nowrap">管理员</td>
<td width="*" nowrap="nowrap">标题</td>
<td width="20%" nowrap="nowrap">发布日期</td>
<td width="5%" nowrap="nowrap"></td>
</tr>
{{if $Announce}}
{{foreach item=row from=$Announce key=key}}
<tr height="18" class="alt{{if $key%2 eq 0}}1{{else}}2{{/if}}" align="center">
<td nowrap="nowrap">{{$row.manager_name}}</td>
<td align="left"><a href="announce.php?act=edit&id={{$row.announce_id}}" title="点击编辑">{{$row.announce_title}}</a></td>
<td nowrap="nowrap">{{$row.announce_date|date_format:"%Y-%m-%d %H:%M:%S"}}</td>
<td nowrap="nowrap"><input name="announce_id[]" type="checkbox" value="{{$row.announce_id}}" /></td>
</tr>
{{/foreach}}
<tr height="18">
<td colspan="4" class="thead text_left">
<div class="left" style="padding-top:4px;">{{$multipage|default:"只有一页"}}</div>
<div class="right">
<input name="button" type="button" value="全选" style="font-weight:normal" onClick='selectAll(true);' />
<input name="button" type="button" value="全不选" style="font-weight:normal" onClick='selectAll(false);' />
<input name="button" type="button" value="反选" style="font-weight:normal" onClick='againstSelect();' />
<select name="op" onchange="executeOperate();" class="formInput">
<option value="">将选中项</option>
<option value="delete">删除</option>
</select>
<noscript><input type="submit" value="执行"></noscript>
</div>
</td>
</tr>
{{else}}
<tr height="18" class="alt1 text_center">
<td colspan="4">还没有发布任何公告!</td>
</tr>
{{/if}}
</table>
</form>
{{include file="footer.tpl"}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -