Xi. Public Function (functions.php)
Originally intended to write the analysis of the building page, but the building page things more, a day is not finished, and we have a lot of functions to be used frequently, the first simple introduction of these functions are necessary;
------------------------------////Check whether the user is a holiday mode, this function has not been called//function Check_urlaubmodus ($user)//output currently logged on User holiday mode remaining time, This function has not been called over function check_urlaubmodus_time ()//------------------------------////to determine if an email address is legitimate//function is_ Email ($email)//------------------------------////Output An administrator information, which is called the display function//$mes--/$title title//$dest- > return page//$time return time function Adminmessage ($mes, $title = ' Error ', $dest = "", $time = "3")//-------------------- ----------////Output Normal user information, call the Display function//$mes, content//$title title//$dest Back Page//$time, return time function message ( $mes, $title = ' Error ', $dest = "", $time = "3")//------------------------------////Output Information////$page page//$title Page Title//$topnav contains the header resource display file//$metatags meta Tag value//$AdminPage is the Manage page function display ($page, $tit Le = ", $topnav = true, $metatags =", $AdminPage = False)//------------------------------////defines the user's meta value//$title, title $metatags->meta value function stduserheader ($title = ", $metatags =")//------------------------------////defines the administrator's meta value//$title title//$metatags->meta value function Adminuserheader ($title = ", $metatags =")//------------------------------////Definition Footer page//function stdfooter ()//------ ------------------------////calculates the maximum spatial value of the current planet, also into the topographic transformation value//$planet Planet, note that the address function calculatemaxplanetfields (&$ Planet
http://www.bkjia.com/PHPjc/824839.html www.bkjia.com true http://www.bkjia.com/PHPjc/824839.html techarticle 11, the Public Function (functions.php) originally intended to write the analysis of the building page, but the building page things more, one day can not finish, and we have a lot of functions to often ...