Empire cms Common Variable Summary

A commonly used variables

Current topic ID $ GLOBALS [ 'navclassid']

Column current parent ID $ class_r [$ cid] [ 'bclassid']

Columns path $ class_r [section ID] [ 'classpath']

The ultimate value of the current column $ class_r [$ cid] [islast]

Site name $ public_r [sitename]

The web root directory $ public_r [newsurl]

A column $ public_r [classnavs]

In-page data sheet field $ navinfor [field name]

Column link sys_ReturnBqClassname ($ r, 9)

Take the title link sys_ReturnBqTitleLink ($ r)

Obtain IP address egetip ()

Get current address eReturnSelfPage (0)

File extension GetFiletype ($ file)

Note: the list of templates, can be obtained by R & lt $ [ 'Name'], if placed inside PHP used, that PHP is not added then placed around {variable}, e.g. {$ r [ 'userid']} <??> even inside the same is true in php program.

Second, get back COOKIE

Style ID getcvar ( 'loginadminstyleid', 1)

Password encryption getcvar ( 'loginecmsckpass', 1)

组ID getcvar('loginlevel',1)

Encrypted authentication code getcvar ( 'loginrnd', 1)

User ID getcvar ( 'loginuserid', 1)

Username getcvar ( 'loginusername', 1)

UNIX login time stamp getcvar ( 'logintime', 1)

Third, reception acquisition COOKIE

Group Member ID getcvar ( 'mlgroupid');  

Encrypted authentication code getcvar ( 'mlrnd');      

Member ID getcvar ( 'mluserid');   

Members Username getcvar ( 'mlusername'); 

Fourth, the system templates

Collecting field template e / data / html / cjhtml.txt

Reception field form template e / data / html / qfhtml.txt

Background Field form template e / data / html / sysfhtml.txt

Columns form template field e / data / html / classfhtml.txt

Member field form template e / data / html / memberfhtml.txt

Message Template e / data / template / gbooktemp.txt

Download page template e / data / template / downpagetemp.php

Comments list template e / data / template / pltemp.txt

Comments JS call to template e / data / template / pljstemp.txt

Background list template e / data / html / list / listinfo.php

All the background information list template e / data / html / list / alllistinfo.php

Front desk member management information list template e / data / html / list / qlistinfo.php

 

Guess you like

Origin www.cnblogs.com/lazb/p/11842649.html