<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
<title>我的会员中心 - <?php echo $cfg_webname; ?></title>
<link href="/templets/skin/cm.css" rel="stylesheet" type="text/css" />
<link href="/templets/skin/default.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="/include/dedeajax2.js"></script>
<script language="javascript" src="/play/public.js"></script>
<script type="text/javascript" src="js/box.js"></script>
<script language="javascript" type="text/javascript">
<!--
	function CheckLogin(){
	  var taget_obj = document.getElementById('_userlogin');
	  myajax = new DedeAjax(taget_obj,false,false,'','','');
	  myajax.SendGet2("/member/ajax_loginsta.php");
	  DedeXHTTP = null;
	}
-->
</script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/head.htm"); ?>
<div class="bgcolor_w con_2">
    <div class="fL_">
	
       <div class="bordercolor_g con_2L1">
            <div class="con_2L1t">
                <div class="cont_">
                    <h4>空间信息</h4>
                </div>
                <div class="fR_">
                    <a class="gray_un" href=""></a>
                </div>
            </div>
<span></span> <br />
<span>我发表的音乐被试听次数:<?php echo $minfos['pagecount']; ?></span><br />
<span></span> <br />
<span>我的音乐空间总访问量：<?php echo $minfos['homecount']; ?></span><br />
<span></span> <br />
<span>我在这里认识的好友数量:<?php echo $minfos['friend']; ?></span><br />
<span></span> <br />
<span><a href="pm.php" title="短消息">我的短消息消息</a>(<?php echo $pms['nums'];?>)</span><br />
<span></span> <br />

             <div class="clear_"></div>
             <div class="con_2L1t">
                <div class="cont_">
                    <h4>最新专辑</h4>
                </div>
                <div class="fR_">
                    <a class="gray_un" href="/zhuanji/">全部</a>
                </div>
            </div>
            <div id="lblMyFavorites"> 
		 <?php
foreach ($zhuanjis as $zhuanji)
{
?>          
                <div class="con_2L1cL">
				<a class="d9"  href="<?php echo $zhuanji['htmlurl'];?>" title="<?php echo $zhuanji['title'];?>">
                   <img width="66" height="66"   src="<?php echo $zhuanji['litpic'];?>" border="0" /></a>
                </div>
				   <?php
}
?>
</div>
            <div class="clear_"></div>
        </div> 
        
    </div>
    <div class="con_2M">
        <div class="bordercolor_g3 con_2M1">
            <div class="cont_">
                <h4>大家都在做什么</h4>
            </div>
 
 
            <div class="con_1line"></div>
			<?php
foreach ($archives as $archive)
{
?>
  <div class="con_2M1c">
    <div class="con_2M1cR">
      <h5><a  href="index.php?uid=<?php echo $archive['userid'];?>" target="_blank"><font color="#FF6600"><?php echo $archive['userid'];?></font></a> 刚刚发表了"<a class="green_" href="<?php echo $archive['htmlurl'];?>" target="_blank"><?php echo $archive['title'];?></a>" 快去看看吧</h5>
      
    </div>
  </div>
  <div class="con_1line" style="margin-top:5px;"></div>
   <?php
}
?>
 
        </div>
 
    </div>
    <div class="fR_">
        <script type="text/javascript">
			$("document").ready(function(){
				$(".tipClose").click(function(){$(this).parent(".tip").animate({ height: 'toggle', opacity: 'toggle' }, "hide");})
			});
			</script>
			
            <?php
        switch($cfg_ml->M_Spacesta)
        {
        	case '-10':
        		echo "<div class='tip'>
            <div class='tipClose fRight'><span class='btna'>X</span></div>
            <div class='tipContent fLeft1 icon titTip'>等待进行邮件验证！[<a href='index_do.php?fmdo=sendMail'><u>重新发送验证邮件</u></a>]</div>
            <br class='clear' />
            </div>";
        		break;
        	case '-2':
        		echo "<div class='tip'>
            <div class='tipClose fRight'><span class='btna'>X</span></div>
            <div class='tipContent fLeft1 icon titTip'>你的账号已被系统禁止！</div>
            <br class='clear' />
            </div>";
        		break;
        	case '-1':
        		echo "<div class='tip'>
            <div class='tipClose fRight'><span class='btna'>X</span></div>
            <div class='tipContent fLeft1 icon titTip'>你的账号还未通过审核！</div>
            <br class='clear' />
            </div>";
        		break;
        	case '0':
        		echo "<div class='tip'>
            <div class='tipClose fRight'><span class='btna'>X</span></div>
            <div class='tipContent fLeft1 icon titTip'>您的空间信息不完整！ 填写完整的资料,奖励<font color='#4BB130'>20积分</font>!<br class='clear' />
			<div align='center'><a href='edit_space_info.php'><img src='/templets/skin/tianxieziliao.gif' /></a></div></div>
            <br class='clear' />
            </div>";
        		break;
        	case '1':
        		echo "<div class='tip'>
            <div class='tipClose fRight'><span class='btna'>X</span></div>
            <div class='tipContent fLeft1 icon titTip'>您没有填写详细资料! 填写完整的资料,奖励<font color='#4BB130'>20积分</font>!<br class='clear' />
			<div align='center'><a href='edit_fullinfo.php'><img src='/templets/skin/tianxieziliao.gif' /></a></div></div>
            <br class='clear' />
            </div>";
        		break;
        	}
        ?>
		
        <div class="bordercolor_g con_2R1">
            
            <h5 id="s2s_UserR_lblUserFace"><img class="mB10" src="<?php echo (!empty($cfg_ml->fields['face']) ? $cfg_ml->fields['face'] : "images/nopic.gif"); ?>" width="178" height="178" alt="我的头像" /></h5>
            <div class="con_2R11">
                <div class="fL_"><h4 id="s2s_UserR_lblNickName"><?php echo $cfg_ml->M_LoginID; ?></h4></div><div class="fR_"><span id="s2s_UserR_lblOnline" class="gray_"><a href="edit_fullinfo.php"><img src="/templets/skin/ziliao_icon.gif" width="16" height="16"  title="更改我的资料" /></a>&nbsp;</span>
                <span id="s2s_UserR_lblMyMood" class="gray_"><a href="edit_face.php"><img src="/templets/skin/touxiang_icon.gif" width="16" height="16"  title="我要换个头像" /></a></span>&nbsp;&nbsp;</div>

            </div>
 
            <div class="con_1line con_2R1line"></div>
         <div class="con_2R13"><a class="c1" href="article_add.php">发表歌曲</a>
          <a class="c1 c2" href="archives_zhuanji.php?channelid=6">创建专辑</a></div>
          <div class="con_2R13"><a class="c1" href="spaceskin.php">更换风格</a>
          <a class="c1 c2" href="edit_fullinfo.php">修改资料</a></div>
            <div class="con_2R13"><a class="c1" href="buy.php">积分兑换</a>
          <a class="c1 c2" href="index.php?uid=<?php echo $cfg_ml->M_LoginID; ?>">我的空间</a></div>
           
            <div class="con_1line"></div>
					<span><?php echo $cfg_ml->GetSta($dsql); ?></span>
            <h5 id="s2s_UserR_lblVisitNum" class="cc">访问次数：<?php echo $minfos['homecount']; ?></h5><div class="clear_"></div>

        </div>
      <div class="bordercolor_g con_2L1" style="margin-top:10px;">
            <div class="con_2L1t">
                <div class="cont_">
                    <h4>最近访客</h4>
                </div>
            </div>
			<div class="clear_"></div>
                <div class="con_2M1n"></div>
            <div id="lblMyFavorites">
			{dede:newvisitor row=15}
			<div class="con_2L2cL">
                    <a class="b2" href="{dede:field.url/}" title="supermarrio"><img width="46" height="46"   src="{dede:field.face/}" border="0" /></a><br />
                    <a href="{dede:field.url/}" target="_blank">{dede:field.uname/}</a>
                </div>
				{/dede:newvisitor}</div>
            <div class="clear_"></div>
        </div>  
  </div>
</div>

<div id="foot_"></div>
<?php include(DEDEMEMBER."/templets/foot.htm"); ?>
<div class="foot_bottom"></div> 
</body>
</html>
