<div class="content">
  
	<div class="main">
		<div class="box song_list">
			<h3><a href="http://<?php echo CS_WebUrl.CS_WebPath?>user/space.php?ac=music&op=add" target="_blank">上传歌曲</a> 原创歌曲列表</h3>
			<table class="song" cellpadding="0" cellspacing="0" id="list">
				<tr>
					<th><input type="checkbox" onClick="if(document.getElementById('idtop').checked==true){setCboxValue('ckid',1);return;}else{setCboxValue('ckid',2);return;};" id="idtop"   name="ckid" value="" /></th><th>名称</th><th>人气</th><th>上传时间</th><th>试听</th><th>下载</th>
				</tr>
				<!--forlist-->
<?php
global $db;
	$sql="select * from ".Getdbname('dance')." where CS_User='".$cscms_name."' and CS_YID=0 order by cs_id desc";
		$Arr=getuserpage($sql,"20",$op,$cscms_uid,$pages);//sql,每页显示条数
		$result=$db->query($Arr[2]);
                $num=$db->num_rows($result);
		if($result){
			while ($row = $db ->fetch_array($result)){
?>
				<tr>
					<td><input type="checkbox" name="ckid1" value="<?php echo $row["CS_ID"]?>" /></td>
					<td><a href="http://<?php echo CS_WebUrl.LinkUrl('play','dance','id',$row['CS_CID'],$row['CS_ID'])?>" target="_blank" title="<?php echo $row["CS_Name"]?>"><?php echo getlen('len',30,$row["CS_Name"])?><?php if($row["CS_Reco"]>2) echo '<img src="images/tj.gif" border="0" align="absmiddle" >';?></a></td>
					<td><?php echo $row["CS_Hits"]?></td><td><?php echo GetTime($row["CS_AddTime"])?></td>
					<td><a href="http://<?php echo CS_WebUrl.LinkUrl('play','dance','id',$row['CS_CID'],$row['CS_ID'])?>" target="_blank" title="试听"><img src="images/list1.gif" alt="试听" /></a></td>
					<td><a href="javascript:Popsboxif('下载歌曲',450,180,'http://<?php echo CS_WebUrl.CS_WebPath?>public/down.php?id=<?php echo $row['CS_ID']?>');" title="下载"><img src="images/list2.gif" alt="下载" /></a></td>
				</tr>

<?php
			}
		}
?>
				<!--forlist-->
			</table>
			<div class="pl_button yc_page">
				<dl>
                        	     <a href="javascript:clk('all','list')" class="brow">全选</a>
				     <a  href="javascript:clk('un','list')"  class="brow">反选</a>
				     <a href="javascript:;" onClick="clk('play','list');"  class="brow">连续播放</a>
				</dl>
			</div>
			<div class="page_list"><?php echo $Arr[0];?></div>
		</div>
	</div>
	<div class="right">
	  
<div class="rig user">  
	<h3><a href="javascript:CopyUrl('<?php echo userlink('index',$cscms_uid)?>','复制地址成功,您可以发给你的好友分享!');">推荐</a><span><?php echo userlink('index',$cscms_uid)?></span></h3>
	<div class="user_info">
		<p class="user_pic"><img alt="用户头像" src="<?php echo $cscms_logo?>"  onerror="javascript:this.src='images/none.gif'" /></p>
		<ul class="people">
            <li>
            <div class="number"><?php echo $cscms_hycount?></div>
            <a href="<?php echo userlink('hy',$cscms_uid)?>" target="_blank">关注</a>
            </li>
            <li>
            <div class="number"><?php echo $cscms_fscount?></div>
            <a href="<?php echo userlink('fs',$cscms_uid)?>" target="_blank">粉丝</a>
            </li>
            <li class="dele">
            <div class="number"><?php echo $cscms_hits?></div>
            <a href="javascript:;">人气</a>
            </li>
    </ul>
    <div class="about" id="about"><a href="javascript:;" onclick="AddFriend('<?php echo $cscms_name?>');" class="see">+ 关注</a><a href="<?php echo userlink('gbook',$cscms_uid)?>" class="rep">留言</a></div>
		<h2><?php echo $cscms_nichen?></h2>
		<div class="medal">
		    <ul><li><img src="images/special/<?php echo $vip?>.gif" border="0" title="VIP会员"></li><li><img src="images/special/<?php echo $realname?>.gif" border="0" title="头像认证"></li><li><img src="images/special/<?php echo $musician?>.gif" border="0" title="音乐人"></li><li><img src="images/special/<?php echo $recommend?>.gif" border="0" title="推荐歌手"></li><li><img src="images/special/<?php echo $star?>.gif" border="0" title="明星会员"></li></ul>
		    <ul></ul>
		    <p class="user_mode">
			    会员ID： <?php echo $cscms_uid?><br />
			    来自：<?php echo $cscms_city?><br />
                            当前：<?php echo $cscms_zx?><br />
			    注册时间：<?php echo $cscms_addtime?><br />
			    上次登录：<?php echo $cscms_logtime?>
            </p>
		</div>
	</div>
</div>
        <div class="rig intro">
	        <h3><a href="javascript:;">更多&gt;&gt;</a> 个人介绍</h3>
	        <p><?php echo stripslashes(html_entity_decode($cscms_qianm))?></p>
        </div>
</div>
</div>