";
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 ($param["FOR"]!="query_list") {
$param=array();
$param["FOR"]="query_list";
}
$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=mysql_query($REQUETE);
if ($resultat) {
$FIELD0=mysql_field_name($resultat,0);
$FIELD1=mysql_field_name($resultat,1);
}
}
?>
$msg[procs_options_echec_requete]
".mysql_error()."";
} else {
echo "$msg[procs_options_reponse_requete]";
echo "\n";
while ($r=mysql_fetch_row($resultat)) {
echo "".htmlentities($r[0],ENT_QUOTES,$charset)." | ".htmlentities($r[1],ENT_QUOTES,$charset)." |
\n";
}
echo "
";
}
}
}
?>