Пример #1
0
<?php

include "DBconfig.php";
include "AuditClass.php";
$Afrom = $_GET['fdate'];
$Ato = $_GET['tdate'];
//$Log=new AuditLog($dbHost,$dbUser,$dbPwd,$dbName,date('Y-m-d'),"","");
//$Log=new AuditLog($dbHost,$dbUser,$dbPwd,$dbName,date('Y-m-d'),'','');
$AuditHistory = new AuditLog($dbHost, $dbUser, $dbPwd, $dbName, '', $Afrom, $Ato);
$result = $AuditHistory->Display();
?>
<html>
 <head>
	<?php 
include "header.php";
?>
    <script type="text/javascript">
	$(document).ready( function () {
	$('#AuditHistoryDetails').dataTable({
		"iDisplayLength": 20,
		"iDisplayStart": 20
		});			
	} );
   </script>
 </head>
 <body>
	<?php 
include "Menu.php";
?>
   <div class="positionDownload"><a href="AuditHistoryDownload.php?Afdate=<?php 
echo $Afrom;
Пример #2
0
<?php

include "DBconfig.php";
include "AuditClass.php";
//$Log=new AuditLog($dbHost,$dbUser,$dbPwd,$dbName,date('Y-m-d'),"","");
//$Log=new AuditLog($dbHost,$dbUser,$dbPwd,$dbName,date('Y-m-d'),'','');
$AuditTimer = new AuditLog($dbHost, $dbUser, $dbPwd, $dbName, date('Y-m-d'), '', '');
$result = $AuditTimer->Display();
?>
<html>
 <head>
    <?php 
include "header.php";
?>
    <script type="text/javascript">
       $(document).ready( function () {
 	   $('#AuditTimerDetails').dataTable({
			"iDisplayLength": 20,
			"iDisplayStart": 20
			});
	    Audit=setTimeout(function(){window.location.href=document.URL;},180000);		
	  } );    
    </script>      
</head>
 <body>
	<?php 
include "Menu.php";
?>
   <div class="positionDownload"><a href="AuditTimerDownload.php">Download<a/></div><br/>
   <div class="TableTitle TableDetails">Audit Log Details</div><hr/>   
   <table id="AuditTimerDetails" class="display">