1 |
<?php |
2 |
/** |
3 |
* |
4 |
* |
5 |
* @package openfoncier |
6 |
* @version SVN : $Id$ |
7 |
*/ |
8 |
|
9 |
// |
10 |
require_once "../obj/utils.class.php"; |
11 |
|
12 |
/** |
13 |
* Classe utils () |
14 |
*/ |
15 |
$f = new utils(NULL, "edition_d", _("edition decision"), "ico_edition.png", "edition"); |
16 |
$f->addHTMLHeadJs(array("../js/script.js")); |
17 |
// FORM |
18 |
echo "<form name='f1' id='f1'>"; |
19 |
echo _("Date debut")." "._("decision"); |
20 |
echo " <input type='text' name='datedebut' id=\"datedebut\" value=\"".date('d/m/Y').""; |
21 |
echo "\" size=\"15\" class=\"champFormulaire datepicker\" onchange='fdate(this)' onkeyup=\"\" onclick=\"\" /> "; |
22 |
echo _("Date fin")." "._("decision"); |
23 |
echo " <input type='text' name='datefin' id=\"datefin\" value=\"".date('d/m/Y').""; |
24 |
echo "\" size=\"15\" class=\"champFormulaire datepicker\" onchange='fdate(this)' onkeyup=\"\" onclick=\"\" /> "; |
25 |
// nature |
26 |
echo _("nature")." "; |
27 |
$sql="select * from ".DB_PREFIXE."dossier_autorisation_type_detaille"; |
28 |
$res = $f -> db -> query($sql); |
29 |
echo "<select name='nature' SIZE='1'>"; |
30 |
while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)) |
31 |
if($row["code"] !="T") |
32 |
echo "<option value='".$row["dossier_autorisation_type_detaille"]."'>".$row["libelle"]."</option>"; |
33 |
echo "</select>"; |
34 |
echo "<br><br>". |
35 |
" <a class='lien' href='javascript:dossierads_d()'><span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition")."\">"._("Edition")."</span> ". |
36 |
_("registre_ads")."</a><br>"; |
37 |
echo "</form>"; |
38 |
?> |