1 |
<?php |
2 |
/** |
3 |
* |
4 |
* |
5 |
* @package openfoncier |
6 |
* @version SVN : $Id$ |
7 |
*/ |
8 |
|
9 |
// |
10 |
require_once "../obj/utils.class.php"; |
11 |
/** |
12 |
* Classe utils () |
13 |
*/ |
14 |
$f = new utils(NULL, "edition_p", _("edition depot"), "ico_edition.png", "edition"); |
15 |
$f->addHTMLHeadJs(array("../js/script.js")); |
16 |
// FORM |
17 |
echo "<form name='f1' id='f1'>"; |
18 |
echo _("Date debut")." "._("depot"); |
19 |
echo " <input type='text' name='datedebut' id=\"datedebut\" value=\"".date('d/m/Y').""; |
20 |
echo "\" size=\"15\" class=\"champFormulaire datepicker\" onchange='fdate(this)' onkeyup=\"\" onclick=\"\" /> "; |
21 |
echo _("Date fin")." "._("depot"); |
22 |
echo " <input type='text' name='datefin' id=\"datefin\" value=\"".date('d/m/Y').""; |
23 |
echo "\" size=\"15\" class=\"champFormulaire datepicker\" onchange='fdate(this)' onkeyup=\"\" onclick=\"\" /> "; |
24 |
// nature |
25 |
echo _("nature"); |
26 |
$sql="select * from ".DB_PREFIXE."dossier_autorisation_type_detaille"; |
27 |
$res = $f -> db -> query($sql); |
28 |
echo "<select name='nature' SIZE='1'>"; |
29 |
while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)) |
30 |
if($row["nature"] !="T") |
31 |
echo "<option value='".$row["dossier_autorisation_type_detaille"]."'>".$row["libelle"]."</option>"; |
32 |
echo "</select>"; |
33 |
echo "<br><br><br><a class='lien' href='javascript:dossierdepot()'><img src='../app/img/ico_rep.png' align='middle' hspace='15' border='0'> "._("repertoire dossier depose")."</a> ("._("choix date et nature").")<br>"; |
34 |
echo "<br><a class='lien' href='javascript:dossierads()'><img src='../app/img/ico_dossier.png' align='middle' hspace='15' border='0'> "._("registre des ads")."</a> ("._("choix date").")<br>"; |
35 |
echo "</form>"; |
36 |
?> |