information_list.tpl.php 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php include mymps_tpl('inc_head');?>
  2. <style>
  3. .text{ *height:16px!important;*padding-top:1px!important;*padding-bottom:1px!important;}
  4. input.mymps{*height:24px!important;*padding-top:0px!important;*padding-bottom:0px!important;}
  5. </style>
  6. <script type="text/javascript" src="js/titlealt.js"></script>
  7. <div id="<?=MPS_SOFTNAME?>" style="padding-bottom:0">
  8. <div class="mpstopic-category">
  9. <div class="panel-tab">
  10. <ul class="clearfix tab-list">
  11. <li><a title="待审信息" href="information.php?info_level=0" <?php if($info_level==='0'){?>class="current"<?php }?>>待审</a></li>
  12. <li><a title="正常信息" href="information.php?info_level=1" <?php if($info_level==1 || ($info_level=='' && $upgrade != 'index' && $upgrade != 'list' && $upgrade != 'category' && $ifred != '1' && $ifbold != '1')){?>class="current"<?php }?>>正常</a></li>
  13. <li><a title="推荐信息" href="information.php?info_level=2" <?php if($info_level==2){?>class="current"<?php }?>>推荐</a></li>
  14. <li><a title="首页置顶信息" href="information.php?upgrade=index" <?php if($upgrade=='index'){?>class="current"<?php }?>>首顶</a></li>
  15. <li><a title="大类置顶信息" href="information.php?upgrade=category" <?php if($upgrade=='category'){?>class="current"<?php }?>>大顶</a></li>
  16. <li><a title="小类置顶信息" href="information.php?upgrade=list" <?php if($upgrade=='list'){?>class="current"<?php }?>>小顶</a></li>
  17. <li><a title="标题套红信息" href="information.php?ifred=1" <?php if($ifred==1){?>class="current"<?php }?>>套红</a></li>
  18. <li><a title="标题加粗信息" href="information.php?ifbold=1" <?php if($ifbold==1){?>class="current"<?php }?>>加粗</a></li>
  19. </ul>
  20. <ul style="float:right; text-align:right">
  21. <form action="?" method="get">
  22. <select name="show" style="margin-top:-1px;">
  23. <option value="title" <?php if($show == 'title') echo 'selected'; ?>>信息标题</option>
  24. <option value="idno" <?php if($show == 'idno') echo 'selected'; ?>>信息ID编号</option>
  25. <option value="catidno" <?php if($show == 'catidno') echo 'selected'; ?>>分类catID编号</option>
  26. <option value="userid" <?php if($show == 'userid') echo 'selected'; ?>>用户名</option>
  27. <option value="tel" <?php if($show == 'tel') echo 'selected'; ?>>联系电话</option>
  28. </select>
  29. <input name="keywords" value="<?=$keywords?>" type="text" class="text" style="width:60px">
  30. <input name="submit" type="submit" value="搜索" class="mymps"/>
  31. </form>
  32. </ul>
  33. </div>
  34. </div>
  35. </div>
  36. <form action="?action=pm" method="post">
  37. <input name="url" type="hidden" value="<?=GetUrl()?>">
  38. <div id="<?=MPS_SOFTNAME?>">
  39. <table border="0" cellspacing="0" cellpadding="0" class="vbm" >
  40. <tr class="firstr">
  41. <td width="30">选择</td>
  42. <td>缩略图</td>
  43. <td width="30">状态</td>
  44. <td>信息标题</td>
  45. <td width="50">大顶</td>
  46. <td width="50">小顶</td>
  47. <td width="50">首顶</td>
  48. <td>发布人</td>
  49. <td>所在地</td>
  50. <td width="50">时间</td>
  51. <td>管理</td>
  52. </tr>
  53. <tbody onmouseover="addMouseEvent(this);">
  54. <?php foreach($information AS $row){?>
  55. <tr bgcolor="white" >
  56. <td><input type='checkbox' name='id[]' value='<?=$row[id]?>' class='checkbox' id="<?=$row[id]?>"></td>
  57. <td><?php $row['img_path'] = $row['img_path'] ? $row['img_path'] : '/images/nophoto.gif';?><img src="<?=$row[img_path]?>" width="48" height="36" style="border:1px #dddddd solid; padding:1px"></td>
  58. <td><?=$row[info_level]?></td>
  59. <td><?php if($row['img_path']){?><font color="green">[<?=$row['img_count']?>图]</font> <?php }?><a style="<?php if($row['ifred'] == 1) echo 'color:red;';?><?php if($row['ifbold'] == 1) echo 'font-weight:bold;';?>" href="<?=$row[uri]?>" target="_blank" title="<?=$row[id]?> - <?=$row[title]?>"><?php echo $row[title]; ?></a><a title="catID编号:<?=$row[catid]?>" target="_blank" href="<?=$row[uri_cat]?>" style="color:#333; margin-left:10px"><?=$row[catname]?></a><?php if($row[certify] == 1){?> <img title="认证信息" alt="认证信息" align="absmiddle" src="../images/company1.gif"><?}?></td>
  60. <td><div class="signin_button" onmouseover="wsug(event, '<?php echo $row['upgrade_time']; ?>')" onmouseout="wsug(event, 0)"><?=$row[upgrade_type]?></div></td>
  61. <td><div class="signin_button" onmouseover="wsug(event, '<?php echo $row['upgrade_time_list']; ?>')" onmouseout="wsug(event, 0)"><?=$row[upgrade_type_list]?></div></td>
  62. <td><div class="signin_button" onmouseover="wsug(event, '<?php echo $row['upgrade_time_index']; ?>')" onmouseout="wsug(event, 0)"><?=$row[upgrade_type_index]?></div></td>
  63. <td><?=$row[contact_who]?>
  64. </td>
  65. <td><div class="signin_button" onmouseover="wsug(event, '<?php echo $row['ip2area'] == 'wap' ? '手机端' : $row['ip2area']; ?>')" onmouseout="wsug(event, 0)"><i style="color:#585858"><?php echo $row['ip2area'] == 'wap' ? '手机端' : $row['ip']; ?></i></div>
  66. </td>
  67. <td><div class="signin_button" onmouseover="wsug(event, '发布时间:<?php echo GetTime($row['begintime']);?>')" onmouseout="wsug(event, 0)"><font style="color:#585858"><?php echo date("m-d",$row['begintime']);?></font></div></td>
  68. <td>
  69. <a href='?action=edit&id=<?=$row[id]?>&page=<?=$page?>'>编辑</a>
  70. </td>
  71. </tr>
  72. <?}?>
  73. </tbody>
  74. <tr bgcolor="#ffffff" height="28">
  75. <td style="border-right:1px #fff solid;"><input name="checkall" type="checkbox" id="checkall" onClick="CheckAll(this.form)" class="checkbox"/></td>
  76. <td colspan="10">
  77. <label for="delall"><input type="radio" value="delall" id="delall" name="do_action" class="radio">删除</label>
  78. <label for="refresh"><input type="radio" value="refresh" id="refresh" name="do_action" class="radio">刷新</label>
  79. <?php foreach($information_level as $k => $v){?>
  80. <label for="level<?=$k?>"><input type="radio" value="level.<?=$k?>" id="level<?=$k?>" name="do_action" class="radio">转为<?=$v?></label>
  81. <?php }?>
  82. <hr>
  83. <label for="certify_yes"><input type="radio" value="certify_yes" id="certify_yes" name="do_action" class="radio">通过认证</label>
  84. <label for="certify_no"><input type="radio" value="certify_no" id="certify_no" name="do_action" class="radio">取消认证</label>
  85. <hr>
  86. <label for="upgrade"><input type="radio" value="upgrade" id="upgrade" name="do_action" class="radio">取消/大类置顶</label>
  87. <label for="upgrade_list"><input type="radio" value="upgrade_list" id="upgrade_list" name="do_action" class="radio">取消/小类置顶</label>
  88. <label for="upgrade_index"><input type="radio" value="upgrade_index" id="upgrade_index" name="do_action" class="radio">取消/首页置顶</label>
  89. <hr>
  90. <label for="ifred"><input type="radio" value="ifred" id="ifred" name="do_action" class="radio">取消/标题套红</label>
  91. <label for="ifbold"><input type="radio" value="ifbold" id="ifbold" name="do_action" class="radio">取消/标题加粗</label>
  92. </td>
  93. </tr>
  94. </table>
  95. </div>
  96. <center><input type="submit" value="提 交" class="mymps large"/></center>
  97. </form>
  98. <div class="pagination"><?php echo page2();?></div>
  99. <?php mymps_admin_tpl_global_foot();?>