📄 %%45^45e^45e480cd%%index.tpl.php
字号:
<?php /* Smarty version 2.6.14, created on 2007-08-23 08:40:07 compiled from index.tpl */ ?><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title><?php echo $this->_tpl_vars['title']; ?></title>
<style type="text/css">
<!--
.username {
height: 20px;
width: 250px;
}
.comment {
height: 100px;
width: 660px;
}
body,td,tr {
font-size: 9pt;
}
-->
</style>
<script language="javascript" src="./inc/ajax.js"></script>
</head>
<body>
<div align="right" id="check"></div>
<div id="result"><?php unset($this->_sections['loop']);$this->_sections['loop']['name'] = 'loop';$this->_sections['loop']['loop'] = is_array($_loop=$this->_tpl_vars['bookinfo']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);$this->_sections['loop']['show'] = true;$this->_sections['loop']['max'] = $this->_sections['loop']['loop'];$this->_sections['loop']['step'] = 1;$this->_sections['loop']['start'] = $this->_sections['loop']['step'] > 0 ? 0 : $this->_sections['loop']['loop']-1;if ($this->_sections['loop']['show']) { $this->_sections['loop']['total'] = $this->_sections['loop']['loop']; if ($this->_sections['loop']['total'] == 0) $this->_sections['loop']['show'] = false;} else $this->_sections['loop']['total'] = 0;if ($this->_sections['loop']['show']): for ($this->_sections['loop']['index'] = $this->_sections['loop']['start'], $this->_sections['loop']['iteration'] = 1; $this->_sections['loop']['iteration'] <= $this->_sections['loop']['total']; $this->_sections['loop']['index'] += $this->_sections['loop']['step'], $this->_sections['loop']['iteration']++):$this->_sections['loop']['rownum'] = $this->_sections['loop']['iteration'];$this->_sections['loop']['index_prev'] = $this->_sections['loop']['index'] - $this->_sections['loop']['step'];$this->_sections['loop']['index_next'] = $this->_sections['loop']['index'] + $this->_sections['loop']['step'];$this->_sections['loop']['first'] = ($this->_sections['loop']['iteration'] == 1);$this->_sections['loop']['last'] = ($this->_sections['loop']['iteration'] == $this->_sections['loop']['total']);?> 用户名:<?php echo $this->_tpl_vars['bookinfo'][$this->_sections['loop']['index']]['username']; ?> 内容:<?php echo $this->_tpl_vars['bookinfo'][$this->_sections['loop']['index']]['comment']; ?><p>
<?php endfor; endif; ?>
</div>
<form method="post" name="book" id="book">
<table width="760" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="30" align="center">用户名:</td>
<td height="30"> <input name="username" type="text" class="username" id="username"></td>
</tr>
<tr>
<td width="80" height="120" align="center">留言内容:</td>
<td height="120"> <textarea name="comment" class="comment" id="comment"></textarea></td>
</tr>
</table>
<input type="button" name="button" value="发布" onClick="send('result');">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -