<?php error_reporting(0);?>
<!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> 
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 
  <meta name="renderer" content="webkit" /> 
  <title><?php echo $titles?> - <?php echo cd_webname?></title> 
  <link type="text/css" href="<?php echo cd_webpath?>user/static/css/core.css" rel="stylesheet" /> 
  <link type="text/css" href="<?php echo cd_webpath?>user/static/site/css/common.css" rel="stylesheet" /> 
  <link type="text/css" href="<?php echo cd_webpath?>user/static/space/css/common.css" rel="stylesheet" media="all" /> 
  <link type="text/css" href="<?php echo cd_webpath?>user/static/space/css/user.css" rel="stylesheet" media="all" /> 
  <script type="text/javascript">
var domIsReady=false,domReadyList=[],domReadyObject=[],$call=function(callback,obj){if(typeof obj!=='object'){obj=document}if(domIsReady){callback.call(obj)}else{domReadyList.push(callback);domReadyObject.push(obj)}};
var site_domain="<?php echo cd_webpath?>";zone_domain="<?php echo cd_webpath?>user/";zone_singer="<?php echo cd_webmlsinger?>";
  </script> 
 </head> 
 <body> 
  <div class="header"> 
   <div class="h_main"> 
    <a class="logo" href="<?php echo cd_webpath?>user/"></a> 
    <ul class="menus"> 
     <li class="m_nav_a"><a class="sliding_menu" href="<?php echo cd_webpath?>" target="_blank">首页<b class="arrow"></b></a></li> 
     <li class="m_nav_b"> <a class="sliding_menu" style="cursor:pointer;">音乐库<b class="arrow"></b></a> 
      <div class="m_nav_list dance" style="display: none;"> 
       <em></em> 
       <div class="width"> 
        <div class="right"> 
         <div class="list"> 
          <div class="cate_words"> 
<?php
$sqlclass = "select * from " . tname('class') . " where CD_FatherID=0 and CD_IsHide=0";
$results  = $db->query($sqlclass);
if ($results) {
while ($row3 = $db->fetch_array($results)) {
$a = $a + 1;
echo '<a href="' . LinkClassUrl("dj", $row3['CD_ID'], 1, 1) . '" target="_blank">' . $row3['CD_Name'] . '</a>';
}
}
?>
</div> 
         </div> 
         <div class="left"> 
<?php
$sqlclass = "select * from " . tname('malbumclass') . " where CD_FatherID=0 and CD_IsHide=0";
$results  = $db->query($sqlclass);
if ($results) {
while ($row3 = $db->fetch_array($results)) {
$a = $a + 1;
echo '<div class="list"><a class="m_nav_list_clo" href="' . LinkClassUrl("malbum", $row3['CD_ID'], 1, 1) . '" target="_blank"><b></b>' . $row3['CD_Name'] . '</a></div> ';
}
}
?>
         </div> 
        </div> 
       </div> 
      </div> </li> 
     <li class="m_nav_b"> <a class="sliding_menu" style="cursor:pointer;">视频库<b class="arrow"></b></a> 
      <div class="m_nav_list popularity" style="display: none;"> 
       <em></em> 
<?php
$sqlclass = "select * from " . tname('videoclass') . " where CD_FatherID=0 and CD_IsHide=0";
$results  = $db->query($sqlclass);
if ($results) {
while ($row3 = $db->fetch_array($results)) {
$a = $a + 1;
echo '<div class="list"><a class="m_nav_list_clo" href="' . LinkClassUrl("video", $row3['CD_ID'], 1, 1) . '" target="_blank"><b></b>' . $row3['CD_Name'] . '</a></div>';
}
}
?>
      </div> </li> 
     <li class="m_nav_c"> <a class="sliding_menu" style="cursor:pointer;">会员广场<b class="arrow"></b></a> 
      <div class="m_nav_list square" style="display: none;"> 
       <em></em> 
       <div class="list"><a class="m_nav_list_clo" href="<?php echo rewrite_url('top.php?do=album');?>" target="_blank"><b></b>乐迷相册</a></div>
       <div class="list"><a class="m_nav_list_clo" href="<?php echo rewrite_url('top.php?do=privilege');?>" target="_blank"><b></b>认证美女</a></div>
       <div class="list"><a class="m_nav_list_clo" href="<?php echo rewrite_url('top.php?do=list&view=points');?>" target="_blank"><b></b>富豪排行</a></div>
       <div class="list"><a class="m_nav_list_clo" href="<?php echo rewrite_url('top.php?do=list&view=hits');?>" target="_blank"><b></b>人气排行</a></div>
       <div class="list"><a class="m_nav_list_clo" href="<?php echo rewrite_url('top.php?do=list&view=dj');?>" target="_blank"><b></b>DJ分享人排行</a></div>
       <div class="list"><a class="m_nav_list_clo" href="<?php echo rewrite_url('top.php?do=list&view=fans');?>" target="_blank"><b></b>粉丝排行</a></div>
       <div class="list"><a class="m_nav_list_clo" href="<?php echo rewrite_url('top.php?do=list&view=foll');?>" target="_blank"><b></b>关注排行</a></div>
       <div class="list"><a class="m_nav_list_clo" href="<?php echo rewrite_url('top.php?do=list&view=level');?>" target="_blank"><b></b>等级排行</a></div>
       <div class="list"><a class="m_nav_list_clo" href="<?php echo rewrite_url('top.php?do=user');?>" target="_blank"><b></b>活跃会员</a></div>
      </div> </li> 
    </ul> 
<?php if($userlogined==true) {?>
    <ul class="member_login" id="userLogin"> 
     <li> <a href="<?php echo linkweburl($CcTvAi_com_userid,$CcTvAi_com_username)?>" target="_blank"> <img src="<?php echo linkuserphoto($CcTvAi_com_userid,48)?>" id="userInfo" /> </a> </li> 
     <li> <a class="icon" href="<?php echo rewrite_url('space.php?do=home');?>" title="个人中心"> </a><span id="feedTips" class="feed_tips" style="display: none;" title="好友新动态!"></span></li> 
     <li> <a class="icon inform" href="<?php echo rewrite_url('space.php?do=message');?>" target="_blank" title="通知"> </a> <span id="msgTips" class="msg_tips" title="新短消息!" style="display: none;"></span> </li> 
     <li><a class="set_menu icon share" href="javascript:;" title="我的分享"> </a> 
      <div class="m_set_list menu" style="display: none;" id="uploadList"> 
       <em></em> 
       <a class="list" target="_blank" href="<?php echo rewrite_url('space.php?do=upmusic');?>"> <b class="share"></b>分享音乐 </a> 
	   <a class="list" target="_blank" href="<?php echo rewrite_url('space.php?do=upvideo');?>"> <b class="share"></b>分享视频 </a> 
      </div> </li> 
     <li><a class="set_menu icon song" href="javascript:;" title="我的歌单"> </a> 
      <div class="m_set_list menu" style="display: none;" id="uploadList"> 
       <em></em> 
       <a class="list" target="_blank" href="<?php echo rewrite_url('space.php?do=music');?>"> <b class="like"></b>收藏的音乐 </a> 
       <a class="list" target="_blank" href="<?php echo rewrite_url('space.php?do=music&view=down');?>"> <b class="download"></b>下载的音乐 </a> 
       <a class="list" target="_blank" href="<?php echo rewrite_url('space.php?do=video');?>"> <b class="like"></b>收藏的视频 </a> 
       <a class="list" target="_blank" href="<?php echo rewrite_url('space.php?do=video&view=down');?>"> <b class="download"></b>下载的视频 </a> 
      </div> </li> 
     <li> <a class="set_menu icon set" href="javascript:;" title="个人设置"> </a> 
      <div class="m_set_list menu" style="display: none;"> 
       <em></em> 
       <a class="list" target="_blank" href="<?php echo rewrite_url('space.php?do=profile');?>"> <b class="setup"></b>个人设置 </a> 
       <a class="list" target="_blank" href="<?php echo cd_webpath?>user/<?php echo "space.php?do=profile&i=avatar";?>"> <b class="avatar"></b>修改头像 </a> 
       <a class="list" target="_blank" href="<?php echo cd_webpath?><?php echo cd_webmlsinger?>/index.php?ac=skin&id=<?php echo $CcTvAi_com_userid?>"> <b class="skin"></b>空间换肤 </a> 
       <a class="list" href="<?php echo cd_webpath?>user/do.php?p=user&a=ajax&ac=logout"> <b class="exit"></b>退出登录 </a> 
      </div> </li> 
    </ul> 
<?php }else{?>
      <ul class="members" style="display: block;" id="welcome">
       <li><a href="<?php echo cd_webpath?>user/reg.php" target="_blank">免费注册</a></li>
       <li>|</li>
       <li><a class="ti" style="cursor:pointer;" onclick="libs.login();">请登录</a></li>
      </ul>

<?php }?>
   </div> 
   <div class="class_nav"> 
    <div class="left"> 
     <ul type="square"> 
      <li><a href="<?php echo rewrite_url('top.php?do=album');?>">乐迷相册</a></li>
      <li><a href="<?php echo rewrite_url('top.php?do=privilege');?>">认证美女</a></li>
      <li><a href="<?php echo rewrite_url('top.php?do=list&view=points');?>">富豪排行</a></li>
      <li><a href="<?php echo rewrite_url('top.php?do=list&view=hits');?>">人气排行</a></li>
      <li><a href="<?php echo rewrite_url('top.php?do=list&view=dj');?>">DJ分享人排行</a></li>
      <li><a href="<?php echo rewrite_url('top.php?do=list&view=level');?>">等级排行</a></li>
     </ul> 
    </div> 
    <form id="searchForm" onsubmit="searchDance.init();return false;"> 
     <div class="serach right"> 
      <div class="seh_list"> 
       <a class="seh_list_a" href="javascript:;" id="searchType" sid="1">音乐<b class="arrow"></b></a> 
       <div class="seh_sort" style="display: none;"> 
        <a href="javascript:;">音乐</a> 
        <a href="javascript:;">视频</a> 
        <a href="javascript:;">歌单</a> 
        <a href="javascript:;">专辑</a> 
        <a href="javascript:;">歌手</a> 
       </div> 
      </div> 
      <div class="seh_m"> 
       <input id="txtKey" class="seh_v" type="text" /> 
       <input class="seh_b f16" type="submit" /> 
      </div> 
     </div> 
    </form> 
   </div> 
  </div>