<?
/*
 * This file is part of a larger software package. Please read the License file 
 * in the root of this installation for terms of usage and distribution.
 * 
 * @author The Web Pro Miami, Inc. <info@thewebpro.com>
 * @copyright The Web Pro Miami, Inc. <info@thewebpro.com>, http://www.thewebpro.com/
 * 
 * CORE: manage/system_log.php - version 1.0
*/

$nAdminOnlyPg = 1;

// Secure and connect
require("../inc/dbconnect.php");
require("inc/secure_page.php");
require("../inc/tracker.php");

// Includes
require("../inc/config.php");
require("inc/lang.php");

// set page defaults
$nLoadJS = ""; // used for changing title onload
?>
<?php include("inc/nav/header.php"); ?>

<div id="titlediv">
    <div class="clearfix container" id="pattern">
        <div class="row">
            <div class="col_12">
                <ul class="breadcrumbs hor-list">
                    <li><a href="home.php"><?php echo _("Dashboard"); ?></a></li>
                    <li><a href="system_log.php"><?php echo _("System Log"); ?></a></li>
                </ul>
                <h1><?php echo _("System Log"); ?></h1>
            </div>
        </div>
    </div>
</div>

<div class="container" id="actualbody">

	<div class="row clearfix">
	    <div class="widget clearfix">
			<div class="view-switcher">
			    <h2><span id="logTableTitle"><?php echo _("Recent System Changes"); ?></span></h2>
			</div>
	        <div class="widget_inside">
	            <!--
				<div style="text-align:right;">
					<button onClick="openEditDialog('comp',0,'Add New Component');" class="icon" data-icon-primary="ui-icon-plus" style="margin-top:-60px;">Add New Component</button>
				</div>
				//-->
				<span id="notify" class="notification done" style="display:none;"></span>
				<div class="col_12" id="logTable"></div>
	        </div>
	    </div>
	</div>
    
</div>

<script>
	// load external content
	function nLoadLogTable(){
		loadContentToID("#logTable","tables/system_log.php");
	}
	$(function(){
		nLoadLogTable();
	});
	<?=$nLoadJS;?>
</script>

<?php include("inc/nav/footer.php") ?>
<?
// disconnect from mysql
mysql_close($Link);
?>
