
<?php if( !defined( 'ONGPHP')) exit( 'Error ONGSOFT');
/*查询会员*/
plus(array('p','jiami','jianli','mima','shanchu','qcurl','qfopen','x','memcc','txtcc','db','isutf8','setsession','pagec','pinyin','ip','post','funciton','tcpcc','mongodbcc','vcode','ipdiqu','update','route','sslget','sslpost'));
$Memsession =  $Mem = new txtcc();

$Mem1 = new txtcc(ONGPHP.'/mode/');
$shezhi = $Mem1->g('shezhi');

$huiyuan = $user = uid( $_SESSION['uid'],1 );
$openid = isset($_GET['openid']) ? $_GET['openid'] :'';


if ($openid!='') {
  
  if ($huiyuan['weixin']=='') {
      
      $tiaojian = array(
            'weixin' => $openid
          );
      $fan = $D ->setbiao('user')->where( array("uid"=>$_SESSION['uid']))-> update( $tiaojian );

  }else{



  }

}


?>

<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title><?php echo $shezhi['title']?></title>
    <script src="/js/jQuery-2.1.4.min.js"></script>
    <script src="/js/fontsize.js"></script>
    <link rel="stylesheet" href="/css/reset.css">
    <link rel="stylesheet" href="/css/index.css">
    <script src='/js/layer.js'></script>
</head>
<audio autoplay id="bgMusic"  src="666.mp3" loop="loop" style="display:none"></audio>
<body>
<script>
   function autoPlayAudio() {
        wx.config({
            // 配置信息, 即使不正确也能使用 wx.ready
            debug: false,
            appId: '',
            timestamp: 1,
            nonceStr: '',
            signature: '',
            jsApiList: []
        });
        wx.ready(function() {
            var globalAudio=document.getElementById("bgMusic");
            globalAudio.play();
        });
    };
// 解决ios音乐不自动播放的问题
autoPlayAudio();
</script>
<header>
    <div class="tip"><img src="/images/laba.png" alt=""><marquee  behavior="" direction=""><?php echo $shezhi['ads'] ?></marquee></div>
    <a href="?action=kefu"><div class="kf"><img src="/images/kf.png" alt=""></div></a>
</header>
<div class="db">
    <img src="/images/db.png" alt="">
</div>
<div class="main">
    <a href="?action=tousu" class="ts"><p ><img src="/images/ts.png" alt=""><span>投诉举报</span></p></a>
    <a href="?action=duihuan" class="ts hd"><div ><img src="/images/tx.png" alt=""><span>游戏提现</span></div></a>
    <a href="?action=jifenlog" class="ts hd"><div ><img src="/images/hd.png" alt=""><span>优惠活动</span></div></a>
    <a href="?action=chongzhi" class="ts jc"><div ><img src="/images/cz.png" alt=""><span>游戏充值</span></div></a>
    <a href="?action=xinshou" class="ts jc"><div ><img src="/images/jc.png" alt=""><span>新手教程</span></div></a>
    <a href="?action=kefu" class="ts jy"><div ><img src="/images/hj.png" alt=""><span>永久入口</span></div></a>
    <a href="?action=orderlog" class="ts jy"><div ><img src="/images/jy.png" alt=""><span>交易明细</span></div></a>
    <a href="?action=fenxiang"><div class="ts dl"><img src="/images/dl.png" alt=""><span>代理赚钱</span></div></a>
    <a href="?action=zhuye"><div class="play">
            <img src="/images/play.png" alt="">
        </div></a>
</div>
<div class="but">
    <p><span>当前余额: <?php echo $user['jine'] ?></p>
    <p><span>您的账户: <?php echo $user['uid'] ?></p>
</div>
<div class="modle"></div>
<div class="models"  style="height: 8rem" data-modle='tk'>
    <div class="title">提示</div>
    <div class="td" id="msg"></div>
</div>
<script src='/tpl/home/yunding/js/index.js'></script>
<script src='/tpl/home/yunding/js/custom.js'></script>
<script>

</script>
</body>
</html>

