<link rel="stylesheet" type="text/css" id="css" href="albumfiles/css/main.css" />
<script type="text/javascript" language="javascript"  src="albumfiles/js/command.js"></script>
<div class="albummainbox">
<div class="album_right2">
<ul>
{$album.albumuserinfo}
</ul>
</div>

<div class="albummuen"><span><a href="hst_album.asp">相册首页</a>{$userid>0.begin}  | &nbsp; <a href="hst_album.asp?action=myalbum">我的相册</a>&nbsp; | &nbsp;<a href="hst_album.asp?action=new">创建相册</a>{$userid>0.end} | &nbsp;<a href="hst_album.asp?action=config">相册设置</a></span>&nbsp;</div>


<div class="album_left">
		<div class="border">
	    	<h3 class="titlebig" title="{$album.albumtitle}">{$album.albumtitle}</h3>
			<ul>
			<table width="100%" ID="Table1">
			<tr>
			<td class="border" width="100"><div style="float:right">
			</div>
<img src="{$album.albumcover}" width="100" height="100" alt="封面图片" id="albumcover" />
			</td>
			<td width="10">&nbsp;</td>
			<td style="padding-left:15px !important;padding-left:auto;">
				<h1>描述：{$album.albumtext}</h1>
				<li>
					分类： <a href="hst_album.asp?prams={$album.prams_more}&action=search">
						{$album.albumtype}
					</a>标签： 
						{$album.albumsubtype}&nbsp;&nbsp;
						相片： <b class="fon3">
						{$album.photonum}
					</b>张 收藏： <b class="fon1">
						{$album.favcount}
					</b>次</li>
				<li>
					创建时间：{$album.createdate}</li>
				<li>
					相册主人: <a href ="dispuser.asp?name={$album.username}">
					{$album.username}
					</a>
				</li>
				<li>
{$noisself.begin}
<a class="page" style="cursor:hand" onclick="collect('hst_albumimg.asp','fav',{$album.id})">收藏相册</a> 
{$noisself.end}

{$isself.begin}
<a class="page" style="cursor:hand" onclick="window.location='hst_albumimg.asp?action=new&albumid={$album.id}'">添加相片</a> 
{$isself.end}

{$adminorself.begin}
<a class="apoint page" style="cursor:hand" onclick="window.location='hst_album.asp?action=edit&id={$album.id}'">编辑</a> 
<a class="apoint page" style="cursor:hand" onclick="if(!confirm('您确定要删除相册吗？删除的相册与相册内的照片将无法恢复！'))return;window.location='hst_album.asp?action=del&id={$album.id}' ">删除</a>
{$adminorself.end}
<a class="apoint page" style="cursor:hand" onclick="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" size="70"/></li></td>
			</tr>
			</table><br />
			</ul>
		</div><br />
<div id="showpage_top" class="pages" style="float:right;margin-top:5px;"></div>
<table cellpadding="1" cellspacing="1" border="0" style="width:100%;word-break:break-all;">
<tr>
<td>
<!-- 放相册信息 -->
&nbsp;
<!-- 放相册信息 -->
</td>
</tr>
<tr>
{$albumimg.begin}
<!--相片循环部分Start-->
<td width="25%" height="200" align="center" class="tablebody2">
<table cellpadding="2" cellspacing="1" class="tableborder1" style="width:100%;height=100%;">
<tr><td width="100%" height="140" align="center" style="text-align:center" valign="top" class="tablebody1">
<!--相片操作部分Start-->
<table border="0" width="100%"  cellspacing="0" cellpadding="0" style="border:1px solid dark">
<tr><td width="*" align="left">
{$adminorself.begin}
<a href="hst_albumimg.asp?action=edit&id={$albumimg.id}"><img src="skins/Default/editfile.gif"  border=0 width="10" height="10" alt="编辑该相片" /></a>&nbsp;
<a href="hst_albumimg.asp?action=del&id={$albumimg.id}" onClick="return confirm('此操作将删除此相片，确定操作吗？');" ><img src="skins/Default/delete.gif" width="10" height="10"  border="0" alt="删除该相片" /></a>
{$adminorself.end}
</td>
<td width="20" align="right">
{$adminorself.begin}
<a style="cursor:hand;"><img src="skins/Default/newmail.gif" border=0 title="点击设为封面" onclick="changecover({$albumimg.id})"></a>
{$adminorself.end}
</td>
</tr></table>
<!--相片操作部分End-->
<br /><a href="hst_albumimg.asp?action=show&albumid={$album.id}&id={$albumimg.id}" title="{$albumimg.imgtitle}">
<img src="{$albumimg.imgfile}" alt="{$albumimg.imgtext}" width="100" height="100"  /></a><br />
</td></tr><tr><td class="tablebody2">
作者: <a href="dispuser.asp?name={$albumimg.username}">{$albumimg.username}</a>
<br />原相片名: {$albumimg.zoomfile}
<br />点击次数: {$albumimg.clickcount}
<br />评论次数: {$albumimg.bbscount}
<br />收藏次数:<font color="gray">{$albumimg.favcount}</font>
<br />相片大小:<font color="gray">{$albumimg.filesize}</font>
<br />创建时间:<font color="gray">{$albumimg.uploaddate}</font>

</td></tr></table>
</td>
<!--相片循环部分End-->
{$mod4=0.begin}
</tr>
<tr>
{$mod4=0.end}
{$albumimg.end}
</tr>
</table>
<div id="showpage_bottom" class="pages" style="float:right;margin-top:5px;">{$albumimg.showpage}</div>
</div>
</div>
<script language="javascript">
var img_link1=gid("img_link1");
img_link1.value=window.location.href;
$page_up=gid("showpage_top");
$page_bottom=gid("showpage_bottom");
if ($page_up && $page_bottom) $page_up.innerHTML=$page_bottom.innerHTML;
</script>


