diff --git a/include/fiche.inc.php b/include/fiche.inc.php index 59f840c79..c0612d4ee 100644 --- a/include/fiche.inc.php +++ b/include/fiche.inc.php @@ -199,7 +199,8 @@ if ($histo->selected == -1) } else { - $cond = " where f.fd_id = " . sql_string($_GET['cat']); + $p_cat=$http->get("cat","number"); + $cond = " where f.fd_id = " . sql_string($p_cat); } // Create nav bar $max = $cn->get_value("select count(*) from fiche as f " . $cond); @@ -231,28 +232,33 @@ if ($histo->selected == -1) if ($histo->selected == 3) { $cat_card = new Fiche_Def($cn); - $cat_card->id = $_GET['cat']; + $cat_card->id =$http->get('cat','number'); $aHeading = $cat_card->getAttribut(); if ( $allcard == 0) echo $str_add_card; require_once NOALYSS_TEMPLATE.'/result_cat_card_summary.php'; $hid = new IHidden(); echo '
"; return; } +$start=$http->get("start","date"); +$end=$http->get("end","date"); +$cat=$http->get("cat","number"); +$phisto=$http->get("histo","number"); + $export_pdf = ''; $export_print = HtmlInput::print_window(); $export_csv = '