19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: bazar.carte_google.php,v 1.5.2.3 2008-01-29 09:41:11 alexandre_tb Exp $ |
// CVS : $Id: bazar.carte_google.php,v 1.5.2.4 2008-02-08 08:20:24 alexandre_tb Exp $ |
/** |
* |
*@package bazar |
27,7 → 27,7 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2007 |
*@version $Revision: 1.5.2.3 $ |
*@version $Revision: 1.5.2.4 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
52,7 → 52,7 |
$requete = 'select * from bazar_fiche where '; |
if ($GLOBALS['_BAZAR_']['id_typeannonce'] != '') $requete .= 'bf_ce_nature in ('.$GLOBALS['_BAZAR_']['id_typeannonce'].') and ' ; |
$requete .= ' ((bf_date_debut_validite_fiche<=now() and bf_date_fin_validite_fiche>=now()) or (bf_date_fin_validite_fiche="0000-00-00"' . |
' and date_add(bf_date_fin_evenement,interval 15 day)>now()))'. |
' ))'. |
' and bf_statut_fiche=1'; |
$resultat = $GLOBALS['_BAZAR_']['db']->query ($requete); |
|
96,11 → 96,8 |
$script_marker = ''; |
} |
|
$script = ' |
// Variables globales |
var map = null; |
var lat = document.getElementById("latitude"); |
var lon = document.getElementById("longitude");'; |
$script = ' // Variables globales |
var map = null;'; |
if (BAZ_GOOGLE_MAXIMISE_TAILLE) $script .= ' |
// Pour gerer la taille |
var winW = 630, winH = 560; |
169,8 → 166,6 |
$script .= ' |
} |
}; |
// Creates a marker at the given point with the given number label |
|
'; |
GEN_stockerCodeScript($script); |
// On ajoute l attribut load a la balise body |
192,6 → 187,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.5.2.3 2008-01-29 09:41:11 alexandre_tb |
* utilisation des constantes BAZ_GOOGLE_FOND_KML |
* |
* Revision 1.5.2.2 2007-12-14 09:57:15 alexandre_tb |
* utilisation des constantes de la carte google |
* |