noalyss  Version-6.7.2
 All Data Structures Namespaces Files Functions Variables Enumerations
ajax_mod_stock_repo.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  *   This file is part of NOALYSS.
00005  *
00006  *   NOALYSS is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License as published by
00008  *   the Free Software Foundation; either version 2 of the License, or
00009  *   (at your option) any later version.
00010  *
00011  *   NOALYSS is distributed in the hope that it will be useful,
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *   GNU General Public License for more details.
00015  *
00016  *   You should have received a copy of the GNU General Public License
00017  *   along with NOALYSS; if not, write to the Free Software
00018  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 
00021 // Copyright Author Dany De Bontridder danydb@aevalys.eu
00022 
00023 /**
00024  * @file
00025  * @brief show a depot
00026  *
00027  */
00028 if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
00029 require_once 'class_stock_sql.php';
00030 $st=new Stock_Sql($_GET['r_id']);
00031 
00032 ?>
00033 <?php echo HtmlInput::title_box("Ajouter un dépôt","change_stock_repo_div","close")?>
00034         <form method="post">
00035                 <?php echo HtmlInput::hidden("r_id",$_GET['r_id']);?>
00036                 <table>
00037                         <tr>
00038                                 <td>
00039                                         <?php echo _("Nom");?>
00040                                 </td>
00041                                 <td>
00042                                         <?php $name=new IText("r_name",$st->r_name); echo $name->input();?>
00043                                 </td>
00044                         </tr>
00045                         <tr>
00046                                 <td>
00047                                         <?php echo _("Adresse");?>
00048                                 </td>
00049                                 <td>
00050                                         <?php $name=new IText("r_adress",$st->r_adress); echo $name->input();?>
00051                                 </td>
00052                         </tr>
00053                         <tr>
00054                                 <td>
00055                                         <?php echo _("Ville");?>
00056                                 </td>
00057                                 <td>
00058                                         <?php $name=new IText("r_city",$st->r_city); echo $name->input();?>
00059                                 </td>
00060                         </tr>
00061                         <tr>
00062                                 <td>
00063                                         <?php echo _("Pays");?>
00064                                 </td>
00065                                 <td>
00066                                         <?php $name=new IText("r_country",$st->r_country); echo $name->input();?>
00067                                 </td>
00068                         </tr>
00069                         <tr>
00070                                 <td>
00071                                         <?php echo _("Téléphone");?>
00072                                 </td>
00073                                 <td>
00074                                         <?php $name=new IText("r_phone",$st->r_phone); echo $name->input();?>
00075                                 </td>
00076                         </tr>
00077 
00078                 </table>
00079                 <?php echo HtmlInput::submit("mod_stock",_("Sauver"))?>
00080         </form>
 All Data Structures Namespaces Files Functions Variables Enumerations