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

163 lines
6.0KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
  5. <title>消息管理 - 会员中心 - <?php echo $cfg_webname; ?></title>
  6. <link href="templets/style/base.css" rel="stylesheet" type="text/css" />
  7. <script type="text/javascript" src="../static/js/jquery.js"></script>
  8. <script type="text/javascript" src="templets/js/load.js"></script>
  9. <script type="text/javascript" src="templets/js/leftmenu.js"></script>
  10. <script type="text/javascript">
  11. function folderSelAll()
  12. {
  13. for(i=0;i<document.form1.deleteid.length;i++)
  14. {
  15. if(!document.form1.deleteid[i].checked)
  16. {
  17. document.form1.deleteid[i].checked=true;
  18. }
  19. }
  20. }
  21. //获得选中文件的文件名
  22. function GetCheckfolderItem()
  23. {
  24. var allSel='';
  25. if(document.form1.deleteid.value) return document.form1.deleteid.value;
  26. for(i=0;i<document.form1.deleteid.length;i++)
  27. {
  28. if(document.form1.deleteid[i].checked)
  29. {
  30. if(allSel=='')
  31. allSel=document.form1.deleteid[i].value;
  32. else
  33. allSel=allSel+","+document.form1.deleteid[i].value;
  34. }
  35. }
  36. return allSel;
  37. }
  38. function DoSubmit(myfolder)
  39. {
  40. var selid = GetCheckfolderItem();
  41. if(selid=='') {
  42. alert("你没选中任何信息!");
  43. return false;
  44. }
  45. if(window.confirm("你确定要删除这些消息么?"))
  46. {
  47. location = "pm.php?dopost=del&ids="+selid+"&folder="+myfolder;
  48. }
  49. }
  50. </script>
  51. </head>
  52. <body>
  53. <div id="main">
  54. <?php include(DEDEMEMBER."/templets/head.htm"); ?>
  55. <div id="content" class="w960 clearfix">
  56. <?php include(DEDEMEMBER."/templets/menu.php"); ?>
  57. <div id="mcpmain">
  58. <div id="appTab">
  59. <ul>
  60. <li class="thisTab"><a href="pm.php?dopost=send">写新消息</a></li>
  61. <li><a href="pm.php?folder=inbox">收件箱</a></li>
  62. <li><a href="pm.php?folder=outbox">发件箱</a></li>
  63. <li><a href="pm.php?folder=track">已发出信息</a></li>
  64. </ul>
  65. <div class="tabOther">
  66. </div>
  67. </div>
  68. <div id="mainCp" style="height:330px;">
  69. <h3 class="meTitle">发送新短消息</h3>
  70. <div class="postForm" style="padding-left: 20px; padding-right: 20px;width: 520px; float: left;">
  71. <form class="mTB10 mL10 mR10" action="pm.php" method="post" name="form1">
  72. <input type='hidden' name='dopost' value='savesend' />
  73. <p>
  74. <label>发送到:</label>
  75. <input name="msgtoid" type="text" class="intxt" value="<?php if(!empty($uid)) echo $uid; ?>" size="28" maxlength="100" style=" width:100px" id="msgtoid"/>
  76. <small> (填写用户的登录id(网址uid=后面跟的id)</small>
  77. </p>
  78. <p>
  79. <label>标题:</label>
  80. <input name="subject" type="text" class="intxt" value="" size="50" maxlength="70" style="width:300px;"/>
  81. <small> (60个字符节以内)</small>
  82. </p>
  83. <p style=" width:530px">
  84. <label>内容:</label>
  85. <textarea name="message" cols="50" rows="" style="width:300px;"></textarea>
  86. <small>(1000个字符以内)</small>
  87. </p>
  88. <?php
  89. if(preg_match("/5/",$safe_gdopen)){
  90. ?>
  91. <p>
  92. <label>验证码:</label>
  93. <input type="text" class="intxt w200" style="width: 50px; text-transform: uppercase;" id="vdcode" name="vdcode"/><img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清?点击更换" src="../plus/vdimgck.php"/>
  94. 看不清? <a href="javascript:void(0)" onclick="changeAuthCode();">点击更换</a></li>
  95. </p>
  96. <?php }?>
  97. <?php
  98. if($safe_faq_msg == '1'){
  99. $faqkey = array_rand($safefaqs);
  100. ?>
  101. <p>
  102. <label>验证问题:</label>
  103. <?php echo $safefaqs[$faqkey]['question'];?> (答案:<?php echo $safefaqs[$faqkey]['answer'];?>)<input class="intxt" name="safeanswer" type="text" id="safeanswer" size="25" style='width:150px;'/>
  104. <input type="hidden" name="faqkey" value="<?php echo $faqkey;?>" />
  105. <?php
  106. }
  107. ?>
  108. </p>
  109. <p><label><button class="button2" type="submit">发送</button></label></p>
  110. </form>
  111. </div>
  112. <div class="dedeRight">
  113. <!--好友列表 -->
  114. <script type="text/javascript">
  115. $(document).ready(function(){
  116. $(".buddy dt").click(function(){$(this).toggleClass("close");$(this).next("dd").toggle();});
  117. $(".buddy li").hover(function(){$(this).addClass("hover"); },function(){$(this).removeClass("hover"); });
  118. $('.uname').click(function()
  119. {
  120. var uname = $(this).text();
  121. $('#msgtoid').val(uname);
  122. });
  123. });
  124. </script>
  125. <div class="titleBar">
  126. <h5 class="fLeft">好友列表</h5>
  127. <span class="fRight"><a href="myfriend.php" title="好友管理">管理</a></span>
  128. </div>
  129. <dl class="buddy">
  130. <dt class="icon17">所有好友</dt>
  131. <dd>
  132. <ul>
  133. <?php
  134. foreach ($friends as $friend)
  135. {
  136. echo '<li class="thickbox"><span class="fLeft icon16"></span><span class="uname">'.$friend['funame'].'</span></li>';
  137. }
  138. ?>
  139. </ul>
  140. </dd>
  141. </dl>
  142. <!--好友搜索 -->
  143. <div class="buddySearch textCenter">
  144. <form action="search.php">
  145. <input class="text" type="text" name="keyword" value="" style="width:100px;" />
  146. <button class="button1" type="submit">搜</button>
  147. </form>
  148. </div>
  149. </div>
  150. </div>
  151. <!--主操作区域 -->
  152. </div>
  153. </div>
  154. <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
  155. </div>
  156. </body>
  157. </html>