<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>blog</title>
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/row_menus.css">
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/iframe.css">
<script type='text/javascript' src="skin/default/js/imgfix.js"></script>
<script type='text/javascript' src="skin/default/js/jooyea.js"></script>
<script type='text/javascript'>
function CheckForm(){
	if (trim(document.myform.CONTENT.value)==""){
		parent.Dialog.alert("{echo:lp{b_empty};/}");
		return false;
	}
	return true;
}
</script>
</head>
<body>
  <div class="main_right_title">
    	<span class="main_title_dot"></span>
     	<span class="main_title_txt">{echo:lp{b_scan};/}</span>
	    <!--按钮控制!-->
		<div class="div_but_2 {echo:$button_ctrl_his;/}" onclick="location.href='?app=blog_friend&user_id={echo:$userid;/}'">{echo:lp{b_re_friend};/}</div>
	
		<!--按钮控制!-->
		<div class="div_but_2 {echo:$button_ctrl_mine;/}" onclick="location.href='?app=blog&user_id={echo:$userid;/}'">{echo:lp{b_re_list};/}</div>  
	</div>
	{sta:if($is_show==1)[exc]}
	<dl class="log_list">
		<dt>{sta:if($blog_row['user_id']!=$ses_uid&&$ses_uid)[exc]}
					<span class="right clear"><a class="fenxiang" href="javascript:void(0);" onclick="parent.show_share(0,{echo:$blog_row['log_id'];/},'{echo:$blog_row['log_title'];/}','','');">{echo:lp{mn_share};/}</a><a class="jubao" href="javascript:void(0);" onclick="parent.report(0,{echo:$blog_row['user_id'];/},{echo:$blog_row['log_id'];/});">{echo:lp{mn_report};/}</a></span>
				{end:if/}
			<strong>{echo:lp{b_title};/}：{echo:filt_word($blog_row["log_title"]);/}</strong><br />
			<span class="log_list_options">{echo:$blog_row["add_time"];/}</span>
			<span>{echo:str_replace("{b_com_num}",$blog_row['comments'],lp{b_com_num});/}</span>
			<span>{echo:str_replace("{b_read_num}",$blog_row['hits'],lp{b_read_num});/}</span><br />
			<span>{echo:lp{b_sort};/}：<a href="?app=blog&sort_id={echo:$blog_row['log_sort'];/}&sort_name={echo:urlencode($blog_row['log_sort_name']);/}&user_id={echo:$blog_row['user_id'];/}" title="{echo:lp{b_same_sort};/}">{echo:empty($blog_row['log_sort_name'])? lp{b_default_sort} :filt_word($blog_row['log_sort_name']);/}</a></span>
			<span>{echo:lp{b_limit};/}：{echo:get_blog_limit($blog_row['blog_limit']);/}</span>
			
				<span class="log_edit_link">
				{sta:if($blog_row['user_id']==$ses_uid)[exc]}
					<a href='?app=blog_edit&id={echo:$blog_row["log_id"];/}'>{echo:lp{b_edit};/}</a></span><span class="log_del_link"><a href='do.php?act=blog_del&id={echo:$blog_row["log_id"];/}' onclick='return confirm("{echo:lp{b_a_del};/}");'>{echo:lp{b_del};/}</a>
				{end:if/}
				
				</span>
		</dt>
		<dd class="log_list_content">{echo:filt_word($blog_row['log_content']);/}</dd>
		<!--评论控制显示!-->
		<dd class="log_list_comment"></dd>
	</dl> 
	<div class="tleft ml20">
	<div class="replytip"></div>
	<div id='show_0_{echo:$blog_row["log_id"];/}'>
		{echo:get_restore($dbo,0,$blog_row["log_id"],0,20);/}
	</div>
	{sta:if($ses_uid!='')[exc]}	
	<div class="reply">
		<img src='{echo:get_sess_userico();/}' />
		<textarea style="height:50px" maxlength="160" onkeyup="return isMaxLen(this)" id="reply_0_{echo:$blog_row['log_id'];/}_input"></textarea>
		<div class="replybt">
			<input class="left button2" onclick="parent.restore_com({echo:$blog_row['user_id'];/},0,{echo:$blog_row['log_id'];/});show('face_list_menu',200)" type="submit" name="button" id="button" value="{echo:lp{b_button_re};/}" />
			<a id="reply_a_{echo:$blog_row['log_id'];/}_input" class="right" href="javascript:void(0);" onclick=" showFace(this,'face_list_menu','reply_0_{echo:$blog_row['log_id'];/}_input');">{echo:lp{b_face};/}</a>
		</div>
		<div class="clear"></div>
	</div>
	{end:if/}
	</div>
	{end:if/}
	<!-- face begin -->
	<div id="face_list_menu" class="emBg" style="display:none;z-index:100;">
	</div>
	<!-- face end -->
	<div class="pageerr {echo:$show_error;/}">{echo:$error_str;/} </div>
</body>
</html>