📄 bloglist.tpl
字号:
{strip}
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail" width="100%">
{assign var="page_hdr01_text" value="{lang mkey='section_blog_title'}"}
{include file="admin/admin_page_hdr01.tpl"}
{if $error_message neq ""}
<font color="{lang mkey='error_msg_color'}">{$error_message}</font>
{/if}
<form name="frmEditPref" method="post" action="bloglist.php">
<input type="hidden" name="action" value="multiple_delete" />
<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
<tr>
<td width="100%" height="25">
<table width="100%" border="0" cellpadding="3" cellspacing="1" >
<tr>
<td align="center" class='edituserlink'>
{lang mkey='section_blog_list'}
</td>
<td align="center" class='edituserlink'>
<a href="addblog.php" class='edituserlink'>
<span>{lang mkey='section_add_blog'}</span>
</a>
</td>
<td align="center" class='edituserlink'>
<a href="blogsettings.php" class='edituserlink'>
<span>{lang mkey='section_blog_info'}</span>
</a>
</td>
</tr>
</table>
<br />
<table width="550" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail_inside" width="100%">
{assign var="page_hdr02_text" value="{lang mkey='blog_subtitle_list'}"}
{include file="admin/admin_page_hdr02.tpl"}
<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
{ if $list }
<tr class="table_head">
<th width="5%"><input type="checkbox" name="chkall" value="" onclick="checkAll(this.form,'delete[]',this.checked)" /><input type="hidden" name="act" value="{$act}" /></th >
<th width="5%">{lang mkey='blog_number'}</th>
<th width="5%" align="center">{$sort_blog_views}</th>
<th width="5%" align="center">{$sort_blog_ratings}</th>
<th width="50%">{$sort_blog_title}</th>
<th width="15%">{$sort_date_posted} </th>
<th width="10%">{lang mkey='action'}</th>
</tr>
{assign var="mcount" value="0"}
{foreach item=item key=key from=$list}
{math equation="$mcount+1" assign="mcount"}
<tr class="{cycle values="oddrow,evenrow"}">
<td >
<input type="checkbox" name="delete[]" value="{$item.id}" /></td>
<td>{$mcount}</td>
<td>{$item.views}</td>
<td align="center">{$item.votes} / {$item.num_votes}</td>
<td>
<a href="viewmyblog.php?id={$item.id}">{$item.short_title}</a></td>
<td>{$item.date_posted|date_format:$lang.DATE_FORMAT}</td>
<td>
<a href="editblog.php?id={$item.id}"><img alt="" src="images/button_edit.png" border="0" /></a>
<a href="bloglist.php?id={$item.id}&action=delete" onclick="return confirmLink(this, '{lang mkey="blog" skey="del02"} blog entry?')"><img alt="" src="images/button_drop.png" border="0" /></a>
</td>
</tr>
{/foreach}
<tr>
<td colspan="7" align="left">
<img src="images/arrow_ltr.png" alt="" />{lang mkey='with_selected'}
<input type="submit" class="formbutton" value="{lang mkey='delete_selected'}" name="groupaction" onclick="return confirmButton('{lang mkey="blog" skey="del02"} blog entries?')" />
</td>
</tr>
{ else }
<tr>
<td colspan="3">{lang mkey='no_blog_found'}</td>
</tr>
{/if}
</table>
</td>
</tr>
</table>
<br />
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<br />
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -