?? article_myitem.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?>'>
<input name='catid' type='hidden' value='<?=$catid?>'>
<input name='status' type='hidden' value='<?=$status?>'>
<select name="srchtype">
<option value="0" <?if($srchtype==0){?>selected<?}?>> 標(biāo)題 </option>
<option value="1" <?if($srchtype==1){?>selected<?}?>> 內(nèi)容 </option>
<option value="2" <?if($srchtype==2){?>selected<?}?>> 作者 </option>
<option value="3" <?if($srchtype==3){?>selected<?}?>> 會員 </option>
</select>
<input name='keywords' type='text' size='40' value='<?=$keywords?>'>
<select name='catid'>
<option value='0'>請選擇欄目</option>
<?=$cat_option?>
</select>
<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<?}?>>更新時(shí)間降序</option>
<option value="2" <?if($ordertype==2){?>selected<?}?>>更新時(shí)間升序</option>
<option value="3" <?if($ordertype==3){?>selected<?}?>>瀏覽次數(shù)降序</option>
<option value="4" <?if($ordertype==4){?>selected<?}?>>瀏覽次數(shù)升序</option>
</select>
<input name='submit' type='submit' value=' 搜索 '></td>
</tr>
</form>
</table>
<table width="100%" height="25" border="0" cellpadding="3" cellspacing="0">
<tr>
<td>當(dāng)前位置:
<a href="?mod=<?=$mod?>&file=<?=$file?>&action=myitem&channelid=<?=$channelid?>">我添加的文章</a> >>
<?=$cat_pos?>
<input name='status' type='radio' value='3' onclick="location='?mod=<?=$mod?>&file=<?=$file?>&action=myitem&channelid=<?=$channelid?>&status=3&catid=<?=$catid?>'" <?if($status==3){?>checked<?}?>> <a href="?mod=<?=$mod?>&file=<?=$file?>&action=myitem&channelid=<?=$channelid?>&status=3&catid=<?=$catid?>">已通過 [<?=$num_3?>]</a>
<input name='status' type='radio' value='1' onclick="location='?mod=<?=$mod?>&file=<?=$file?>&action=myitem&channelid=<?=$channelid?>&status=1&catid=<?=$catid?>'" <?if($status==1){?>checked<?}?>> <a href="?mod=<?=$mod?>&file=<?=$file?>&action=myitem&channelid=<?=$channelid?>&status=1&catid=<?=$catid?>">待審核 [<?=$num_1?>]</a>
<input name='status' type='radio' value='0' onclick="location='?mod=<?=$mod?>&file=<?=$file?>&action=myitem&channelid=<?=$channelid?>&status=0&catid=<?=$catid?>'" <?if($status==0){?>checked<?}?>> <a href="?mod=<?=$mod?>&file=<?=$file?>&action=myitem&channelid=<?=$channelid?>&status=0&catid=<?=$catid?>">草稿 [<?=$num_0?>]</a>
<input name='status' type='radio' value='2' onclick="location='?mod=<?=$mod?>&file=<?=$file?>&action=myitem&channelid=<?=$channelid?>&status=2&catid=<?=$catid?>'" <?if($status==2){?>checked<?}?>> <a href="?mod=<?=$mod?>&file=<?=$file?>&action=myitem&channelid=<?=$channelid?>&status=2&catid=<?=$catid?>">退槁 [<?=$num_2?>]</a>
</td>
<td align='right'><select name='jump' id='jump' onchange="if(this.options[this.selectedIndex].value!=''){location='?mod=<?=$mod?>&file=<?=$file?>&action=myitem&channelid=<?=$channelid?>&status=<?=$status?>&catid='+this.options[this.selectedIndex].value;}"><option value='' selected>請選擇欄目查看</option><?=$cat_option?></select></td>
</tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th colspan=6>我添加的文章</th>
</tr>
<tr align=center>
<td width="40" class="tablerowhighlight">ID</td>
<td class="tablerowhighlight">標(biāo) 題</td>
<td width="100" class="tablerowhighlight">欄目</td>
<td width="70" class="tablerowhighlight">發(fā)表時(shí)間</td>
<td width="60" class="tablerowhighlight">點(diǎn)擊</td>
<td width="120" class="tablerowhighlight">管理操作</td>
</tr>
<form method="post" name="myform">
<? if(is_array($articles)) foreach($articles AS $article) { ?>
<tr align=center onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5' height='22'>
<td><a href="?mod=<?=$mod?>&file=<?=$file?>&action=preview&channelid=<?=$channelid?>&articleid=<?=$article[articleid]?>" target="_blank" title="預(yù)覽文章"><?=$article[articleid]?></a></td>
<td align=left><? if($article[status]==3) { ?><a href="<?=$article[url]?>" target="_blank"><?=$article[title]?></a><? } else { ?><a href="?mod=<?=$mod?>&file=<?=$file?>&action=preview&channelid=<?=$channelid?>&articleid=<?=$article[articleid]?>&referer=<?=$referer?>" target="_blank" title="預(yù)覽文章"><?=$article[title]?></a><? } ?>
<? if($article[ontop]) { ?><font color=red> 頂</font><? } ?>
<? if($article[elite]) { ?><font color=blue> 薦</font><? } ?>
</td>
<td align=left><a href="<?=$article[catdir]?>" target="_blank"><?=$_CAT[$article[catid]][catname]?></a></td>
<td><?=$article[adddate]?></td>
<td><?=$article[hits]?></td>
<td><?if($article[status]==3){?>
<font color='#C0C0C0'>編輯 | 刪除</font>
<?} else {?><a href="?mod=<?=$mod?>&file=<?=$file?>&action=edit&channelid=<?=$channelid?>&articleid=<?=$article[articleid]?>&catid=<?=$article[catid]?>&referer=<?=$referer?>" title="編輯文章">編輯</a> | <?if($article[status]!=1){?><a href="?mod=<?=$mod?>&file=<?=$file?>&action=send&channelid=<?=$channelid?>&articleid=<?=$article[articleid]?>&referer=<?=$referer?>">投稿</a> | <?}?><a href="?mod=<?=$mod?>&file=<?=$file?>&action=torecycle&value=1&channelid=<?=$channelid?>&articleid=<?=$article[articleid]?>&referer=<?=$referer?>">刪除</a><?}?></td>
</tr>
<? } ?>
</table>
<table width="100%" height="10" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -