member_comment.tpl.php 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php include mymps_tpl('inc_head');?>
  2. <style>
  3. .start0 { background:url('images/review_start.gif') no-repeat 0 -1px; width:58px; height:15px; }
  4. .start1 { background:url('images/review_start.gif') no-repeat 0 -15px; width:58px; height:15px; }
  5. .start2 { background:url('images/review_start.gif') no-repeat 0 -29px; width:58px; height:15px; }
  6. .start3 { background:url('images/review_start.gif') no-repeat 0 -43px; width:58px; height:15px; }
  7. .start4 { background:url('images/review_start.gif') no-repeat 0 -57px; width:58px; height:15px; }
  8. .start5 { background:url('images/review_start.gif') no-repeat 0 -71px; width:58px; height:15px; }
  9. </style>
  10. <script type="text/javascript" src="/template/global/messagebox.js"></script>
  11. <script type="text/javascript" src="js/vbm.js"></script>
  12. <div id="<?=MPS_SOFTNAME?>" style="padding-bottom:0">
  13. <div class="mpstopic-category">
  14. <div class="panel-tab">
  15. <ul class="clearfix tab-list">
  16. <li><a href="?commentlevel=l2" <?php if($commentlevel == 'l2'){?>class="current"<?php }?>>全部</a></li>
  17. <li><a href="?commentlevel=l0" <?php if($commentlevel == 'l0'){?>class="current"<?php }?>>待审</a></li>
  18. <li><a href="?commentlevel=l1" <?php if($commentlevel == 'l1'){?>class="current"<?php }?>>正常</a></li>
  19. </ul>
  20. </div>
  21. </div>
  22. </div>
  23. <form name='form1' method='post' action='?'>
  24. <input name="url" type="hidden" value="<?=GetUrl()?>">
  25. <div id="<?=MPS_SOFTNAME?>">
  26. <table border="0" cellspacing="0" cellpadding="0" class="vbm">
  27. <tr class="firstr">
  28. <td width="40">选择</td>
  29. <td>状态</td>
  30. <td>回复时间</td>
  31. <td>点评对象</td>
  32. <td>点评人</td>
  33. <td>点评时间</td>
  34. </tr>
  35. <?
  36. foreach($comment AS $list)
  37. {
  38. ?>
  39. <tr align="center" bgcolor="#f5fbff" >
  40. <td><input type='checkbox' name='ids[]' id='<?=$list[id]?>' value='<?=$list[id]?>' class='checkbox'></td>
  41. <td><?php if (empty($list['commentlevel'])) echo '<font color=red>[待审]</font>'; else echo '<font color=green>[正常]</font>'?></td>
  42. <td><a href="javascript:noneblock('pm_<?=$list[id]?>');"><? echo $list[retime] ? GetTime($list[retime]) : '<font color="#999">未回复</font>';?></a></td>
  43. <td><a href="javascript:setbg('<?=MPS_SOFTNAME?>会员中心',400,110,'../box.php?part=member&userid=<?=$list[userid]?>')"><?=$list[tname]?>(<?=$list[userid]?>)</a></td>
  44. <td><?=$list[fromuser]?></td>
  45. <td>
  46. <?=GetTime($list[pubtime])?></td>
  47. </tr>
  48. <tr style="background-color:white; <?php if (!empty($list['commentlevel'])){echo 'display:none';}?>" id="pm_<?=$list[id]?>">
  49. <td>&nbsp;</td>
  50. <td colspan="8">
  51. <div class="pm_view">
  52. <?=$list[content]?>
  53. </div>
  54. <div style="margin:0 5px 10px 5px; padding:10px; background-color:#f2f2f2"><b>喜欢程度:</b>
  55. <?php if($list[enjoy] == '0'){echo '不喜欢';}elseif($list[enjoy] == '1'){echo '无所谓';}elseif($list[enjoy] == '2'){echo '喜欢';}elseif($list[enjoy] == '3'){echo '很喜欢';}?>
  56. <hr style="height:1px; color:#dedede"/>
  57. <?php if($list[reply]){?>
  58. <div style="margin:0 5px 10px 5px; padding:10px; background-color:#f2f2f2">
  59. <b>回复内容:</b><?=$list[reply]?><hr style="height:1px; color:#dedede"/><b>回复时间:</b><?=GetTime($list[retime])?>
  60. </div>
  61. <?php }?>
  62. </div>
  63. </td>
  64. </tr>
  65. <?
  66. }
  67. ?>
  68. <tr bgcolor="#ffffff" height="28">
  69. <td align="center" style="border-right:1px #fff solid;"><input name="checkall" type="checkbox" class='checkbox' id="checkall" onClick="CheckAll(this.form)"/></td>
  70. <td colspan="9">
  71. <label for="delall"><input type="radio" value="delall" id="delall" name="part" class="radio">批量删除</label>
  72. <?php foreach($mlevel as $k => $v){?>
  73. <label for="level<?=$k?>"><input type="radio" value="level.<?=$k?>" id="level<?=$k?>" name="part" class="radio">转为<?=$v?></label>
  74. <?php }?> 
  75. </td>
  76. </tr>
  77. </table>
  78. </div>
  79. <center><input type="submit" value="提 交" class="mymps large" name="member_comment_submit"/></center>
  80. </form>
  81. <div class="pagination"><?echo page2()?></div>
  82. <?php mymps_admin_tpl_global_foot();?>