1 <?php
3 if (!$remove_lock){
4 /* Page header*/
5 $display= print_header(get_template_path('images/reports.png'), _("FAX reports"));
7 /* Create faxreport object on demand */
8 if (!isset($_SESSION['faxreport']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){
9 $_SESSION['faxreport']= new faxreport ($config, $ui);
10 }
11 $faxreport= $_SESSION['faxreport'];
13 /* Execute formular */
14 $display.= $faxreport->execute ();
15 $display.= "<input type=\"hidden\" name=\"ignore\">\n";
17 /* Store changes in session */
18 $_SESSION['faxreport']= $faxreport;
19 }
20 ?>