Пример #1
0
<?php

/*------------------------------------------------------------------ 
-------------------------------------------------------------------- 
 Application Codex                                            
 https://github.com/fedecbn/codex                      
-------------------------------------------------------------------- 
 Formulaire pour les popup      
-------------------------------------------------------------------- 
--------------------------------------------------------------------*/
/*------------------------------------------------------------------------------ INITIALISATION*/
include "commun.inc.php";
//------------------------------------------------------------------------------ INIT JAVASCRIPT
//------------------------------------------------------------------------------ FORM
echo "<form method=\"POST\" id=\"form1\" name=\"add\" action=\"#\" >";
echo "<BR>Pour quelle(s) raison(s) invalidez-vous?<BR>";
metaform_text_area('Commentaire', "no_lab", 80, 60, null, 'val_com', null);
echo "</form>";
Пример #2
0
 echo "</fieldset>";
 /*------------------------------------------------------------------------------ EDIT fieldset6*/
 //---------6eme encadré de la page
 echo "<fieldset><LEGEND>Phénologie, physionomie, écologie</LEGEND>";
 /*écologie générale*/
 metaform_text_area("Description écologie", "", 57, 50, "", "descriptionEcologie", sql_format_quote(pg_result($result_syntaxon, 0, "\"descriptionEcologie\""), 'undo'), pg_fetch_result(pg_query($db, $query_description . "'descriptionEcologie'" . ";"), 0, "description"));
 echo "<table><tr><td width=33%>";
 metaform_sel("Type physionomique)", "", 30, $ref[$champ_ref['typePhysionomique']], "typePhysionomique", pg_result($result_syntaxon, 0, "\"typePhysionomique\""), pg_fetch_result(pg_query($db, $query_description . "'typePhysionomique'" . ";"), 0, "description"));
 echo "</td><td width=33%>";
 metaform_text("Type biologique dominant", "", 30, "width=100%", "typeBiologiqueDom", sql_format_quote(pg_result($result_syntaxon, 0, "\"typeBiologiqueDom\""), 'undo'), pg_fetch_result(pg_query($db, $query_description . "'typeBiologiqueDom'" . ";"), 0, "description"));
 echo "</td><td width=33%>";
 metaform_text("Aire minimale d'expression (m2)", "", 30, "width=100%", "aireMinimale", sql_format_quote(pg_result($result_syntaxon, 0, "\"aireMinimale\""), 'undo'), pg_fetch_result(pg_query($db, $query_description . "'aireMinimale'" . ";"), 0, "description"));
 echo "</td></tr></table>";
 echo "<br>";
 echo "<table><tr><td width=33%>";
 metaform_text_area("Remarque phénologie", "", 57, 50, "", "rqPhenologie", sql_format_quote(pg_result($result_syntaxon, 0, "\"rqPhenologie\""), 'undo'), pg_fetch_result(pg_query($db, $query_description . "'rqPhenologie'" . ";"), 0, "description"));
 echo "</td><td width=33%>";
 metaform_sel("Début de période optimale", "", 30, $ref[$champ_ref['periodeDebObsOptimale']], "periodeDebObsOptimale", pg_result($result_syntaxon, 0, "\"periodeDebObsOptimale\""), pg_fetch_result(pg_query($db, $query_description . "'periodeDebObsOptimale'" . ";"), 0, "description"));
 echo "</td><td width=33%>";
 metaform_sel("Fin de période optimale", "", 30, $ref[$champ_ref['periodeFinObsOptimale']], "periodeFinObsOptimale", pg_result($result_syntaxon, 0, "\"periodeFinObsOptimale\""), pg_fetch_result(pg_query($db, $query_description . "'periodeFinObsOptimale'" . ";"), 0, "description"));
 echo "</td></tr></table>";
 echo "<br>";
 echo "<table><tr><td width=50%>";
 metaform_sel("Humidité principale", "", 30, $ref[$champ_ref['humiditePrincipale']], "humiditePrincipale", pg_result($result_syntaxon, 0, "\"humiditePrincipale\""), pg_fetch_result(pg_query($db, $query_description . "'humiditePrincipale'" . ";"), 0, "description"));
 echo "</td><td width=50%>";
 metaform_sel("Humidité secondaire", "", 30, $ref[$champ_ref['humiditeSecondaire']], "humiditeSecondaire", pg_result($result_syntaxon, 0, "\"humiditeSecondaire\""), pg_fetch_result(pg_query($db, $query_description . "'humiditeSecondaire'" . ";"), 0, "description"));
 echo "</td></tr></table>";
 echo "<br>";
 echo "<table><tr><td width=50%>";
 metaform_sel("Ph principal", "", 30, $ref[$champ_ref['phPrincipal']], "phPrincipal", pg_result($result_syntaxon, 0, "\"phPrincipal\""), pg_fetch_result(pg_query($db, $query_description . "'phPrincipal'" . ";"), 0, "description"));
 echo "</td><td width=50%>";
Пример #3
0
 metaform_text_area("Argumentation", " no_lab {$desc}", "10", "50", "height:133;", $ida[15], sql_format_quote($ida_result[15], 'undo_html'));
 echo "<br>";
 metaform_text_area("Argumentation", " no_lab {$desc}", "10", "50", "height:133;", $ida[16], sql_format_quote($ida_result[16], 'undo_html'));
 echo "<br><br>\n\t\t\t\t<br>";
 echo "</td><td width = \"400\" align=\"left\">";
 // echo ("<h3>Niveau de fiabilité de l'évaluation</h3>");
 // metaform_text_area (""," no_lab bloque","10","50","height:133;width:100;resize:none;","fiaba","");
 // echo ("<br>");
 // metaform_text_area (""," no_lab bloque","10","50","height:133;width:100;resize:none;","fiabb","");
 // echo ("<br>");
 // metaform_text_area (""," no_lab bloque","10","50","height:133;width:100;resize:none;","fiabc","");
 // echo ("<br>");
 // metaform_text_area (""," no_lab","10","50","height:30;width:100;resize:none;","fiabtot","");
 echo "<h3 style=\"margin-right:40px;\">Evaluation globale de l'espèce</h3>";
 echo "A l'issu de l'évaluation, comment l'espèce est-elle considérée?";
 metaform_text_area("A l'issu de l'évaluation, le taxon est considéré de la manière suivante", " no_lab {$desc}", "10", "50", "height:200;", "eval_expert", sql_format_quote($eval_expert, 'undo_html'));
 echo "<h3 style=\"margin-right:40px\">Statuts de l'espèce</h3>";
 metaform_sel("Le taxon appartient à la ", $desc, "", $liste_eval, "liste_eval", $liste_eval_base);
 echo "<br>";
 metaform_sel("Le taxon est", $desc, "", $carac_emerg, "carac_emerg", $carac_emerg_base);
 echo "<br>";
 metaform_sel("Caractère envahissant", $desc, "", $carac_avere, "carac_avere", $carac_avere_base);
 echo "<br><br><br><br><br><br><br>";
 echo "</td></tr></table><br>";
 echo "</fieldset>";
 echo "</div>";
 //------------------------------------------------------------------------------ EDIT LR GRP6
 echo "<div id=\"radio2\">";
 echo "<fieldset><LEGEND> " . $lang[$lang_select]['groupe_lr_5'] . "</LEGEND>";
 /*requete discussion*/
 $query = $query_discussion . $id . ";";