<!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'>
	parent.guide("blog");
</script>
</head>
<body>

  <div class="main_right_title">
     <span class="main_title_dot"></span>
     <span class="main_title_txt">{echo:$str_title;/}</span>
  </div>

<!--按钮控制!-->
		<div id="tabsB" class={echo:$button_show_mine;/}>
			<ul>
		    <li><a href="?app=blog" title="{echo:lp{b_mine};/}" class="{echo:$ml_class;/}"><span class="{echo:$mr_class;/}">{echo:lp{b_mine};/}</span></a></li>
		    <li><a href="?app=blog_friend" title="{echo:lp{b_friend};/}"><span>{echo:lp{b_friend};/}</span></a></li>
		  </ul>
		   <div class="div_but" onclick="location.href='?app=blog_edit'">
		       {echo:lp{b_creat};/}
		   </div>
		</div>
		
<!--按钮控制!-->  
			<div class="div_but_2 {echo:$button_show_his;/}" onclick="location.href='?app=blog&user_id={echo:$url_userid;/}'">{echo:lp{b_re_list};/}</div>
			<div class="container {echo:$button_show_his;/}">
					<div class="rs_head">{echo:get_blog_sort($sort_name);/} &nbsp {echo:str_replace("{num}",count($blog_rs),lp{b_num});/}</div>
			</div>
{sta:foreach($blog_rs as $rs)[loop]}
	<dl class="log_list">
		<dt>
			<strong>{echo:lp{b_title};/}：<a href='modules.php?app=blog_show&id={echo:$rs["log_id"];/}{echo:$url_userid.$is_friend;/}'>{echo:filt_word($rs["log_title"]);/}</a></strong><br />
			<span>{echo:$rs["add_time"];/}</span>
		</dt>
		<dd class="log_list_content">{echo:get_short_txt($rs["log_content"]);/}</dd>
		<dd><span>{echo:lp{b_sort};/}：<a href="?app=blog&sort_id={echo:$rs['log_sort'];/}&sort_name={echo:urlencode($rs['log_sort_name']);/}{echo:$url_userid.$is_friend;/}" title="{echo:lp{b_same_sort};/}">{echo:empty($rs['log_sort_name']) ? lp{b_default_sort} :filt_word($rs['log_sort_name']);/}</a></span><span>{echo:lp{b_limit};/}：{echo:get_blog_limit($rs['blog_limit']);/}</span><span>{echo:str_replace("{b_com_num}",$rs['comments'],lp{b_com_num});/}</span><span>|</span><span>{echo:str_replace("{b_read_num}",$rs['hits'],lp{b_read_num});/}</span></dd>
	</dl> 
    {end:foreach/}
	{echo:page_show($isNull,$page_num,$page_total);/}
    <div class="guide_info {echo:$content_data_none;/}">
          {echo:$no_data_text;/}
    </div>
</body>
</html>