<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="<?php print $LANG["html direction"];?>">
<head>
<title><?php print $skintitle;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php print $LANG["charset"];?>" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link rel="stylesheet" type="text/css" href="<?php print $SKINDIR;?>styles.css" />
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" />
<script type="text/javascript" src="js.php?language=<?php print $LANG["lng"];?>"></script>
<script type="text/javascript" src="jquery/jquery.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui-timepicker-addon.js"></script>
<?php
if (is_file(dirname(dirname(dirname(__FILE__)))."/jquery/i18n/jquery.ui.datepicker-".$LANG["_lang"].".js")) {
?>
<script type="text/javascript" src="jquery/i18n/jquery.ui.datepicker-<?php print $LANG["_lang"];?>.js"></script>
<?php
}
?>
</head>
<body bgcolor="white" class="m0">
<div id="filter_div" style="display:none;" title="<?php print $LANG["filters creation"];?>">
<fieldset style="padding:5px;margin:0 10px 5px 10px">
<legend<?php print $LANG["filters legend type"];?></legend>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr><td><input checked="checked" onclick="$('#ftitle').attr('disabled',true);$('#fsave1').attr('disabled',true);$('#fsave2').attr('checked',true);$('#freport').removeAttr('disabled');$('#fbutton').val('<?php print $LANG["filters jump"];?>');" type="radio" name="ftype" value="temporary" id="ftype1" /></td><td width="100%"><label for="ftype1"><?php print $LANG["filters temporary"];?></label></td></tr>
<tr><td><input type="radio" onclick="$('#ftitle').removeAttr('disabled');$('#fsave1').removeAttr('disabled');" name="ftype" value="normal" id="ftype2" /></td><td><label for="ftype2"><?php print $LANG["filters saveb"];?></label></td></tr>
<tr><td> </td>
<td width="100%">
<table cellspacing="0" cellpadding="0" border="0" style="margin-top:5px;" width="100%">
<tr>
<td nowrap="nowrap"><?php print $LANG["filters name"];?>: </td>
<td width="100%">
<input style="width:98%" type="text" name="ftitle" id="ftitle" value="" disabled="disabled" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</fieldset>
<fieldset style="padding:5px;margin:5px 10px 5px 10px">
<legend><?php print $LANG["filters"];?></legend>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr><td><input type="radio" name="fsave" id="fsave1" disabled="disabled" onclick="$('#freport').attr('disabled',true);$('#fbutton').val('<?php print $LANG["filters save"];?>');" value="save" /></td><td><label for="fsave1"><?php print $LANG["filters stayonpage"];?></label></td></tr>
<tr><td><input type="radio" name="fsave" id="fsave2" onclick="$('#freport').removeAttr('disabled');$('#fbutton').val('<?php print $LANG["filters jump"];?>');" value="save" checked="checked" /></td><td><label for="fsave2"><?php print $LANG["filters jumptoreport"];?></label></td></tr>
<tr><td> </td>
<td width="100%">
<table style="margin-top:5px;" cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap="nowrap"><?php print $LANG["report"];?>: </td>
<td width="100%">
<select name="freport" id="freport" style="width:100%">
<?php print $skin_filtermenu;?>
</select>
</td>
</tr>
</table>
</td>
</tr>
</table>
</fieldset>
<fieldset style="padding:5px;margin:5px 10px 5px 10px;">
<legend><?php print $LANG["filters description"];?></legend>
<div id="fdescription"> </div>
</fieldset>
<div align="right" style="padding:5px 10px 10px 10px;">
<input id="fh_1" type="hidden" value="" />
<input id="fh_2" type="hidden" value="" />
<input id="fbutton" type="button" onclick="filter_process(<?php print $SKIN["stm"].",".$SKIN["ftm"];?>);" value="<?php print $LANG["filters jump"];?>" />
<input type="button" onclick="$('#filter_div').dialog('destroy');" value="<?php print $LANG["filters cancel"];?>" />
</div>
</div>
<table cellspacing="0" cellpadding="0" border="0" align="center" class="maintable">
<colgroup>
<col class="leftwidth" />
<col class="centerwidth" />
<col class="rightwidth" />
</colgroup>
<tr>
<td valign="top" class="leftwidth">