CMS管理系统学习

2022-04-18 0 973 百度已收录

通过学习我已经掌握PHPCMS、PbootCMS、DedeCMS的调用! 下面是部分调用的截图

CMS管理系统学习

CMS管理系统学习

PBootcms调用截图

1、模板文件嵌套引用
{include file=***.html}

2、时间格式化标签
style=*
如:内容列表时间格式化[list:date style=Y-m-d]、内容详情页时间格式化{content:date style=Y-m-d}

3、HTML去除标签
drophtml=1
如:内容列表内容[list:content drophtml=1]、内容详情页内容{content:content drophtml=1}

4、分页条自带的HTML样式class名称
状态:page-status
首页:page-index
上一页:page-pre
下一页:page-next
尾页:page-last
数字条:page-numbar ,数字条下面的数字:page-num ,如果是当前页,那么该数字还同时带有:page-num-current
下拉条:page-select (默认条已经不显示)
{page:bar} 系统内置的完整分页条
{page:current} 当前页码
{page:count} 总页数
{page:rows} 总数据行数
{page:index} 首页链接
{page:pre} 前一页链接
{page:next} 下一页链接
{page:last} 尾页链接
{page:status} 分页状态信息
{page:numbar} 数字条,数字带class名称为page-num,当前的同时还带page-num-current
{page:selectbar} 下拉选择条

部分PBootcms的记录

 

CMS管理系统学习

CMS管理系统学习

PHPCMS

{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">

{php $j=0}
{php $search_model = getcache('search_model_'.$siteid, 'search');}
{loop $search_model $k=>$v}
{php $j++;}
<a href="javascript:;" rel="external nofollow"  onclick="setmodel({$v['typeid']}, $(this));" style="outline:medium none;" hidefocus="true" {if $j==1 && $typeid=$v['typeid']} class="on" {/if}>{$v['name']}</a>{if $j != count($search_model)}<span> | </span>{/if}
{/loop}
{php unset($j);}

<form action="{APP_PATH}index.php" method="get" target="_blank">
<input type="hidden" name="m" value="search"/>
<input type="hidden" name="c" value="index"/>
<input type="hidden" name="a" value="init"/>
<input type="hidden" name="typeid" value="{$typeid}" id="typeid"/>
<input type="hidden" name="siteid" value="{$siteid}" id="siteid"/>
<input type="text" class="text" name="q" id="q"/><input type="submit" value="搜 索" class="button" />
</form>
部分PHPcms的记录
收藏 (0) 打赏

微信联系法式

打开微信扫一扫,即可进行联系我哦,分享从这里开始,精彩与您同在
点赞 (1)

王景锋介绍项目展示 Web前端 CMS管理系统学习 https://wjf.gzsnx.cn/53.html

奋斗是水,浇灌成功之花;奋斗是灯,照亮人生之路,奋斗是桥,塔起理想的彼岸

常见问题

相关文章

猜你喜欢
评论
暂无评论