📄 list_news_type.tpl
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
新闻管理-新闻列表
</title>
<link href="main.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<body leftmargin="0" topmargin="0" rightmargin="0" marginheight="0" bgcolor="ffffee">
<br>
<table width="95%" border="0" align="center">
<tr>
<td><form name="search_channel" action="list_news_type.php" method="post">
请输入搜索关键字(新闻类型)
<input type="input" name="UserKeyword" value="{$UserKeyword}">
<input type="submit" name="btn_submit" value="查询">
<input type="hidden" name="s_action" value="search">
(<a href="add_news_type.php">添加新闻类型</a>)
</form></td>
</tr>
</table>
<table width="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#f2f2f2" class=p9 >
<tr bgcolor="#7596E2">
<td>编号</td>
<td>新闻类型</td>
<td align=center>操 作</td>
</tr>
{section name=layers loop=$item_array step=1}
<tr>
<td>{$item_array[layers].type_id}</td>
<td>{$item_array[layers].type_name}</td>
<td align=center>
<a href="add_news_type.php?s_action=view&type_id={$item_array[layers].type_id}">编辑</a>
<a href="add_news_type.php?s_action=del&type_id={$item_array[layers].type_id}">删除</a>
</td>
{math equation="x + y" x=$smarty.section.layers.index y=1 assign="next_index"}
</tr>
{/section}
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0" height="30">
<tr align="right">
<td align="right">
当前是第{pagination->mPage}页
共{pagination->mPageCount}页
<a href="?UserKeyword={$UserKeyword}&page={pagination->mFirstPage}">首页</a>
<a href="?UserKeyword={$UserKeyword}&page={pagination->mPreviousPage}">上一页</a>
<a href="?UserKeyword={$UserKeyword}&page={pagination->mNextPage}">下一页</a>
<a href="?UserKeyword={$UserKeyword}&page={pagination->mLastPage}">末页</a>
</td>
<form action="list_news_type.php" method="post">
<td align="right" width="110">
<input type="hidden" name="UserKeyword" value="{$UserKeyword}">
跳到
<input type="hidden" name="UserKeyword" value="{$UserKeyword}">
<input type="text" name="page" size="3">页<input type="submit" name="Submit" value="GO">
</td>
</form>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -