{template:header}
<!--top end-->
<article> 
  <!--lbox begin-->
  <div class="lbox">
    <div class="content_box whitebg">
      <h2 class="htitle"><span class="con_nav"> <a href="{$host}" title="{$name}" class="gray">首页</a> > {if $type == 'page'}{else}<a href="{$article.Category.Url}" title="{$article.Category.Name}">{$article.Category.Name}</a> </span>博客日记</h2>
      <h1 class="con_tilte">{$article.Title}</h1>
      {if $type == 'page'}{else}
      <p class="bloginfo"><span>{$article.Time('y-m-d')}</span><span><a href="{$article.Category.Url}" title="{$article.Category.Name}">{$article.Category.Name}</a></span><span>围观<i id="number">{$article.ViewNums}</i>次</span></p>{/if}


      <p class="con_info"><b>简介</b>{if strlen($article.Intro)>0}
				{php}$intro= trim(SubStrUTF8(TransferHTML($article->Intro,'[nohtml]'),100));{/php}
				{else}
				{php}$intro= trim(SubStrUTF8(TransferHTML($article->Content,'[nohtml]'),90));{/php}
			{/if}
	  {$intro}</p>
      <div class="con_text">
<p>{$article.Content}</p>
<p></p>
{if $type == 'page'}{else}
<p>Tags：{if $article.Tags}	{foreach $article.Tags as $tag}	<a href="{$tag.Url}" rel="tag" title="{$tag.Name}">{$tag.Name}</a>{/foreach}{/if}{/if}</p>
        <p class="share"><b>转载：</b>如非注明，本站文章均为 <a href="{$host}" title="江西股票期货网">江西股票期货网</a> 原创，转载请注明出处和附带<a href="{$article.Url}">{$article.Title}</a>本文链接。</p>
        <div class="nextinfo">
      <p>上一篇：{if $article.Prev}<a href="{$article.Prev.Url}" title="{$article.Prev.Title}">{$article.Prev.Title}</a>{else}没有了{/if}<br>下一篇：{if $article.Next}<a  href="{$article.Next.Url}" title="{$article.Next.Title}">{$article.Next.Title}</a>{else}没有了{/if}</p>
        </div>
        {/if} 
      </div>
    </div>
    {if $type == 'page'}{else}
    <div class="whitebg">
      <h2 class="htitle">相关文章</h2>
      <ul class="otherlink">
{$array=GetList(9,null,null,null,null,null,array('is_related'=>$article->ID));}
								{foreach $array as $related}
<li><a href="{$related.Url}" title="{$related.Title}">{$related.Title}</a></li>{/foreach}	

      </ul>
    </div>{/if} 


    </div>
  <!--lbox end-->
  <div class="rbox">
  <div class="whitebg paihang">
      <h2 class="htitle">最新发布</h2>
      <ul>
{foreach GetList(10) as $newlist}
   <li><i></i><a href="{$newlist.Url}" title="{$newlist.Title}" target="_blank">{$newlist.Title}</a></li>
   {/foreach} 
      </ul>

    </div>
    <div class="whitebg paihang">
      <h2 class="htitle">点击排行</h2>
<ul>
    {php}
$order = array('log_ViewNums'=>'DESC');
$where = array(array('=','log_Status','0'));
$array = $zbp->GetArticleList(array('*'),$where,$order,array(8),'');
{/php}
{foreach $array as $hotlist}
   <li><i></i><a href="{$hotlist.Url}" title="{$hotlist.Title}" target="_blank">{$hotlist.Title}</a></li>
   {/foreach} 
      </ul>
    </div>
    <div class="whitebg tuijian">
      <h2 class="htitle">本站推荐</h2>

      <ul>

       {$topArray = GetList(10, null, null, null, null, null, array("only_ontop"  => true));}
{foreach $topArray as $top}
        <li><a href="{$top.Url}" target="_blank" title="{$top.Title}"><i><img src="{orangecms_thumbnail($article)}" alt="{$top.Title}"></i>
          <p>{$top.Title}</p>
          </a></li>{/foreach}
      </ul>

    </div>
    <div class="ad whitebg imgscale">
      <ul><a href='{$host}' target=_blank><img src='{$host}zb_users/theme/{$theme}/style/images/tupian2.jpg'></a> </ul>
    </div>
    <div class="whitebg cloud">
      <h2 class="htitle">标签云</h2>
      <ul>
      {orangecms_cloud()} </ul>
    </div>   
    </div>
</article>
{template:footer}

