<!--{if(1 == Demo)}-->
<!--#include file="_SilverLight.demo1.html"-->
<!--{else if (2 == Demo)}-->
<!--#include file="_SilverLight.demo2.html"-->
<!--{else}-->
<!--#include file="_header.html"-->
<link rel="stylesheet" href="templates/<%=CurrentTemplateName%>/scripts/thickbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/jquery.js"></script>
<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/thickbox.js"></script>
<script type="text/javascript" language="javascript" src="templates/scripts/dvajax.js"></script>
<div class="mainbox">
    <div class="notice">
		<span> <!--#include file="_nav.html" --></span>&nbsp;
	</div>
	<div class="notice font14"><span>
				<a href="album_index.aspx">相册首页</a> | 
				<a href="album_list.aspx">相册分类</a> | 
				<a href="album_self.aspx">我的相册</a></span>&nbsp;
	</div>
		<!---##########################右边样式部分##########################--->
		<div class="page_right">
			<div class="border" style="padding:10px;">
				<span>
					<img src="<%=Server.UrlDecode(AlbumOwner.UserFace)%>" style="margin:8px auto"  width = "40%"  onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" /></span><br />
				<span class="username">
					<a href = "album_list.aspx?userid=<%=Album.userid.ToString()%>">
						<%=Album.username%>
					</a><font style="color:#999; font-size:12px; padding-left:5px; font-weight:100;">
						<%=(AlbumOwner.IsFade ? "隐身" : "在线")%>
					</font>
				</span><br />
				<span>
					<img src="templates/<%=CurrentTemplateName%>/images/level/<%=AlbumOwner.GroupPic%>" /></span><br />
				<!--{if(user.UserID!=Album.userid)}--><span><img src="templates/<%=CurrentTemplateName%>/images/freund.gif" alt="" />
					<a onclick="AddFrend('additem.aspx','item=friend&uid=<%=Album.userid.ToString()%>&name=<%=Album.username%>&style=new_style')" style="cursor:hand">
						加为好友</a> <img src="templates/<%=CurrentTemplateName%>/images/mail.gif" /> <a id="msgsend1" class="thickbox" title="发送短消息" href="message_send.aspx?recipient=<%=Album.username%>&uid=<%=Album.userid.ToString()%>&TB_iframe=true&height=335&width=530">
						给他(她)留言</a></span><br /><!--{endif}-->
				<span>等级：<%=AlbumOwner.RoleName%></span><br />
				<span>发贴：<%=AlbumOwner.UserPost.ToString()%></span><br />
				<span>积分：<%=AlbumOwner.Experience<0?"0":AlbumOwner.Experience.ToString()%></span><br />
				<span>金钱：<%=AlbumOwner.Money.ToString()%></span><br />
				<span>注册：<%=AlbumOwner.JoinTime%></span><br />
				<span class="page">
					<a href="album_list.aspx?userid=<%=Album.userid.ToString()%>" title="浏览该用户所有相册">
						拥有相册：<b class="fon1"><%=AlbumOwner.AlbumTotal.ToString()%></b>本</a></span>
				<div style="clear:both;"></div>
				<br />
			</div>
			<br />
			<ul class="nav_group">
			   <h3 class="titlebig">
			     <em><a href="album_list.aspx?userid=<%=Album.userid.ToString()%>">更多</a></em>最新介绍
			   </h3>
				<li>
					<!--{if(OtherAlbum != null)}-->
					<div style="width:auto;height: auto;">
					<a href="album_show.aspx?albumid=<%=OtherAlbum.id.ToString()%>" title="看一看"><img src="<%=OtherAlbum.TopZoomFile%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=OtherAlbum.TopZoomFile%>')" style="MARGIN:8px auto; WIDTH:80px; HEIGHT:80px" ></a>
					</div>
						<b>
						<span title="<%=Server.HtmlEncode(OtherAlbum.albumtitle)%>"><%=Text.Left(Text.StripHtml(OtherAlbum.albumtitle), 24, false)%></span>
						</b>
						<br />
						相片：<%=OtherAlbum.photonum.ToString()%>
						<br />
						收藏：<%=OtherAlbum.favcount.ToString()%>
						<br />
						时间：<%=System.DateTime.Parse(OtherAlbum.createdate.ToString()).ToString("yyyy-MM-dd")%>
					<!--{else}-->
					暂时没有最新相册！ 
					<!--{endif}-->
				</li><div style="clear:both;border:0px solid;line-height:0px;"></div><br />
			</ul>
			<br />
			
			<ul>
			<h3 class="titlebig">喜欢的会员</h3>
				<li style="padding-left:5px;margin-top:5px;">
					<a href="album_show.aspx?albumid=<%=Album.id.ToString()%>&fav=true" title="添加到我的相册收藏夹！">我也收藏</a>
					 <font class="fon3"># 共被收藏<b><%=Album.FavsLen%></b>次。</font>
			    </li>
				<li style="padding-left:5px;margin-top:5px;">
					<span style="width:90px;border:0px;margin:0px;">收藏者</span><span style="width:105px;border:0px;margin:0px;">已收藏时间</span></li>
				<!--{for(int i = 0; i < Album.FavsLen; i++)}-->
				<li style="padding-left:5px;margin-top:5px;">
					<span style="width:90px;">
						<a href="album_list.aspx?userid=<%=Album.Favs[i].userid.ToString()%>">
							<%=Album.Favs[i].username%>
						</a>
					</span><%=Dvbbs.Utils.RegExp.GetDifDateAndTime(System.DateTime.Now,Album.Favs[i].recdate, "年", "月", "天", "时", "分", "一分钟内")%>前
				</li>
				<!--{endfor}-->
				<div style="clear:both;"></div>
			</ul>
			<br />
			<div style="clear:both;"></div>
			<ul class="nav_group">
			    <h3 class="titlebig">最新评论</h3>
				<!--{for(int i = 0; i < NewBbsLen; i++)}-->
				<li style="padding-left:5px;margin-top:5px;">
				<em><a href ="album_list.aspx?userid=<%=NewBbsArr[i].userid.ToString()%>" title="<%=NewBbsArr[i].username + " 发表于 " + NewBbsArr[i].createdate%>" class="grey"><%=NewBbsArr[i].username%></a></em>
					<span>
						<img src="templates/<%=CurrentTemplateName%>/images/2_<%=(i+1).ToString()%>.gif"/>
					</span>
					<a href = "album_photo.aspx?photoid=<%=NewBbsArr[i].imgid.ToString()%>">
						<!--{if(NewBbsArr[i].bbstext.Length>8)}-->
						<font title="<%=NewBbsArr[i].bbstext%>">
							<%=NewBbsArr[i].bbstext.Substring(0,8)%>
							...</font> 
						<!--{else}-->
						<%=NewBbsArr[i].bbstext%>
						<!--{endif}--></a>
				</li>
				<!--{endfor}-->
				<div style="clear:both;"></div>
			</ul>
			<br/>
			
		</div>
		<!---########################## end 右边样式部分##########################--->
		
		<!---##########################左边样式部分##########################--->
		<div class="page_left border">
	    	<h3 class="titlebig" title="<%=Server.HtmlEncode(Album.albumtitle)%>"><%=Text.Left(Text.StripHtml(Album.albumtitle),50,false)%></h3>
			<ul>
			<table width="99%" ID="Table1">
			<tr>
			<td class="border padding" width="150"><div style="float:right">
				<!--{if(Album.albumclass==2)}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/photo_3.gif" alt="个人精华相册"/>
				<!--{else if(Album.albumclass==1)}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/photo_2.gif" alt="个人推荐相册"/>
				<!--{else}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/photo_1.gif" alt="普通相册"/>
				<!--{endif}-->
				<br />
				<!--{if(Album.ishowdo==2)}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/key.gif" alt="保密，需要密码访问"/>
				<!--{else if(Album.ishowdo==0)}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/close.gif" alt="关闭，只允许私人访问"/>
				<!--{else}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/open.gif" alt="公开允许访问"/>
				<!--{endif}-->
			</div>
			<a href="album_photo.aspx?photoid=<%=Album.topimgid%>" title="浏览图片"><img src="<%=Album.TopZoomFile%>"  onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=Album.TopZoomFile%>')" width="50px" height="90px" /></a>
			</td>
			<td width="10">&nbsp;</td>
			<td style="padding-left:15px !important;padding-left:auto;">
				<h1><%=Text.Left(Text.StripHtml(Album.albumtitle),25,false)%></h1>
				<li>
					分类： <a href ="album_list.aspx?albumtypeid=<%=Album.albumtypeid.ToString()%>">
						<%=Album.albumtype%>
					</a>标签： <a href ="album_list.aspx?albumtag=<%=Server.UrlEncode(Album.albumsubtype)%>">
						<%=Text.Left(Text.StripHtml(Album.albumsubtype),25,false)%>
					</a>相片： <b class="fon3">
						<%=Album.photonum.ToString()%>
					</b>张 收藏： <b class="fon1">
						<%=Album.favcount.ToString()%>
					</b>次</li>
				<li>
					创建到现在：<%=Dvbbs.Utils.RegExp.GetDifDateAndTime(System.DateTime.Now,Album.createdate, "年", "月", "天", "时", "分", "一分钟内")%></li>
				<li>
					<%=Text.Left(Text.StripHtml(Album.albumtext),50,false)%>
				</li>
				<li>
					<a class="page" href="album_show.aspx?albumid=<%=Album.id.ToString()%>&fav=true" title="将该相册加到我的收藏夹！">
						收藏</a> 
					<!--{if(user.UserID == AlbumOwner.UserID)}-->
					<a class="page" href="album_edit.aspx?type=1&albumid=<%=Album.id.ToString()%>">编辑</a>
					<!--{endif}-->
					<!--{if(user.Power == 1 || user.Power == 2)}-->
					<a class="page" style="cursor:hand" onclick="if(!confirm('您确定要删除相册吗？删除的相册与相册内的照片将无法恢复！'))return;window.location='album_show.aspx?albumid=<%=Album.id.ToString()%>&delete=true' ">
						删除</a> 
					<!--{endif}-->
					<a class="page" href="javascript:copyToClipboard('img_link1');">复制</a> <input TYPE="text" id="img_link1" onFocus="IEvent('focus',this);"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="img_link1"  value="http://<%=Request.ServerVariables["HTTP_HOST"].ToString()+"/album_show.aspx?albumid="+Album.id.ToString()%>" size="50"/></li></td>
			</tr>
			</table><br />
			</ul>
		</div><br />
		<div class="page_left border" style="height:230px !important;height:auto;">
	    	<h3 class="titlebig">热评相片</h3>
			<ul class="photo_box">				
				<!--{for (int i = 0; i < HotPhotoCount && i < 4; i++)}-->
				<li>
					<span>
						<a href ="album_photo.aspx?photoid=<%=HotPhotoArr[i].id.ToString()%>"><img class="img" src="<%=HotPhotoArr[i].ZoomFile%>" alt="<%=HotPhotoArr[i].imgtext%> 被浏览:<%=HotPhotoArr[i].clickcount.ToString()%> 次"  onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=HotPhotoArr[i].ZoomFile%>')" /></a>
					</span>
					评论:<%=HotPhotoArr[i].bbscount.ToString()%>
					收藏:<%=HotPhotoArr[i].favcount.ToString()%>
					浏览:<%=HotPhotoArr[i].clickcount.ToString()%>次
				</li>
				<!--{endfor}-->
				<br /><br /><div style="clear:both !important;clear:none;"></div>
			</ul>
		</div>
		<br />

		<div class="page_left border">
		   <h3 class="titlebig" title="<%=Server.HtmlEncode(Album.albumtitle)%>"><%=Text.Left(Text.StripHtml(Album.albumtitle),50,false)%>相集</h3>
					<div style="float:right">
						<a href="topicother.aspx?action_type=prosecution" class="page" >举报</a> 
						
						<a href="album_show.aspx?albumid=<%=Album.id.ToString()%>&demo=2&TB_iframe=true&height=595&width=950" title="<%=Album.username%> 相集的Silverlight演示" class="page thickbox" > 	Silverlight演示2  </a>
							
							<a href="album_show.aspx?albumid=<%=Album.id.ToString()%>&demo=1&TB_iframe=true&height=580&width=780" title="<%=Album.username%> 相集的Silverlight演示" class="page thickbox" >	Silverlight演示1</a>
					</div>
				</h3>
			<br/>
			<ul class="photo_box">				
				<!--{if(Album.PhotosLen > 0)}-->
				<!--{for(int i = 0; i < Album.PhotosLen && i < PerOfPage; i++)}-->
				<li>
					<span>
						<a href ="album_photo.aspx?photoid=<%=Album.photos[i].id.ToString()%>"><img class="img" src="<%=Album.photos[i].ZoomFile%>" alt="<%=Album.photos[i].imgtitle +"于"+Album.photos[i].uploaddate.Trim() + "上传，被浏览" +Album.photos[i].clickcount.ToString()%> 次" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=Album.photos[i].ZoomFile%>')" /></a>
					</span>
					评论:<%=Album.photos[i].bbscount.ToString()%>
					收藏:<%=Album.photos[i].favcount.ToString()%>
					浏览:<%=Album.photos[i].clickcount.ToString()%>次
				</li>
				<!--{endfor}-->
				<!--{else}-->
				<li>
					<center><b>暂无相片!</b></center>
				</li>
				<!--{endif}-->
				<br /><br /><div style="clear:both;"></div>
			</ul>
		</div>
		<br/>
		
		<!--#include file="_temppager.htm"-->
		<div style="clear:both;"></div>
		<!---########################## end 左边样式部分##########################--->

</div>
<!--#include file="_footer.html"-->
<!--{endif}-->