## YXcms全局系统标签
| 标签 | 说明 |
| --- | --- |
| {$title} | 网站标题 |
| {$sitename} | 站点名称 |
| {$keywords} | 网站关键词 |
| {$description} | 网站描述 |
| {$telephone} | 联系电话 |
| {$QQ} | QQ |
| {$email} | 站长邮箱 |
| {$address} | 公司地址 |
| {$icp} | ICP备案号 |
## YXcms系统变量标签
| 标签 | 说明 |
| --- | --- |
| __PUBLICAPP__/ | 当前模版附件文件夹目录(例:/public/default/default/) |
| __PUBLIC__/ | public文件夹路径(例:/public/) |
| __UPLOAD__/ | upload上传附件文件夹路径(例:/upload/) |
| {include file="$__template_file"} | layout功能主体部分调用 |
| {include file="模版名称"} | 包含文件模版(例:{include file="arightCom"},名称不带.php后缀名) |
| {url()} | 首页网址 |
| {url('admin/index/login')} | 后台网址 |
| {$NewImgPath} | 资讯图片路径(/upload/news/image/),此标签适用于1.1.8与之前版本 |
| {$PhotoImgPath} | 图集图片路径(/upload/photos/image/),此标签适用于1.1.8与之前版本 |
| {$LinkImgPath} | 友情链接图片路径(/upload/links/image/),此标签适用于1.1.8与之前版本 |
| {$PageImgPath} | 单页图片路径(/upload/pages/image/),此标签适用于1.1.8与之前版本 |
| [循环标识:picturepath] | 完整图片地址,此标签适用于1.1.9与之后版本 |
| {$sorts[栏目ID]['name']} | 栏目名称 |
| {$sorts[栏目ID]['path']} | 栏目层级路径 |
| {$sorts[栏目ID]['deep']} | 几级栏目 |
| {$sorts[栏目ID]['method']} | 栏目控制器和方法 |
| {$sorts[栏目ID]['ifmenu']} | 是否前台显示 |
| {$sorts[栏目ID]['url']} | 栏目URL路径 |
| {$sorts[栏目ID]['pid']} | 上级栏目ID |
| {$sorts[栏目ID]['picture']} | 栏目图片地址 |
| $auth | 会员登录后的个人信息,未登录时为空 |
| {$auth['id']} | 会员id |
| {$auth['groupid']} | 会员权限组 |
| {$auth['account']} | 会员账户 |
| {$auth['nickname']} | 会员昵称 |
| {$auth['lastip']} | 上次登录IP |
| $memberoff | 判断会员应用是否开启,true为关闭,false为开启 |
| {url('member/index/index')} | 会员中心链接地址 |
| {url('member/index/login')} | 会员登录链接地址 |
| {url('member/index/regist')} | 会员注册链接地址 |
| {url('member/index/logout')} | 会员退出链接地址 |
| $rootid | 当前栏目的顶级分类栏目ID |
| {$num} | 图集、文章列表页:栏目下信息数量,图集内页图片数量 |
| {$pnum} | 前台图片列表图图集数量调用 |
| {url('extend/index',array('id'=>$id))} | 自定义表单提交地址 |
| {url('index/search')} | 搜索表单提交地址 |
| {url('index/verify')} | 验证码图片路径 |