'; $q=new IText('query'); $q->value=(isset($query))?$query:''; $r.=''; $r.=_('Fiche contenant').HtmlInput::infobulle(19); $r.=$q->input(); $r.=HtmlInput::submit('fs', _('Recherche'), "", "smallbutton"); $r.=''; $r.=dossier::hidden().HtmlInput::hidden('op', 'add_concerned_card'); $r.=HtmlInput::request_to_hidden(array('ag_id')); $r.=''; $query=HtmlInput::default_value_get("query", ""); $sql_array['query']=$query; $sql_array['typecard']='all'; $fiche=new Fiche($cn); /* Build the SQL and show result */ $sql=$fiche->build_sql($sql_array); /* We limit the search to MAX_SEARCH_CARD records */ $sql=$sql.' order by vw_name limit '.MAX_SEARCH_CARD; $a=$cn->get_array($sql); for ($i=0; $i unused $html EOF; ?>