";
if ($MULTIPLE=="yes")
$param['MULTIPLE'][0]['value']="yes";
else
$param['MULTIPLE'][0]['value']="no";
if ($AUTORITE=="yes")
$param['AUTORITE'][0]['value']="yes";
else
$param['AUTORITE'][0]['value']="no";
if ($CHECKBOX=="yes")
$param['CHECKBOX'][0]['value']="yes";
else
$param['CHECKBOX'][0]['value']="no";
if ($INSERTAUTHORIZED=="yes")
$param["INSERTAUTHORIZED"][0]['value']="yes";
else
$param["INSERTAUTHORIZED"][0]['value']="no";
if ($OPTIMIZE_QUERY=="yes")
$param["OPTIMIZE_QUERY"][0]['value']="yes";
else
$param["OPTIMIZE_QUERY"][0]['value']="no";
$param['UNSELECT_ITEM'][0]['VALUE']=stripslashes($UNSELECT_ITEM_VALUE);
$param['UNSELECT_ITEM'][0]['value']="";
$param['CHECKBOX_NB_ON_LINE'][0]['value']=stripslashes($CHECKBOX_NB_ON_LINE);
$param["FIELD0"][0]['value']=stripslashes($FIELD0);
$param["FIELD1"][0]['value']=stripslashes($FIELD1);
$options=array_to_xml($param,"OPTIONS");
?>
\n".$options,"OPTIONS");
}
if (!isset($param["FOR"]) || $param["FOR"]!="query_list") {
$param=array();
$param["FOR"]="query_list";
$param['MULTIPLE'][0]['value'] = '';
$param['AUTORITE'][0]['value'] = '';
$param['CHECKBOX'][0]['value'] = '';
$param['CHECKBOX_NB_ON_LINE'][0]['value'] = '';
$param["INSERTAUTHORIZED"][0]['value'] = '';
$param['UNSELECT_ITEM'][0]['VALUE'] = '';
$param['UNSELECT_ITEM'][0]['value'] = '';
$param['QUERY'][0]['value'] = '';
$param["OPTIMIZE_QUERY"][0]['value'] = '';
$param["FIELD0"][0]["value"] = '';
$param["FIELD1"][0]["value"] = '';
}
$MULTIPLE=$param['MULTIPLE'][0]['value'];
$AUTORITE=$param['AUTORITE'][0]['value'];
$CHECKBOX=$param['CHECKBOX'][0]['value'];
$CHECKBOX_NB_ON_LINE=$param['CHECKBOX_NB_ON_LINE'][0]['value'];
$INSERTAUTHORIZED=$param["INSERTAUTHORIZED"][0]['value'];
$UNSELECT_ITEM_VALUE=$param['UNSELECT_ITEM'][0]['VALUE'];
$UNSELECT_ITEM_LIB=$param['UNSELECT_ITEM'][0]['value'];
$REQUETE=$param['QUERY'][0]['value'];
$OPTIMIZE_QUERY=$param["OPTIMIZE_QUERY"][0]['value'];
$FIELD0=$param["FIELD0"][0]["value"];
$FIELD1=$param["FIELD1"][0]["value"];
} else {
$CHECKBOX_NB_ON_LINE=stripslashes($CHECKBOX_NB_ON_LINE);
$UNSELECT_ITEM_VALUE=stripslashes($UNSELECT_ITEM_VALUE);
$UNSELECT_ITEM_LIB=stripslashes($UNSELECT_ITEM_LIB);
$REQUETE=stripslashes($REQUETE);
$FIELD0=stripslashes($FIELD0);
$FIELD1=stripslashes($FIELD1);
}
if ($first==2) {
$resultat=pmb_mysql_query($REQUETE);
if ($resultat) {
$FIELD0=pmb_mysql_field_name($resultat,0);
$FIELD1=pmb_mysql_field_name($resultat,1);
}
}
?>
".$msg['procs_options_echec_requete']."
".pmb_mysql_error()."";
} else {
echo "".$msg['procs_options_reponse_requete']."";
echo "\n";
while ($r=pmb_mysql_fetch_row($resultat)) {
echo "".htmlentities($r[0],ENT_QUOTES,$charset)." | ".htmlentities($r[1],ENT_QUOTES,$charset)." |
\n";
}
echo "
";
}
}
}
?>