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

Annotation of /trunk/app/edition_d.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 162 - (hide annotations)
Mon Oct 3 08:53:22 2011 UTC (13 years, 4 months ago) by jbastide
File size: 1568 byte(s)
correction bug affichage images dans dossier

1 fraynaud 88 <?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 jbastide 162 echo "&nbsp;&nbsp;&nbsp;&nbsp;<input type='text' name='datedebut' id=\"datedebut\" value=\"".date('d/m/Y')."";
16     echo "\" size=\"15\" class=\"champFormulaire datepicker\" onchange='fdate(this)' onkeyup=\"\" onclick=\"\" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
17 fraynaud 88 echo _("Date fin")." "._("decision");
18 jbastide 162 echo "&nbsp;&nbsp;&nbsp;&nbsp;<input type='text' name='datefin' id=\"datefin\" value=\"".date('d/m/Y')."";
19     echo "\" size=\"15\" class=\"champFormulaire datepicker\" onchange='fdate(this)' onkeyup=\"\" onclick=\"\" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
20 fraynaud 88 // nature
21 jbastide 162 echo _("nature")."&nbsp;&nbsp;&nbsp;&nbsp;";
22 fraynaud 88 $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 jbastide 162 echo "<br><br>".
30     "&nbsp;&nbsp;&nbsp;&nbsp;<a class='lien' href='javascript:dossierads_d()'><span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition")."\">"._("Edition")."</span>&nbsp;&nbsp;&nbsp;&nbsp;".
31 fraynaud 88 _("registre_ads")."</a><br>";
32     echo "</form>";
33     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26