if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); /** * @file * @brief * @param type $name Descriptionara */ require_once NOALYSS_INCLUDE.'/class_exercice.php'; require_once NOALYSS_INCLUDE.'/class_balance_age.php'; $let=( isset ($_GET['p_let']))?'let':'unlet'; $export_csv = '
'; $export_csv .=HtmlInput::request_to_hidden(array('gDossier','ac',)); $export_csv.=HtmlInput::hidden('p_date_start', '01.01.2000'); $export_csv .= HtmlInput::hidden('act','CSV:balance_age'); $export_csv .= HtmlInput::hidden('p_let',$let); $export_csv .= HtmlInput::hidden('p_type','U'); $export_csv .= HtmlInput::hidden('fiche',$_GET['f_id']); $export_csv .= HtmlInput::submit('csv',_('Export CSV')); $export_csv.='
'; ?>
'; echo $export_csv; $fiche=new Fiche($cn,$_GET['f_id']); $bal=new Balance_Age($cn); $bal->display_card('01.01.2000', $fiche->id, $let); echo $export_csv; echo ''; ?>