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

Contents of /trunk/app/edition_p.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 250 - (show annotations)
Tue Nov 29 15:04:25 2011 UTC (13 years, 2 months ago) by fraynaud
File size: 1662 byte(s)
correction pourt mise en oeuvre d un schema



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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26