<?php
global $db;
if(!IsNul($id)){ showmessage("出错了，请不要提交非法参数。",$_SERVER['HTTP_REFERER'],0); }
$sql="select S_ID,S_Namea,S_Nameb,S_Content,S_Xid,S_Did,S_Addtime from s_xiaoxi where S_ID=$id";
$row=$db->Getrow($sql);
$sqlu="select s_logo,S_RealName from s_users where S_name='".$row["S_Nameb"]."' order by s_id desc";
$rsu=$db->query($sqlu);
$rowu=$db->fetch_array($rsu);
?>
		<div class="userMain">
			<div class="uMain_title"><span class="iconNotification">通知</span></div>
			<div class="uMain_content">
				<div class="stageBox">
					<div class="stageBoxTop"><span></span></div>
					<div class="stageBoxCenter">
						<div class="stageBoxCenterContent">
							<div class="main_nav">
								<ul>
								<li class="navb_2"><a href="?ac=message&op=tz">通知</a></li>
								<li class="nava_4"><a href="?ac=message&op=hy">好友请求</a></li>
								</ul>
							</div>
							<div class="minHeight500" id="friendRequest">
								<div class="Ignore01">
	<span onClick="window.open('do.php?ac=msg&op=delhl')">全部忽略</span>
</div>
<div class="friendRequest">
	<ul>
				<li id="f-377911">
			<div class="icon"><a href="<?php echo userlink("index",$row["S_Nameb"])?>" target="_blank"><img class="avatar-58" src="<?php echo piclink("logo",$rowu["s_logo"],"big")?>" onerror="this.onerror=null;this.src='<?php echo S_SiteDomain?>/user/images/avatar/noface_small.gif'" title="<?php echo $row["S_Nameb"]?>"/></a></div>
			<div class="info">
				<div class="title"><span><a href="<?php echo userlink("index",$row["S_Nameb"])?>" target="_blank"><?php echo $row["S_Nameb"]?></a></span><span>请求加你为好友。是否同意？</span><span class="createTime"><?php echo datetime($row["S_Addtime"])?></span></div>
				<div><?php echo $rowu["S_RealName"]?><div class="action"><div><span class="button-main"><span><button type="button" onClick="window.open('do.php?ac=friend&op=yz&id=<?php echo $row["S_Nameb"]?>')">接受</button></span></span></div><div><span class="button2-main"><span><button type="button" onClick="window.open('do.php?ac=msg&op=del&id=<?php echo $row["S_ID"]?>','','')">忽略</button></span></span></div></div></div>
			</div>
		</li>


			</ul>
</div>
							</div>
						</div>
					</div>
					<div class="stageBoxBottom"><span></span></div>
				</div>
			</div>
