PHPCMS's Article details page

Source: Internet
Author: User

Position:

class= "breadcrumb" > Your location: <a itemprop= "breadcrumb" href= "{siteurl ($siteidclass=" Current "><a href=" newslist.html ">{catpos ($catid)}</a> {$title}</span>< /div>        

Article Information:

class= "Text-left" >{$title}class= "Article-meta" > <spanclass= "Glyphicon glyphicon-time" aria-hidden= "true" ></span>{$inputtime}                    <spanclass= "Glyphicon Glyphicon-user" aria-hidden= "true" ></span>{$copyfrom}                                        <spanclass= "Glyphicon Glyphicon-folder-open" aria-hidden= "true" ></span> Category: <a href= "#" rel= "category tag" ></ A> <spanclass= "Glyphicon Glyphicon-eye-open" aria-hidden= "true" ></span> read: <span id= "hits" ><script language= " JavaScript "src=" {app_path}api.php?op=count&id={$id}&modelid={$modelid} "></script> times </span> </div>

Content:

{$content}

Next article:

class class= "Glyphicon glyphicon-menu-left" aria-hidden= "true" ></span><strong> previous article </strong ><BR/><a href= "{$previous _page[url]}" rel= "prev" >{$previous _page[title]}</a ></div>                classclass= "Glyphicon glyphicon-menu-right" aria-hidden= "true" ></ SPAN></STRONG><BR/><a href= "{$next _page[url]}" rel= "Next" >{$next _page[ Title]}</a></div>            

Other articles:

{pc:content action= "hits" Catid= "$catid"Num=" 3 "order=" Monthviews DESC "cache=" 3600 "}         {if $data}        <divclass= "Related wow fadeinup" data-wow-delay= "0.5s" > class= "Widget_title" > They also read the article class= "Related_box Row" >{loop$data $r}                <divclass= "Col-md-4 col-sm-4" > <!--related_body start--> <divclass= "Related_body" > <a href= "#"class= "Related_thum" >                        {if $r[' thumb '] = =NULL}                                                    {Else}                        $r[Thumb]} "class= "Img-responsive" title= "{$r[Title]} " alt= "{$r[Title]} " >                        {/if}                        </a> <divclass= "Related-title" > <a href= "{$r[url]} " Title= "{$r[Title]} " >{$r[Title]} </a> </div> </div> <!--related_bodyEnd-</div>            {/Loop}</div> <!--Related_boxEnd-</div>        {/if}        {/PC}

Right column:

{pc:content action= "hits" Catid= "$catid"Num=" 5 "order=" Monthviews DESC "} {Loop$data $r}             <li> <spanclass= "Hots_img" > <a href= "{$r[url]} " target= "_blank" >$r[Thumb]} "class= "Img-responsive" alt= "{$r[Title]} " ></a> </span> <spanclass= "Hots_title" ><a href= "{$r[url]} " target= "_blank" >{$r[Title]} </a></span> <spanclass= "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];} <spanclass= "Glyphicon Glyphicon-eye-open" aria-hidden= "true" ></span>{$views}                </span> </li>        {/Loop} {/PC}

PHPCMS's Article details page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.