<?php if($_SESSION['duoduouser']!=''){?>
<div id="Main_2_right_hou">
<DIV class=main_login2>
<DIV class=user_name>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
  <TBODY>
  <TR>
    <TD rowSpan=2 width="25%"><IMG 
      src="template/<?=MOBAN?>/img/user_tx.png" width=35 
      height=40></TD>
    <TD width="75%">欢迎您： <?=$_SESSION["duoduouser"]?></TD></TR>
  <TR>
    <TD>等级：<?php if($dengji<DENGJI1) echo "<img src=\"../images/v0.gif\"  alt=\"普通会员\" />";else if($dengji>=DENGJI1&&$dengji<DENGJI2) echo "<img src=\"../images/v1.gif\"  alt=\"黄金会员\"/>";else if($dengji>=DENGJI2&&$dengji<DENGJI3) echo "<img src=\"../images/v2.gif\" alt=\"白金会员\"  />";  else echo "<img src=\"../images/v3.gif\" alt=\"钻石会员\" />";?></TD></TR></TBODY></TABLE></DIV>
<UL>
  <p>金额：<span class="STYLE1"><?=number_format($money,2)?></span>&nbsp;元&nbsp;<?php
if($txstate=='1'){
	echo "<a href=\"user/mingxilist.php?act=out\"><font color=#dd0000>提现处理中...</font></a>";
}else{
	if($money==0){
		echo "还差<em>".(TIXIANJE-$money)."</em>元即可提现";
	}elseif($money<TIXIANJE){
		echo "还差<em>".(TIXIANJE-$money)."</em>元即可提现";
	}else{
		echo "<input name=\"tx\" onclick=\"window.location='user/tixian.php'\" value=\"提取现金\" class=smt type=\"button\" />";
	}
}
?></p>
   <p>我的淘宝订单：<a href="user/tradelist.php?act=taobao"><font color=#0080C0>查看详细</font></a></p>
   <p>我的推广链接：<a href="user/tuiguang_url.php"><font color=#0080C0>获取链接</font></a> </p>
 </UL>
<DIV class=user_center><A href="/user/center.php" title="管理中心"><IMG 
src="template/<?=MOBAN?>/img/user_center.gif"></A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A href="/user/exit.php" title="安全退出"><IMG 
src="template/<?=MOBAN?>/img/user_exit.gif"></A></DIV>

<DIV class=qq_list1>
		&nbsp;&nbsp;&nbsp;&nbsp;联系在线客服：
		<UL>
			<li class="qq" style="height:30px; padding-top:1px; padding-left:5px;">
			<a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid=zcfanli5&site=cntaobao&s=1&charset=utf-8" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=zcfanli5&site=cntaobao&s=1&charset=utf-8" alt="点击这里给我发消息" /></a>
			&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?=QQ?>&site=qq&menu=yes"><img border="0" src="../template/jilemai/img/qq.gif" alt="点击这里和我联系！" title="点击这里和我联系！"></a>
           </UL>
		</div>
</DIV>
</div>

<?php }else {?>

<FORM onSubmit="return checkform();" method=post name=loginbox action=/user/checklogin.php>
<!--登陆前-->
<div id="Main_2_right">

<div class="index_logina">
<form method="post" action="../user/checklogin.php" onsubmit="return checkall()">
<div class="index_loginb">

    <p class="index_loginbp"><input name="username" type="text" onblur="if (value ==''){value=this.defaultValue}" 
      onfocus="if (value ==this.defaultValue){value =''}" value="您的用户名" class="index_logininput" id="username" /></p>

    <p class="index_loginap"><input name="password" type="password" id="password" onblur="if (value ==''){value=this.defaultValue}" 
      onfocus="if (value ==this.defaultValue){value =''}" value="........" class="index_logininput" /></p></div>


    <div class="index_logind">
    <input type="submit" name="Submit" value=""/></div>
   </form>
   </div>
   
   
    <div class="index_loginc">
         <a href="user/register.php">立即注册</a>&nbsp;&nbsp;<font class="logfont">|</font>&nbsp;&nbsp;
         <a href="user/getpassword.php">忘记密码?</a>
     </div>


<div class="index_logine">
    
	  <div id="divtext">淘宝帐号登陆：</div>
	<div id="divimg">
        <a title="使用淘宝帐号登陆本站，一键登陆，无需另外注册" href="../api/login_tb/login.php/"><img src="/template/<?=MOBAN?>/images/tao-btn.gif"></a>

    </div>
 
</div>
<div class="index_logine1">
		
		<div id="divtext">QQ 帐号登陆：</div>
	<div id="divimg">
        <a title="使用QQ号登陆本站，一键登陆，无需另外注册" href="../api/qqspace/oauth/redirect_to_login.php"><img src="/template/<?=MOBAN?>/images/qq-btn.gif"></a>

    </div>
		</div>

    


</div>

<?php }?>

