Home>Article>Backend Development> Detailed explanation of phpcms configuration list page example

Detailed explanation of phpcms configuration list page example

小云云
小云云 Original
2018-02-10 09:47:49 1453browse

This article mainly introduces you to the phpcms configuration list page and the article release time. Friends who need it can refer to it. I hope it can help everyone.


{pc:content action="lists" catid="11" order="id DESC" num="10" moreinfo="1"}

    {loop $data $key $val} {php list($copyfrom) = explode('|', $val['copyfrom'])}
  • {$val['title']} {$copyfrom} {date('Y-m-d',$val[inputtime])}
  • {/loop}
{/pc}

Calling the first-level column name and the second-level column name:


{$CATEGORYS[$CAT[parentid]][catname]} {$CATEGORYS[$CAT[catid]][catname]}

Related recommendations:

How to add the like function to the homepage list page of empire cms

The above is the detailed content of Detailed explanation of phpcms configuration list page example. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn