<?php
require_once("check.php");
$urlsql = "SELECT *
FROM `dunling_pindao` AS t1 JOIN (SELECT ROUND(RAND() * ((SELECT MAX(id) FROM `dunling_pindao`)-(SELECT MIN(id) FROM `dunling_pindao`))+(SELECT MIN(id) FROM `dunling_pindao`)) AS id) AS t2
WHERE t1.id >= t2.id
ORDER BY t1.id LIMIT 1";
$urlery = mysql_query($urlsql,$config);
$url = mysql_fetch_array($urlery);
$url = "http://".$url['url']."/?uid=".$uid;
?>
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" href="style/menber.css" rel="stylesheet" />
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/menber.js"></script>
</head>
<body>
<title><?php echo $username;?>的会员中心</title>
<div id="weixinshoucang"></div>
<div id="a">
<div id="user">
<div class="userinfo">用户 "<?php echo $nicheng;?>" 的收益统计</div>
<div class="money"><span style="font-size:20px;">&yen;</span>&nbsp;<?php echo $moneypay;?></div>
<div class="info">
<div class="left"><?php echo $moneypay;?><br />可提现余额</div>
<div class="left"><?php echo $ticheng;?><br />下线提成</div>
<div class="left"><?php echo $money;?><br />累计总收入</div>
</div>
</div>
<div id="gonggao"></div>
<div id="main">
<div id="alert"></div>
<div class="left" style="background-color: #E3E3E3;" id="core/1.php">
<div style="margin-top:17px;width: 32px;height:32px;background-image:url('images/1.png');margin-left:auto;margin-right:auto;"></div>
<div>新手学堂</div>
</div>

<div class="right" id="core/2.php">
<div style="margin-top:17px;width: 32px;height:32px;background-image:url('images/2.png');margin-left:auto;margin-right:auto;"></div>
<div>个人资料</div>
</div>

<div class="left_share" id="core/3.php" onclick="location.href='<?php echo $url;?>'">
<div style="margin-top:17px;width: 32px;height:32px;background-image:url('images/3.png');margin-left:auto;margin-right:auto;"></div>
<div>分享赚钱</div>
</div>

<div class="right" style="background-color: #E3E3E3;" id="core/4.php">
<div style="margin-top:17px;width: 32px;height:32px;background-image:url('images/7.png');margin-left:auto;margin-right:auto;"></div>
<div>推荐赚钱</div>
</div>

<div class="left_share" style="background-color: #E3E3E3;" id="qiandao">
<div style="margin-top:17px;width: 32px;height:32px;background-image:url('images/10.png');margin-left:auto;margin-right:auto;"></div>
<div>每日签到</div>
</div>

<div class="right"  id="core/6.php">
<div style="margin-top:17px;width: 32px;height:32px;background-image:url('images/4.png');margin-left:auto;margin-right:auto;"></div>
<div>我要提现</div>
</div>

<div class="left_share" id="shoucang">
<div style="margin-top:17px;width: 32px;height:32px;background-image:url('images/5.png');margin-left:auto;margin-right:auto;"></div>
<div>收藏我们</div>
</div>

<div class="right_out" style="background-color: #E3E3E3;" id="out" >
<div style="margin-top:17px;width: 32px;height:32px;background-image:url('images/6.png');margin-left:auto;margin-right:auto;"></div>
<div>退出登录</div>
</div>
</div>
</div>

<div id="fooler">&nbsp;</div>
<div id="bottom">
<div class="a">收入明细</div>
<div class="b" onclick="location.href='<?php echo $url;?>'">分享赚钱</div>
<div class="c">推荐赚钱</div>
<div class="d" style="background-color: yellow;color:red;">个人中心</div>
</div>


<div id="menber">
<div id="close">返回</div>
<iframe src="" width="100%" height="100%" frameborder="0" scrolling="auto" ></iframe>
</div>
<div style="display: none;">统计代码</div>
</body>