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

63 lines
3.3KB

  1. {dede:include file='header.htm'/}
  2. <div class="wrapper mT10">
  3. <div class="west">
  4. {dede:include file='side_icon.htm' /}
  5. {dede:include file='side_news.htm' /}
  6. {dede:include file='side_visitor.htm' /}
  7. </div>
  8. <div class="east">
  9. <dl class="border">
  10. <dt class="caption"><strong>留言</strong></dt>
  11. <dd class="body pB10"> {dede:datalist}
  12. <div class="allList pTB10 dashed">
  13. <div class="img"> <a href="index.php?uid={dede:field.uname/}&action=infos" title="{dede:field.uname/}" target="_blank">
  14. <?php if($fields['face']==''){
  15. $face=($fields['sex']=='女')? 'templets/images/dfgirl.png' : 'templets/images/dfboy.png';
  16. echo '<img src="'.$face.'" width="50" height="50"/>';
  17. }else{
  18. echo '<img src="'.$fields['face'].'" width="50" height="50" alt="'.$fields['uname'].'的头像" />';
  19. } ?> </a> </div>
  20. <div class="txt">
  21. <p class="p1 mB5">
  22. <h5 class="fLeft"><a href='index.php?uid={dede:field.uname/}'>{dede:field.uname/}</a>:</h5>
  23. <?php
  24. if($_vars['userid']==$cfg_ml->M_LoginID){
  25. echo "<span style='float:right'><a href='index.php?action=guestbookdel&aid=".$fields['aid']."&uid=".$_vars['userid']."&mid=".$fields['mid']."'>删除</a></span>";
  26. }
  27. ?>
  28. <span class="aGray fRight">{dede:field.dtime function="MyDate('Y-m-d H:i',@me)" /}</span>
  29. </p>
  30. <p class="p2 lh22 f14 aBlack clear">{dede:field.msg function="Text2Html(@me)" /}</p>
  31. </div>
  32. <div class="clearfix"></div>
  33. </div>
  34. {/dede:datalist}
  35. <div class="fRight mTB10 pd10">{dede:pagelist/}</div>
  36. <div class="clearfix"></div>
  37. </dd>
  38. </dl>
  39. <dl class="border mT10">
  40. <dt class="caption"><strong>给我留言</strong></dt>
  41. <dd class="body pB10">
  42. <form action="index.php" name="form1" method="post" class="f14">
  43. <input type="hidden" name="action" value="guestbooksave" />
  44. <input type="hidden" name="uidnum" value="{dede:var.mid/}" />
  45. <input type="hidden" name="uid" value="{dede:var.userid/}" />
  46. <label>标题:</label>
  47. <input name="title" type="text" id="title" class="ip" style="width:250px;height:15px;" />
  48. <textarea name="msg" id="msg" style="width:98%; height:120px;" class="clear mB10 text"></textarea>
  49. <button class="fRight button buttonBlue2" type="submit">提交</button>
  50. <label>昵称:</label>
  51. <input name="uname" type="text" id="uname" value="<?php if(isset($cfg_ml->M_LoginID) && $cfg_ml->M_LoginID!='') echo $cfg_ml->M_LoginID; ?>" class="text" style="width:100px;" />
  52. <label>验证码:</label>
  53. <input name="vdcode" type="text" class="text" id="vdcode" style="width:50px;text-transform:uppercase;" />
  54. <img src='../plus/vdimgck.php' width='50' height='20' align="absmiddle" /><a href="resetpassword.php" class="mL10 mR5">找回密码</a><a href="../member/index_do.php?fmdo=user&dopost=regnew" title="注册">注册</a>
  55. </form>
  56. <p class="mp10 textCenter aGray">以上网友发言只代表其个人观点,不代表本站的观点或立场。</p>
  57. </dd>
  58. </dl>
  59. </div>
  60. </div>
  61. {dede:include file='footer.htm'/}
  62. </body>
  63. </html>