📄 viewmyblog.tpl
字号:
{strip}
<script type="text/javascript" src="{$docroot}javascript/cascade.js"></script>
<script type="text/javascript" src="{$docroot}javascript/functions.js"></script>
<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="page_hdr01.tpl"}
{if $error_message neq ""}
<table border=0 cellspacing=0 cellpadding=0 width="100%">
<tr><td height="3"></td></tr>
<tr>
<td style="padding-left: 6px;">
<font color="{lang mkey='error_msg_color'}">{$error_message}</font>
</td>
</tr>
<tr><td height="3"></td></tr>
</table>
{/if}
<table width="100%" border="0" cellpadding="{$config.cellspacing}" cellspacing="{$config.cellpadding}">
<tr>
<td width="100%" height="25">
<table width="100%" border="0" cellpadding="3" cellspacing="1" >
<tr>
<td align="center" class='edituserlink'>
<a href="bloglist.php" class='edituserlink'>
<span>{lang mkey='section_blog_list'}</span>
</a>
</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="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail_inside" width="100%">
{assign var="page_hdr02_text" value="{lang mkey='view_blog'}"}
{include file="page_hdr02.tpl"}
<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
<tr>
<td width="100%">
<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
<tr>
<td>
<b>{$blog.date_posted|date_format:$lang.DATE_FORMAT}</b>
</td>
</tr>
<tr>
<td><b>{$blog.title|nl2br}</b></td>
</tr>
<tr>
<td style="padding-bottom: 12px;">{$blog.story|nl2br}</td>
</tr>
<tr>
<td>
<b>
{lang mkey='blog_comments'}: {$numcomments}
</b>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{ if $comments }
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail_inside" width="100%">
<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
{foreach item=item key=key from=$comments}
<tr class="{cycle values="oddrow,evenrow"}">
<td width="100%">
<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
<tr>
<td>
<b>{$item.datetime|date_format:$lang.DATE_FORMAT}</b>
- {$item.username}
<a href="viewmyblog.php?id={$blog.id}&deleteid={$item.id}&action=delete" onclick="return confirmLink(this, '{lang mkey='blog' skey='del01'}')"><img alt="" src="images/button_drop.png" border="0" /></a>
</td>
</tr>
<tr>
<td>{$item.comment}</td>
</tr>
<tr>
<td>
<p>
</td>
</tr>
</table>
</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
{/if}
<br />
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -