Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 376 → Rev 375

/branches/livraison_aha/bazar.carte_google.php
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.4 2008-02-08 08:20:24 alexandre_tb Exp $
// CVS : $Id: bazar.carte_google.php,v 1.5.2.3 2008-01-29 09:41:11 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.4 $
*@version $Revision: 1.5.2.3 $
// +------------------------------------------------------------------------------------------------------+
*/
 
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,8 → 96,11
$script_marker = '';
}
 
$script = ' // Variables globales
var map = null;';
$script = '
// Variables globales
var map = null;
var lat = document.getElementById("latitude");
var lon = document.getElementById("longitude");';
if (BAZ_GOOGLE_MAXIMISE_TAILLE) $script .= '
// Pour gerer la taille
var winW = 630, winH = 560;
127,7 → 130,7
$script .= '
function createMarker(point, chaine) {
var icon = new GIcon();
var icon = new GIcon();
icon.image = "http://connaisciences.fr/sites/connaisc/fr/images/marker.png";
icon.shadow = "http://www.google.com/mapfiles/shadow50.png";
icon.iconSize = new GSize(20, 34);
165,7 → 168,9
}
$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
187,9 → 192,6
/* +--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
*