Skip to content

Instantly share code, notes, and snippets.

Abhijeet Ahuja abhijeetahuja

Block or report user

Report or block abhijeetahuja

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.jsp
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Machine Learning by Sumeet</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet" />
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://unpkg.com/now-ui-kit@1.1.0/assets/css/now-ui-kit.css" rel="stylesheet" />
View zEShow.js
<script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(e){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("https://assets.zendesk.com/embeddable_framework/main.js","myorg.zendesk.com");
/*]]>*/</script>
View ref.php
<select class="form-control" required id="ploc" name="ploc">
<option></option>
<optgroup id="pairport" label="Airports">
<option value="airport-YES-YES">International Airport</option>
</optgroup>
<optgroup id="photel" label="Hotels">
<?php
foreach ($hotels as $hotel) { ?>
<option value="HOT<?php echo $hotel['id']; ?>-<?php echo $hotel['eligible_shuttle']; ?>-<?php echo $hotel['d2d']; ?>"><?php echo $hotel["hotel_name"]; ?></option>
<?php } ?>
You can’t perform that action at this time.