<!--{include file="<!--{$oetplpath}-->block_header.tpl"}-->
<!--{include file="<!--{$oetplpath}-->block_top.tpl"}-->
<!--{include file="<!--{$oetplpath}-->block_menu.tpl"}-->
<div class="oem_nav">
  当前位置：<a href="<!--{$urlpath}-->">首页</a> &gt;&gt; 查看文章
</div>

<div class="oem_main">
  <div class="oem_article_detail">

    <h1 class="oem_title"><!--{$article.title}--></h1>
    <div class="oem_titlebottom">浏览：<!--{$article.hits}-->次 &#12288;发布时间：<!--{$article.addtime|date_format:"%Y-%m-%d %H:%M:%S"}--></div>
    <div class="oem_article_content">
      <!--{$article.content}-->
    </div>
    
    <div class="oem_article_pn" style="margin-top:10px;">
	  <!--{if empty($pre_data)}-->
      上一篇：没有了
	  <!--{else}-->
	  上一篇：<a href="<!--{$pre_data.url}-->"><!--{$pre_data.title}--></a>
	  <!--{/if}-->
	  &#12288;&#12288;&#12288;&#12288;
	  <!--{if empty($next_data)}-->
      下一篇：没有了
	  <!--{else}-->
	  下一篇：<a href="<!--{$next_data.url}-->"><!--{$next_data.title}--></a>
	  <!--{/if}-->
    </div>
    
    <div class="oem_article_xg">
      <h3>相关阅读</h3>
      <ul>
	    <!--{assign var="relarticle" value=vo_list("mod={article} num={6} catid={<!--{$article.catid}-->} child={1}")}-->
		<!--{foreach $relarticle as $volist}-->
	    <li><a href="<!--{$volist.url}-->"><!--{$volist.title}--></a></li>
		<!--{/foreach}-->
        <div class="clear"></div>
	  </ul>
    </div>
	<!--//oem_article_xg End-->
  </div>


  <div class="oem_article_right">

    <div class="oem_article_rank">
      <h3>
        <a href="javascript:;" class="tab_label_tag current" f="artrank" data-value="1">推荐排行</a>
        <a href="javascript:;"  class="tab_label_tag" f="artrank" data-value="2" >点击排行</a> 
      </h3>
	  
	  <!--{assign var="articlerank1" value=vo_list("mod={article} where={v.elite='1'} num={10}")}-->
      <ul class="tab_box_div" id="tab_label_1" style="display:block;">
		<!--{foreach $articlerank1 as $volist}-->
	    <li><i<!--{if $volist.i < 4}--> class="bg"<!--{/if}-->><!--{$volist.i}--></i> <a href="<!--{$volist.url}-->"><!--{$volist.title}--></a></li>
		<!--{/foreach}-->
	  </ul>
	  <div class="clear"></div>
	  
	  <!--{assign var="articlerank2" value=vo_list("mod={article} orderby={v.hits DESC} num={10}")}-->
      <ul class="tab_box_div" id="tab_label_2" style="display:none;"> 
      	<!--{foreach $articlerank2 as $volist}-->
	    <li><i<!--{if $volist.i < 4}--> class="bg"<!--{/if}-->><!--{$volist.i}--></i> <a href="<!--{$volist.url}-->"><!--{$volist.title}--></a></li>
		<!--{/foreach}-->
		<div class="clear"></div>
      </ul>
	  <div class="clear"></div>
    </div>
	<!--//oem_article_rank End-->
	<script type="text/javascript">
	$(function(){
		$("a[f='artrank']").bind("click", function() {
			$obj_id = $(this).attr("data-value");
			$(".tab_label_tag").removeClass("current");
			$(".tab_box_div").hide();
			$(this).addClass("current");


			$("#tab_label_"+$obj_id).show();
		});
	});
	</script>
    

    <div class="oem_r_shang">
      <h3>推荐商家</h3>
	  <!--{assign var="eliteshop" value=vo_list("mod={shop} city={1} num={8}")}-->
	  <!--{foreach $eliteshop as $volist}-->
      <dl>
	    <dt>
		  <a href="<!--{$volist.url}-->"><img src="<!--{$volist.logourl}-->" /></a></dt>
		  <dd>
          <h4><a href="<!--{$volist.url}-->"><!--{$volist.shopname}--></a></h4>
          <p>评分：<!--{$volist.score}-->分 <!--{if $volist.score > 0}-->点评：<!--{$volist.score}-->分<!--{/if}--></p>
        </dd>
	  </dl>
	  <!--{/foreach}-->
	  <div class="clear"></div>
    </div>
	<!--//oem_r_shang End-->
    
  </div>
  <div class="clear"></div>
</div>

<!--{include file="<!--{$oetplpath}-->block_footer.tpl"}-->
</body>
</html>