<?php
	$custom_group_01 = getConfigData("Custom Group 01 Name", "Custom 01");
	$custom_group_02 = getConfigData("Custom Group 02 Name", "Custom 02");
	$custom_group_03 = getConfigData("Custom Group 03 Name", "Custom 03");
	$custom_group_01_icon = str_replace(" ", "", mb_strtolower($custom_group_01)) . ".png";
	$custom_group_02_icon = str_replace(" ", "", mb_strtolower($custom_group_02)) . ".png";
	$custom_group_03_icon = str_replace(" ", "", mb_strtolower($custom_group_03)) . ".png";
?>
<div class="container-fluid" id="header">
	<div class="row">
		<div class="col-xs-4">
			<a href="menu.php"><img id="logo" src="lib/css/images/logo-small.png" alt="Watch My Domains SED"></a>
		</div>
		<div class="col-xs-8 text-right" style="padding-right:10px;">
			<a href="" class="btn btn-xs btn-default btn-navtb" id="btn_navbarmenu"><img src="lib/css/images/16/menu.png" alt="Menu" title="Menu"></a>
			<img class="hidden-xs" src="lib/css/images/16/vseparator.png">
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_date_columns_group"><img src="lib/css/images/16/calendar.png" alt="Important Dates" title="Important Dates"></a>
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_http_columns_group"><img src="lib/css/images/16/webpage.png" alt="Home Page Data" title="Home Page Data"></a>
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_registrar_columns_group"><img src="lib/css/images/16/registrar.png" alt="Registrar Data" title="Registrar Data"></a>
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_network_columns_group"><img src="lib/css/images/16/network.png" alt="Network Info" title="Network Info"></a>
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_sitepop_columns_group"><img src="lib/css/images/16/sitepop.png" alt="Web Visibility Data" title="Web Visibility Data"></a>
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_notes_columns_group"><img src="lib/css/images/16/notes.png" alt="Notes" title="Notes"></a>
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_ipdata_columns_group"><img src="lib/css/images/16/ipinfo.png" alt="IP Info" title="IP Info"></a>
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_custom01_columns_group"><img src="lib/css/images/16/<?php echo $custom_group_01_icon; ?>" alt="<?php echo $custom_group_01; ?>" title="<?php echo $custom_group_01; ?>"></a>
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_custom02_columns_group"><img src="lib/css/images/16/<?php echo $custom_group_02_icon; ?>" alt="<?php echo $custom_group_02; ?>" title="<?php echo $custom_group_02; ?>"></a>
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_report_columns_group"><img src="lib/css/images/16/<?php echo $custom_group_03_icon; ?>" alt="<?php echo $custom_group_03; ?>" title="<?php echo $custom_group_03; ?>"></a>
			<img class="hidden-xs" src="lib/css/images/16/vseparator.png">
			<!--
			<a href="" id="btn_appmenu" class="hidden-xs btn btn-xs btn-default btn-navtb"><img src="lib/css/images/16/appmenu.png" alt="App Menu" title="App Menu"></a>
			-->
			<a href="" id="btn_subdmanager" class="btn btn-xs btn-default btn-navtb"><img src="lib/css/images/16/subdomains.png" alt="Subdomain Manager" title="Subdomain Manager"></a>
			
			<?php if(isUserAuthEnabled()) { ?>
			<img class="hidden-xs" src="lib/css/images/16/vseparator.png">
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_logout"><img src="lib/css/images/16/disconnect.png" alt="Logout" title="Logout"></a>
			<?php } else { ?>
			<a href="" class="hidden-xs btn btn-xs btn-default btn-navtb" id="btn_nologin"><img src="lib/css/images/16/nologin.png" alt="Authentication not present" title="Authentication not present"></a>
			<?php } ?>
		</div>
	</div>
</div>
