📄 post^post%2fpost_list.tpl
字号:
<?php /* Smarty version 2.5.0, created on 2003-07-03 07:49:29
compiled from post/post_list.tpl */ ?>
<?php $this->_load_plugins(array(
array('modifier', 'strip_tags', 'post/post_list.tpl', 46, false),
array('modifier', 'truncate', 'post/post_list.tpl', 46, false),)); ?><table><tr><td height=2></td></tr></table>
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table border="0" cellspacing="1" cellpadding="2" bgcolor="#000000" align="right">
<tr bgcolor="#F0F0F0">
<td width="15" align="center" height="15"><?php echo $this->_tpl_vars['l_arrow']; ?>
</td>
<?php if (isset($this->_sections['item'])) unset($this->_sections['item']);
$this->_sections['item']['name'] = 'item';
$this->_sections['item']['loop'] = is_array($this->_tpl_vars['item_list_info']) ? count($this->_tpl_vars['item_list_info']) : max(0, (int)$this->_tpl_vars['item_list_info']);
$this->_sections['item']['show'] = true;
$this->_sections['item']['max'] = $this->_sections['item']['loop'];
$this->_sections['item']['step'] = 1;
$this->_sections['item']['start'] = $this->_sections['item']['step'] > 0 ? 0 : $this->_sections['item']['loop']-1;
if ($this->_sections['item']['show']) {
$this->_sections['item']['total'] = $this->_sections['item']['loop'];
if ($this->_sections['item']['total'] == 0)
$this->_sections['item']['show'] = false;
} else
$this->_sections['item']['total'] = 0;
if ($this->_sections['item']['show']):
for ($this->_sections['item']['index'] = $this->_sections['item']['start'], $this->_sections['item']['iteration'] = 1;
$this->_sections['item']['iteration'] <= $this->_sections['item']['total'];
$this->_sections['item']['index'] += $this->_sections['item']['step'], $this->_sections['item']['iteration']++):
$this->_sections['item']['rownum'] = $this->_sections['item']['iteration'];
$this->_sections['item']['index_prev'] = $this->_sections['item']['index'] - $this->_sections['item']['step'];
$this->_sections['item']['index_next'] = $this->_sections['item']['index'] + $this->_sections['item']['step'];
$this->_sections['item']['first'] = ($this->_sections['item']['iteration'] == 1);
$this->_sections['item']['last'] = ($this->_sections['item']['iteration'] == $this->_sections['item']['total']);
?>
<td width="20" align="center" height="18" bgcolor="#E0E0E0"><b><?php echo $this->_tpl_vars['item_list_info'][$this->_sections['item']['index']]; ?>
</b></td>
<?php endfor; endif; ?>
<td width="15" align="center" height="18"><?php echo $this->_tpl_vars['r_arrow']; ?>
</td>
<td width="50" align="center" height="18" bgcolor=#E0E0E0><b><?php echo $this->_tpl_vars['page']; ?>
/<?php echo $this->_tpl_vars['pagecount']; ?>
</b></td>
<td width="100" align="center" height="18"><b>留言数:<?php echo $this->_tpl_vars['total']; ?>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table><tr><td height=2></td></tr></table>
<table width=700 border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td bgcolor=#eeeeee>
<table width=100% border=0 cellspacing=1 cellpadding=5>
<tr>
<td bgcolor="#0099cc" width="5%" align=center><font color=#ffffff>表情</font></td>
<td bgcolor="#0099cc" width="55%" align=center><font color=#ffffff>留言摘要</font></td>
<td bgcolor="#0099cc" width="15%" align=center><font color=#ffffff>姓名</font></td>
<td bgcolor="#0099cc" width="5%" align=center><font color=#ffffff>回复</font></td>
<td bgcolor="#0099cc" width="20%" align=center><font color=#ffffff>留言时间</font></td>
</tr>
<?php if (isset($this->_sections['loopnum'])) unset($this->_sections['loopnum']);
$this->_sections['loopnum']['name'] = 'loopnum';
$this->_sections['loopnum']['loop'] = is_array($this->_tpl_vars['post_list_info']) ? count($this->_tpl_vars['post_list_info']) : max(0, (int)$this->_tpl_vars['post_list_info']);
$this->_sections['loopnum']['show'] = true;
$this->_sections['loopnum']['max'] = $this->_sections['loopnum']['loop'];
$this->_sections['loopnum']['step'] = 1;
$this->_sections['loopnum']['start'] = $this->_sections['loopnum']['step'] > 0 ? 0 : $this->_sections['loopnum']['loop']-1;
if ($this->_sections['loopnum']['show']) {
$this->_sections['loopnum']['total'] = $this->_sections['loopnum']['loop'];
if ($this->_sections['loopnum']['total'] == 0)
$this->_sections['loopnum']['show'] = false;
} else
$this->_sections['loopnum']['total'] = 0;
if ($this->_sections['loopnum']['show']):
for ($this->_sections['loopnum']['index'] = $this->_sections['loopnum']['start'], $this->_sections['loopnum']['iteration'] = 1;
$this->_sections['loopnum']['iteration'] <= $this->_sections['loopnum']['total'];
$this->_sections['loopnum']['index'] += $this->_sections['loopnum']['step'], $this->_sections['loopnum']['iteration']++):
$this->_sections['loopnum']['rownum'] = $this->_sections['loopnum']['iteration'];
$this->_sections['loopnum']['index_prev'] = $this->_sections['loopnum']['index'] - $this->_sections['loopnum']['step'];
$this->_sections['loopnum']['index_next'] = $this->_sections['loopnum']['index'] + $this->_sections['loopnum']['step'];
$this->_sections['loopnum']['first'] = ($this->_sections['loopnum']['iteration'] == 1);
$this->_sections['loopnum']['last'] = ($this->_sections['loopnum']['iteration'] == $this->_sections['loopnum']['total']);
?>
<tr>
<td bgcolor=#FFFFFF width="5%" align=center>
<img src=./tpl/3/images/emotion/<?php echo $this->_tpl_vars['post_list_info'][$this->_sections['loopnum']['index']]['emotion']; ?>
.gif height=18 width=18 align=ABSCENTER>
</td>
<td bgcolor=#FFFFFF width="60%">
<a href=./?act=view&userid=<?php echo $this->_tpl_vars['userid']; ?>
&id=<?php echo $this->_tpl_vars['post_list_info'][$this->_sections['loopnum']['index']]['id']; ?>
&page=<?php echo $this->_tpl_vars['page']; ?>
>
<font color="<?php echo $this->_tpl_vars['post_list_info'][$this->_sections['loopnum']['index']]['color']; ?>
">
<?php echo $this->_run_mod_handler('truncate', true, $this->_run_mod_handler('strip_tags', true, $this->_tpl_vars['post_list_info'][$this->_sections['loopnum']['index']]['body']), 60); ?>
</font>
</a>
</td>
<td bgcolor=#FFFFFF width="15%" align=center><?php echo $this->_tpl_vars['post_list_info'][$this->_sections['loopnum']['index']]['name']; ?>
</td>
<td bgcolor=#FFFFFF width="15%" align=center><?php echo $this->_tpl_vars['post_list_info'][$this->_sections['loopnum']['index']]['replies']; ?>
</td>
<td bgcolor=#FFFFFF width="20%" align=center><?php echo $this->_tpl_vars['post_list_info'][$this->_sections['loopnum']['index']]['time']; ?>
</td>
</tr>
<?php endfor; endif; ?>
</table>
</td>
</tr>
</table>
<table><tr><td height=2></td></tr></table>
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table border="0" cellspacing="1" cellpadding="2" bgcolor="#000000" align="right">
<tr bgcolor="#F0F0F0">
<td width="15" align="center" height="15"><?php echo $this->_tpl_vars['l_arrow']; ?>
</td>
<?php if (isset($this->_sections['item'])) unset($this->_sections['item']);
$this->_sections['item']['name'] = 'item';
$this->_sections['item']['loop'] = is_array($this->_tpl_vars['item_list_info']) ? count($this->_tpl_vars['item_list_info']) : max(0, (int)$this->_tpl_vars['item_list_info']);
$this->_sections['item']['show'] = true;
$this->_sections['item']['max'] = $this->_sections['item']['loop'];
$this->_sections['item']['step'] = 1;
$this->_sections['item']['start'] = $this->_sections['item']['step'] > 0 ? 0 : $this->_sections['item']['loop']-1;
if ($this->_sections['item']['show']) {
$this->_sections['item']['total'] = $this->_sections['item']['loop'];
if ($this->_sections['item']['total'] == 0)
$this->_sections['item']['show'] = false;
} else
$this->_sections['item']['total'] = 0;
if ($this->_sections['item']['show']):
for ($this->_sections['item']['index'] = $this->_sections['item']['start'], $this->_sections['item']['iteration'] = 1;
$this->_sections['item']['iteration'] <= $this->_sections['item']['total'];
$this->_sections['item']['index'] += $this->_sections['item']['step'], $this->_sections['item']['iteration']++):
$this->_sections['item']['rownum'] = $this->_sections['item']['iteration'];
$this->_sections['item']['index_prev'] = $this->_sections['item']['index'] - $this->_sections['item']['step'];
$this->_sections['item']['index_next'] = $this->_sections['item']['index'] + $this->_sections['item']['step'];
$this->_sections['item']['first'] = ($this->_sections['item']['iteration'] == 1);
$this->_sections['item']['last'] = ($this->_sections['item']['iteration'] == $this->_sections['item']['total']);
?>
<td width="20" align="center" height="18" bgcolor="#E0E0E0"><b><?php echo $this->_tpl_vars['item_list_info'][$this->_sections['item']['index']]; ?>
</b></td>
<?php endfor; endif; ?>
<td width="15" align="center" height="18"><?php echo $this->_tpl_vars['r_arrow']; ?>
</td>
<td width="50" align="center" height="18" bgcolor=#E0E0E0><b><?php echo $this->_tpl_vars['page']; ?>
/<?php echo $this->_tpl_vars['pagecount']; ?>
</b></td>
<td width="100" align="center" height="18"><b>留言数:<?php echo $this->_tpl_vars['total']; ?>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -