📄 membershowfeedback.php
字号:
<?php
require("../../class/connect.php");
include("../../class/db_sql.php");
include("../../class/config.php");
include("../../class/functions.php");
include("../../class/user.php");
$link=db_connect();
$empire=new mysqlquery();
$logininid=getcvar('loginuserid');
$loginin=getcvar('loginusername');
$loginrnd=getcvar('loginrnd');
$loginlevel=getcvar('loginlevel');
$editor=1;
is_login($logininid,$loginin,$loginrnd);
//验证权限
CheckLevel($logininid,$loginin,$classid,"spacedata");
$fid=(int)$_GET['fid'];
$r=$empire->fetch1("select fid,name,company,phone,fax,email,address,zip,title,ftext,userid,ip,uid,uname,addtime,userid from {$dbtbpre}enewsmemberfeedback where fid='$fid'");
if(!$r['fid'])
{
printerror('ErrorUrl','',1);
}
if($r['uid'])
{
$r['uname']="<a href='../../space/?userid=$r[uid]' target='_blank'>$r[uname]</a>";
}
else
{
$r['uname']='游客';
}
$ur=$empire->fetch1("select ".$user_username." from ".$user_tablename." where ".$user_userid."='$r[userid]'");
$username=doUtfAndGbk($ur[$user_username],1);
db_close();
$empire=null;
//风格
$loginadminstyleid=(int)getcvar('loginadminstyleid');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>查看反馈信息</title>
<link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class=tableborder style='word-break:break-all'>
<tr class=header>
<td height="25" colspan="2">标题:
<?=$r[title]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">空间主人:</td>
<td height="25"><a href="../../space/?userid=<?=$r[userid]?>" target="_blank"><?=$username?></a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="19%" height="25">提交者:</td>
<td width="81%" height="25">
<?=$r[uname]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">发布时间:</td>
<td height="25">
<?=$r[addtime]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">IP地址:</td>
<td height="25">
<?=$r[ip]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">姓名:</td>
<td height="25">
<?=$r[name]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">公司名称:</td>
<td height="25">
<?=$r[company]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">联系邮箱:</td>
<td height="25">
<?=$r[email]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">联系电话:</td>
<td height="25">
<?=$r[phone]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">传真:</td>
<td height="25">
<?=$r[fax]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">联系地址:</td>
<td height="25">
<?=$r[address]?>
邮编:
<?=$r[zip]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">信息标题:</td>
<td height="25">
<?=$r[title]?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" valign="top">信息内容:</td>
<td height="25">
<?=nl2br($r[ftext])?>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" colspan="2"><div align="center">[ <a href="javascript:window.close();">关
闭</a> ]</div></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -