30if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
31require_once NOALYSS_INCLUDE.
'/lib/ac_common.php';
32require_once NOALYSS_INCLUDE.
'/lib/function_javascript.php';
38echo HtmlInput::title_box(
_(
"Recherche activité"),
$ctl);
41echo
'<FORM id="anc_search_form" METHOD="GET" onsubmit="search_anc_form(this);return false">';
42echo
'<span>'._(
'Recherche').
':';
46echo dossier::hidden();
53echo
$hid->input(
"go");
54echo HtmlInput::submit(
"go",
_(
"Recherche"));
59 $cn=Dossier::connect();
62 if ( $plan->exist()==
false)
63 exit(
_(
"Ce plan n'existe pas"));
64 $plabel=
$http->request(
"plabel");
65 $sql=
"select po_name , po_description from poste_analytique ".
66 "where pa_id=$1 and ".
67 " (po_name ilike '%'||$2||'%' or po_description ilike '%'|| $3||'%') order by po_name";
72 echo
_(
"Aucun poste trouvé");
79 $js=sprintf(
"onclick=\"$('%s').value='%s';removeDiv('%s')\"",
88 h(
$line[
'po_description']).
h( $row[ 'oa_description'])
_("actif, passif,charge,...")
Concerns the Analytic plan (table plan_analytique)
for($e=0; $e< count($afiche); $e++) exit