db_Update("core", "e107_value='$tmp' WHERE e107_name='menu_pref' "); $ns->tablerender("", "
".LAN_UPDATED."
"); } function defaultpref(){ $menu_pref['online_ls_caption'] = 'LAN_LASTSEEN_1'; //caption for the lastseen_menu $menu_pref['online_ls_amount'] = 10; //amount of records to show in the lastseen_menu $menu_pref['online_caption'] = 'LAN_ONLINE_10'; //caption for the online_menu $menu_pref['online_show_memberlist'] = true; //toggle whether to show a simple member list of online members (shwoing user1, user2, user3) $menu_pref['online_show_memberlist_extended'] = false; //toggle whether to show the extended member list of online members (showing 'user viewing page') } $text = "
".LAN_ONLINE_ADMIN_1."
".LAN_ONLINE_ADMIN_2."
".LAN_ONLINE_ADMIN_3."
".LAN_ONLINE_ADMIN_4."
".LAN_ONLINE_ADMIN_5."
".LAN_ONLINE_ADMIN_6." ".LAN_ONLINE_ADMIN_ENABLED." ".LAN_ONLINE_ADMIN_DISABLED."
".LAN_ONLINE_ADMIN_7." ".LAN_ONLINE_ADMIN_ENABLED." ".LAN_ONLINE_ADMIN_DISABLED."
"; $ns->tablerender(LAN_ONLINE_ADMIN_0, $text); require_once(e_ADMIN."footer.php"); ?>