value=$http->get('plabel',"string",""); echo HtmlInput::title_box(_("Recherche activité"), $ctl); //------------- FORM ---------------------------------- echo '
'; //------------- FORM ---------------------------------- if ( isset($_REQUEST['go'])) { $cn=Dossier::connect(); $plan=new Anc_Plan($cn,$_REQUEST['c2']); $plan->pa_id=$_REQUEST['c2']; if ( $plan->exist()==false) exit(_("Ce plan n'existe pas")); $sql="select po_name , po_description from poste_analytique ". "where pa_id=$1 and ". " (po_name ~* $2 or po_description ~* $3) order by po_name"; $array=$cn->get_array($sql,array($_REQUEST['c2'],$_REQUEST['plabel'],$_REQUEST['plabel'])); if (empty($array) == true) { echo _("Aucun poste trouvé"); return; } echo ''. HtmlInput::anchor(h($line['po_name']), "", $js). ' | '. ''. h($line['po_description']). ' |