MemberShowFeedback.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?php
  2. define('EmpireCMSAdmin','1');
  3. require("../../class/connect.php");
  4. require("../../class/db_sql.php");
  5. require("../../class/functions.php");
  6. require("../../member/class/user.php");
  7. $link=db_connect();
  8. $empire=new mysqlquery();
  9. $editor=1;
  10. //验证用户
  11. $lur=is_login();
  12. $logininid=$lur['userid'];
  13. $loginin=$lur['username'];
  14. $loginrnd=$lur['rnd'];
  15. $loginlevel=$lur['groupid'];
  16. $loginadminstyleid=$lur['adminstyleid'];
  17. //ehash
  18. $ecms_hashur=hReturnEcmsHashStrAll();
  19. //验证权限
  20. CheckLevel($logininid,$loginin,$classid,"spacedata");
  21. $fid=(int)$_GET['fid'];
  22. $r=$empire->fetch1("select fid,name,company,phone,fax,email,address,zip,title,ftext,userid,ip,uid,uname,addtime,userid,eipport from {$dbtbpre}enewsmemberfeedback where fid='$fid'");
  23. if(!$r['fid'])
  24. {
  25. printerror('ErrorUrl','',1);
  26. }
  27. if($r['uid'])
  28. {
  29. $r['uname']="<a href='../../space/?userid=$r[uid]' target='_blank'>$r[uname]</a>";
  30. }
  31. else
  32. {
  33. $r['uname']='游客';
  34. }
  35. $ur=$empire->fetch1("select ".egetmf('username')." from ".eReturnMemberTable()." where ".egetmf('userid')."='$r[userid]'");
  36. $username=$ur['username'];
  37. db_close();
  38. $empire=null;
  39. ?>
  40. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  41. <html>
  42. <head>
  43. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  44. <title>查看反馈信息</title>
  45. <link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
  46. </head>
  47. <body>
  48. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class=tableborder style='word-break:break-all'>
  49. <tr class=header>
  50. <td height="25" colspan="2">标题:
  51. <?=$r[title]?>
  52. </td>
  53. </tr>
  54. <tr bgcolor="#FFFFFF">
  55. <td height="25">空间主人:</td>
  56. <td height="25"><a href="../../space/?userid=<?=$r[userid]?>" target="_blank"><?=$username?></a></td>
  57. </tr>
  58. <tr bgcolor="#FFFFFF">
  59. <td width="19%" height="25">提交者:</td>
  60. <td width="81%" height="25">
  61. <?=$r[uname]?>
  62. </td>
  63. </tr>
  64. <tr bgcolor="#FFFFFF">
  65. <td height="25">发布时间:</td>
  66. <td height="25">
  67. <?=$r[addtime]?>
  68. </td>
  69. </tr>
  70. <tr bgcolor="#FFFFFF">
  71. <td height="25">IP地址:</td>
  72. <td height="25">
  73. <?=$r[ip]?>:<?=$r[eipport]?>
  74. </td>
  75. </tr>
  76. <tr bgcolor="#FFFFFF">
  77. <td height="25">姓名:</td>
  78. <td height="25">
  79. <?=$r[name]?>
  80. </td>
  81. </tr>
  82. <tr bgcolor="#FFFFFF">
  83. <td height="25">公司名称:</td>
  84. <td height="25">
  85. <?=$r[company]?>
  86. </td>
  87. </tr>
  88. <tr bgcolor="#FFFFFF">
  89. <td height="25">联系邮箱:</td>
  90. <td height="25">
  91. <?=$r[email]?>
  92. </td>
  93. </tr>
  94. <tr bgcolor="#FFFFFF">
  95. <td height="25">联系电话:</td>
  96. <td height="25">
  97. <?=$r[phone]?>
  98. </td>
  99. </tr>
  100. <tr bgcolor="#FFFFFF">
  101. <td height="25">传真:</td>
  102. <td height="25">
  103. <?=$r[fax]?>
  104. </td>
  105. </tr>
  106. <tr bgcolor="#FFFFFF">
  107. <td height="25">联系地址:</td>
  108. <td height="25">
  109. <?=$r[address]?>
  110. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;邮编:
  111. <?=$r[zip]?>
  112. </td>
  113. </tr>
  114. <tr bgcolor="#FFFFFF">
  115. <td height="25">信息标题:</td>
  116. <td height="25">
  117. <?=$r[title]?>
  118. </td>
  119. </tr>
  120. <tr bgcolor="#FFFFFF">
  121. <td height="25" valign="top">信息内容:</td>
  122. <td height="25">
  123. <?=nl2br($r[ftext])?>
  124. </td>
  125. </tr>
  126. <tr bgcolor="#FFFFFF">
  127. <td height="25" colspan="2"><div align="center">[ <a href="javascript:window.close();">关
  128. 闭</a> ]</div></td>
  129. </tr>
  130. </table>
  131. </body>
  132. </html>