<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<tpl> include file ='../head.config.html' </tpl>
<script language="javascript" src="<tpl> $Site_Url </tpl>/js/jquery/jquery.blockUI.js"></script>
<script language="javascript" type="text/javascript" src="<tpl> $Site_Url </tpl>/app/space/js/script_common.js"></script>
<script language="javascript" type="text/javascript" src="<tpl> $Site_Url </tpl>/app/space/js/script_menu.js"></script>
<script language="javascript" type="text/javascript" src="<tpl> $Site_Url </tpl>/app/space/js/script_ajax.js"></script>
<script language="javascript" type="text/javascript" src="<tpl> $Site_Url </tpl>/app/space/js/script_face.js"></script>
<script language="javascript" type="text/javascript" src="<tpl> $Site_Url </tpl>/app/space/js/script_manage.js"></script>
<link href="<tpl> $template_dir </tpl>/home/css/<tpl> $space_array.templates </tpl>_style.css" rel="stylesheet" type="text/css" />
</head><body>
<tpl> include file ='../top.html' </tpl>
<!--公共部分-->
<tpl> include file="../public.html" </tpl>
<div id="space_feed" >
<div class="box_content">

<div >
	<ul>
		<li id="feed_747496_li">
			<table width="100%">
				<tr>
					<td colspan="2" align="right" ><img src="<tpl> $template_dir </tpl>/images/list.gif" border="0" title="<tpl> $langSpaceEdit </tpl>" style=" vertical-align:middle"/><a href="index.php?action=blog&uid=<tpl> $blog_array.uid </tpl>" style=" vertical-align:middle"><tpl> $langSpaceBackBlogList </tpl></a></td>

				</tr>
				<tr>
					<td colspan="2" style="background-color:#FCF9E6; padding:5px"><tpl> if $blog_array.reship eq '1' </tpl> <span>[<tpl> $langSpaceZhuan </tpl>]</span><tpl> /if </tpl> <span style="font-size:16px;font-weight:bold;"><tpl> $blog_array.title </tpl></span><br/><span class="time"><tpl> $blog_array.dateline </tpl></span></td>

				</tr>
				<tr>
					<td colspan="2" style="line-height:25px;"><span style="font-size:14px;"><tpl> $blog_array.subject </tpl></span></td>
				</tr>
				<tr>
				  <td style="color:#CCC">
				  <tpl> $blog_array.viewnum </tpl> <tpl> $langSpaceReadyNumber </tpl> | <tpl> $commentnum </tpl><tpl> $langSpaceCommentNumber </tpl>
				  </td>
					<td align="right" style="padding-right:15px"><tpl> if $s_login_id eq $blog_array.uid </tpl><img src="<tpl> $template_dir </tpl>/images/edit.gif" border="0" title="<tpl> $langSpaceEdit </tpl>" style=" vertical-align:middle"/><a href="member.php?action=blog_edit&id=<tpl> $blog_array.blogid </tpl>" title="<tpl> $langSpaceEdit </tpl>"><tpl> $langSpaceEdit </tpl></a> | <img src="<tpl> $template_dir </tpl>/images/del.gif" border="0" title="<tpl> $langSpaceDelete </tpl>" style=" vertical-align:middle"/><a href="javascript:;" onclick=" if ( confirm ( '<tpl> $langSpaceAffirmDelete </tpl>' ) ) window.location='member.php?action=blog_del&id=<tpl> $blog_array.blogid </tpl>'" title="<tpl> $langSpaceDelete </tpl>"><tpl> $langSpaceDelete </tpl></a>
					  <tpl> /if </tpl><tpl> if $s_login_id != '' &&  $s_login_id != $blog_array.uid </tpl> <a href="member.php?action=reship&bid=<tpl> $blog_array.blogid </tpl>"><tpl> $langSpaceBlogReship </tpl></a> <tpl> /if </tpl></td>
				</tr>
			</table>
		</li>
	</ul>	
</div>

</div>
</div>
<div id="feed_747496_li">
<div id="div_main_content" class="comments">

<h2><tpl> $langSpaceComment </tpl></h2>

<div id="comment" class="comments_list">
<ul id="comment_ul">
<tpl> section name=c loop=$comment_array </tpl>
<li style="width:630px;*width:620px;_width:620px">
	<div class="avatar48">
	<a target="_blank" title="<tpl> $comment_array[c].author </tpl>" href="index.php?uid=<tpl> $comment_array[c].authorid </tpl>" class="funclink sl">
		<tpl> if $comment_array[c].picture eq '' </tpl>
		<div class="l50_s_list">
			<img src="<tpl>$site_url</tpl>/app/space/templates/images/untitled.bmp" alt="<tpl> $space_array.username </tpl>"  width="45" height="45"/>
			</div>
		<tpl> else </tpl>
		<div  class="l50_s_list">
			<img src="<tpl>$site_url</tpl>/<tpl> $comment_array[c].picture_small </tpl>" alt="<tpl> $comment_array[c].login_name </tpl>" width="45" height="45" />
			</div>
		<tpl> /if </tpl> 		
	</a>
	</div>
<div class="title" style="border:none">
<div class="r_option">
<tpl> if $s_login_id neq '' </tpl>
	<tpl> if $comment_array[c].authorid neq $s_login_id </tpl>
	<img src="<tpl> $template_dir </tpl>/images/zhuanzai.gif" border="0" title="<tpl> $langSpaceReply </tpl>"/><a href="javascript:;" onclick="replyComment('<tpl> $comment_array[c].cid </tpl>')"title="<tpl> $langSpaceReply </tpl>"><tpl> $langSpaceReply </tpl></a>
	<tpl> else if $comment_array[c].authorid eq $s_login_id || $comment_array[c].uid eq $s_login_id </tpl>
	<img src="<tpl> $template_dir </tpl>/images/del.gif" border="0" title="<tpl> $langSpaceDelete </tpl>" style=" vertical-align:middle"/><a href="javascript:;" onclick="if ( confirm ('<tpl> $langSpaceAffirmDelete </tpl>') ) window.location.href='member.php?action=commnet_del&uid=<tpl> $blog_array.uid </tpl>&bid=<tpl> $blog_array.blogid </tpl>&id=<tpl> $comment_array[c].cid </tpl>'" title="<tpl> $langSpaceDelete </tpl>" ><tpl> $langSpaceDelete </tpl></a>
	<tpl> /if </tpl>
<tpl> /if </tpl>
</div>
<a target="_blank" title="<tpl> $comment_array[c].author </tpl>" href="index.php?uid=<tpl> $comment_array[c].authorid </tpl>" class="funclink sl"><tpl> $comment_array[c].author </tpl></a> <span class="time"><tpl> $comment_array[c].dateline </tpl></span>
</div>
<div id="comment_122" class="detail"><tpl> $comment_array[c].message </tpl></div>
</li>
<tpl> /section </tpl>
</ul>
</div>

<tpl> if $comment_array </tpl>
<div style=" text-align:right; padding:10px 0">
	<tpl> $pagelist </tpl>
	</div>
	<div class="page"/>
<tpl> else </tpl>
<div style="padding-top:10px">
	<tpl> $langSpaceNoComment </tpl>
	</div>
<tpl> /if </tpl>
<form name="comment_form" action="member.php?action=comment_add" method="post" >

	<table cellpadding="0" cellspacing="0">
		<tr>
			<td>
				<textarea name="txtMessage" rows="5" style="width:500px;"></textarea>
			</td>
		</tr>
		<tr>
			<td height="30">
				<input type="hidden" name="id" value="<tpl> $blog_array.blogid </tpl>">
				<input type="hidden" name="uid" value="<tpl> $blog_array.uid </tpl>">
				<input type="submit" class="rb1-12" id="commentsubmit_btn" name="commentsubmit_btn" value="<tpl> $langSpaceComment </tpl>" />
			</td>
		</tr>
	</table>
</form>
</div>
<br/>
</div>
<div id="reply" style="display:none; padding-top:3px;">
	<h3><tpl> $langSpaceReply </tpl></h3>
	<div class="gw1">
		<div>
			<div class="fb_d2">
			<div id="content_div" name="content_div">
			<form name="f" action="member.php?action=comment_reply" method="POST">
				<input type="hidden" name="commentid" id="commentid" value="" />
			  <textarea name="txtMessage" id="txtMessage" cols="50" rows="10" style="height:150px"></textarea>	
			<div class="mt5"></div><div class="rbs1"><input id="btn_qd" value="<tpl> $langSpaceReply </tpl>" title="<tpl> $langSpaceReply </tpl>" class="rb1-12" type="button" onclick="this.form.submit()" > <input type="button" title="<tpl> $langSpaceCancel </tpl>" value="<tpl> $langSpaceCancel </tpl>" class="rb1-12" onclick="javascript:closeDialog();" /></div><div class="flw5">&nbsp;</div>
			
			</form></div>
		</div>
	</div>
	<div class="c"></div>	
</div>
</div>
<script>
var show = $('#reply');
function replyComment(id) {
	$.blockUI(show, { width: '350px', height: '230px',backgroundColor: '#FCF9E6', border: '1px solid #EBE6C9' }); 	
	$('#commentid').val(id);
}
function closeDialog() {
	$.unblockUI();
}
</script></div></div></div>
<tpl> include file ='../../../../html/footer.html' </tpl>
</body>
</html>