document.tpl.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php include mymps_tpl('inc_head');?>
  2. <div id="<?=MPS_SOFTNAME?>" style="padding-bottom:0">
  3. <div class="mpstopic-category">
  4. <div class="panel-tab">
  5. <ul class="clearfix tab-list">
  6. <li><a href="document.php?do=document" <?php if(empty($if_check)){?>class="current"<?php }?>>全部</a></li>
  7. <li><a href="document.php?do=document&if_check=1" <?php if($if_check == '1'){?>class="current"<?php }?>>待审</a></li>
  8. <li><a href="document.php?do=document&if_check=2" <?php if($if_check == '2'){?>class="current"<?php }?>>正常</a></li>
  9. </ul>
  10. </div>
  11. </div>
  12. </div>
  13. <form action="document.php" method="post">
  14. <input name="url" type="hidden" value="<?=GetUrl()?>">
  15. <input name="do" type="hidden" value="docu">
  16. <div id="<?=MPS_SOFTNAME?>">
  17. <table border="0" cellspacing="0" cellpadding="0" class="vbm" >
  18. <tr class="firstr">
  19. <td width="50"></td>
  20. <td>状态</td>
  21. <td>标题</td>
  22. <td>会员名</td>
  23. <td>发布时间</td>
  24. </tr>
  25. <tbody onmouseover="addMouseEvent(this);">
  26. <?php foreach($docu AS $row){?>
  27. <tr bgcolor="white" >
  28. <td><input type='checkbox' name='ids[]' value='<?=$row[id]?>' class='checkbox' id="<?=$row[id]?>"></td>
  29. <td><?php echo $row[if_check] == 1 ? '<font color=green>正常</font>' :'<font color="red">待审</font>';?></td>
  30. <td align="left"><a href="../store.php?user=<?=$row[userid]?>&part=document&id=<?=$row[id]?>" target="_blank" title="<?=$row[title]?>"><?=$row[title]?></a></td>
  31. <td><a href="javascript:
  32. setbg('<?=MPS_SOFTNAME?>会员中心',400,110,'../box.php?part=member&userid=<?=$row[userid]?>&admindir=<?=$admindir?>')"><?=$row[tname].'('.$row[userid].')'?></a></td>
  33. <td><em><?=GetTime($row[pubtime])?></em></td>
  34. </tr>
  35. <?}?>
  36. </tbody>
  37. <tr bgcolor="#ffffff" height="28">
  38. <td align="center" style="border-right:1px #fff solid;"><input name="checkall" type="checkbox" class='checkbox' id="checkall" onClick="CheckAll(this.form)"/></td>
  39. <td colspan="9">
  40. <label for="delall"><input type="radio" value="delall" id="delall" name="part" class="radio">批量删除</label>
  41. <?php foreach($mlevel as $k => $v){?>
  42. <label for="level<?=$k?>"><input type="radio" value="level.<?=$k?>" id="level<?=$k?>" name="part" class="radio">转为<?=$v?></label>
  43. <?php }?> 
  44. </td>
  45. </tr>
  46. </table>
  47. </div>
  48. <center><input type="submit" value="提 交" class="mymps large" name="document_submit"/></center>
  49. </form>
  50. <div class="pagination"><?php echo page2();?></div>
  51. <?php mymps_admin_tpl_global_foot();?>