欢迎光临一流素材网,免积分免费素材下载!
当前位置:首页 > 教程 > CMS教程>DiYunCms

帝云CMS模块内容页面show.html调用

所属栏目:DiYunCms更新时间:2019-12-18 来源:网络 原作者:不详 发布:deepdfhy浏览:0

免费开源可商用的PHP万能建站程序-DiYunCMS(帝云CMS)

{$description}简介
{$updatetime}更新时间
{dr_date($_updatetime, 'Y-m-d')}更新时间-自定义
{dr_get_file($thumb)}缩略图
{dr_thumb($thumb, 400, 400)}缩略图-生成尺寸
{dr_show_hits($id)}浏览量(计数)


面包屑

当前位置:<a href="{SITE_URL}">首页</a> > {if !IS_SHARE}<a href="{MODULE_URL}">{MODULE_NAME}</a> > {/if}{dr_catpos($catid, ' > ', true, '<a href="[url]">[name]</a>')}


上下一篇

<div class="updown">
<p><strong>上一篇:</strong>{if $prev_page}<a href="{$prev_page.url}">{$prev_page.title}</a>{else}没有了{/if}</p>
<p><strong>下一篇:</strong>{if $next_page}<a href="{$next_page.url}">{$next_page.title}</a>{else}没有了{/if}</p>
</div>


收藏/打赏

<a href="javascript:dr_module_favorite('{MOD_DIR}', '{$id}');" class="icon-btn">
                                                <i class="fa fa-star"></i>
                                                <div> 收藏 </div>
                                                <span class="badge badge-danger" id="module_favorite_{$id}"> {intval($favorites)} </span>
                                            </a>
                                            <a href="javascript:dr_module_digg('{MOD_DIR}', '{$id}', 1);" class="icon-btn">
                                                <i class="fa fa-thumbs-o-up"></i>
                                                <div> 有帮助 </div>
                                                <span class="badge badge-danger" id="module_digg_{$id}_1"> {intval($support)} </span>
                                            </a>
                                            <a href="javascript:dr_module_digg('{MOD_DIR}', '{$id}', 0);" class="icon-btn">
                                                <i class="fa fa-thumbs-o-down"></i>
                                                <div> 没帮助 </div>
                                                <span class="badge badge-danger" id="module_digg_{$id}_0"> {intval($oppose)} </span>
                                            </a>
                                            {if dr_is_app('shang')}
                                            <a href="{Router::donation_url($id)}" class="icon-btn">
                                                <i class="fa fa-rmb"></i>
                                                <div> 打赏 </div>
                                                <span class="badge badge-danger"> {floatval($donation)} </span>
                                            </a>
                                            {/if}


标签:
收藏 0 有帮助 0 没帮助 0 打赏 0
相关教程
给个评价吧