<meta charset="UTF-8">
	<title>信息</title>
	<style type="text/css">
		.b1{background-color: #dfdfdf;height: 20px;}
		.b2{height: 20px;}
	</style>
</head>
<body>
	<h2>接受</h2>
	<?php 
if (is_array($friendmessage)) {
    foreach ($friendmessage as $key => $vo) {
        ?>
<div>
			<?php 
        echo getNicknameByEnId($vo["user_en_id"]);
        ?>
			<a href="<?php 
        echo U('User/friend_agree', array('id' => $vo[user_en_id]));
        ?>
">同意</a>
			<a href="<?php 
        echo U('User/friend_disagree', array('id' => $vo[user_en_id]));
        ?>
">不同意</a>
			<a href="<?php 
        echo U('User/friend_ignore', array('id' => $vo[user_en_id]));
        ?>
">忽略</a>
		</div><?php 
    }
        ?>
<div>
			<h3><?php 
        echo $vo["name"];
        ?>
 <input class="contactsName" type="text" /><a href="#" onclick="edit_contacts(this)">修改名字</a><input class="contactsOname" type="hidden" value="<?php 
        echo $vo["name"];
        ?>
"/></h3>
		<ul>
			<?php 
        if (is_array($vo[friend])) {
            foreach ($vo[friend] as $key => $it) {
                ?>
<li><?php 
                echo getNicknameByEnId($it["friend_en_id"]);
                ?>
 <a href="">删除</a> <a href="">加入黑名单</a> <a href="<?php 
                echo U('User/moveContacts', array('fenid' => $it[friend_en_id]));
                ?>
">移至</a></li><?php 
            }
        }
        ?>
			
		</ul>
		</div><?php 
    }
}
?>
	<script type="text/javascript">
<?php

if (!defined('THINK_PATH')) {
    exit;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>记录</title>
</head>
<body>
	<h1><?php 
echo getNicknameByEnId($itenid);
?>
</h1>
	<h2>发送</h2>
	<ul>
		<?php 
if (is_array($data_send)) {
    foreach ($data_send as $key => $vo) {
        ?>
<li><?php 
        echo $vo[content];
        ?>
</li><?php 
    }
}
?>