phpcms之文章详情页

位置:

class="breadcrumb">您的位置: $siteid)}">首页 » class="current">{catpos($catid)} {$title}

文章信息:

class="text-left">{$title}

class="article-meta"> class="glyphicon glyphicon-time" aria-hidden="true">{$inputtime} class="glyphicon glyphicon-user" aria-hidden="true">{$copyfrom} class="glyphicon glyphicon-folder-open" aria-hidden="true">分类: class="glyphicon glyphicon-eye-open" aria-hidden="true">阅读:

内容:

{$content}

上下一篇:

class="col-sm-6 col-xs-12">class="glyphicon glyphicon-menu-left" aria-hidden="true">上一篇
$previous_page[url]}" rel="prev">{$previous_page[title]}
class="col-sm-6 col-xs-12">下一篇class="glyphicon glyphicon-menu-right" aria-hidden="true">
$next_page[url]}" rel="next">{$next_page[title]}

其他文章:

{pc:content action="hits" catid="$catid" num="3" order="monthviews DESC" cache="3600"}
         {if $data}
        
class="related wow fadeInUp" data-wow-delay="0.5s">

class="widget_title">他们还看的文章

class="related_box row"> {loop $data $r} {/loop}
{/if} {/pc}

右边栏:

{pc:content action="hits" catid="$catid" num="5" order="monthviews DESC"}
        {loop $data $r} 
            
  • class="hots_img"> $r[url]}" target="_blank">$r[thumb]}" class="img-responsive" alt="{$r[title]}"> class="hots_title">$r[url]}" target="_blank">{$r[title]} class="hots_views"> {php $h_md=pc_base::load_model('hits_model');$get_db=$h_md->get_one(array('hitsid'=>"c-".$modelid."-".$r[id]));$views=$get_db[views];} class="glyphicon glyphicon-eye-open" aria-hidden="true">{$views}
  • {/loop} {/pc}

     

    转载于:https://www.cnblogs.com/l979662050/p/8350602.html

    你可能感兴趣的:(phpcms之文章详情页)