Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'am22139'@'localhost' (using password: YES) in /home/atout01/domains/atout-org.com/public_html/biodiversite/dbconnect.inc on line 4
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/atout01/domains/atout-org.com/public_html/biodiversite/dbconnect.inc on line 5
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/atout01/domains/atout-org.com/public_html/biodiversite/package.inc on line 809
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/atout01/domains/atout-org.com/public_html/biodiversite/package.inc on line 840
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/atout01/domains/atout-org.com/public_html/biodiversite/package.inc on line 840
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/atout01/domains/atout-org.com/public_html/biodiversite/package.inc on line 840
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/atout01/domains/atout-org.com/public_html/biodiversite/package.inc on line 840
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/atout01/domains/atout-org.com/public_html/biodiversite/package.inc on line 840
Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/atout01/domains/atout-org.com/public_html/biodiversite/javascript/scripts.php on line 15
var intTotalAmount = 0.00 ;
var intTotalRegFees = 0.00 ;
var intHtlDeposit = 0.00 ;
var intHtlFee = 0.00 ;
var listHotels = new Array() ;
var firstNight = '2004-05-24' ;
var lastNight = '2004-05-28' ;
var nbNights = 5 ;
var nbHotels = 0 ;
function classHotel(IDHtl,Nom,Categorie,Map,Address,TarSg,ArrSg,DspSg,TarDb,ArrDb,DspDb,TarTw,ArrTw,DspTw)
{
this.IDHtl = IDHtl ;
this.Nom = Nom ;
this.Categorie = Categorie ;
this.Map = Map ;
this.Address = Address ;
this.TarSg = TarSg ;
this.ArrSg = ArrSg ;
this.DspSg = DspSg ;
this.TarDb = TarDb ;
this.ArrDb = ArrDb ;
this.DspDb = DspDb ;
this.TarTw = TarTw ;
this.ArrTw = ArrTw ;
this.DspTw = DspTw ;
return true;}
function etoile(cat)
{
mesetoiles = "" ;
switch(cat)
{
case 1 :
mesetoiles = "*" ;
break ;
case 2 :
mesetoiles = "**" ;
break ;
case 3 :
mesetoiles = "***" ;
break ;
case 4 :
mesetoiles = "****" ;
break ;
default :
mesetoiles = "" ;
break ;
}
return(mesetoiles) ;
}
function updateHotelSelection()
{
if(document.forms[0].htlarrdate.selectedIndex != 0 && document.forms[0].htldepdate.selectedIndex != 0 && document.forms[0].htlarrdate.selectedIndex < document.forms[0].htldepdate.selectedIndex + 1 && document.forms[0].roomtype.selectedIndex != 0)
{
document.forms[0].bookGroup[2].checked = true ;
clientDates = "" ;
hotelSelection = "" ;
for(i = 1 ; i <= nbNights ; i ++)
{
if(i >= document.forms[0].htlarrdate.selectedIndex && i <= document.forms[0].htldepdate.selectedIndex)
clientDates += "1" ;
else
clientDates += "0" ;
}
for(i = 1 ; i <= nbHotels ; i ++)
{
switch(document.forms[0].roomtype.selectedIndex)
{
case 1 :
hotelDates = listHotels[i].DspSg ;
hotelPrice = listHotels[i].ArrSg ;
strRoomType = "simple" ;
break ;
case 2 :
hotelDates = listHotels[i].DspDb ;
hotelPrice = listHotels[i].ArrDb ;
strRoomType = "double" ;
break ;
case 3 :
hotelDates = listHotels[i].DspTw ;
hotelPrice = listHotels[i].ArrTw ;
strRoomType = "twin" ;
break ;
default :
break ;
}
if(clientDates.slice(clientDates.indexOf("1"),clientDates.lastIndexOf("1") + 1) == hotelDates.slice(clientDates.indexOf("1"),clientDates.lastIndexOf("1") + 1))
{
hotelSelection += "