    <div style="position:absolute;left:<?php echo $cscms_bleft?>px;top:<?php echo $cscms_btop?>px;">
	<EMBED pluginspage=http://www.macromedia.com/go/getflashplayer src=images/play.swf?mp3=<?php echo $cscms_bmp3?>&autoStart=yes&repeatPlay=yes&name=<?php echo $cscms_bname?>&.swf width=210 height=110 type=application/x-shockwave-flash wmode="transparent" quality="high"></EMBED>
    </div>
    <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><th>下载</th>

		</tr>
<?php
	global $db;
	$sql="select * from ".Getdbname('dance')." where CS_User='".$cscms_name."' and CS_YID=0 order by cs_id desc";
	$rs=$db->query($sql);
	$num=$db->num_rows($rs);
	$nums=15;
	if($num<$nums){
		$j=$num;
	}else{
		$j=$nums;
	}
        $songid="";
	for($i=0;$i<$j;$i++){
		$row=$db->fetch_array($rs);
                $class=$db->getrow("select * from ".Getdbname('class')." where CS_ID=".$row['CS_CID']."");
                $songid=$songid.$row["CS_ID"].",";
?>
		<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"]>1) echo '<img src="images/tj.gif" border="0" align="absmiddle" >';?></a></td>
            <td><?php echo $class["CS_Name"]?></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
       }
?>   
	</table>
	<div class="pl_button">
		<dl>
			<dt>
                        <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>
			<a href="javascript:CopyUrl('http://<?php echo CS_WebUrl.CS_WebPath?>?ac=lb-id-<?php echo $songid?>.html','复制地址成功,您可以发给你的好友分享!');" class="brow">分享</a></dt>
			</dl>
	</div>
</div>
      
                        
<div class="box lyc_list">
    <h3><a href="<?php echo userlink('news',$cscms_uid)?>">更多&gt;&gt;</a> 文章</h3>
    <div class="pq_trends">
        <div class="line_blue"></div>
<?php
	global $db;
	$sql="select * from ".Getdbname('news')." where CS_User='".$cscms_name."'  and cs_yid=0 order by cs_id desc";
	$rs=$db->query($sql);
	$num=$db->num_rows($rs);
	$nums=3;
	if($num<$nums){
		$j=$num;
	}else{
		$j=$nums;
	}
	for($i=0;$i<$j;$i++){
		$row=$db->fetch_array($rs);
                $plnum= $db -> num_rows($db -> query("select * from  ".Getdbname('pl')."  where CS_DID=".$row['CS_ID']." and CS_SID=2"));
                $dataall=explode("-",GetTime($row["CS_AddTime"]));
$tags = 'table|td|th|tr|i|b|u|strong|img|p|br|div|strong|em|ul|ol|li|dl|dd|dt|a';
$StrArr=explode('|',$tags);
$neir=$row['CS_Content'];
for($i=0;$i<count($StrArr);$i++){
    $neir=str_replace($StrArr[$i],'',$neir);
}
?>
        <div class="qbox pq_wen">
            <div class="tr_time"><em><?php echo $dataall[0]?></em> <?php echo $dataall[1]?>/<?php echo $dataall[2]?></div>
            <div class="tr_main">
            
                <h3 class="tr_main_tit"><a href="http://<?php echo CS_WebUrl.LinkUrl('show','news','id',$row['CS_CID'],$row['CS_ID'])?>"><?php echo $row["CS_Name"]?></a></h3>
                    
                <div class="tr_info">
                    <table>
                        <tr>
                            <td>
                                <?php echo stripslashes(html_entity_decode(h(cnsubstr($neir,100))))?>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="tr_do">
                    <span class="tr_all"><a href="http://<?php echo CS_WebUrl.LinkUrl('show','news','id',$row['CS_CID'],$row['CS_ID'])?>">阅读全文</a></span>
                    <span class="tr_commt"><a href="http://<?php echo CS_WebUrl.LinkUrl('show','news','id',$row['CS_CID'],$row['CS_ID'])?>">评论:<?php echo $plnum?></a>&nbsp;&nbsp;|&nbsp;&nbsp;浏览:<span><?php echo $row['CS_Hits']?></span></span>
                </div>
            </div>
        </div>
<?php
       }
?>           
    </div>
</div>
<div class="box message">
	<h3><a href="<?php echo userlink('gbook',$cscms_uid)?>">更多&gt;&gt;</a> 访客留言</h3>
	    <div class="custom_meg" id="cscms_book">
<?php
	global $db;
	$sql="select * from ".Getdbname('gbook')." where CS_Usera='".$cscms_name."' order by cs_id desc";
	$rs=$db->query($sql);
	$num=$db->num_rows($rs);
	$nums=10;
	if($num<$nums){
		$j=$num;
	}else{
		$j=$nums;
	}
	for($i=0;$i<$j;$i++){
		$row=$db->fetch_array($rs);
                $cs_uid=getuser('uid',$row['CS_Userb']);
?>
                <dl class="msg_list">
                <dt><a target="_blank" href="<?php echo userlink('index',$cs_uid)?>"><img width="48" height="48" src="<?php echo getuser('pic',$row['CS_Userb'])?>" alt="<?php echo $row['CS_Userb']?>"></a></dt>
                <dd>
                    <div class="msg_tit"><span class="lt"><a href="<?php echo userlink('index',$cs_uid)?>"><?php echo $row['CS_Userb']?></a><em><?php echo $row["CS_AddTime"]?></em></span></div>
                    <div class="msg_view"><br><?php echo facehtml(stripslashes(html_entity_decode($row['CS_Neir'])))?></div>
                </dd>
                </dl>
<?php
       }
?>
	    </div>
</div>
<div class="box message">
    <h4>发表留言</h4>
    <div class="face_tit">
    <div class="login">
<?php if(isset($_COOKIE["cs_name"])){ ?>
             欢迎您：&nbsp;&nbsp;<?php echo $_COOKIE["cs_name"]?>&nbsp;&nbsp;<input id="username" name="username" type="hidden" value="csdjcms">
<?php }else{ ?>
             通行证：<input type="text" size="12" name="username" id="username" value="">密码：<input type="text" size="12" id="userpass" name="userpass" value="">
<?php } ?>
    </div>
    <div class="stick_face"><a href="###" onclick="faceadd('facelist');"><font id="face">插入表情</font></a></div>
    <div class="face_all gb_face" style="display:none" id="facelist">
<?php
    	for($i=1;$i<=30;$i++){
              echo "<img src=\"http://".CS_WebUrl.CS_WebPath."public/faces/".$i.".gif\" onclick=\"insertsmilie('[em:".$i."]')\" />";
        }
?>
    </div>
    </div>
    <div class="msg_vel">
    <textarea name="CS_Content" rows="8" id="CS_Content"></textarea>
    </div><input id="CS_Usera" name="CS_Usera" type="hidden" value="<?php echo $cscms_name?>"><input id="CS_Userb" name="CS_Userb" type="hidden" value="<?php echo $_COOKIE["cs_name"]?>">
    <div class="cl"></div>
    <div class="sub">
    <button id="Feedback" onClick="Gbookadd()" type="button">发表留言</button>
    &nbsp;&nbsp;<a href="http://<?php echo CS_WebUrl.CS_WebPath?>user/reg.php" target="_blank">我要注册</a>&nbsp;&nbsp;请遵守国家法律法规，发布广告一律删号。</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 friend">
	<h3><a href="<?php echo userlink('hy',$cscms_uid)?>">更多&gt;&gt;</a> 我的关注</h3>
	<ul>
<?php
	global $db;
	$sql="select * from ".Getdbname('friend')." where CS_Usera='".$cscms_name."' order by cs_id desc";
	$rs=$db->query($sql);
	$num=$db->num_rows($rs);
	$nums=12;
	if($num<$nums){
		$j=$num;
	}else{
		$j=$nums;
	}
	for($i=0;$i<$j;$i++){
		$row=$db->fetch_array($rs);
                $cs_uid=getuser('uid',$row['CS_Userb']);
?>
		<li><a href="<?php echo userlink('index',$cs_uid)?>" target="_blank"><img src="<?php echo getuser('pic',$row['CS_Userb'])?>" alt="<?php echo $row['CS_Userb']?>" onerror="javascript:this.src='images/none.gif'" /></a></li>
<?php
        }
?>
	</ul>
</div>
                        
<div class="rig fans">
	<h3><a href="<?php echo userlink('fs',$cscms_uid)?>">更多&gt;&gt;</a> 我的粉丝</h3>
	<ul>
<?php
	global $db;
	$sql="select * from ".Getdbname('fans')." where CS_Usera='".$cscms_name."' order by cs_id desc";
	$rs=$db->query($sql);
	$num=$db->num_rows($rs);
	$nums=12;
	if($num<$nums){
		$j=$num;
	}else{
		$j=$nums;
	}
	for($i=0;$i<$j;$i++){
		$row=$db->fetch_array($rs);
                $cs_uid=getuser('uid',$row['CS_Userb']);
?>
		<li><a href="<?php echo userlink('index',$cs_uid)?>" target="_blank"><img src="<?php echo getuser('pic',$row['CS_Userb'])?>" alt="<?php echo $row['CS_Userb']?>" onerror="javascript:this.src='images/none.gif'" /></a></li>
<?php
        }
?>
	</ul>
</div>
                        
    <div class="rig guest">
	    <h3>最近访客</h3>
	    <ul>
<?php
	global $db;
	$sql="select * from ".Getdbname('funco')." where CS_Usera='".$cscms_name."' order by cs_id desc";
	$rs=$db->query($sql);
	$num=$db->num_rows($rs);
	$nums=12;
	if($num<$nums){
		$j=$num;
	}else{
		$j=$nums;
	}
	for($i=0;$i<$j;$i++){
		$row=$db->fetch_array($rs);
                $cs_uid=getuser('uid',$row['CS_Userb']);
?>
		<li><a href="<?php echo userlink('index',$cs_uid)?>" target="_blank"><?php echo getuser('nichen',$row['CS_Userb'])?></a><span><?php echo datetime($row['CS_AddTime'])?></span></li>
<?php
        }
?>
	    </ul>
    </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>