国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
3.8KB

  1. <div class="clear center mt1 cmt-box">
  2. <div class="mt1">
  3. <dl class="tbox">
  4. <dt><strong>引用评论</strong></dt>
  5. <dd>
  6. <div class="dede_comment_post">
  7. <form action="feedback.php" method="post" name="ajaxfeedback_<?php echo $row['id']; ?>" id="ajaxfeedback_<?php echo $row['id']; ?>">
  8. <input type="hidden" name="action" value="send" />
  9. <input type="hidden" name="comtype" value="reply" />
  10. <input type="hidden" name="fid" value="<?php echo $row['id']; ?>" />
  11. <input type="hidden" name="isconfirm" value="yes" />
  12. <input type="hidden" name="typeid" value="<?php echo $row['typeid'];?>" />
  13. <div class="dcmp-title"> <small>请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。</small> </div>
  14. <!-- /dcmp-title -->
  15. <div class="dcmp-stand"> <strong>评价:</strong>
  16. <input type="radio" name="feedbacktype" checked="1" value="feedback" id="dcmp-stand-neu" />
  17. <label for="dcmp-stand-neu"><img src="{dede:global.cfg_templets_skin/}/images/cmt-neu.gif" />中立</label>
  18. <input type="radio" name="feedbacktype" value="good" id="dcmp-stand-good" />
  19. <label for="dcmp-stand-good"><img src="{dede:global.cfg_templets_skin/}/images/cmt-good.gif" />好评</label>
  20. <input type="radio" name="feedbacktype" value="bad" id="dcmp-stand-bad" />
  21. <label for="dcmp-stand-bad"><img src="{dede:global.cfg_templets_skin/}/images/cmt-bad.gif" />差评</label>
  22. </div>
  23. <!-- /dcmp-stand -->
  24. <div class="clr"></div>
  25. <!-- /dcmp-mood -->
  26. <div class="dcmp-content1">
  27. <input type="hidden" name="quotemsg" value="{quote}<?php echo '{content}'.$row['msg'].'{/content}'.'{title}'.$row['username'].' 的原帖:{/title}';?>{/quote}" />
  28. <textarea cols="60" name="msg" rows="5" class="ipt-txt" style="width:98%" id="msg_<?php echo $row['id']; ?>"></textarea>
  29. </div>
  30. <!-- /dcmp-content -->
  31. <div class="dcmp-post">
  32. <!--未登陆-->
  33. <div class="dcmp-userinfo"> 用户名:
  34. <?php if($cfg_ml->M_ID <= 0) { ?>
  35. <input name="username" type="text" id="username" size="10" class="nb" />
  36. (<a href="{dede:global.cfg_cmsurl/}/member/index_do.php?fmdo=user&dopost=regnew" target="_blank"><u>注册</u></a>)
  37. 密码:
  38. <input name="pwd" type="password" id="pwd" size="10"class="nb" />
  39. <?php
  40. }else{ echo $cfg_ml->M_LoginID."&nbsp;"; }
  41. ?>
  42. <input name="notuser" type="checkbox" id="notuser" value="1" />
  43. 匿名评论
  44. <?php if(preg_match("/4/",$safe_gdopen)){ ?>
  45. 验证码:
  46. <input name="validate" type="text" id="validate" size="10" style="height:18px;width:36px;margin-right:6px;text-transform: uppercase;" class="nb" />
  47. <img src='{dede:global.cfg_cmsurl/}/plus/vdimgck.php' width='60' height='24' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" id="vdimg_<?php echo $row['id']; ?>"/>
  48. <?php } ?>
  49. <button type="button" class="btn-2" onClick='javascript:if(CKEDITOR.instances.msg_<?php echo $row['id']; ?>.getData()!="") ajaxQuotePost(<?php echo $row['id']; ?>); else alert("评论内容不能为空!");'>发表评论</button>
  50. </div>
  51. <!-- /dcmp-submit -->
  52. </div>
  53. <!-- /dcmp-post -->
  54. </form>
  55. </div>
  56. <!-- /dede_comment_post -->
  57. </dd>
  58. </dl>
  59. </div>
  60. </div>