<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<title>我的首页 | {?$saxue_sitename?}</title>
<meta name="description" content="{?$meta_description?}"/>
<meta name="keywords" content="{?$meta_keywords?}"/>
<link type="text/css" rel="stylesheet" href="{?$saxue_skin_url?}/css/gen.css"/>
<link type="text/css" rel="stylesheet" href="{?$saxue_skin_url?}/css/space.css"/>
<!--[if IE 6]>
<script type="text/javascript" src="{?$saxue_skin_server?}/lib/pngfix.js"></script>
<![endif]-->
</head>
<body>
{?include file = "topbar.html"?}
<div class="g-doc">
	<div class="_box">
		<div class="row l-subNav l-clearfix">
			<a href="/space/my.php" title="{?$saxue_sitename?}" class="logo"></a>
			<ul class="l-left fz16">
				<li class="l-left l-subNav__item"><a class="_icon-text text" href="/space/"><i class="i-square"></i>广场</a></li> 
				<li class="l-left l-subNav__item sub_current"><a class="_icon-text text" href="/space/my.php"><i class="i-home"></i>我的首页</a></li>
			</ul>
			<div class="l-right mr15">
				<form action="/search.php" class="J_Form" method="get" target="_blank">
				<div class="search-input search-input--flat l-subNav__search">
					<input type="text" name="key" maxlength="40" placeholder="搜索文章" value="" autocomplete="off" />
					<input type="submit" value="" />
				</div>
				</form>
			</div>
		</div>
	</div>
	<div class="g-bd container mt15">
		<div class="row">
			<div class="col-big-2">
				<div class="waterfall">
					{?section name=i loop=$rows?}
					<div class="mb30 doinglineItem posr l-left">
						<div class="_box pt20 ph20 pb15 hover-show">
							<div class="mb17">
								<div class="l-clearfix">
									<a class="l-left mr15 _avatar _avatar--user _avatar--44" href="{?$rows[i]['user'].uhome?}"><img src="{?$rows[i]['user'].uavatar?}"></a>
									<div class="l-left pt4">
										<a class="blue1 fz14" href="{?$rows[i]['user'].uhome?}">{?$rows[i]['user'].uname?}</a>
										<p class="minor">{?$rows[i].dodate?}</p>
									</div>
								</div> 
							</div>
							<div class="mb15">     
								<div class="fz14 l-clearfix">         
									<span class="lh22 l-left">{?$rows[i].doname?}了&nbsp;</span><a class="blue1 lh22 l-left" href="{?$rows[i]['article'].uhome?}">{?$rows[i]['article'].uname?}</a>
									<a class="ml10 little-red-btn l-left hover-show__ele fz12 j-follow" data-id="{?$rows[i]['article'].uid?}">
										<span class="text-add-s"><i></i>关注</span>
									</a>
								</div>
								<hr class="_hr _hrF0 mt9">
							</div>
							<h3><a class="text lh1d5 fw100" href="{?$rows[i]['article'].url?}" target="_blank">{?$rows[i]['article'].title?}</a></h3>
							<p class="lh1d5 fz13 mt12 minor">{?$rows[i]['article'].intro|cutstr:150?}...</p>
							<a class="lh1d5 fz13" href="{?$rows[i]['article'].url?}" target="_blank">[查看全部]</a>
							<div class="mt12 mb15">
								{?if $rows[i]['article'].isthumb==1?}<div class="dib posr vam" style="max-width: 380px;">
									<a class="posr dib vam ovf" href="{?$rows[i]['article'].url?}" target="_blank"><img src="{?$rows[i]['article'].thumb?}?thumbnail" style="max-width:380px"></a>
								</div>{?/if?}
							</div>
							{?if $rows[i]['article'].tags!=''?}<div class="mb15">
								<ul class="tag-list tag-list--inline tag-list--sm vam">
									<i class="i-tag"></i>
									{?section name=j loop=$rows[i]['article']['taglist']?}<li class="fz12"><a href="{?$rows[i]['article']['taglist'][j].url?}">{?$rows[i]['article']['taglist'][j].name?}</a></li>{?/section?}
								</ul>
							</div>{?/if?}
							<div class="l-clearfix">
								<a class="l-left fz12 _btn _btn--blue mr10 j-top" href="javascript:;" data-id="{?$rows[i]['article'].aid?}">推荐<span class="ml5">{?$rows[i]['article'].tops?}</span></a>
								<a class="l-left fz12 _btn _btn--default j-fav" href="javascript:;" data-id="{?$rows[i]['article'].aid?}">收藏<span class="ml5">{?$rows[i]['article'].favs?}</span></a> 
							</div>
						</div>
					</div>
					{?/section?}
				</div>
				<div class="col-big clearfix">{?$url_jumppage?}</div>
			</div>
			<div class="col-small-2">
				<div class="mb30">
					<div class="_box">
						<div class="p15 l-clearfix">
							<a class="_avatar _avatar--xl _avatar--user l-left mr15" href="{?$my.uhome?}"><img src="{?$my.uavatar?}" /></a>
							<div class="ovf pt20">
								<p class="mb5"><a class="fz14 blue1" href="{?$my.uhome?}">{?$my.uname?}</a></p>
								<p class="l-clearfix">
									<a href="{?function saxue_geturl:'user_home':$my.uid:'follow'?}" class="l-left minor">关注&nbsp;{?$my.follows?}</a>
									<b class="l-left b mr10 ml10 h18"></b>
									<a href="{?function saxue_geturl:'user_home':$my.uid:'fans'?}" class="l-left minor">粉丝&nbsp;{?$my.fans?}</a>
								</p>
							</div>
						</div>
						<hr class="_hr _hrF0"></hr>
						<div class="l-clearfix p15 bgFa">
							<a class="myProfile myProfile--home" href="{?$my.uhome?}"><i></i><div class="text">个人主页</div></a>
							<a class="myProfile myProfile--account" href="/member/"><i></i><div class="text">会员中心</div></a>
							<a class="myProfile myProfile--article" href="/article/member/my.php?menuid=13"><i></i><div class="text">作品管理</div></a>
						</div>
					</div>
				</div>
				<div class="mb30">
					<div class="hdCard _box">
						<div class="hdCard__hd"><h3 class="hdCard__tit">推荐用户</h3></div>
						<ul class="lastNoMarginBtmList">{?block classname="BlockUserList" filename="block_userlist" vars="6,uid,1" template="space_home_follow.html"?}</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
{?include file = "footer.html"?}
<script type="text/javascript" src="{?$saxue_skin_url?}/js/space.js"></script>
<script type="text/javascript" src="{?$saxue_skin_url?}/js/masonry.min.js"></script>
<script>
$(function(){
	if ($.fn.masonry) {
		$('.waterfall').imagesLoaded(function () {
			$('.waterfall').masonry({
				itemSelector: '.doinglineItem'
			});
		}); 
	}
});
</script>
</body>
</html>