diff --git a/htdocs/searchpostalcode.php b/htdocs/searchpostalcode.php new file mode 100644 index 00000000000..688e4b17369 --- /dev/null +++ b/htdocs/searchpostalcode.php @@ -0,0 +1,159 @@ + + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * *************************************************************************** + * File : searchpostalcode.php + * Author : Eric SEIGNE + * mailto:eric.seigne@ryxeo.com + * http://www.ryxeo.com/ + * Date : 13/06/2005 + * Licence : GNU/GPL Version 2 + * + * Description: + * ------------ + * + * @version $Id$ + * @source $Source$ + * @revision $Revision$ + * @author Eric Seigne + * @project + * @copyright Eric Seigne 13/06/2005 + * + * ************************************************************************* */ + +/** + \file htdocs/searchpostalcode.php + \ingroup societe + \brief Recherche de la ville correspondant au code postal saisi + \version $Revision$ +*/ + +require("pre.inc.php"); +$user->getrights('societe'); +$langs->load("companies"); + + +/* + * Sécurité accés client + */ +if ($user->societe_id > 0) +{ + $_GET["action"] = ''; + $_POST["action"] = ''; + $_GET["socid"] = $user->societe_id; +} + +print " +\n"; + +print "
\n"; + +$db->close(); + +llxFooter("Dernière modification $Date$ révision $Revision$"); +?> diff --git a/htdocs/soc.php b/htdocs/soc.php index 9326fcbb088..b5166d96ffe 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -168,7 +168,19 @@ if ($_GET["action"] == 'create' || $_POST["action"] == 'create') print ''; } - print '