<script type="text/javascript" language="javascript" src="albumfiles/js/jquery-text.js"></script>
<script type="text/javascript" language="javascript" src="albumfiles/js/commhost.js"></script>
<h3 class="titlebig"><a name="replay">评论留言</a>{$albumimg.bbscount}</h3>
<!--------- 用户留言Start ------------>
	<div style="width:98%" style="border:1px solid #c6d2e3">
		<div class="nav_group">
			<ul style="padding:5px;border:0px;">				
{$hasbbs.begin}
<table name="table_{$albumbbs.id}" id="table_{$albumbbs.id}" class="bbscontent" cellspacing="0" cellpadding="0">
<tr><td>[{$albumbbs.floor}楼]&nbsp;<a href="dispuser.asp?username={$albumbbs.username}">{$albumbbs.username}</a></td><td><span style="float:right">发表于:{$albumbbs.createdate}&nbsp;&nbsp;&nbsp;

{$adminorself.begin}
<a class="del" style="cursor:hand;" title="编辑" id="edit_{$albumbbs.id}" onclick="createopenwindow('hst_albumbbs.asp','edit','{$albumbbs.id}')">编辑</a>&nbsp;&nbsp;
<a class="del" style="cursor:hand;" onclick="del({$albumbbs.id},{$albumimg.imgid})" title="删除">删除</a>
{$adminorself.end}

</span></td></tr>
<tr><td colspan="2" style="width:95%;word-wrap:break-word;word-break:break-all;overflow:hidden;" id="bbs_{$albumbbs.id}">{$albumbbs.bbstext}</td></tr>
</table>
<br />
{$hasbbs.end}
<div id="ajaxInsert" style="display:none;"></div>

{$userid>0.begin}
<li>
<SCRIPT LANGUAGE="JavaScript">
<!--
	function ajaxpostform(f,e){
	var ajaxbbs=new DvAlbumBbs(f,e,'fastre');
	ajaxbbs.chk_content(gid('bbstext'));
	if(!ajaxbbs.send()){
		gid('submit').disabled=false;
	}
}
//-->
</SCRIPT>
<!-- <form method="post" id="fbbs" name="fbbs" action="hst_albumbbs.asp"> -->
<form method="post" id="fbbs" name="fbbs" action="hst_albumbbs.asp" onsubmit="ajaxpostform(this,event);" >
<INPUT TYPE="hidden" name="imgid" id="imgid" value="{$albumimg.imgid}">
<textarea id="bbstext" name="bbstext"  style="width:90%;height:100px;margin-bottom:10px;"></textarea><br /><div id="bbstext_chk" name="bbstext_chk">字数限制200内</div>
<input type="submit" id="submit" name="submit" value="发表评论" class="button_off" />
</form>
</li>
{$userid>0.end}
<br />
</ul>
</div>
<!--------- 用户留言End ------------>
<!-- 分页/页码 -->
<div id="showpage_bottom" class="pages" style="float:right;margin-top:5px;">{$albumbbs.showpage}</div>
<!-- 分页/页码 -->
<div style="clear:both"></div><br /><br />
</div>
</div>
<!-- 左边标签End -->
</div>