1 / 36
文档名称:

CMS-深喉咙标签全集及示例.doc

格式:doc   大小:600KB   页数:36页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

CMS-深喉咙标签全集及示例.doc

上传人:xunlai783 2019/5/25 文件大小:600 KB

下载得到文件列表

CMS-深喉咙标签全集及示例.doc

文档介绍

文档介绍:站点名称<?phpechoSITENAME?>站点简介<?phpechoSITESUMMARY?>站点模板的根路径<?phpechoget_skin_root()?>网站的跟路径(绝对路径)<?phpechoget_root_path()?>网站的主导航菜单<?phpmain_menu('','')?>常见用法:<?phpmain_menu('<li>||</li>','<liid="selected">||</li>','<spanstyle="">')?>第一个参数('<li>||</li>')中的||为分割符,用来给定导航左右两边的标签;第二个参数为,选中时的代码;第三个参数可以设置主导航频道的显示样式,在这里用户可以引用设置的css样式。首页调用一主栏目下的所有子栏目导行call_sub_menu($smId,$str,$select_str,$span_style),查看详情。前台模糊搜索页面代码添加1,首先要求您的搜索框<inputname="keyword"type="text"value="" />也就是name属性必需是[keyword];2,其实要求您的搜索内容<formaction="<?phpecho$search?>"></form>,也就是要求[action]动作必需使用<?phpecho$search?>这个标签;3,如果想保留搜索关键字,需要在您的搜索框<inputname="keyword"value="<?phpechourldecode($request['keyword'])?>"type="text"/>,也就是为您的搜索框[value]属性加上<?php echourldecode($request['keyword']?>标签系统会员登录框HTML代码添加说明登录框有三个Input元素:用户名、密码和Submit。其中用户名可以这样写<inputname="username"id="username"type="text"/>,密码<inputname="pwd"id="pwd"type="password"maxlength="30"/>,提交的地址为<?phpechoget_root_path()?>/?m=user&a=login,form表头可以这样写<formname="form1"method="post"action="<?phpechoget_root_path()?>/?m=user&a=login">,用户也可以根据需要为登录框添加自己的样式内容。首页调用频道栏目图片dt_channel_pic($id,$style=0),查看详情。首页调用图文标签 _article($channelId,$strcount=0),查看详情。首页调用图文标签 _article_normal($channelId,$strcount=0),查看详情。首页调用图文标签 _article_pic($channelId,$strcount=0,$style=0),查看详情。首页调用图文标签 dt_en_article($channelId,$strcount=0),查看详情。首页调用图文标签 dt_en_article_pic($channelId,$strcount=0,$style=0),查看详情。首页调用新闻标签 dt_list($channelId,$n,$strcount=0,$style=0,$isellipsis=true,$ordering='ordering'),查看详情。首页列表调用标签 dt_calllist($channelId,$n,$strcount=0,$style=0,$isellipsis=true,$ordering='ordering'),查看详情。首页调用新闻标签 dt_blog($channelId,$n,$style),查看详情。首页调用下载标签 dt_download($channelId,$n,$strcount=0,$style=0,$isellipsis=true,$ordering='ordering'),查看详情。首页调用留言标签dt_guestbook($channelId,$n,$strcount=0,$strcountl=0,$style=0,$isellipsis=true,$ordering='ordering'),查看详情。首页调用招聘标签dt_jobs($channelId,$n,$strcount=0,$style=0,$isellipsis=false,$ordering='ordering'),查看详情。首页调用图片标签dt_picture($channelId,$n,$strcount=0,$style=0,