'fa fa-home', 'bibliography' => 'fa fa-bookmark', 'circulation' => 'fa fa-clock-o', 'membership' => 'fa fa-user', 'master_file' => 'fa fa-pencil', 'stock_take' => 'fa fa-suitcase', 'system' => 'fa fa-keyboard-o', 'reporting' => 'fa fa-file-text-o', 'serial_control' => 'fa fa-barcode', 'logout' => 'fa fa-close', 'opac' => 'fa fa-desktop' ); $appended_first = '
  • '; $_mods_q = $dbs->query('SELECT * FROM '.$module_table); while ($_mods_d = $_mods_q->fetch_assoc()) { $module_list[] = array('name' => $_mods_d['module_name'], 'path' => $_mods_d['module_path'], 'desc' => $_mods_d['module_desc']); } $_menu .= ''; echo $_menu; } function sub_menu($str_module = '', $_module = array()) { global $dbs; $modules_dir = 'modules'; $_submenu = '
    '; return $_submenu; } function get_shortcuts_menu() { global $dbs; $shortcuts = array(); $shortcuts_q = $dbs->query('SELECT * FROM setting WHERE setting_name LIKE \'shortcuts_'.$_SESSION['uid'].'\''); $shortcuts_d = $shortcuts_q->fetch_assoc(); if ($shortcuts_q->num_rows > 0) { $shortcuts = unserialize($shortcuts_d['setting_value']); } return $shortcuts; }