/[openfoncier]/trunk/app/edition_d.php
ViewVC logotype

Contents of /trunk/app/edition_d.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 88 - (show annotations)
Thu Aug 25 09:59:07 2011 UTC (13 years, 5 months ago) by fraynaud
File size: 1305 byte(s)
Réorganisation du dossier spécifique de l'application

1 <?php
2 // $Id: edition_d.php,v 1.4 2009-12-15 09:26:19 jbastide Exp $
3 /**
4 * Fichiers requis
5 */
6 require_once "../obj/utils.class.php";
7 /**
8 * Classe utils ()
9 */
10 $f = new utils(NULL, "edition", _("edition decision"), "ico_edition.png", "edition");
11 $f->addHTMLHeadJs(array("../js/script.js"));
12 // FORM
13 echo "<form name='f1' id='f1'>";
14 echo _("Date debut")." "._("decision");
15 echo "<input type='text' name='datedebut' id=\"datedebut\" value=\"".date('d/m/Y')."";
16 echo "\" size=\"15\" class=\"champFormulaire datepicker\" onchange='fdate(this)' onkeyup=\"\" onclick=\"\" />";
17 echo _("Date fin")." "._("decision");
18 echo "<input type='text' name='datefin' id=\"datefin\" value=\"".date('d/m/Y')."";
19 echo "\" size=\"15\" class=\"champFormulaire datepicker\" onchange='fdate(this)' onkeyup=\"\" onclick=\"\" />";
20 // nature
21 echo _("nature");
22 $sql="select * from nature";
23 $res = $f -> db -> query($sql);
24 echo "<select name='nature' SIZE='1'>";
25 while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC))
26 if($row["nature"] !="T")
27 echo "<option value='".$row["nature"]."'>".$row["libelle"]."</option>";
28 echo "</select>";
29 echo "<br><br><img src='../img/ico_dossier.png' align='middle' hspace='15' border='0'><a class='lien' href='javascript:dossierads_d()'>".
30 _("registre_ads")."</a><br>";
31 echo "</form>";
32 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26