| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- include mymps_tpl('inc_head');?>
- <div id="<?=MPS_SOFTNAME?>" style="padding-bottom:0">
- <div class="mpstopic-category">
- <div class="panel-tab">
- <ul class="clearfix tab-list">
- <li><a href="news.php?part=list" <?php if(empty($iscommend)){?>class="current"<?php }?>>全部</a></li>
- <li><a href="news.php?part=list&iscommend=l0" <?php if($iscommend=='l0'){?>class="current"<?php }?>>待审</a></li>
- <li><a href="news.php?part=list&iscommend=l1" <?php if($iscommend=='l1'){?>class="current"<?php }?>>正常</a></li>
- <li><a href="news.php?part=list&iscommend=l2" <?php if($iscommend=='l2'){?>class="current"<?php }?>>推荐</a></li>
- <li><a href="news.php?part=add" <?php if($part == 'add'){?>class="current"<?php }?>>添加新闻</a></li>
- </ul>
- <ul style="float:right; margin-right:10px">
- <form action="?" method="get">
- <input name="cityid" value="<?=$cityid?>" type="hidden">
- <input name="title" type="input" value="<?php echo $title; ?>" class="text" style="width:120px;"/>
- <select name="catid">
- <option value="">请选择所属分类</option>
- <?=cat_list('channel',0,$catid)?>
- </select>
- <input type="submit" class="gray mini" value="检索新闻">
- </form>
- </ul>
- </div>
- </div>
- </div>
- <form action="?part=list" method="post">
- <input name="url" type="hidden" value="<?=GetUrl()?>">
- <div id="<?=MPS_SOFTNAME?>">
- <table border="0" cellspacing="0" cellpadding="0" class="vbm" >
- <tr class="firstr">
- <td width="60"><input class="checkbox" name="checkall" type="checkbox" id="checkall" onClick="CheckAll(this.form)"/>删?</td>
- <td>状态</td>
- <td>新闻标题</td>
- <td>发布人</td>
- <td>来源</td>
- <td>所属类别</td>
- <td>浏览次数</td>
- <td>发布时间</td>
- <td>管理项</td>
- </tr>
- <tbody onmouseover="addMouseEvent(this);">
- <?php foreach($news AS $row){?>
- <tr bgcolor="white" >
- <td><input type='checkbox' name='id[]' value="<?=$row['id']?>" class='checkbox' id="<?=$row['id']?>"></td>
- <td style="<?php if(empty($row['iscommend'])) echo 'color:red';?>"><?=$iscommend_arr[$row['iscommend']]?></td>
- <td align="left"><a href="../news.php?id=<?=$row[id]?>" target="_blank" title="<?=$row['title']?>"><?=cutstr($row['title'],30)?></a></td>
- <td><?=$row['author']?></td>
- <td><?=$row['source']?></td>
- <td><a href="../news.php?catid=<?=$row['catid']?>"><?=$row['catname']?></a></td>
-
- <td><?=$row['hit']?> 次</td>
- <td><em><?=GetTime($row['begintime'])?></em></td>
- <td>
- <a href="?part=edit&id=<?=$row['id']?>">编辑</a>
- </td>
- </tr>
- <?}?>
- <tr bgcolor="#ffffff" height="28">
- <td> </td>
- <td colspan="10">
- <label for="del_all"><input type="radio" value="del_all" id="del_all" name="do_action" class="radio">删除</label>
- <?php foreach($iscommend_arr as $k => $v){?>
- <label for="level<?=$k?>"><input type="radio" value="level.<?=$k?>" id="level<?=$k?>" name="do_action" class="radio">转为<?=$v?></label>
- <?php }?>
-
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <center><input type="submit" value="提 交" class="mymps large" name="news_submit"/></center>
- </form>
- <div class="clear"></div>
- <div class="pagination"><?php echo page2();?></div>
- <?php mymps_admin_tpl_global_foot();?>
|