国内流行的内容管理系统(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.

82 lines
3.0KB

  1. {dede:include file='header.htm'/}
  2. <div id="side" class="left">
  3. {dede:include file='side_icon.htm' /}
  4. {dede:include file='side_news.htm' /}
  5. {dede:include file='side_visitor.htm' /}
  6. </div>
  7. <!--begin main-->
  8. <div id="main" class="right">
  9. <div class="box">
  10. <h2>留言列表</h2>
  11. <!--begin-->
  12. <div class="text">
  13. <!--begin comment-->
  14. <div class="comment bb">
  15. <div id="newgbook"></div>
  16. {dede:datalist}
  17. <a name="1"></a>
  18. <dl id="dl_1">
  19. <dd class="comment-pic left">
  20. <?php if($fields['face']==''){
  21. $face=($fields['sex']=='女')? 'templets/images/dfgirl.png' : 'templets/images/dfboy.png';
  22. echo '<img src="'.$face.'" width="50" height="50"/>';
  23. }else{
  24. echo '<img src="'.$fields['face'].'" width="50" height="50" alt="'.$fields['uname'].'的头像" />';
  25. } ?>
  26. </dd>
  27. <dd>
  28. <a href="index.php?uid={dede:field.userid/}" class="big b">{dede:field.uname/}</a>
  29. <span class="gray">{dede:field.dtime function="MyDate('Y-m-d H:i',@me)" /}</span>
  30. </dd>
  31. <dd class="comment-content">
  32. <div>{dede:field.msg function="Text2Html(@me)" /}</div>
  33. <span id="s_1"></span>
  34. <div id="r_1">
  35. <div class="re-comment" style="display:none;">
  36. <b><a href='index.php?uid={dede:field.uname/}'></a> 于 回复:</b>
  37. <div id="r_content_1"></div>
  38. </div>
  39. </div>
  40. </dd>
  41. </dl>
  42. {/dede:datalist}
  43. <div class="big"><div class="pages">{dede:pagelist/}</div></div>
  44. <div class="post-comment">
  45. <h5>发表留言</h5>
  46. <div>
  47. <form action="index.php" name="form1" method="post">
  48. <input type="hidden" id="guser" value="{dede:var.uname /}" />{dede:var.uname /}:
  49. <input type="hidden" name="action" value="guestbooksave" />
  50. <input type="hidden" name="uidnum" value="{dede:var.mid/}" />
  51. <input type="hidden" name="uid" value="{dede:var.userid/}" />
  52. <input type="hidden" name="uname" type="text" id="uname" value="<?php if(isset($cfg_ml->M_LoginID) && $cfg_ml->M_LoginID!='') echo $cfg_ml->M_LoginID; ?>" />
  53. </div>
  54. <div>标题:<input name="title" type="text" id="title" class="ip" style="width:250px;height:15px;" /></div>
  55. <div>
  56. <textarea class="ip" name="msg" id="msg" style="width:95%;height:8em"></textarea>
  57. <span style="margin-top:-1em;padding:3px; text-align:right; width:200px; position:absolute">
  58. </div>
  59. </span>
  60. </div>
  61. <table>
  62. <tr>
  63. <td>验证码:</td>
  64. <td><input name="vdcode" type="text" id="vdcode" size="10" style="height:16px;width:60px;" class="ip" /></td>
  65. <td><img src='../plus/vdimgck.php' width='60px' height='20px' /></td>
  66. <td>&nbsp;<input name="sbbt" type="submit" value="发送留言" style="width:60px;height:22px" /></td>
  67. </tr>
  68. </table>
  69. </div>
  70. </form>
  71. <div class="c"></div>
  72. </div>
  73. <!--begin comment-->
  74. </div>
  75. <!--end-->
  76. </div>
  77. </div>
  78. <!--end main-->
  79. {dede:include file='footer.htm'/}