<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$CONFIG[charset]}" />
<title>{$space[name]}_{$space[author]}_{$SYSTEM[sitename]}</title>
<meta name="keywords" content="{$SYSTEM[seokeywords]}" />
<meta name="description" content="{$SYSTEM[seodescription]}" />
<meta name="author" content="{$SYSTEM[sitename]}" />
<meta name="Copyright" content="{$SYSTEM[sitename]}版权所有" />
<link href="{IMG_URL}templates/{TEMPLATE}/css/content.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
<link href="{IMG_URL}templates/{TEMPLATE}/css/index.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
<link href="{IMG_URL}templates/{TEMPLATE}/css/style.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
<link href="{IMG_URL}templates/{TEMPLATE}/css/others.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
<!--[if IE 6]> 
	<link href="{IMG_URL}templates/{TEMPLATE}/css/ie6.css" type="text/css" rel="stylesheet" rev="stylesheet" media="screen"  />
<![endif]-->
<link href="{IMG_URL}templates/{TEMPLATE}/css/ajax_Page.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="{IMG_URL}js/lib/jquery.js"></script>
<script type="text/javascript" src="{IMG_URL}js/cmstop.js"></script>
<script type="text/javascript" src="{IMG_URL}js/config.js"></script>
<script type="text/javascript" src="{IMG_URL}js/lib/jquery.pagination.js"></script>
<script type="text/javascript" src="{IMG_URL}apps/member/js/space.table.js"></script>
</head>
<body>
<!--{template 'system/header_channel_php.html'}-->
<div class="hr-h10"></div>			
<div class="menu-cir nosubmenu">
	<div class="menu-cir-main">
		<div class="mode-menu">
			<ul id="common-menu">
			<li><a href="{WWW_URL}">首页</a></li>
			{loop channel() $catid $cha}
			<li><a href="{$cha[url]}">{$cha[name]}</a></li>
			{/loop}
			<li><a href="{WWW_URL}photo.php">图片</a></li>
			<li><a href="{WWW_URL}video.php">视频</a></li>
			<li><a href="{WWW_URL}roll.php">滚动</a></li>
			<li><a href="{WWW_URL}rank.php">排行</a></li>
			<li id="nav-cur"><a href="{WWW_URL}space/">专栏</a></li>
			<li><a href="{WWW_URL}tags.php">标签</a></li>
			</ul>
			<script src="{IMG_URL}/templates/{TEMPLATE}/js/tabs.js" type="text/javascript"></script>
		</div>
	</div>
	<div class="menu-cir-l"></div>
	<div class="menu-cir-r"></div>
</div>

</div>
<div class="hr-h6"></div>
<div class="column" style="height: 22px; overflow: hidden; zoom: 1;">
<div class="mode-position f-l">
	<span>
		<a href="{WWW_URL}">首页</a>
		<a href="{WWW_URL}space/">专栏</a>
	</span>
	个人专栏
</div>
</div>
<div class="hr-h6"></div>
<div class="column">
<div class="col-l-main w-260">
	<!-- ******************* start 作者简介    *********************** -->
	<div class="bor-9fc  author">
		<div class="mar-lt-15">
			<a href="{space_url($space['spaceid'])}"><img src="{thumb($space['photo'],80,80)}" alt="{$space['name']}" title="{$space['name']}" width="100" height="100"/></a>
			<div class="author-introduce mar-l-10 f-l padd-3">
				<div style="height:50px">
					<span class="author-name f-l">{$space['author']}</span>
					<div class="author-rss"><a href="{space_url($space['spaceid'])}/feed"><img src="{IMG_URL}templates/{TEMPLATE}/images/rss.gif" alt="订阅此专栏" title="订阅此专栏" width="40" height="17"/></a></div>
				</div>
				<div class="clear"></div>
				<p>文章：<span class="cor-c00">{$space['posts']}</span></p>
				<p>人气：<span class="cor-c00">{$space['pv']}</span></p>
			</div>
			<div class="clear"></div>
		</div>
		<div class="hr-h6 mar-lr-10 "></div>
		<div class="cor-666 padd-12 line-h18 "><p>{$space['description']}</p></div>
	</div>
	<!-- ******************* end 作者简介    *********************** -->
	<div class="hr-h10"></div>
	<!-- ******************* start 推荐专栏    *********************** -->
	<div class="bor-9fc">
		<div class="mode-head"><h2 class="cor-c00">专栏推荐</h2></div>
			<div class="mode-imgtxt clear">
				<ul class="per-33">
				<!--{db sql="SELECT * FROM `#table_space` WHERE status=4 ORDER BY `sort` DESC" size="6"}-->
					<li>
						<a href="{SPACE_URL}{$r['alias']}"><img alt="{$r[author]}" src="{thumb($r['photo'],64,64)}" width="64" height="64" /></a>
						<p><a href="{SPACE_URL}{$r['alias']}">{$r[author]}</a></p>
					</li>
				<!--{/db}-->
				</ul>
				<div class="clear"></div>
			</div>
	</div>
    <!-- ******************* end 推荐专栏    *********************** -->
    <div class="hr-h10"></div>
    <!-- ******************* start 最近评论    *********************** -->
	<div class="bor-9fc" >
		<div class="mode-head"><h2 class="cor-c00">最近评论</h2></div>
		<!--{if $comment}-->
			<div class="padd-10">
				<dl class="mode-comment mode-comment02">
				<!--{loop $comment $v}-->
				<dt><span class="user-info"><a href="{$v[url]}">{$v[title]}</a></span></dt>
				<dd >
					<p style="font-size:12px; text-indent:0;">{htmlspecialchars(preg_replace('/.*\[reply\]/s','',$v['content']))}</p>
					<div class="hr-dotted hr-h10"></div>
				</dd>
				<!--{/loop}-->
				</dl>
			</div>
		<!--{else}-->
			<div class="padd-10 cor-c00" style="text-align:center">暂时没有评论</div>
		<!--{/if}-->
	</div>
    <!-- ******************* end 最近评论    *********************** -->
</div>
<div class="col-r-extra w-690">
<!-- ******************* start 详细显示    *********************** -->
<div class="bor-9fc" >
	<div class="mode-tabs">
		<h2 class="cor-c00">专栏文章</h2>
		<ul class="fs-12 mar-l-20 f-r" id="tab" style="margin-right: -8px;">
			<li name="latest"><a href="javascript:;" class="tabs-focus">最新</a></li>
			<li name="hits"><a href="javascript:;" >点击</a></li>
			<li name="hot"><a href="javascript:;" >评论</a></li>
		</ul>
	</div>
	<div class="padd-20">
		<dl class="mode-comment" id="article_list">
		<!--{loop $articles $v}-->
			<dt><span class="user-info fs-14"><a href="{$v['url']}" target="_blank">{$v['title']}</a> </span><span class="post-time02">{$v['published']}</span></dt>
			<dd>
				<p style="font-size:12px;text-indent:24px">{$v['description']}</p>
				<div class="clink-amount">评论：<span class="cor-c00"><a href="{$v['comment_url']}">{$v['comments']}</a></span><span class="mar-l-10">点击：</span><span class="cor-c00">{$v['pv']}</span></div>
				<div class="hr-dotted hr-h10"></div>
			</dd>
		  <!--{/loop}-->
		</dl>
		<div class="pagination f-r" id="pagination"><!--分页--></div>
		<div class="clear"></div>
	</div>
</div>
<!-- ******************* end 详细显示    *********************** -->
</div>
</div>
<div class="hr-h10"></div>
<!--{template 'system/footer.html'}-->

<script type="text/javascript">
var row_template = '<div><dt><span class="user-info fs-14"><a href="{url}" target="_blank">{title}</a> </span><span class="post-time02">{published}</span></dt><dd><p style="font-size:12px;text-indent:24px">{description}</p><div class="clink-amount">评论：<span class="cor-c00"><a href="{comment_url}">{comments}</a></span><span class="mar-l-10">点击：</span><span class="cor-c00">{pv}</span></div><div class="hr-dotted hr-h10"></div></dd></div>';
var tableApp = new ct.table('#article_list',  {
rowIdPrefix : 'div_',
pageSize : 10,
jsonLoaded : 'json_loaded',
template : row_template,
baseUrl  : SPACE_URL+'?action=page&spaceid={$space['spaceid']}'
});
function json_loaded(json) {
$('.pagetotal').html(json.total);
}
$(function() {
tableApp.firstLoad({$articles_count});
$('#tab > li').click(function(){
	$(this).siblings('li').find('a.tabs-focus').removeClass('tabs-focus');
	$(this).find('a').addClass('tabs-focus');
	tableApp.load('order='+$(this).attr('name'));
}).focus(function(){
	$(this).blur();
});
});
</script>

</body>
</html>