<?
/*
PTK - DFLabs
Copyright (C) 2008 - DFLabs srl - All rights reserved
hide@address.com
*/
include("check_session.php");
include("check_session_image.php");
include("lib_std.php");
include("sanitize.php");
include("loggerClass.php");
if (isset($_SESSION['filter_token']) && strcmp($_SESSION['filter_token'],$_GET['tk'])==0){
$filter = get_filter_list();
?>
<select id="filter_to_load" style="width:195px">
<option></option>
<?foreach($filter as $fl){?>
<option value="<?=$fl?>"><?=$fl?></option>
<?}?>
</select>
<button onclick="goLoadFilter()" style="margin:0px">OK</button>
<?}else{
new AuditLog('Unauthorized access to get_filter_list');
header("location: goto_home.php");
}?>