<br>
<a href="/"><img id="logo" src="/img/nyquist_logo.png" width="300"></a>
<h3></i>&nbsp;&nbsp;<strong><?php echo $_SESSION['device_type']; ?> (<?php echo $_SESSION['device_name']; ?>)</strong></h3><?php if($_SESSION['standalone_mode']=='1'){ echo '<h4>&nbsp;&nbsp;(Standalone Operation Enabled)</h4>';}?>
<a href="/"  type="button" style="margin:5px;" class="btn btn-xs btn-primary"><i class="fa fa-dashboard"></i>&nbsp;&nbsp;Dashboard</a><a href="configuration<?php if( $_SESSION['standalone_mode']=='1'){ echo '_s';}?>.php"  type="button" style="margin:5px;" class="btn btn-xs btn-primary"><i class="fa fa-cogs"></i>&nbsp;&nbsp;Configuration Settings</a><a href="network<?php if( $_SESSION['standalone_mode']=='1'){ echo '_s';}?>.php" id="networkButton" name="networkButton" onClick="network_button();" type="button" style=";margin:5px;" class="btn btn-xs btn-primary"><i class="fa fa-sitemap"></i>&nbsp;&nbsp;Network Settings</a><a href="firmware.php" type="button" style="margin:5px;" class="btn btn-xs btn-primary"><i class="fa fa-download"></i>&nbsp;&nbsp;Firmware Update</a><a href="logs.php" type="button" style="margin:5px;" class="btn btn-xs btn-primary"><i class="fa fa-file-text-o"></i>&nbsp;&nbsp;Logs</a><?php if(in_array($_SESSION['device_id'],['nq-mix','nq-amp2c','nq-amp4c','nq-s810v2','nq-ga20p2','nq-nqpaxxx','nq-amp2c-g2','nq-amp4c-g2','nq-edp01','nq-ga400p','nq-ga40p3','nq-wbc','nq-ser20p2','nq-dsc01'])){ ?><a href="dsp.php" type="button" style="margin:5px;" class="btn btn-xs btn-primary"><i class="fa fa-sliders"></i>&nbsp;&nbsp;DSP</a><?php } ?><a href="/help/<?php echo $_SESSION['device_id']; ?>" type="button" style="margin:5px;" class="btn btn-xs btn-primary" target="_blank"><i class="fa fa-question-circle"></i>&nbsp;&nbsp;Help</a><?php if($_SESSION['pdf']!=''){ ?><a href="/help/pdfs/<?php echo $_SESSION['pdf']; ?>" type="button" style="margin:5px;" class="btn btn-xs btn-primary" target="_blank"><i class="fa fa-file-pdf-o"></i>&nbsp;&nbsp;Manual</a><?php } ?><?php if($_SESSION['standalone_mode']=='1'){?><a href="/about.php" type="button" style="margin:5px;" class="btn btn-xs btn-primary"><i class="fa fa-info-circle"></i>&nbsp;&nbsp;About</a><?php } ?><a href="logout.php" type="button" style="margin:5px;" class="btn btn-xs btn-danger"><i class="fa fa-sign-out"></i>&nbsp;&nbsp;Logout</a>
<hr>
<script>
function network_button(){
	document.getElementById("networkButton").innerHTML = '<i class="fa fa-refresh fa-spin fa-fw"></i> Network Settings';
}
</script>