?? keywords.php
字號:
<?php
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td></td>
</tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th colspan=5><a href="?mod=<?=$mod?>&file=<?=$file?>&action=manage&channelid=<?=$channelid?>"><font color="white">關鍵字管理</font></a></th>
</tr>
<form method="post" name='myform' action="?mod=<?=$mod?>&file=<?=$file?>&action=update&channelid=<?=$channelid?>&referer=<?=$referer?>">
<tr align="center">
<td width="50" class="tablerowhighlight">刪除</td>
<td width="50" class="tablerowhighlight">ID</td>
<td class="tablerowhighlight">關鍵字</td>
<td width="80" class="tablerowhighlight">使用頻率</td>
<td width="80" class="tablerowhighlight">更新日期</td>
</tr>
<?php
if(is_array($keywords)){
foreach($keywords as $keyword){
?>
<tr align="center" align=center onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5'>
<td><input name='id[]' type='checkbox' id='id[]' value='<?=$keyword['id']?>'></td>
<td><?=$keyword['id']?></td>
<td align="left"> <input size=60 name="keyword[<?=$keyword['id']?>]" type="text" value="<?=$keyword['keyword']?>"></td>
<td title="提示:修改使用頻率可以使關鍵字在文章添加時靠前顯示!"><input size=8 name="hits[<?=$keyword['id']?>]" type="text" value="<?=$keyword['hits']?>"></td>
<td><?=$keyword['updatetime']?></td>
</tr>
<?php
}
}
?>
</table>
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="175" align="center">
<input name='chkall' type='checkbox' id='chkall' onclick='checkall(this.form)' value='checkbox'>全部選中
</td>
<td>
<input name='submit1' type='submit' value=' 刪除選中關鍵字 ' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=delete&channelid=<?=$channelid?>&referer=<?=$referer?>'" >
<input type="submit" name="submit" value=" 更新關鍵字信息 ">
</td>
</tr>
</table>
</form>
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0" class="tableBorder">
<tr align="center">
<form method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=add&channelid=<?=$channelid?>&referer=<?=$referer?>">
<td class="tablerow">
關鍵字:<input name='keyword' type='text' size='20' value=''>
<input name='submit' type='submit' value='關鍵字添加'>
</td>
</form>
<form method="post" name="search">
<td class="tablerow">
關鍵字:<input name='key' type='text' size='20' value='<?=$key?>'>
<select name="ordertype">
<option value="0" >結果排序方式</option>
<option value="1" >更新時間降序</option>
<option value="2" >更新時間升序</option>
<option value="3" >使用頻率降序</option>
<option value="4" >使用頻率升序</option>
</select>
<input name='submit' type='submit' value='關鍵字搜索'>
</td>
</form>
</tr>
</table>
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align=center><?=$pages?></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -