<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2017 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: admin_nav.php
| Version: 1.1
| Author: Virel
| About: Virel Servers Status infusion
| Web/Support: https://www.virel.eu/
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

// Infusion version
   $version_data = dbarray(dbquery("SELECT inf_version FROM ".DB_INFUSIONS." WHERE inf_folder = 'virel_servers_status'"));	
   $version = $version_data['inf_version'];

    opentable("Virel Servers Status - infusion v".$version);
	echo "<table cellpadding='0' cellspacing='1' class='tbl-border' style='text-align:center;width:100%;margin-bottom:1em;'>\n<tr>\n";
	echo "<td class='".(FUSION_SELF == "admin.php" ? "tbl1" : "tbl2")."' style='width:15%'>".(FUSION_SELF == "admin.php" ? "<strong>" : "")."<a href='".VSSBASE."admin.php".$aidlink."' class='side'>".$locale['vss_004']."</a></td>";	
	echo "<td class='".(FUSION_SELF == "settings.php" ? "tbl1" : "tbl2")."' style='width:15%'>".(FUSION_SELF == "settings.php" ? "<strong>" : "")."<a href='".VSSBASE."settings.php".$aidlink."' class='side'>".$locale['vss_005']."</a></td>";
	echo "<td class='".(FUSION_SELF == "version_check.php" ? "tbl1" : "tbl2")."' style='width:15%'>".(FUSION_SELF == "version_check.php" ? "<strong>" : "")."<a href='".VSSBASE."version_check.php".$aidlink."' class='side'>".$locale['vss_006']."</a></td>";
	echo "</td>\n</tr></table>\n";
	closetable();
?>