commentsettings.tpl.php 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php include mymps_tpl('inc_head');?>
  2. <style>
  3. .vbm td li{ margin:10px 0!important;}
  4. </style>
  5. <div id="<?=MPS_SOFTNAME?>" style="padding-bottom:0">
  6. <div class="mpstopic-category">
  7. <div class="panel-tab">
  8. <ul class="clearfix tab-list">
  9. <li><a href="config.php?part=imgcode" <?php if($part == 'imgcode'){?>class="current"<?php }?>>验证码控制</a></li>
  10. <li><a href="config.php?part=checkask" <?php if($part == 'checkask'){?>class="current"<?php }?>>验证问答设置</a></li>
  11. <li><a href="config.php?part=badwords" <?php if($part == 'badwords'){?>class="current"<?php }?>>过滤设置</a></li>
  12. <li><a href="config.php?part=commentsettings" <?php if($part == 'commentsettings'){?>class="current"<?php }?>>评论点评设置</a></li>
  13. </ul>
  14. </div>
  15. </div>
  16. </div>
  17. <form action="?config.php?" method="post">
  18. <input name="part" type="hidden" value="commentsettings">
  19. <input name="action" type="hidden" value="do_post">
  20. <div id="<?=MPS_SOFTNAME?>">
  21. <table border="0" cellspacing="0" cellpadding="0" class="vbm">
  22. <tr class="firstr">
  23. <td colspan="2" align="left">评论/点评设置</td>
  24. </tr>
  25. <tr bgcolor="#ffffff">
  26. <td align="left" class="altbg1" width="250">
  27. 信息评论/information
  28. </td>
  29. <td align="left" valign="top" style="line-height:25px;">
  30. <label for="information_0"><input type="radio" name="comment[information]" id="information_0" class="checkbox" value="0" <?php if($comment['information'] == 0) echo 'checked';?>>关闭评论</label><br />
  31. <label for="information_1"><input type="radio" name="comment[information]" id="information_1" class="checkbox" value="1" <?php if($comment['information'] == 1) echo 'checked';?>>开启匿名评论</label><br />
  32. <label for="information_2"><input name="comment[information]" type="radio" id="information_2" class="checkbox" value="2" <?php if($comment['information'] == 2) echo 'checked';?>>开启会员评论</label>
  33. </td>
  34. </tr>
  35. <tr bgcolor="#ffffff">
  36. <td align="left" class="altbg1">
  37. 新闻评论/news
  38. </td>
  39. <td align="left" valign="top" style="line-height:25px;">
  40. <label for="news_0"><input type="radio" name="comment[news]" id="news_0" class="checkbox" value="0" <?php if($comment['news'] == 0) echo 'checked';?>>关闭评论</label><br />
  41. <label for="news_1"><input type="radio" name="comment[news]" id="news_1" class="checkbox" value="1" <?php if($comment['news'] == 1) echo 'checked';?>>开启匿名评论</label><br />
  42. <label for="news_2"><input name="comment[news]" type="radio" id="news_2" class="checkbox" value="2" <?php if($comment['news'] == 2) echo 'checked';?>>开启会员评论</label>
  43. </td>
  44. </tr>
  45. <tr bgcolor="#ffffff">
  46. <td align="left" class="altbg1">
  47. 学校点评/school
  48. </td>
  49. <td align="left" valign="top" style="line-height:25px;">
  50. <label for="school_0"><input type="radio" name="comment[store]" id="school_0" class="checkbox" value="0" <?php if($comment['school'] == 0) echo 'checked';?>>关闭评论</label><br />
  51. <label for="school_1"><input type="radio" name="comment[store]" id="school_1" class="checkbox" value="1" <?php if($comment['school'] == 1) echo 'checked';?>>开启匿名点评</label><br />
  52. <label for="school_2"><input name="comment[store]" type="radio" id="school_2" class="checkbox" value="2" <?php if($comment['school'] == 2) echo 'checked';?>>开启会员点评</label>
  53. </td>
  54. </tr>
  55. </table>
  56. </div>
  57. <center>
  58. <input class="mymps large" name="<?=CURSCRIPT?>_submit" value="提 交" type="submit" > &nbsp;
  59. </center>
  60. </form>
  61. <?php mymps_admin_tpl_global_foot();?>