Ejemplo n.º 1
0
    exit;
}
if (isset($_GET["logs"])) {
    section_logs();
    exit;
}
if (isset($_GET["tabs"])) {
    tabs();
    exit;
}
if (isset($_GET["search-quarantine"])) {
    search_quarantine();
    exit;
}
if (isset($_GET["search-events"])) {
    search_events();
    exit;
}
if (isset($_GET["search-logs"])) {
    search_logs();
    exit;
}
if (isset($_GET["antispam"])) {
    antispam_popup();
    exit;
}
if (isset($_GET["search-amavis"])) {
    antispam_search();
    exit;
}
if (isset($_GET["params"])) {
Ejemplo n.º 2
0
	Search for something else
      </button>
      <div class="row">

      <div class="col s12">
       <?php 
//Retrieve vars
$name = $_GET['evtitle'];
$date = $_GET['evdate'];
$post = $_GET['evpostcode'];
//For the database
$description = $_GET['evdesc'];
$maxdist = $_GET['maxdist'];
$id = $_GET['city'];
$location = "";
$results = search_events($name, $location, $date, $description, $post, $maxdist, $id);
displayResults($results);
?>
      </div>  
     </div> <!-- End of results -->   
    </div>
     <script>
     $(function() {
      $( ".datepicker" ).pickadate();
     });
      $(document).ready(function() {
       $('select').material_select();
       $("table") 
       .tablesorter({widthFixed: true, widgets: ['zebra']}) 
       .tablesorterPager({container: $(".pager")});
 
Ejemplo n.º 3
0
function getCreatedBy($id)
{
    displayResults(search_events("", "", "", "", "", "", $id));
}
Ejemplo n.º 4
0
	
	if(!$users->AsPostfixAdministrator){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}

	if(isset($_GET["events"])){section_events();exit;}
	if(isset($_GET["quarantine"])){section_quarantine();exit;}
	if(isset($_GET["logs"])){section_logs();exit;}
	
	
	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["search-quarantine"])){search_quarantine();exit;}
	if(isset($_GET["search-events"])){search_events();exit;}
	if(isset($_GET["search-logs"])){search_logs();exit;}
	
	
	if(isset($_GET["antispam"])){antispam_popup();exit;}
	if(isset($_GET["search-amavis"])){antispam_search();exit;}
	
	if(isset($_GET["params"])){parameters();exit;}
	if(isset($_GET["BackupMailLogPath"])){BackupMailLogPathSave();exit;}
	
	js();
	
	
function js(){
	$page=CurrentPageName();
	echo "