📄 picture_special.php
字号:
<?php include admintpl('header');?>
<?=$menu?>
<table width="100%" cellpadding="0" cellspacing="0" class="tableBorder">
<form method="get" name="search" action="?">
<tr>
<td height="30" class="tablerow" align="center">
<input name='mod' type='hidden' value='<?=$mod?>'>
<input name='file' type='hidden' value='<?=$file?>'>
<input name='action' type='hidden' value='<?=$action?>'>
<input name='channelid' type='hidden' value='<?=$channelid?>'>
<select name="srchtype">
<option value="0" <?if($srchtype==0){?>selected<?}?>> 标题 </option>
<option value="1" <?if($srchtype==1){?>selected<?}?>> 内容 </option>
<option value="2" <?if($srchtype==2){?>selected<?}?>> 作者 </option>
<option value="3" <?if($srchtype==3){?>selected<?}?>> 会员 </option>
</select>
<input name='keywords' type='text' size='30' value='<?=$keywords?>'>
<?=$special_list?>
<input type="checkbox" class="radio" name="elite" value="1" <?if($elite==1){?>checked<?}?>> 推荐
<input type="checkbox" class="radio" name="ontop" value="1" <?if($ontop==1){?>checked<?}?>> 置顶
<select name="ordertype">
<option value="1" <?if($ordertype==1){?>selected<?}?>>更新时间降序</option>
<option value="2" <?if($ordertype==2){?>selected<?}?>>更新时间升序</option>
<option value="3" <?if($ordertype==3){?>selected<?}?>>浏览次数降序</option>
<option value="4" <?if($ordertype==4){?>selected<?}?>>浏览次数升序</option>
</select>
<input name='submit' type='submit' value=' 搜索 '></td>
</tr>
</form>
</table>
<form method="post" name="myform">
<table width="100%" height="25" border="0" cellpadding="3" cellspacing="0">
<tr>
<td>当前位置:<a href="?mod=<?=$mod?>&file=<?=$file?>&action=special&channelid=<?=$channelid?>">专题图片管理</a> >> <?=$specialname?> </td>
<td align=right>
<?=$special_select?>
</td>
</tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th colspan=8>专题图片管理</th>
</tr>
<tr align=center>
<td width="5%" class="tablerowhighlight">选中</td>
<td width="5%" class="tablerowhighlight">ID</td>
<td width="32%" class="tablerowhighlight">标题</td>
<td width="20%" class="tablerowhighlight">专题</td>
<td width="10%" class="tablerowhighlight">录入</td>
<td width="10%" class="tablerowhighlight">发表时间</td>
<td width="6%" class="tablerowhighlight">点击</td>
<td width="12%" class="tablerowhighlight">管理操作</td>
</tr>
<? if(is_array($pictures)) foreach($pictures AS $picture) { ?>
<tr align=center onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5'>
<td><input name='pictureid[]' type='checkbox' id='pictureid<?=$picture[pictureid]?>' value='<?=$picture[pictureid]?>'></td>
<td onMouseDown="document.getElementById('pictureid<?=$picture[pictureid]?>').checked = (document.getElementById('pictureid<?=$picture[pictureid]?>').checked ? false : true);"><a href="?mod=<?=$mod?>&file=<?=$file?>&action=preview&channelid=<?=$channelid?>&pictureid=<?=$picture[pictureid]?>" target="_blank" title="预览图片"><?=$picture[pictureid]?></a></td>
<td align=left><a href="<?=$picture[url]?>" target="_blank"><?=$picture[title]?></a>
<? if($picture[ontop]) { ?><font color=red> 顶</font><? } ?>
<? if($picture[elite]) { ?><font color=blue> 荐</font><? } ?>
</td>
<td align=left><a href="<?=$picture[specialurl]?>" target="_blank"><?=$picture[specialname]?></a></td>
<td title="编辑:<?=$picture[checker]?>"><a href="<?=PHPCMS_PATH?>member/member.php?username=<?=urlencode($picture['username'])?>" target="_blank"><?=$picture['username']?></a></td>
<td><a href="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>&channelid=<?=$channelid?>&time=<?=$picture[adddate]?>"><?=$picture[adddate]?></a></td>
<td><?=$picture[hits]?></td>
<td>
<a href="?mod=<?=$mod?>&file=<?=$file?>&action=edit&channelid=<?=$channelid?>&pictureid=<?=$picture[pictureid]?>&catid=<?=$picture[catid]?>&referer=<?=$referer?>" title="编辑图片">编辑</a> |
<a href="?mod=comment&file=comment&action=manage&item=pictureid&itemid=<?=$picture['pictureid']?>&channelid=<?=$channelid?>&pictureid=<?=$picture['pictureid']?>" title="管理评论">评论</a>
</td>
</tr>
<? } ?>
<table width="100%" height="10" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><input name='chkall' type='checkbox' id='chkall' onclick='checkall(this.form)' value='check'>全选/反选</td>
<td>
<?php if($_CHA['htmlcreatetype']){ ?><input name='submit1' type='submit' value='生成图片' onClick="document.myform.action='?mod=<?=$mod?>&file=tohtml&action=pictureid&channelid=<?=$channelid?>&referer=<?=$referer?>'" > <?php } ?>
<input name='submit2' type='submit' value='移出专题' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=specialout&value=1&channelid=<?=$channelid?>&referer=<?=$referer?>'" >
<input name='submit2' type='submit' value='推荐图片' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=elite&value=1&channelid=<?=$channelid?>&referer=<?=$referer?>'" >
<input name='submit3' type='submit' value='取消推荐' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=elite&value=0&channelid=<?=$channelid?>&referer=<?=$referer?>'" >
<input name='submit4' type='submit' value='置顶图片' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=ontop&value=1&channelid=<?=$channelid?>&referer=<?=$referer?>'" >
<input name='submit5' type='submit' value='取消置顶' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=ontop&value=0&channelid=<?=$channelid?>&referer=<?=$referer?>'" >
<input name='submit7' type='submit' value='删除图片' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=torecycle&value=1&channelid=<?=$channelid?>&referer=<?=$referer?>'">
<input name='submit8' type='submit' value='批量移动' onClick="document.myform.action='?mod=<?=$mod?>&file=<?=$file?>&action=move&movetype=1&channelid=<?=$channelid?>'"></td>
</tr>
</table>
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align='center'><?=$pages?></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -