Code Context
$pass = $this->params['pass'][0];
$viewFile = '/home/kingfish/public_html/app/View/Elements/nav.ctp'
$dataForView = array(
'validationStatus' => '',
'content_for_layout' => '
<div id="contactpage">
<div class="container">
<h2><b>CONTACT</b> US</h2>
<hr>
<div class="col-md-9 well well-sm">
<form action="/contacts" id="contactsIndexForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div>
<div class="col-md-6 ">
<div class="form-group">
<label for="email">Company name</label>
<div class="input text"><input name="data[contacts][coyname]" class="form-control" required="required" placeholder="Company name" type="text" id="contactsCoyname"/></div> </div>
<div class="form-group">
<label for="email">Country</label>
<div class="input text"><input name="data[contacts][country]" class="form-control" required="required" placeholder="Country" type="text" id="contactsCountry"/></div>
</div>
<div class="form-group">
<label for="email">Name</label>
<div class="input text"><input name="data[contacts][name]" class="form-control" required="required" placeholder="Enter name" type="text" id="contactsName"/></div> </div>
<div class="form-group">
<label for="email">Email Address</label>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-envelope-o" aria-hidden="true"></i></span>
<div class="input email"><input name="data[contacts][email]" class="form-control" required="required" placeholder="Enter email" type="email" id="contactsEmail"/></div> </div>
</div>
<div class="form-group">
<label for="contact">Contact Number</label>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-phone" aria-hidden="true"></i></span>
<div class="input tel"><input name="data[contacts][tel]" class="form-control" required="required" placeholder="Enter contact number" type="tel" id="contactsTel"/></div> </div>
</div>
<span class="label label-danger">All fields are mandatory</span>
</div>
<div class="col-md-6 ">
<div class="form-group">
<div class="input textarea"><textarea name="data[contacts][message]" rows="11" class="form-control" required="required" placeholder="Message" cols="30" id="contactsMessage"></textarea></div> </div>
<div id='sending' style="display:none"> Sending... </div>
<div id='success'></div>
<div class="captcha">
<div class="BDC_CaptchaDiv" id="AuthCaptcha_CaptchaDiv" style="width:280px; height:50px;"><!--
--><div class="BDC_CaptchaImageDiv" id="AuthCaptcha_CaptchaImageDiv" style="width:250px !important; height:50px !important;"><!--
--><div class="BDC_CaptchaImageDiv" style="width:250px; height:40px;"><img class="BDC_CaptchaImage" id="AuthCaptcha_CaptchaImage" src="https://kingfisherauto.com/captcha-handler?get=image&c=AuthCaptcha&t=5e62e6594e96328d2f6fff4268edf53b" alt="Retype the CAPTCHA code from the image" style="" /></div><!--
--><a href="//captcha.org/captcha.html?cakephp" title="BotDetect CakePHP CAPTCHA Form Validation" style="display: block !important; height: 10px !important; margin: 0 !important; padding: 0 !important; font-size: 9px !important; line-height: 9px !important; visibility: visible !important; font-family: Verdana, DejaVu Sans, Bitstream Vera Sans, Verdana Ref, sans-serif !important; vertical-align: middle !important; text-align: center !important; text-decoration: none !important; background-color: #f8f8f8 !important; color: #606060 !important;">BotDetect CakePHP CAPTCHA Form Validation</a><!--
--></div><!--
--><div class="BDC_CaptchaIconsDiv" id="AuthCaptcha_CaptchaIconsDiv" style="width: 24px !important;"><!--
--><a class="BDC_ReloadLink" id="AuthCaptcha_ReloadLink" href="#" title="Change the CAPTCHA code"><img class="BDC_ReloadIcon" id="AuthCaptcha_ReloadIcon" src="https://kingfisherauto.com/captcha-handler?get=bdc-reload-icon.gif" alt="Change the CAPTCHA code" /></a><!--
--><a rel="nofollow" class="BDC_SoundLink" id="AuthCaptcha_SoundLink" href="https://kingfisherauto.com/captcha-handler?get=sound&c=AuthCaptcha&t=5e62e6594e96328d2f6fff4268edf53b" title="Speak the CAPTCHA code" target="_blank"><img class="BDC_SoundIcon" id="AuthCaptcha_SoundIcon" src="https://kingfisherauto.com/captcha-handler?get=bdc-sound-icon.gif" alt="Speak the CAPTCHA code" /></a><!--
--><div class="BDC_Placeholder" id="AuthCaptcha_AudioPlaceholder"> </div><!--
--></div>
<script src="https://kingfisherauto.com/captcha-handler?get=bdc-traditional-api-script-include.js&t=1733450781" type="text/javascript"></script>
<script src="https://kingfisherauto.com/captcha-handler?get=init_script_include&c=AuthCaptcha&t=5e62e6594e96328d2f6fff4268edf53b" type="text/javascript"></script> <input type="hidden" name="BDC_UserSpecifiedCaptchaId" id="BDC_UserSpecifiedCaptchaId" value="AuthCaptcha" />
<input type="hidden" name="BDC_VCID_AuthCaptcha" id="BDC_VCID_AuthCaptcha" value="5e62e6594e96328d2f6fff4268edf53b" />
<input type="hidden" name="BDC_BackWorkaround_AuthCaptcha" id="BDC_BackWorkaround_AuthCaptcha" value="0" />
<input type="hidden" name="BDC_Hs_AuthCaptcha" id="BDC_Hs_AuthCaptcha" value="c9db0faea9f24d31a79416a10a0a674c181cc204" />
<input type="hidden" name="BDC_SP_AuthCaptcha" id="BDC_SP_AuthCaptcha" value="760479551" />
</div>
</div><div class="input text"><label for="contactsCaptchaCode">Retype the characters from the picture:</label><input name="data[contacts][CaptchaCode]" required="required" class="form-control" type="text" id="contactsCaptchaCode"/></div>
<span class="text-danger">
</span>
<br>
<div class="submit"><input id="formsubmitbtn" class="btn btn-warning contact_btn" type="submit" value="Send Message"/></div>
</div>
<script>
$('a[href*="//captcha.org/"]').each(function() {
this.remove();
// alert('Contains question mark');
});
$("#PagesHomeForm").validate({
rules: {
"data[Pages][tel]": {
number: true,
required: true
}
},
});
</script>
</div>
<div class="col-md-3 ">
<legend><b>Our</b> Office</legend>
<address class="txt-black">
<strong>Kingfisher Automotive</strong><br>
2, Kim Chuan Drive<br>
CSI Distribution Centre <br>
#04-10<br>
Singapore 537080<br><br>
<abbr title="Phone">
Phone:</abbr><br>
+65-6487-1855<br><br>
</address>
<address>
<strong>Email</strong><br>
<a class="txt-black" href="mailto:info@kingfisherauto.com">info@kingfisherauto.com</a>
</address> </div>
</div>
</div>
<div id="map"></div>
<script>
function myMap() {
var mapCanvas = document.getElementById("map");
var myLatlng = new google.maps.LatLng(1.3410348,103.8901277);
var mapOptions = {
center: myLatlng,
zoom: 17,
zoomControl: false,
scaleControl: false,
scrollwheel: false,
disableDoubleClickZoom: true,
mapTypeId: google.maps.MapTypeId.OSM
};
var map = new google.maps.Map(mapCanvas, mapOptions);
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
});
var infowindow = new google.maps.InfoWindow({
content:'<strong>Kingfisher Automotive</strong><br>2 Kim Chuan Drive<br>',
position: myLatlng,
});
infowindow.open(map,marker);
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBcZ44eWk0YL5FTnapT_zoBpF8lSXgri64&callback=myMap"></script>
',
'scripts_for_layout' => '<link rel="stylesheet" type="text/css" href="https://kingfisherauto.com/captcha-handler?get=bdc-layout-stylesheet.css"/>',
'title_for_layout' => 'Contacts'
)
$validationStatus = ''
$content_for_layout = '
<div id="contactpage">
<div class="container">
<h2><b>CONTACT</b> US</h2>
<hr>
<div class="col-md-9 well well-sm">
<form action="/contacts" id="contactsIndexForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div>
<div class="col-md-6 ">
<div class="form-group">
<label for="email">Company name</label>
<div class="input text"><input name="data[contacts][coyname]" class="form-control" required="required" placeholder="Company name" type="text" id="contactsCoyname"/></div> </div>
<div class="form-group">
<label for="email">Country</label>
<div class="input text"><input name="data[contacts][country]" class="form-control" required="required" placeholder="Country" type="text" id="contactsCountry"/></div>
</div>
<div class="form-group">
<label for="email">Name</label>
<div class="input text"><input name="data[contacts][name]" class="form-control" required="required" placeholder="Enter name" type="text" id="contactsName"/></div> </div>
<div class="form-group">
<label for="email">Email Address</label>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-envelope-o" aria-hidden="true"></i></span>
<div class="input email"><input name="data[contacts][email]" class="form-control" required="required" placeholder="Enter email" type="email" id="contactsEmail"/></div> </div>
</div>
<div class="form-group">
<label for="contact">Contact Number</label>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-phone" aria-hidden="true"></i></span>
<div class="input tel"><input name="data[contacts][tel]" class="form-control" required="required" placeholder="Enter contact number" type="tel" id="contactsTel"/></div> </div>
</div>
<span class="label label-danger">All fields are mandatory</span>
</div>
<div class="col-md-6 ">
<div class="form-group">
<div class="input textarea"><textarea name="data[contacts][message]" rows="11" class="form-control" required="required" placeholder="Message" cols="30" id="contactsMessage"></textarea></div> </div>
<div id='sending' style="display:none"> Sending... </div>
<div id='success'></div>
<div class="captcha">
<div class="BDC_CaptchaDiv" id="AuthCaptcha_CaptchaDiv" style="width:280px; height:50px;"><!--
--><div class="BDC_CaptchaImageDiv" id="AuthCaptcha_CaptchaImageDiv" style="width:250px !important; height:50px !important;"><!--
--><div class="BDC_CaptchaImageDiv" style="width:250px; height:40px;"><img class="BDC_CaptchaImage" id="AuthCaptcha_CaptchaImage" src="https://kingfisherauto.com/captcha-handler?get=image&c=AuthCaptcha&t=5e62e6594e96328d2f6fff4268edf53b" alt="Retype the CAPTCHA code from the image" style="" /></div><!--
--><a href="//captcha.org/captcha.html?cakephp" title="BotDetect CakePHP CAPTCHA Form Validation" style="display: block !important; height: 10px !important; margin: 0 !important; padding: 0 !important; font-size: 9px !important; line-height: 9px !important; visibility: visible !important; font-family: Verdana, DejaVu Sans, Bitstream Vera Sans, Verdana Ref, sans-serif !important; vertical-align: middle !important; text-align: center !important; text-decoration: none !important; background-color: #f8f8f8 !important; color: #606060 !important;">BotDetect CakePHP CAPTCHA Form Validation</a><!--
--></div><!--
--><div class="BDC_CaptchaIconsDiv" id="AuthCaptcha_CaptchaIconsDiv" style="width: 24px !important;"><!--
--><a class="BDC_ReloadLink" id="AuthCaptcha_ReloadLink" href="#" title="Change the CAPTCHA code"><img class="BDC_ReloadIcon" id="AuthCaptcha_ReloadIcon" src="https://kingfisherauto.com/captcha-handler?get=bdc-reload-icon.gif" alt="Change the CAPTCHA code" /></a><!--
--><a rel="nofollow" class="BDC_SoundLink" id="AuthCaptcha_SoundLink" href="https://kingfisherauto.com/captcha-handler?get=sound&c=AuthCaptcha&t=5e62e6594e96328d2f6fff4268edf53b" title="Speak the CAPTCHA code" target="_blank"><img class="BDC_SoundIcon" id="AuthCaptcha_SoundIcon" src="https://kingfisherauto.com/captcha-handler?get=bdc-sound-icon.gif" alt="Speak the CAPTCHA code" /></a><!--
--><div class="BDC_Placeholder" id="AuthCaptcha_AudioPlaceholder"> </div><!--
--></div>
<script src="https://kingfisherauto.com/captcha-handler?get=bdc-traditional-api-script-include.js&t=1733450781" type="text/javascript"></script>
<script src="https://kingfisherauto.com/captcha-handler?get=init_script_include&c=AuthCaptcha&t=5e62e6594e96328d2f6fff4268edf53b" type="text/javascript"></script> <input type="hidden" name="BDC_UserSpecifiedCaptchaId" id="BDC_UserSpecifiedCaptchaId" value="AuthCaptcha" />
<input type="hidden" name="BDC_VCID_AuthCaptcha" id="BDC_VCID_AuthCaptcha" value="5e62e6594e96328d2f6fff4268edf53b" />
<input type="hidden" name="BDC_BackWorkaround_AuthCaptcha" id="BDC_BackWorkaround_AuthCaptcha" value="0" />
<input type="hidden" name="BDC_Hs_AuthCaptcha" id="BDC_Hs_AuthCaptcha" value="c9db0faea9f24d31a79416a10a0a674c181cc204" />
<input type="hidden" name="BDC_SP_AuthCaptcha" id="BDC_SP_AuthCaptcha" value="760479551" />
</div>
</div><div class="input text"><label for="contactsCaptchaCode">Retype the characters from the picture:</label><input name="data[contacts][CaptchaCode]" required="required" class="form-control" type="text" id="contactsCaptchaCode"/></div>
<span class="text-danger">
</span>
<br>
<div class="submit"><input id="formsubmitbtn" class="btn btn-warning contact_btn" type="submit" value="Send Message"/></div>
</div>
<script>
$('a[href*="//captcha.org/"]').each(function() {
this.remove();
// alert('Contains question mark');
});
$("#PagesHomeForm").validate({
rules: {
"data[Pages][tel]": {
number: true,
required: true
}
},
});
</script>
</div>
<div class="col-md-3 ">
<legend><b>Our</b> Office</legend>
<address class="txt-black">
<strong>Kingfisher Automotive</strong><br>
2, Kim Chuan Drive<br>
CSI Distribution Centre <br>
#04-10<br>
Singapore 537080<br><br>
<abbr title="Phone">
Phone:</abbr><br>
+65-6487-1855<br><br>
</address>
<address>
<strong>Email</strong><br>
<a class="txt-black" href="mailto:info@kingfisherauto.com">info@kingfisherauto.com</a>
</address> </div>
</div>
</div>
<div id="map"></div>
<script>
function myMap() {
var mapCanvas = document.getElementById("map");
var myLatlng = new google.maps.LatLng(1.3410348,103.8901277);
var mapOptions = {
center: myLatlng,
zoom: 17,
zoomControl: false,
scaleControl: false,
scrollwheel: false,
disableDoubleClickZoom: true,
mapTypeId: google.maps.MapTypeId.OSM
};
var map = new google.maps.Map(mapCanvas, mapOptions);
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
});
var infowindow = new google.maps.InfoWindow({
content:'<strong>Kingfisher Automotive</strong><br>2 Kim Chuan Drive<br>',
position: myLatlng,
});
infowindow.open(map,marker);
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBcZ44eWk0YL5FTnapT_zoBpF8lSXgri64&callback=myMap"></script>
'
$scripts_for_layout = '<link rel="stylesheet" type="text/css" href="https://kingfisherauto.com/captcha-handler?get=bdc-layout-stylesheet.css"/>'
$title_for_layout = 'Contacts'
include - APP/View/Elements/nav.ctp, line 6
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118