setting(string $name, [int $field])
returns string or array

This function returns the value of a specific setting from the global_settings table in the database. If $field (1-3) is not given, an array is returned containing all three values.

<?php 
$siteInfo= setting( "site" ); 
/* 
returns Array ( 
		[data1] => The Secretary, 
		[data2] => http://www.secretarycms.com 
		[data3] => 
	) 
*/ 
 
$siteInfo= setting( "site", 2 ); 
/* returns http://www.secretarycms.com */ 
?>

themeUrl()
returns string

This function returns the URL to the current theme, for use in <script> or <link> tags.

siteTitle()
returns string

Returns the title of the site, as defined in the settings panel.

linkToSite()
returns string

Returns a URL to the front-end, which can be used in header logo or “back to home” links.

requireCss(string $file, [boolean $inSite])
returns HTML

Returns a <link> tag to the given CSS file. If $inSite is true, the function looks for the file in the the ../site/css/ folder. Works similar to PHP's include() and require() do, so if the file has already been included, the function will not return anything.

<?php 
echo requireCss( themeUrl() . '/css/print.css' ); // target a file in the theme's CSS folder 
echo requireCss( 'global', true ) // target "global.css" in ../site/css/ 
?>

requireJs()
returns HTML

Works exactly the same as requireCss(), but for Javascript files, of course!