ga_id=$m; $obj->remove(); } } } //---------------------------------------------------------------------- // INSERT if ( isset($_POST['add'])) { $obj=new Anc_Group($cn); $obj->get_from_array($_POST); echo $obj->insert(); } $array=$r->myList(); echo '
'; echo '
'; echo dossier::hidden(); echo ''; echo ''; foreach ($array as $idx=>$m) { echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } $w=new IText("ga_id"); $wDesc=new IText("ga_description"); $val_pa_id=$cn->make_array("select pa_id,pa_name from plan_analytique"); $wPa_id=new ISelect("pa_id"); $wPa_id->value=$val_pa_id; echo ""; echo ""; echo ""; ; echo '
'._("Code")." "._("Plan")." "._("Description").'
'.h($m->ga_id).''.h($m->pa_name).''.h($m->ga_description).' Effacer '.'
".$w->input()."".$wPa_id->input("pa_id")."".$wDesc->input("ga_description"). HtmlInput::submit('add',_('Ajouter')). "
'; echo "
"; echo HtmlInput::submit('remove',_('Effacer')); echo '
';