📄 %%37^374^374c9d52%%news.tpl.html.php
字号:
<?php /* Smarty version 2.6.19, created on 2008-07-28 09:42:35 compiled from news.tpl.html */ ?><ul class="list">
<li class="head">
<div style="width:75px;" class="right">Actions</div>
<div style="width:50px;" class="right" title="Visible">Visible</div>
<div style="width:120px;" class="right">times</div>
<div>News Title</div>
</li>
<?php if ($this->_tpl_vars['page'][3] == 0): ?>
<li style="padding:50px;text-align:center;color:#007700;">There was no news, Please <a href="index.php?action=news&cate=add">add one</a></li>
<?php else: ?>
<?php unset($this->_sections['fdsamou']);$this->_sections['fdsamou']['name'] = 'fdsamou';$this->_sections['fdsamou']['loop'] = is_array($_loop=$this->_tpl_vars['news']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);$this->_sections['fdsamou']['show'] = true;$this->_sections['fdsamou']['max'] = $this->_sections['fdsamou']['loop'];$this->_sections['fdsamou']['step'] = 1;$this->_sections['fdsamou']['start'] = $this->_sections['fdsamou']['step'] > 0 ? 0 : $this->_sections['fdsamou']['loop']-1;if ($this->_sections['fdsamou']['show']) { $this->_sections['fdsamou']['total'] = $this->_sections['fdsamou']['loop']; if ($this->_sections['fdsamou']['total'] == 0) $this->_sections['fdsamou']['show'] = false;} else $this->_sections['fdsamou']['total'] = 0;if ($this->_sections['fdsamou']['show']): for ($this->_sections['fdsamou']['index'] = $this->_sections['fdsamou']['start'], $this->_sections['fdsamou']['iteration'] = 1; $this->_sections['fdsamou']['iteration'] <= $this->_sections['fdsamou']['total']; $this->_sections['fdsamou']['index'] += $this->_sections['fdsamou']['step'], $this->_sections['fdsamou']['iteration']++):$this->_sections['fdsamou']['rownum'] = $this->_sections['fdsamou']['iteration'];$this->_sections['fdsamou']['index_prev'] = $this->_sections['fdsamou']['index'] - $this->_sections['fdsamou']['step'];$this->_sections['fdsamou']['index_next'] = $this->_sections['fdsamou']['index'] + $this->_sections['fdsamou']['step'];$this->_sections['fdsamou']['first'] = ($this->_sections['fdsamou']['iteration'] == 1);$this->_sections['fdsamou']['last'] = ($this->_sections['fdsamou']['iteration'] == $this->_sections['fdsamou']['total']);?>
<li>
<div style="width:75px;" class="right">
<a href="index.php?action=news&cate=add&id=<?php echo $this->_tpl_vars['news'][$this->_sections['fdsamou']['index']][0]; ?>">Edit</a>
| <a href="index.php?action=news&cate=delete&id=<?php echo $this->_tpl_vars['news'][$this->_sections['fdsamou']['index']][0]; ?>" onClick="return confirm('Did you wish to delete this news?');">Delete</a>
</div>
<div style="width:50px;" class="right"><?php echo $this->_tpl_vars['news'][$this->_sections['fdsamou']['index']][2]; ?></div>
<div style="width:120px;" class="right"><a href="javascript:void(0);" title="<?php echo $this->_tpl_vars['news'][$this->_sections['fdsamou']['index']][4]; ?>" style="text-decoration:none;"><?php echo $this->_tpl_vars['news'][$this->_sections['fdsamou']['index']][3]; ?></a></div>
<div><?php echo $this->_tpl_vars['news'][$this->_sections['fdsamou']['index']][1]; ?></div>
</li>
<?php endfor; endif; ?>
<?php endif; ?>
</ul>
<?php $this->assign('pageingR', "index.php?action=news&"); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;$this->_smarty_include(array('smarty_include_tpl_file' => "paging.tpl.html", 'smarty_include_vars' => array()));$this->_tpl_vars = $_smarty_tpl_vars;unset($_smarty_tpl_vars); ?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -