* @package AgileBill * @version 1.4.93 */ function list_menu_theme ($name, $id, $class) { global $C_translate, $C_auth; if(!isset($this->id)) $this->id = 100; # set the input id if($id = '') $id = DEFAULT_THEME; # get the records $db = &DB(); $sql= "SELECT * FROM " .AGILE_DB_PREFIX."theme WHERE site_id = '" . DEFAULT_SITE . "' ORDER BY name,description"; $result = $db->Execute($sql); # error handling if ($result === false) { global $C_debug; $C_debug->error('list.inc.php','menu', $db->ErrorMsg()); return false; } # start the return variable $return = ''; return $return; } ?>