<table width="756" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr valign="top"> 
    <td width="263" align="left"><table border="0" cellspacing="0" class="lefttable">
        <tr> 
          <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="lefttable01">
              <tr> 
                <td height="258" align="center" valign="middle"><img name="" src="<?php echo $chsh_web_logo?>" onerror="this.onerror=null;this.src='images/avatar/noface_small.gif'" width="247" height="247" alt=""></td>
              </tr>
              <tr> 
                <td class="lefttable_name">呢称：<?php echo $chsh_web_nicheng?></td>
              </tr>
              <tr> 
                <td class="lefttable02">性别：<?php echo $chsh_web_sex?>&nbsp;<?php echo $chsh_web_zx?></td>
              </tr>
              <tr> 
                <td class="lefttable02">Q&nbsp;Q：<?php echo $chsh_web_qq?></td>
              </tr>
              <tr> 
                <td class="lefttable02">所在地：<?php echo $chsh_web_city?></td>
              </tr>
              <tr> 
                <td class="lefttable02">消费模式：<?php echo $chsh_web_hylx?></td>
              </tr>
              <tr> 
                <td class="lefttable02"><?php echo $chsh_web_xfms?></td>
              </tr>
              <tr> 
                <td class="lefttable02">人气：<?php echo $chsh_web_hits?></td>
              </tr>
              <tr> 
                <td class="lefttable02">登入次数：<?php echo $chsh_web_loghits?>&nbsp;</td>
              </tr>
              <tr> 
                <td class="lefttable02">登入时间：<?php echo $chsh_web_logintime?></td>
              </tr>
              <tr> 
                <td height="70" align="center"><table width="97%" border="0" cellspacing="0" cellpadding="0">
                    <tr align="center"> 
                      <td height="30"><table border="0" cellpadding="0" cellspacing="0" class="buttontable">



                          <tr>
                            <td align="center"><strong><a href="tencent://message/?uin=<?php echo $chsh_web_qq?>&Site=在线交谈&Menu=yes" target="_blank">发短信给我</a></strong></td>
                          </tr>
                        </table></td>
                      <td height="30"><table border="0" cellpadding="0" cellspacing="0" class="buttontable">
                          <tr> 
                            <td align="center"><a href="do.php?ac=friend&op=add&id=<?php echo $chsh_web_userid?>"><strong>加我为好友</strong></a></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr align="center"> 
                      <td height="30"><table border="0" cellpadding="0" cellspacing="0" class="buttontable">
                          <tr> 
                            <td align="center"><a href="do.php?ac=fs&op=add&id=<?php echo $chsh_web_userid?>"><strong>加入歌迷团</strong></a></td>
                          </tr>
                        </table></td>
                      <td height="30"><table border="0" cellpadding="0" cellspacing="0" class="buttontable">
                          <tr> 
                            <td align="center"><a href="javascript:window.external.AddFavorite('<?php echo userlink('index',$chsh_web_name)?>/', '<?php echo $chsh_web_nicheng?>的个人主页MusiCool?')" target=_self><strong>收藏我的主页</strong></a></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="8"></td>
        </tr>
      </table>
      <table class="lefttable">
        <tr> 
          <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="lefttable01">
              <tr> 
                <td class="lefttable02"><strong>个人简介</strong>Introduction</td>
              </tr>
              <tr> 
                <td class="lefttable03">
                <?php echo str_decode($chsh_web_qm)?>
		</td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="8"></td>
        </tr>
      </table>
      <table class="lefttable">
        <tr> 
          <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="lefttable01">
              <tr> 
                <td class="lefttable02"><strong><img src="images/web/dl_01_01.jpg" width="11" height="11" align="absmiddle"> 
                  我的嗨友团</strong></td>
              </tr>
			  <tr><td>
			  <table border="0" cellpadding="0" cellspacing="0" width="100%">
			  <tr> 
<?php
	global $db;
	$sql="select s_id,s_nameb from s_fs where S_namea='".$chsh_web_name."' order by s_id desc";
	$rs=$db->query($sql);
	$num=$db->num_rows($rs);
	if($num==0) echo "";
	$nums=9;
	if($num<$nums){
		$j=$num;
	}else{
		$j=$nums;
	}
	for($i=0;$i<$j;$i++){
		$row=$db->fetch_array($rs);
	$us=$db->getrow("select * from S_users where S_name='".$row['s_nameb']."'");
        if(($i==3)||($i==6)) echo "</tr><tr>";
?>
      <td class="lefttable03"><table width="70" border="0" cellpadding="2" cellspacing="0">
                    <tr>
                      <td height="73" align="left"><a href="<?php echo userlink('music',$row["s_nameb"])?>" target="_blank"><img src="<?php echo piclink("logo",$us["S_Logo"])?>" onerror="this.onerror=null;this.src='images/avatar/noface_small.gif'" width="68" height="68" border="0"></a></td>
                    </tr>
                    <tr>
                      <td height="20" align="left" class="lefttable03"><a href="<?php echo userlink('music',$row["s_nameb"])?>" target="_blank"><?php echo $us["S_RealName"]?></a></td>
                    </tr>
                  </table>
                  </td>
<?php
}
?>
  
			  </tr>
			  
			  </table>
			  <table width="96%" height="30" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="right"><a href="<?php echo userlink('fs',$u)?>" target=_blank><strong>&gt;&gt;更多</strong></a></td>
                    </tr>
                  </table>
			  
			  </td></tr>
           
              <tr>
                <td class="lefttable02"><strong><img src="images/web/dl_01_01.jpg" width="11" height="11" align="absmiddle"> 
                  我的收藏歌曲</strong></td>
              </tr>
              <tr>
                <td class="lefttable03">
<?php
	global $db;
	$sql="select * from s_usersc where S_user='".$chsh_web_name."' order by s_id desc";
	$rs=$db->query($sql);
	$num=$db->num_rows($rs);
	if($num==0) echo "";
	$nums=9;
	if($num<$nums){
		$j=$num;
	}else{
		$j=$nums;
	}
	for($i=0;$i<$j;$i++){
		$row=$db->fetch_array($rs);
?>
					  <table width="100%" height="35" border="0" cellpadding="1" cellspacing="1">
		  <tr> <td width="37" align="center" class="righttable03"><a href="<?php echo LinkUrl("s_video",$row['S_Classid '],1,$row['S_Djid'])?>" target=_blank><img src="images/web/dl_01_03.jpg" width="13" height="13" border="0"></a></td>
                <td class="righttable04"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td height="20"><a href="<?php echo S_SiteDomain.LinkUrl("s_video",$row['S_Classid '],1,$row['S_Djid'])?>" target=_blank><strong><?php echo $row['S_Name']?></strong></a></td>
                    </tr>
                    <tr> 
                      <td class="righttable05"><?php echo $row['S_Addtime']?></td>
                    </tr>
                  </table></td></tr>
            </table>
<?php
}
?>
                  <table width="96%" height="30" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td align="right"><a href="<?php echo userlink('fav',$u)?>" target=_blank><strong>&gt;&gt;更多</strong></a></td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td height="8"></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td class="lefttable02"><strong><img src="images/web/dl_01_01.jpg" width="11" height="11" align="absmiddle"> 
                  我的访客</strong></td>
              </tr>
              <tr>
                <td class="lefttable03">
				
				<table border="0" cellpadding="0" cellspacing="0" width="100%">
			  <tr>
<?php
	global $db;
	$sql="select s_id,s_nameb,s_addtime from s_look where S_namea='".$chsh_web_name."' order by s_id desc";
	$rs=$db->query($sql);
	$num=$db->num_rows($rs);
	if($num==0) echo "";
	$nums=18;
	if($num<$nums){
		$j=$num;
	}else{
		$j=$nums;
	}
	for($i=0;$i<$j;$i++){
		$row=$db->fetch_array($rs);
	$us=$db->getrow("select * from S_users where S_name='".$row['s_nameb']."'");
        if(($i==3)||($i==6)||($i==9)||($i==12)||($i==15)) echo "</tr><tr>";
?>
                  <td class="lefttable03"><table width="70" border="0" cellpadding="2" cellspacing="0">
                    <tr>
                      <td height="73" align="left"><a href="<?php echo userlink('index',$row["s_nameb"])?>" title="<?php echo datetime($row['s_addtime'])?> 来访" target="_blank"><img src="<?php echo piclink("logo",$us["S_Logo"])?>" onerror="this.onerror=null;this.src='images/avatar/noface_small.gif'" width="68" height="68" border="0"></a></td>
                    </tr>
                    <tr>
                      <td height="20" align="left" class="lefttable03"><a href="<?php echo userlink('index',$row["s_nameb"])?>" title="<?php echo datetime($row['s_addtime'])?> 来访" target="_blank"><?php echo $us["S_RealName"]?></a></td>
                    </tr>
                  </table>
                  </td>
<?php
}
?>
 </tr><tr>
		  
			  </table>
</td>
              </tr>

              </tr>
            </table></td>
        </tr>
      </table></td>