<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>会员中心 - <?php echo $title?> - <?php echo CS_WebName?></title>
    <link rel="stylesheet" href="css/main.css" />
    <link href="../public/css/webox.css" rel="stylesheet" type="text/css">
    <script src="../public/js/jquery.js"></script>
    <script src="../public/js/webox.js"></script>
    <script src="js/ajax.js"></script>
    <script src="js/function.js"></script>
</head>
<body>
<div class="user">
<div class="header">
    	<a href="http://<?php echo CS_WebUrl?>/" class="logo" title="<?php echo CS_WebName?>会员中心"><?php echo CS_WebName?></a>
        <span>
<?php
	global $db;
	$sqlw="select * from ".Getdbname('class')." where cs_sid=1 order by CS_sid desc";
	$rs=$db->query($sqlw);
	$num=$db->num_rows($rs);
	$nums=5;
	if($num<$nums){
		$j=$num;
	}else{
		$j=$nums;
	}
	for($i=0;$i<$j;$i++){
		$row=$db->fetch_array($rs);
           echo '<a href="'.LinkUrl('list','dance','id',$row['CS_ID']).'" target="art">'.$row["CS_Name"].'</a>';
	}
?> 
             <a href="?" class="web">会员中心</a>
             <a href="<?php echo $cscms_link?>" target="_blank" class="web">个人主页</a>
        </span>
        <p><?php if($cscms_qqid) echo'<img src="images/connect_qq.gif" title="QQ登入会员" align="absmiddle">';?>欢迎回来，<?php echo $cscms_nichen?>!  <a href="do.php?ac=logout">退出</a></p>
</div>

<div class="main">
  <!--- left -->
  <div class="left">
    <div class="top"><?php echo $cscms_nichen?></div>
      <div class="content">
	<ul class="info_list">
		<li><span><?php echo $cscms_fscount?></span><strong>粉丝</strong></li>
		<li><span><?php echo $cscms_hycount?></span><strong>好友</strong></li>
		<li class="last"><span><?php echo $cscms_cion?></span><strong>金币</strong></li>
	</ul>
	<div class="logo_list"><img src="<?php echo $cscms_logo?>" title="<?php echo $cscms_nichen?>"></div>
	<div class="inco">
	   <ul>
		<li><a href="?ac=music"><span class="iconDance">上传音乐</span></a></li>
		<li><a href="?ac=fav"><span class="iconFavorites">音乐收藏</span></a></li>
		<li><a href="?ac=down"><span class="iconDown">音乐下载</span></a></li>
		<li><a href="?ac=topic"><span class="iconTopic">专集制作</span></a></li>
		<li><a href="?ac=pic"><span class="iconAlbum">照片上传</span></a></li>
		<li><a href="?ac=news"><span class="iconWall">文章分享</span></a></li>
		<li><a href="?ac=msg"><span class="iconMessage">留言消息</span></a></li>
		<li><a href="?ac=friend"><span class="iconFriend">好友粉丝</span></a></li>
		<li><a href="?ac=pay"><span class="pay">充值中心</span></a></li>
		<li><a href="?ac=edit&op=zl"><span class="iconProfile">个人设置</span></a></li>
	   </ul>
	</div>
      </div>
    <div class="end"></div>
  </div>
