<table width="100%" border="0" cellspacing="0" cellpadding="0" class="modth">
	<tr><td class="modtl" width="7">&nbsp;</td>
	<td class="modtc" nowrap><div class="modhead"><span class="modtit">个人档案</span></div></td>
	<td class="modtc" nowrap align="right"></td>
	<td class="modtr" width="7">&nbsp;</td>
	</tr></table>
	<div id="m_pro" class="modbox">
<SCRIPT LANGUAGE="JavaScript">
<!--
var proMaxHeight = 150;
var proMaxWidth = 110;

function proDownImage(ImgD){ 
    var image=new Image(); 
    image.src=ImgD.src; 
    if(image.width>0 && image.height>0){ 
		var rate = (proMaxWidth/image.width < proMaxHeight/image.height)?proMaxWidth/image.width:proMaxHeight/image.height;
		if(rate <= 1){			
			ImgD.width = image.width*rate;
			ImgD.height =image.height*rate;
		}
		else {
                        ImgD.width = image.width;
                        ImgD.height =image.height;
                }
    } 
}
//-->
</SCRIPT>
		<div class="image"><img src="<%=blogheadimg%>" border="0"></div>
		<div class="act">			
			<a href="friend_add.asp?postuser=<%=username%>"><img src='blogimages/ico_adfriend.gif' border='0' align='absmiddle'> 加为好友</a>|<a href="blogsms_add.asp?postuser=<%=username%>" target="_blank"><img src="blogimages/ico_sendmsg.gif" border="0" align="absmiddle"> 发送消息</a>
		</div>
		<div class="desc">WELCOME TO MY BLOG
<br>不论多忙多累都要坚持写<br><a href="myinfo.asp?userid=<%=userid%>">查看详细信息</a></div>
	</div>

	<table width="100%" border="0" cellspacing="0" cellpadding="0" height="8">
	<tr><td class="modbl" width="7">&nbsp;</td>
	<td class="modbc">&nbsp;</td>
	<td class="modbr" width="7">&nbsp;</td>
	</tr></table>
</div>
<%
if blog_mid<>"" then
%>
<div id="mod_bgmusic" class="mod" rel="drag">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="modth">
	<tr><td class="modtl" width="7">&nbsp;</td>
	<td class="modtc" nowrap><div class="modhead"><span class="modtit">背景音乐</span></div></td>
	<td class="modtc" nowrap align="right"></td>
	<td class="modtr" width="7">&nbsp;</td>
	</tr></table>
<script language="javascript" src="js/bgmusic.js"></script>
<script>
var wmaurl = '<%=blog_mid%>'
var linkurl='<%=blog_mid%>';
var bgmusic1='<OBJECT id=phx width=100% classid=clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6>'
		+'<PARAM NAME="URL" VALUE="'+linkurl+'">'
		
		 +' <PARAM NAME="rate" VALUE="1">'
		 +' <PARAM NAME="balance" VALUE="0">'
		 +' <PARAM NAME="currentPosition" VALUE="0">'
		 +' <PARAM NAME="defaultFrame" VALUE="">'
		 +' <PARAM NAME="PlayCount" VALUE="100">'
		 +' <PARAM NAME="DisplayMode" VALUE="0">'
		 +' <PARAM NAME="PreviewMode" VALUE="0">'
		 +' <PARAM NAME="DisplayForeColor" VALUE="16777215">'
		 +' <PARAM NAME="ShowCaptioning" VALUE="0">'
		 +' <PARAM NAME="ShowControls" VALUE="1">'
		 +' <PARAM NAME="ShowAudioControls" VALUE="1">'
		 +' <PARAM NAME="ShowDisplay" VALUE="0">'
		 +' <PARAM NAME="ShowGotoBar" VALUE="0">'
		 +' <PARAM NAME="ShowPositionControls" VALUE="1">'
		 +' <PARAM NAME="ShowStatusBar" VALUE="0">'
		 +' <PARAM NAME="ShowTracker" VALUE="1">'
		 +' <PARAM NAME="autoStart" VALUE="1">'
		 +' <PARAM NAME="AutoRewind" VALUE="1">'
		 +' <PARAM NAME="currentMarker" VALUE="0">'
		 +' <PARAM NAME="invokeURLs" VALUE="0">'
		 +' <PARAM NAME="baseURL" VALUE="">'
		 +' <PARAM NAME="volume" VALUE="100">'
		 +' <PARAM NAME="mute" VALUE="0">'
		 +' <PARAM NAME="uiMode" VALUE="full">'
		 +' <PARAM NAME="stretchToFit" VALUE="0">'
		 +' <PARAM NAME="windowlessVideo" VALUE="1">'
		 +' <PARAM NAME="enabled" VALUE="1">'
		 +' <PARAM NAME="EnableFullScreenControls" VALUE="0">'
		 +' <PARAM NAME="EnableTracker" VALUE="1">'
		 +' <PARAM NAME="EnablePositionControls" VALUE="1">'
		 +' <PARAM NAME="enableContextMenu" VALUE="0">'
		 +' <PARAM NAME="SelectionStart"  VALUE="0">'
		 +' <PARAM NAME="SelectionEnd" VALUE="0">'
		 +' <PARAM NAME="fullScreen" VALUE="0"><PARAM NAME="SAMIStyle" VALUE="">'
		 +' <PARAM NAME="SAMILang" VALUE="">'
		 +' <PARAM NAME="SAMIFilename" VALUE="">'
		 +' <PARAM NAME="captioningID" VALUE="">'
		 +' <PARAM NAME="Visualizations" VALUE="1">'
	+'</OBJECT>';
var bgmusic2='<EMBED src='+linkurl+' width="100%" height="100%" type="application/x-mplayer2" invokeurls="0" autogotourl="false" autostart=1 loop=1 quality="high"> </EMBED>';
var bgmusic3='<div id="m_bgmusic" class="modbox">对不起，您尚未安装windows media player，无法欣赏该空间的背景音乐，请先下载并安装</a><br><br></div>';
var bgmus=ftbbs();
if(bgmus.installed){
	if(bgmus.type=="IE"){document.write(bgmusic1);}else if(bgmus.type=="NS"){document.write(bgmusic2);}
}else{
	document.write(bgmusic3);
}
</script>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="8">
	<tr><td class="modbl" width="7">&nbsp;</td>
	<td class="modbc">&nbsp;</td>
	<td class="modbr" width="7">&nbsp;</td>
	</tr></table>
<%end if%>
<div id="mod_profile" class="mod" rel="drag">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="modth">
	<tr><td class="modtl" width="7">&nbsp;</td>
	<td class="modtc" nowrap><div class="modhead"><span class="modtit">我的相册</span></div></td>
	<td class="modtc" nowrap align="right">
	
	</td>
	<td class="modtr" width="7">&nbsp;</td>
	</tr></table>
	<div id="m_pro" class="modbox">
       <div align="center">
<%
sql="select top 1 upload_pic from ftbbs_upload where bbs_blog_type=2 and sign=0 and clubuser_id="&userid&" order by indate desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,1
if not rs.eof then
   response.write "<a href=myphoto.asp?userid="&userid&"><img src="&rs("upload_pic")&" width=""200"" border=""0"" /></a>"
else
   response.write "相册还没有相片"
end if
rs.close
set rs=nothing
%>
	   </div>
       <!--<div align="center">上一张 下一张 </div>-->
    </div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="3">
              <tr> 
                <td class="modbl" width="7">&nbsp;</td>
                <td class="modbc">&nbsp;</td>
                <td class="modbr" width="7">&nbsp;</td>
              </tr>
            </table>
</div>			
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="modth">
	<tr><td class="modtl" width="7">&nbsp;</td>
	<td class="modtc" nowrap><div class="modhead"><span class="modtit">其他</span></div></td>
	<td class="modtc" nowrap align="right"></td>
	<td class="modtr" width="7">&nbsp;</td>
	</tr>
</table>

<div id="comm_info" class="modbox">
<img src="blogimages/rss.gif" border="0" align="absmiddle" title="订阅RSS" alt="订阅RSS">&nbsp;&nbsp;<a href="blogrss.asp?userid=<%=userid%>" target="_blank">RSS订阅</a> 
<div class="line">&nbsp;</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="8">
<tr><td class="modbl" width="7">&nbsp;</td>
<td class="modbc">&nbsp;</td>
<td class="modbr" width="7">&nbsp;</td>
</tr></table>
