<div id="maincontent">


<div id="content">

<div id="contentright">
<div id="pages" style="height:25px;text-align:right;width:99%;">预览模式: <a href="<{$baseUrl}>/article/index/type/common/">普通</a> | <a href="<{$baseUrl}>/article/index/type/list/">列表</a></div>
<span class="clear"></span>

<{if $type=='list'}>
<div class="sidebox" >
	<div class="sideboxInner">
	<{section name=ArticleList  loop=$arrArticles}>
	<div class="date" style="height:20px;margin:15px 0px 0px 0px;" onMouseOver="this.style.backgroundColor='#CEDEE6'" onMouseOut="this.style.backgroundColor='#EDF4FF'">
	
	<span style="float:left;font-size:14px;" >
	<a href="<{$baseUrl}>/article/article/id/<{$arrArticles[ArticleList].id}>/"><{$arrArticles[ArticleList].title|truncateex:30:'..':true}></a>&nbsp;&nbsp;&nbsp;
		</span>
		<span style="float:right;" >作者:<{$arrArticles[ArticleList].author}> | 
		时间:<{$arrArticles[ArticleList].addtime|date_format:"%Y-%m-%d"}> | 
		浏览量:<{$arrArticles[ArticleList].viewnum}> | 评论:<{assign var="nums" value="0"}>
			<{section name=CommentList  loop=$arrComment}>
			<{ if $arrArticles[ArticleList].id==$arrComment[CommentList].commentid }>
			[<{$arrComment[CommentList].commentsum}>]
			<{assign var="nums" value="1"}>
			<{/if}>
			<{sectionelse}>
			[0]
			<{/section}>
			<{ if $nums==0}>[0]<{/if}>条</span>
	</div>

<{sectionelse}>
<h3>对不起.没有查找到日志!</h3>
<{/section}>


	</div>
		
		
</div>


<{else if}>
<{section name=ArticleList  loop=$arrArticles}>
<div class="sidebox">
<div class="sideboxInner">
	<h1><a href="<{$baseUrl}>/article/article/id/<{$arrArticles[ArticleList].id}>/"><{$arrArticles[ArticleList].title|truncateex:100:'..':true}></a></h1>
	
	<div class="date">
		订阅RSS:<a href="<{$baseUrl}>/article/rss/id/<{$arrArticles[ArticleList].id}>/"><img  src="<{$baseUrl}>/public/images/rss.png" alt="RSS" title="RSS" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="<{$baseUrl}>/public/images/author.png" alt="author">
		作者: <{$arrArticles[ArticleList].author}>
		<img src="<{$baseUrl}>/public/images/date.png" alt="date">发表时间:<{$arrArticles[ArticleList].addtime|date_format:"%Y-%m-%d"}> | 
		<img src="<{$baseUrl}>/public/images/filed.png" alt="filed">分类: 
		<a href="<{$baseUrl}>/" title="View all posts in Uncategorized" rel="category"><{$arrArticles[ArticleList].classname}></a>&nbsp;&nbsp;
		
		</div>
		<div class="cover">
			<div class="entry">
			<p><{$arrArticles[ArticleList].content|strip_tags|truncateex:200:'..':true}></p>
			<div class="clear"></div>
			</div>
			
			<div class="more">
		<a href="<{$baseUrl}>/article/article/id/<{$arrArticles[ArticleList].id}>/">查看完整日志....</a>
		</div>
		<div class="clear"></div>
		</div>
		<div class="postmetadata">
			<div class="post_comments"><img src="<{$baseUrl}>/public/images/comment.png" alt="日志评论">评论:<a href="<{$baseUrl}>/article/index/id/<{$arrArticles[ArticleList].id}>/" title="评论此日志">
			<{assign var="nums" value="0"}>
			<{section name=CommentList  loop=$arrComment}>
			<{ if $arrArticles[ArticleList].id==$arrComment[CommentList].commentid }>
			[<{$arrComment[CommentList].commentsum}>]
			<{assign var="nums" value="1"}>
			<{/if}>
			<{sectionelse}>
			[0]
			<{/section}>
			<{ if $nums==0}>[0]<{/if}>条</a></div>
			<div class="tagging"><img src="<{$baseUrl}>/public/images/tags.png" alt="tags">标签: <a href="#" rel="tag"><{$arrArticles[ArticleList].tags}></a></div>		</div>
		<div class="clear"></div>
		
		</div>
		<div class="clear"></div>
		
</div>

<{sectionelse}>
对不起.没有查找到数据!
<{/section}>

<{/if}>



<div id="pages"><{$pageInfo}><a href="<{$baseUrl}>/index/rss"><img  src="<{$baseUrl}>/public/images/rss.png" alt="RSS" title="RSS"/></a></div>

</div>

<div id="contentleft">


<{include file="../views/left.phtml" title="left"}>
</div>
<div class="clear"></div>
</div>



</div>


