<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="inc/ubbcode.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/Conn_User.asp"-->

<body style="overflow-y:hidden"> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/Mpage_main.css" rel="stylesheet" type="text/css">
<link href="css/Mpage_photo.css" rel="stylesheet" type="text/css">

</head>

<body>
	<div id="video_title"><img src="page_style/icon/bullet_03.gif"> 所有相片列表</DIV>
<%userid=request("userid")
set rs=server.createobject("adodb.recordset")
sql="select * from [user] where userid="&userid&" order by userid desc"
rs.open sql,Conn_User,1,1
username=rs("username")

rs.close
set rs=nothing
%>


<br><br><br>

<style type="text/css">
/* ******************** vshow theme start ******************** */
.video_title{text-align: left;color:#3A6FC7;font:bold 14px "宋体"; margin-bottom:4px; border-bottom:1px dashed #CCCCCC}/*标题字体*/
.video_title .ico{float:left;width:14px;background:url(images/ico_head.gif) no-repeat}

.video_td_header, .video_td_header2  {color:#0060A6;border:1px solid #2287D1;background:#D3E7F6} /*我秀内容标题*/
.video_td_list1a, .video_td_list1b {background:#FFFFFF;border:1px solid #CCCCCC}
.video_td_list2a, .video_td_list2b {background:#F5F5F5;border:1px solid #CCCCCC}
.video_tips_1, .video_tips_2 {background:#D3E7F6;border:1px solid #2287D1}                       /*我秀小贴士连接*/
.video_td_infoa, .video_td_infob, .video_td_infoc, .video_td_infod {background:#FFFFFF;border:1px solid #CCCCCC}
.video_box_1{border:1px solid #DDDDDD;background:#F8F8F8}
.video_header{background:url('images/header_bg1.gif') repeat-x bottom center}
.video_header_ico{background:url('images/ico2.gif') no-repeat left top;font-weight:bold;color:#0060A6} /*字体*/
.video_disp_address {color:#0060A6}  /*字体*/
.video_disp_info h2 {background:url("images/arrow_1.gif") no-repeat left center}
.video_pager_1 li {border:1px solid #2287D1;background:#D3E7F6}							/*分页*/
.video_disp_info h2 {color:#008643}/*字体*/
/* ******************** vshow theme ends ******************** */
/* video's stylesheet */
#prdVideo{width:560px;}
#prdVideo .ms1con{padding:10px;}

.video_nav_1 {height:26px;line-height:26px;font-weight:bold;text-align:left}
.video_nav_1 a {font-weight:bold}
.video_pager_1 {height:26px;line-height:26px;list-style-type:none}
.video_pager_1 li {font:bold 10px tahoma;float:left;width:10px;height:10px;padding:3px;margin:4px}
.video_pager_1 li a {font:bold 10px tahoma;text-decoration:none}

.video_rec_swf {margin:0px}
.video_tips_1, .video_tips_2 {margin:5px;margin-top:30px;padding:10px;line-height:150%;text-align:left}
.video_tips_1 {width:auto}
.video_tips_2 {width:auto}

.video_list_tbl {margin:10px auto;width:98%}
.video_td_header, .video_td_header2 {padding:7px;padding-bottom:7px;font-weight:bold}
.video_td_header2 {border-right:none}
.video_td_list1a {padding:7px;border-top:none;border-right:none;text-align:left}
.video_td_list1b {padding:7px;border-top:none}
.video_td_list2a {padding:7px;border-top:none;border-right:none;text-align:left}
.video_td_list2b {padding:7px;border-top:none}

.video_list_pic {text-align:center}
.video_list_info {text-align:left;vertical-align:top;line-height:180%}
.video_list_info a {line-height:180%}
.video_list_opp a {line-height:180%;text-align:center;}
.video_list_pcbg {width:120px;height:105px; background:url("images/playbar.gif") no-repeat bottom center; margin-bottom:5px;}


.video_ra_tbl{width:100%;}
.video_ra_tbl td.cmt {background:#FAFAFA;overflow-x:hidden;width:510px;line-height:150%;vertical-align:top;text-align:left;word-break:berak-all;}
.video_ra_tbl td.cmt span{font-weight:bold;}
.video_ra_tbl td div.opp{text-align:left}
.video_ra_tbl td.cmu1 {width:70px;vertical-align:top; }
.video_ra_tbl td.cmu2 {width:105px;vertical-align:top}
.video_ra_tbl td.cmt span.date {font-weight:normal;color:#666666;}
.video_ra_tbl .pic img{padding:2px; border:1px solid #E3E3E3;}
.video_ra_tbl .swf div{border:1px solid #CDCDCD;height:61px;width:110px;padding:2px}

/** leaveWord **/
.lwnav{}
.lwborder{width:530px;margin:4px;border:1px solid #EEEEEE;}
.lwrp , .yps_v_rev_div , .revert{padding:4px;background:#E9F5FB; border:1px solid #A2D4EF;}

/* 过度 */
.LeaveWord 											{width:540px;text-align:left;padding:2px;border:1px solid #EEE;background:none;}
.LeaveWord .cmu 								{width:84px;}
.LeaveWord .cmu img 						{margin-top:4px;}
.LeaveWord .cmt 								{margin-left:84px;background:#FAFAFA;padding:4px;}
.LeaveWord .cmt div							{}


/** RSS 0927 **/
.Rss_list_tbl 		{margin:10px auto;width:100%}
.Rss_list_chk 		{width:3%}
.Rss_list_user 		{width:20%;text-align:center}
.Rss_list_title 	{width:70%;text-align:center}
.Rss_list_date 		{width:12%;text-align:center}
.Rss_list_opp 		{width:6%;text-align:center}

.Rss_td_list1a 		{background:#FFFFFF;padding:7px;border:1px solid #CCCCCC;border-top:none;border-right:none;text-align:left}
.Rss_td_list1b 		{background:#FFFFFF;padding:7px;border:1px solid #CCCCCC;border-top:none;}
.Rss_td_list2a 		{background:#F8F8F8;padding:7px;border:1px solid #CCCCCC;border-top:none;border-right:none;text-align:left}
.Rss_td_list2b 		{background:#F8F8F8;padding:7px;border:1px solid #CCCCCC;border-top:none;}
.Rss_td_list3a 		{height:30px;text-align:left}
.Rss_td_list1a img , .Rss_td_list2A img{margin-right:2px;padding:1px; background:#FFF; border:1px solid #CCC;}

.Rss_td_header 		{border:1px solid #2287D1;padding:7px;padding-bottom:7px;background:#D3E7F6;font-weight:bold; color:#0060A6}
.Rss_td_header2 	{border:1px solid #2287D1;border-right:none;padding:7px;padding-bottom:7px;background:#D3E7F6;font-weight:bold;color:#0060A6}

.RssMe						{background:#FAFDFE; border:1px solid #D3ECFA; overflow:hidden; _height:1%;}
.RssMe ul					{margin:10px;}
.RssMe li					{float:left; margin:4px; list-style-type:none; width:90px;text-align:center;}
.RssMe li	img			{margin:4px; border:1px solid #CCC; padding:2px;}
.RssMe li	span		{display:block;}
.RssMe li	p				{color:#999;}
.RssMe li	a				{display:block;font-weight:bold; padding:4px; border:1px solid #FAFDFE;}
.RssMe li	a:hover {background:#EFF8FD;border:1px solid #6CC1EF;}
</style>



<table border="0" align="center" cellpadding="0" cellspacing="0">
<%
dim PAGESIZE,PARTSIZE
set rs=server.CreateObject("adodb.recordset")
	sql="select * from mtv_Photo where username='" & username &"'"
rs.open sql,conn,1,1
if not(rs.bof and rs.eof) then
PAGESIZE = 9  '每页显示几个
PARTSIZE = 9  '显示超链接数
dim TotalPages,Totalcount,StartPageNum,EndPageNum,ii
RS.PageSize=PAGESIZE
TotalPages = RS.PageCount
Totalcount =INT(RS.recordcount)
  If CurPage>RS.Pagecount Then                
    CurPage=RS.Pagecount                
  end if    
 RS.AbsolutePage=CurPage                
 rs.CacheSize = RS.PageSize             
do while (Not RS.Eof) and (II<RS.PageSize)
%>
<DIV id=neirong>
<DIV id=video_sig>  <a href="http://127.0.0.1/mv/mtv_play.asp?id=<%=rs("id")%>" target="_blank" title="MTV相册:<%=rs("title")%>">
		<img src="<%=rs("s_images")%>"  height="90" width="120" border="0"/></A> 
<LI><a href="http://127.0.0.1/mv/mtv_play.asp?id=<%=rs("id")%>" target="_blank" style="font-weight:bold" title="MTV相册:<%=rs("title")%>"><%=rs("title")%></a> 
</LI>
</DIV></DIV> 










 <%
	rs.movenext
II=II+1            
loop            
StartPageNum=1            
do while StartPageNum+PARTSIZE<=CurPage
	StartPageNum=StartPageNum+PARTSIZE
loop
EndPageNum=StartPageNum+(PARTSIZE-1)
If EndPageNum>RS.Pagecount then EndPageNum=RS.Pagecount
end if
%>


<!-- 视频内容 -->
		<div style="margin-top:5px">
			<div class="video_nav_1 fleft">总共有<%=TotalCount%>个,共<%=TotalPages%>页,第<%=CurPage%>页</div>
			<ul class="video_pager_1 fright">
				<% fangye()%>
			</ul>
			<div class="fclear"></div>
		</div>
	</div>
</div>
<script language=javascript>
function del()
{
  if(!confirm('删除将不可恢复,确定要删除吗？')) return false;
}
</script>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing

function fangye()
dim fa_ye,i
fa_ye="?p="&p&"&"
          if CurPage>PARTSIZE then
             response.write"<li class=""now""><a class=menu1 href="&fa_ye&"CurPage="&StartPageNum-1&"><<</a></li>"
          else
             response.write"<li class=""now""><<</li>"
          end if
          For I=StartPageNum to EndPageNum
          if I<>CurPage then
		  response.write"<li class=""now""><a class=menu1 href="&fa_ye&"CurPage="&I&">"&I&"</a></li>"
		  else
		  response.write"<li class=""now"">"&I&"</li>"
		  end if
		  Next
		  if EndPageNum<RS.Pagecount then
		     response.write"<li class=""now""><a class=menu1 href="&fa_ye&"CurPage="&EndPageNum+1&">>></a></li>"
          else
             response.write"<li class=""now"">>></li>"
          end if
end function
%>

<iframe name="add_favorite" id="add_favorite" src="http://127.0.0.1/mv/domain.html" marginWidth="0" marginHeight="0" frameBorder="0" width="0" scrolling="0" height="0"></iframe>
</body>
</html>