%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/buggydubrovnik.com/buggy-booking/
Upload File :
Create Path :
Current File : //var/www/html/buggydubrovnik.com/buggy-booking/thankyouizlet.php

<?php

//mb_internal_encoding("ISO-8859-2");
function nasi_znakovi($vrati)
  {
		$vrati=iconv("windows-1250","utf-8",$vrati);
		$vrati= str_replace("{*","Ð",$vrati);
		$vrati= str_replace("{+","Č",$vrati);
		$vrati= str_replace("{-","Ć",$vrati);
		$vrati= str_replace("[*","đ",$vrati);
		$vrati= str_replace("[+","č",$vrati);
		$vrati= str_replace("[-","ć",$vrati);
		$vrati= str_replace("{!","Š",$vrati);
		$vrati= str_replace("[!","š",$vrati);
		$vrati= str_replace("{%","Ž",$vrati);
		$vrati= str_replace("[%","ž",$vrati);
		$vrati= str_replace("\'","'",$vrati);
		$vrati= str_replace("\\\"","\"",$vrati);
		$vrati= str_replace("\"","&#8221;",$vrati);
		
		
  return $vrati;
  }
  
   function upisBaza ($niz)
  {
	 // $niz=iconv("utf-8","windows-1250",$niz);
		$niz= str_replace("Ð","{*",$niz);
		$niz= str_replace("Č","{+",$niz);
		$niz= str_replace("Ć","{-",$niz);
		$niz= str_replace("đ","[*",$niz);
		$niz= str_replace("č","[+",$niz);
		$niz= str_replace("ć","[-",$niz);
		$niz= str_replace("Š","{!",$niz);
		$niz= str_replace("š","[!",$niz);
		$niz= str_replace("Ž","{%",$niz);
		$niz= str_replace("ž","[%",$niz);
		$niz= str_replace("&#272;","{*",$niz);
	//	$niz= str_replace("'","\'",$niz);
		
		
	
	
		
								
		if ($niz!="")
		{$niz = mysql_real_escape_string($niz);}
		
		return $niz;
  }
  
  
  $username ="adriatic_adrieco";
$password ="Po-Sl-123";
$hostname = "localhost";
		
		
		$dbh = mysql_connect($hostname, $username, $password) 
			   or die("Unable to connect to mysql");
		
		$selected = mysql_select_db("adriatic_poslovanje",$dbh) 
			  or die("Could not select exclusivecharterdbk");
			  
/*			  
if (!ini_get('display_errors')) {
  ini_set('display_errors', 1);
}*/

mysql_query("set names 'utf8'");

$idtemprezervacija=0;
$idizlet=0;
$tid=0;

if(isset($_GET["pgw_order_id"]))
{
	if (is_numeric($_GET["pgw_order_id"]))
	{$idtemprezervacija=$_GET["pgw_order_id"];
	
	$upit='UPDATE TempRezervacija SET broj1 = 1 WHERE IDTempRezervacija ='.$idtemprezervacija.';';
	
	$result = mysql_query($upit);
	}
	else
	{exit;}
}
else
	{exit;}
if(isset($_GET["pgw_transaction_id"]))
{
	$tid=$_GET["pgw_transaction_id"];
	
	
}
else
	{exit;}

//******ako je izlet

session_start();

if (!isset($_SESSION['load']) || $_SESSION['load']!=$tid)
{
    // insert query here


			
			
			//if($_COOKIE['idkosarica']!=$idtemprezervacija)
			//{//exit;
			//}
			
			$upit='SELECT * FROM TempRezervacija Where IDTempRezervacija ='.$idtemprezervacija.';';
			
					$result = mysql_query($upit);
					if (!$result)
					{
						//echo 'Could not run query: ' . mysql_error();
						exit;
					}
				while($row = mysql_fetch_row($result))
					{
					$poljeTempRezervacijaLBPK[0]=($row[0]);//idtemprezervacija
					$poljeTempRezervacijaLBPK[1]=($row[1]);//idizlet
					$poljeTempRezervacijaLBPK[2]=nasi_znakovi($row[2]);//nazivizlet
					$poljeTempRezervacijaLBPK[3]=nasi_znakovi($row[3]);//title
					$poljeTempRezervacijaLBPK[4]=nasi_znakovi($row[4]);//firstname
					$poljeTempRezervacijaLBPK[5]=nasi_znakovi($row[5]);//lastname
					$poljeTempRezervacijaLBPK[6]=nasi_znakovi($row[6]);//adress
					$poljeTempRezervacijaLBPK[7]=nasi_znakovi($row[7]);//city
					$poljeTempRezervacijaLBPK[8]=nasi_znakovi($row[8]);//zip
					$poljeTempRezervacijaLBPK[9]=nasi_znakovi($row[9]);//country
					$poljeTempRezervacijaLBPK[10]=nasi_znakovi($row[10]);//telephone
					$poljeTempRezervacijaLBPK[11]=nasi_znakovi($row[11]);//email
					$poljeTempRezervacijaLBPK[12]=nasi_znakovi($row[12]);//datum
					$poljeTempRezervacijaLBPK[13]=nasi_znakovi($row[13]);//odrasli
					$poljeTempRezervacijaLBPK[14]=nasi_znakovi($row[14]);//djeca
					$poljeTempRezervacijaLBPK[15]=nasi_znakovi($row[15]);//cijenaodrasli
					$poljeTempRezervacijaLBPK[16]=nasi_znakovi($row[16]);//cijenadjeca
					$poljeTempRezervacijaLBPK[17]=nasi_znakovi($row[17]);//idmjkupljenja
					$poljeTempRezervacijaLBPK[18]=nasi_znakovi($row[18]);//nazivmjesta
					$poljeTempRezervacijaLBPK[19]=nasi_znakovi($row[19]);//vrijeme
					$poljeTempRezervacijaLBPK[20]=nasi_znakovi($row[20]);//napomena
					$poljeTempRezervacijaLBPK[21]=nasi_znakovi($row[21]);//hash
					$poljeTempRezervacijaLBPK[22]=nasi_znakovi($row[22]);//broj
					$poljeTempRezervacijaLBPK[23]=nasi_znakovi($row[23]);//broj1
					$poljeTempRezervacijaLBPK[24]=nasi_znakovi($row[24]);//broj2
					$poljeTempRezervacijaLBPK[25]=nasi_znakovi($row[25]);//tekst
					$poljeTempRezervacijaLBPK[26]=nasi_znakovi($row[26]);//tekstmali
					}
					$kontakt=$poljeTempRezervacijaLBPK[3].' '.$poljeTempRezervacijaLBPK[4].' '.$poljeTempRezervacijaLBPK[5].' T:'.$poljeTempRezervacijaLBPK[10].' e:'.$poljeTempRezervacijaLBPK[11];
					$napomena="Kontrolni broj: ".$poljeTempRezervacijaLBPK[0]."\n"."WebPay broj: ".$tid."\n"."Telefon: ".$poljeTempRezervacijaLBPK[10]."\n"."E-mail:".$poljeTempRezervacijaLBPK[11]."\n".$poljeTempRezervacijaLBPK[20];
					
				
				$upit='UPDATE TempRezervacija SET broj = 1 WHERE IDTempRezervacija ='.$idtemprezervacija.';';
				$result = mysql_query($upit);
				
			
			if($poljeTempRezervacijaLBPK[22]==0)
			{
				//setcookie("TestCookie", "xx",time() + (1));
				
				$upit="SELECT IDIzlet from Izlet WHERE IDIzletTip=".$poljeTempRezervacijaLBPK[1]." AND datum = '".$poljeTempRezervacijaLBPK[12]."';";
				
				$result = mysql_query($upit);
					if (!$result)
					{
						//echo 'Could not run query: ' . mysql_error();
						exit;
					}
				
				$row = mysql_fetch_row($result);
					$idizlet = $row[0];
					
			
				$upit="CALL  proc_RezervacijaInsert(@idrezervacija".",".upisBaza($idizlet).",1680,".upisBaza($poljeTempRezervacijaLBPK[17]).",'".upisBaza($poljeTempRezervacijaLBPK[19])."'".",".upisBaza($poljeTempRezervacijaLBPK[13]).",".upisBaza($poljeTempRezervacijaLBPK[14]).",".upisBaza($poljeTempRezervacijaLBPK[15]).",".upisBaza($poljeTempRezervacijaLBPK[16]).",'".upisBaza($kontakt)."'".",'".upisBaza($napomena)."'".",0,'".upisBaza($poljeTempRezervacijaLBPK[18])."'".");";
			
					$result = mysql_query($upit);
					if (!$result)
					{
						echo 'Could not run query: ' . mysql_error();
						exit;
					}
			
				$upit= 'SELECT @idrezervacija';
					$result = mysql_query($upit);
					if (!$result)
					{
						echo 'Could not run query: ' . mysql_error();
						exit;
					}
			
					$row = mysql_fetch_row($result);
					$idrezervacija = $row[0];
					
		
			$body= '<body style="font-family:Calibri;color: #014daf;"><div style="width: 100%"> <div style="text-align: center;margin-bottom: 16px;"><img src="http://www.adriatic-explore.com/wp-content/uploads/2017/02/adriatic-explore-logo-voucher.png"></div><div style="text-align:center;margin-bottom:20px;font-size:20px;"><b>VOUCHER No. '.$poljeTempRezervacijaLBPK[0].'</b></div><div style="text-align: center;border: 1px solid;padding-bottom:10px;padding-top:10px;">ADRIATIC EXPLORE D.O.O<br>Liechtensteinov put 3, 20 000 Dubrovnik, Croatia<br>TEL: +385(0)20 323 400; FAX: +385(0)20 423 501<br>ID Code: HR-AB-20-090020782<br>MB: 90020782<br>OIB: 71400577640<br></div><span>Datum i mjesto izdavanja:</span><br><span>Date and place of issue: Dubrovnik, '.date("d.m.Y").'</span> <br><br><span>REZERVACIJA / <b>RESERVATION</b></span> <div style=" text-align: center; border: 1px solid;padding-bottom:10px;padding-top:10px;"> INFORMACIJE O USLUZI / <b>SERVICE INFORMATION</b></div><div style="width: 100%;float: left;display: table;"> <div style="text-align: center;width: 49%;border: 1px solid;display: table-cell;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"></div><div style="width: 49%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;"> <span>KONTAKT NADLEŽNE OSOBE / AGENT</span><br><br><span><b>CONTACT OF AUTHORIZED PERSON / AGENT</b></span> </div></div><div style="width: 100%;float: left;display: table;"> <div style="text-align: center;width: 23%;border: 1px solid;display: table-cell;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Vrsta / tip usluge:</span><br><span><b>Type of service:</b></span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span><b>Group Excursion</b></span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Naziv:</span><br><span><b>Title:</b></span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;"> <span>Ms.</span></div></div><div style="width: 100%;float: left;display: table;"> <div style="text-align: center;width: 23%;border: 1px solid;display: table-cell;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Naziv usluge / proizvoda:</span><br><span><b>Service / product title:</b></span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>'.$poljeTempRezervacijaLBPK[2].'</span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Ime i prezime:</span><br><span><b>Name, surname:</b></span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;"> <span>Iva Petrović Moravec</span></div></div><div style="width: 100%;float: left;display: table;"> <div style="text-align: center;width: 23%;border: 1px solid;display: table-cell;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Polazište:</span><br><span><b>Departure / pick-up location:</b></span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>'.$poljeTempRezervacijaLBPK[18].'</span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Kontakt tel.:</span><br><span><b>Contact phone:</b></span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;"> <span>+385 99 22 55 882</span></div></div><div style="width: 100%;float: left;display: table;margin-top: 20px;"> <div style="text-align: center;width: 49%;border: 1px solid;display: table-cell;padding-bottom:10px;padding-top:10px;border-right: none;"> <span>DATUM I VRIJEME / <b>DATE AND TIME</b></span></div><div style="width: 49%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;"> <span>IME NOSITELJA REZERVACIJE / NAZIV GRUPE</span><br><br><span><b>NAME OF RESERVATION HOLDER / NAME OF THE GROUP</b></span></div></div><div style="width: 100%;float: left;display: table;"> <div style="text-align: center;width: 24.5%;border: 1px solid;display: table-cell;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Datum:</span><br><span><b>Date:</b></span></div><div style="width: 24.5%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>'.$poljeTempRezervacijaLBPK[12].'</span></div><div style="width: 49%;border: 1px solid;display: table-cell;text-align: center;padding-top:10px;border-top: none;border-bottom:none;vertical-align: bottom;"> <span>'.$poljeTempRezervacijaLBPK[3].' '.$poljeTempRezervacijaLBPK[4].' '.$poljeTempRezervacijaLBPK[5].'</span></div></div><div style="width: 100%;float: left;display: table;"> <div style="text-align: center;width: 24.5%;border: 1px solid;display: table-cell;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Vrijeme:</span><br><span><b>Time:</b></span></div><div style="width: 24.5%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>'.$poljeTempRezervacijaLBPK[19].'</span></div><div style="width: 49%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;"></div></div><div style="width:100%; float: left; text-align: center;border: 1px solid;padding-bottom:10px;padding-top:10px;margin-top: 20px;"> OSNOVNE USLUGE / <b>MAIN SERVICES</b></div><div style="width: 100%;float: left;display: table;"> <div style="text-align: center;width: 23%;border: 1px solid;display: table-cell;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Broj osoba</span><br><span><b>Pax</b></span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Djeca</span><br><span><b>Children</b></span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>Trajanje</span><br><span><b>Duration</b></span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;"> <span>Vrijednost</span><br><span><b>Value</b></span></div></div><div style="width: 100%;float: left;display: table;"> <div style="text-align: center;width: 23%;border: 1px solid;display: table-cell;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>'.$poljeTempRezervacijaLBPK[13].'</span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>'.$poljeTempRezervacijaLBPK[14].'</span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;border-right: none;"> <span>1</span></div><div style="width: 23%;border: 1px solid;display: table-cell;text-align: center;padding-bottom:10px;padding-top:10px;border-top: none;"> <span>Day</span></div></div><div style="float: left;display: table;width: 100%;margin-top: 15px;"> <div style="border: 1px solid;text-align:center;padding-bottom:10px;padding-top:10px;">OSTALE INFORMACIJE I NAPOMENE / <b>ADDITIONAL INFORMATION AND NOTES</b></div><div style="border: 1px solid;padding: 3%;border-top: none;"> <ul> <li><b>Please be 5 min before departure at the pick up location</b></li></ul> </div><div style="float:left;margin-top:20px;"> <span>*Molimo vas da na početku usluge pokažete ovu uplatnicu, u elektronskom ili tiskanom obliku, autoriziranom osoblju.</span> </div><div style="float:left;margin-top:20px;"><span>*You can present either a paper or an electronic voucher for this activity.</span> </div><div style="width:100%;float:left;margin-top:20px;margin-bottom:20px;text-align: center;"><span><b>NOT TRANSFERABLE – NON REFUNDABLE – NO CASH VALUE</span></b><br><span>NE MOŽE SE PRENIJETI NA DRUGU OSOBU – NE MOŽE SE VRATITI – NEMA NOVČANU VRIJEDNOST</span> </div><div style=" width: 100%; float: left;"><span style=" float: right;"><b>Izdao/la / Issued by:</b></span><br><span style="margin-top:10px; float: right;">Iva Petrović Moravec</span></div><div style="float:left;margin-top:20px;"><span>*Napomena! Ukoliko je ova uplatnica izdana u elektronskom obliku, valjana je bez pečata i potpisa!</span><br><span>*Please note! If this voucher has been issued in electronic form, it is valid without stamp and signature!</span> </div></div><div style="float: left;display: table;width: 100%;margin-top: 15px;text-align: center;"> <img src="http://www.adriatic-explore.com/wp-content/uploads/2017/02/adriatic-explore-logo-voucher.png"> </div><div style="float: left;display: table;width: 100%;margin-top: 15px;"> <div style="width: 100%;display: table-cell;text-align: center;padding-bottom:10px;"> Liechtensteinov put 3, 20 000 DUBROVNIK, CROATIA, TEL:+385 20 323 400, GSM: +385 99 22 55 88 2<br>Adriatic Explore d.o.o., Liechtensteinov put 3, 20 000 Dubrovnik, Croatia,<br>OIB: 71400577640; IBAN: HR – 2423400091 110279742; ID code: HR-AB-20-090020782<br><br>Go beyond your travel expectations with Adriatic Explore! </div></div></div></body>';
			
			
			
date_default_timezone_set('Etc/UTC');
require '../PHPMailer_5.2.1/PHPMailerAutoload.php';
//Create a new PHPMailer instance
$mail     = new PHPMailer();
//Tell PHPMailer to use SMTP
$mail->isSMTP();
$mail->CharSet = 'UTF-8';
//Enable SMTP debugging
// 0 = off (for production use)
// 1 = client messages
// 2 = client and server messages
$mail->SMTPDebug = 0;
//Ask for HTML-friendly debug output
$mail->Debugoutput = 'html';
//Set the hostname of the mail server
$mail->Host = "mail.adriatic-explore.com";
//Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission
$mail->Port = 465;
//Set the encryption system to use - ssl (deprecated) or tls
$mail->SMTPSecure = 'ssl';
//Whether to use SMTP authentication
$mail->SMTPAuth = true;
$mail->Username = "info@adriatic-explore.com";
$mail->Password = "AdExCo333!?";
//Set who the message is to be sent from
$mail->SetFrom('info@adriatic-explore.com', 'Adriatic Explore');
$mail->AddReplyTo("office@adriatic-explore.com","Adriatic Explore");	
$mail->Subject    = 'Voucher('.$idtemprezervacija.')  - '.$poljeTempRezervacijaLBPK[2].'('.$poljeTempRezervacijaLBPK[13].'/'.$poljeTempRezervacijaLBPK[14].')';
			$mail->MsgHTML($body);
			$address = $poljeTempRezervacijaLBPK[11];
			$mail->AddAddress($address, $poljeTempRezervacijaLBPK[4].' '.$poljeTempRezervacijaLBPK[5] );
			$address = 'office@adriatic-explore.com';
			$mail->AddAddress($address, 'Adriatic Explore' );
			$mail->AddBcc("ivan.ivusic@energit.biz", 'Adriatic Explore' );
			$mail->AddBcc("info@adriatic-explore.com", 'Adriatic Explore' );
			$mail->AddBcc("ivan.grbavac@energit.biz", 'Adriatic Explore' );
			
			$poruka="";
			
			if(!$mail->Send()) {
				$mail     = new PHPMailer();
				$mail->isSMTP();
				$mail->CharSet = 'UTF-8';
				$mail->SMTPDebug = 0;
				$mail->Debugoutput = 'html';
				$mail->Host = "mail.adriatic-explore.com";
				$mail->Port = 465;
				$mail->SMTPSecure = 'ssl';
				$mail->SMTPAuth = true;
				$mail->Username = "info@adriatic-explore.com";
				$mail->Password = "AdExCo333!?";   
				  $mail->SetFrom('info@adriatic-explore.com', 'Adriatic Explore');
					$mail->Subject    = 'Voucher  - '.$poljeTempRezervacijaLBPK[2].'('.$poljeTempRezervacijaLBPK[13].'/'.$poljeTempRezervacijaLBPK[14].')';
					$mail->MsgHTML('<p style="font-size:16px; color:#F00"> VOUCHER NIJE POSLAN KUPCU, DOSLO JE DO NEKE GRESKE </p>'.$body);	
					$address = 'office@adriatic-explore.com';
					$mail->AddAddress($address, 'Adriatic Explore' );
					$mail->Send();
			  
			} else {
			  $poruka="Your request has been successfully sent! Thank you!";
			}
			
			
	}		
			
}

$_SESSION['load'] = $tid;


?><!DOCTYPE html>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" type="image/gif" href="../slike/favicon.gif">

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="../fadeslideshow.js">
</script>

<script type="text/javascript">
/*
function getXMLHttp()
{
  var xmlHttp;

  try
  {
    //Firefox, Opera 8.0+, Safari
    xmlHttp = new XMLHttpRequest();
  }
  catch(e)
  {
    //Internet Exploreret
    try
    {
      xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
    }
    catch(e)
    {
      try
      {
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
      }
      catch(e)
      {
        alert("Your browser does not support AJAX!")
        return false;
      }
    }
  }
  return xmlHttp;
}





function sendRequest(){
	naslov = '<?php echo $naslovcic ?>'; 
	//alert (naslov);
		selectElement = document.getElementById('title');
	title = selectElement[selectElement.selectedIndex].value;
	ime = document.contactform.ime.value;
	prezime = document.contactform.prezime.value;
	drzava = document.contactform.drzava.value;
	email = document.contactform.email.value;
	tel = document.contactform.tel.value;
	fax = document.contactform.fax.value;
	request = document.contactform.message.value;
	
	mailheader = 'From:' + email + '\r\n' +
					'Reply-To:' + email + '\r\n' +
					'Content-type: text/html; charset=utf-8\r\n';
	
	mailmessage = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />Poštovani,<br />ovo je automatski generirana poruka sa stranice https://www.adriatic-explore.com/contact/.<br /> Podaci su sljedeći:<br /><br />Title:  " + title + "<br />Name:  " + ime + "<br />Surname:  " + prezime + "<br />State:  " + drzava + "<br />E-mail:  " + email + "<br />Tel: " + tel + "<br /> Fax: " + fax + "<br /><br /> Message: " + request;
	
	PosaljiMail("info@adriatic-explore.com", 'Contact request '+naslov, mailmessage, mailheader);
	alert('Your request has been succesfully sent.');
}

function PosaljiMail(mail, title, message, header)
	{
  		var xmlHttp = getXMLHttp();
  		xmlHttp.onreadystatechange = function()
		  {
		   if(xmlHttp.readyState == 4)
		  	{
		  		vari = xmlHttp.responseText;	
		  	}
		   }

		var parameters="mail="+mail+"&title="+title+"&message="+message+"&header="+header;
		
		
	xmlHttp.open("POST", "../mailsend.php", false);
	xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
	//xmlHttp.setRequestHeader("Content-length", parameters.length); 
	//xmlHttp.setRequestHeader("Connection", "close"); 
	xmlHttp.send(parameters);
   }
   
   */
 	
</script>

<link rel="stylesheet" href="/buggy-booking/css/responsivegridsystem.css" media="all">
<meta name="Description" content="We would be more than happy to help you with your tour requests." />
<meta name="publisher" content="Mint Media" />
<title>Booking successfully made</title>

</head>

<body>
 <div id="fb-root"></div>

	<div id="headcontainer">
	
      <header>
   
      <div class="group">
		<div class="col span_1_of_9" id="logo">
         <a href="//www.buggydubrovnik.com/"><img src="/buggy-booking/img/buggy-dubrovnik-logo.png" alt="Buggy Safari Dubrovnik Adventure Tours" /></a>
        </div>
        <div style="float: right;">
        <div class="col1 span_1_of_9" style="margin-right:0">
        <a class="button1" href="//www.buggydubrovnik.com/">HOME</a>
        </div>    
            
        <div class="col1 span_1_of_9">
        <a class="button1" href="//www.buggydubrovnik.com/about-us/">ABOUT US</a>
        </div>
            
        <div class="col1 span_1_of_9">
        <a class="button1" href="//www.buggydubrovnik.com/adventure-tours-dubrovnik/">TOURS</a>
        </div>
            
        <div class="col1 span_1_of_9">
        <a class="button1" href="//www.buggydubrovnik.com/travel-blog/">BLOG</a>
        </div>
                        
        <div class="col1 span_1_of_9">
        <a class="button1" href="//www.buggydubrovnik.com/contact-us/">CONTACT</a>
        </div>
      	</div>
      	</div>
 	</header>
 
 
	</div>
   
 
   
 
  <div id="wrapper">
	<div id="maincontentcontainer">
	  <div id="maincontent"><div class="section group" style="width:97%">
            
<img style="width:100%;" src="../images/booking3.jpg"  alt="buggy safari Dubrovnik" />
        </div>    
        <div class="section group" style="margin-bottom:25px; margin-top:5px; background-color:#003; height:2px;"></div>
			<div class="section group" style="margin:0px; padding:0px;">

		
            <div id="naslov1" style="text-align:center; margin-top:0px;">	
             <h2 style="margin-bottom:25px; color:green; margin-top:0px; padding:0px;text-transform:uppercase"><img src="../images/check-yes.png" alt="success" /><br /><br />THANK YOU!<br /><br />
               YOUR VOUCHER IS BEING SENT TO YOUR E-MAIL ADDRESS!<br /><br />
               WE KINDLY ASK YOU TO CHECK YOUR SPAM/JUNK FOLDER IF THE VOUCHER IS NOT IN YOUR INBOX.
              </h2>
				 </div>
                </div> 
                
                 <div class="section group" style="margin-bottom:35px; margin-top:15px; background-color:#003; height:2px;"></div>  
                <div class="section group" style="margin-bottom:15px; margin-top:5px;">
            
            </div>
       </div>
</div>
    
    
    
    <div id="footercontainer">
    <footer class="group">
        
			 <div class="col2 span_1_of_5" id="flogo1">
			 <a href="//www.adriatic-explore.com">
			 <img style="border:0px;" src="/buggy-booking/img/buggy-safari-dubrovnik-footer.png" alt="Buggy safari Dubrovnik" /></a>
			 </div>
            
			<div class="col2 span_1_of_5" >&nbsp;</div>
            		<div class="col2 span_1_of_5" id="fadresa1">
			<h4>CONTACT INFO</h4><br /> 
			<div>Gornji Kono 56E<br /><br />
			Mobile: +385 98 166 9730<br /><br />
			Email: info@buggydubrovnik.com<br /></div>

			</div>
            
			<div class="col2 span_1_of_5" id="fpodaci1">
			<h4>BUGGY D.O.O</h4><br>
			<h4>OIB: 17998219966 </h4><br>
			<h4>MB: 04174062</h4> 
			</div>
            
			<div class="col2 span_1_of_5" id="fsocial1">
			<h4>FOLLOW US</h4>
			
			
			<a target="_blank" href="https://www.facebook.com/buggydubrovnik/"><img src="//www.adriatic-explore.com/images/face.png" alt="Buggy Dubrovnik facebook page" /></a>
			
			<br><br><br><br>
			Recommended by <a href="https://www.godubrovnik.guide/dubrovnikthingstodo/buggy-safari/" target="_blank">Dubrovnik Travel Guide</a>
			</div>
            
            <hr style="float: left;width: 350%;transform: translate(-50%);border-color: #f58220;">
            <div style="float:left; width:100%; text-align:center">
            © Powered by: <a href="http://www.mint-media.hr" target="_blank">Mint Media</a> - <a href="https://www.godubrovnik.com/" target="_blank">Go Dubrovnik Travel Portal</a>
            </div>

	  </footer>
	</div>

</div>


<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

  <script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

  <script src="js/jquery-1.10.2.min.js"></script>
<script src="js/lightbox-2.6.min.js"></script>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-90629328-1', 'auto');
  ga('send', 'pageview');

</script>


<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/978730784/?label=_6diCLiy0wkQoP7Y0gM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

<script type="text/javascript">window.history.forward();function noBack(){window.history.forward();}</script>

</body>
</html>

Zerion Mini Shell 1.0