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

100 lines
3.9KB

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