Code Context}
</style>
<?php $ll = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?>
$viewFile = '/var/www/vhosts/lasultanahotels.com/test.lasultanahotels.com/app/View/Layouts/default.ctp'
$dataForView = array(
'description_for_layout' => '',
'title_for_layout' => 'Contact & head office | La sutlana hotels - Morocco',
'content_for_layout' => '
<div class="pageContent">
<div class="row leftSide">
<div class="span3">
<div style="padding-top:3px;" >
<span style="font-size: 16px; font-family: bodoni;">CONTACT US </span><br><br>
</div>
<div style="margin:5px 0;">
<span class="smallTitre"> HEAD OFFICE - HOTEL BOOKING: </span> <br>
<span class="smallContent">403, Rue de la Kasbah - Marrakech</span> <br>
<span class="smallContent">Tél.: (00 212) 5 24 38 80 08 <br> Fax: (00 212) 5 24 38 98 09</span> <br>
<span class="smallContent"><a href="maito:reservation@lasultanahotels.com">reservation@lasultanahotels.com</a> </span><br>
</div>
<!-- <div style="margin:15px 0;">
<span class="smallTitre"> PARIS OFFICE – SALES & DEVELOPMENT OFFICE : </span>
<span class="smallContent">10, Rue Poncelet – 75017 Paris</span> <br>
<span class="smallContent">Tél.: (00 33) 9 81 35 82 80</span> <br>
<span class="smallContent"><a href="maito:ParisOffice@lasultanahotels.com">ParisOffice@lasultanahotels.com</a> </span><br>
</div>--></div>
<div class="span6 rightSide" style="width:870px;">
<div class="row">
<form action="/contact" id="ContactIndexForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div>
<div class="span3">
<div class="input text"><label for="nom">* Last Name</label><input name="data[Contact][nom]" id="nom" class="validate[required] span3" type="text"/></div>
</div>
<div class="span3">
<div class="input text"><label for="prenom">* First Name</label><input name="data[Contact][prenom]" id="prenom" class="validate[required] span3" type="text"/></div> </div>
<div class="span3">
<div class="input tel required"><label for="telephone">Phone</label><input name="data[Contact][telephone]" id="telephone" class="span3" type="tel" required="required"/></div>
</div>
<div class="span3">
<div class="input email required"><label for="email">*Email</label><input name="data[Contact][email]" id="email" class="validate[required] span3" type="email" required="required"/></div> </div>
<div class="span3">
<div class="input text"><label for="pays">Country</label><input name="data[Contact][pays]" id="pays" class="span3" type="text"/></div> </div>
<div class="span3">
<div class="input textarea"><label for="message">Message</label><textarea name="data[Contact][message]" id="message" class="span3" cols="30" rows="6"></textarea></div> </div>
<div class="span12" style='height:1px;border-top:#fff 1px solid;margin-bottom:5px;'></div>
<div class="span3">
</div>
<div class="span12" style='height:1px;border-top:#fff 1px solid;margin-bottom:5px;'></div>
<div class="span12">
<div class="submit"><input class="btn btn-inverse btn-mini" type="submit" value="ENVOYER MA DEMANDE"/></div>
<input type="hidden" name="g-recaptcha-response" id="g-recaptcha-response"/>
</form>
<style type="text/css">
form#ContactIndexForm input{
height: 20px;
}
.rightSide{
background-color:#eee;
padding: 20px 28px;
width: 940px;
margin-bottom: 10px;
}
</style>
</div>
</div>
</div>
<p> </p>
</div>',
'scripts_for_layout' => '<script type="text/javascript" src="https://www.google.com/recaptcha/api.js?render=6Lfl654UAAAAACjDUTDADwF6I2DlvDROLEvbfepP"></script><script type="text/javascript">
//<![CDATA[
grecaptcha.ready(function() {
grecaptcha.execute('6Lfl654UAAAAACjDUTDADwF6I2DlvDROLEvbfepP', {action: 'homepage'}).then(function(token) {
console.log('token',token);
document.getElementById('g-recaptcha-response').value = token;
});
});
setTimeout( "jQuery('.alert').slideUp();",3000 );
//]]>
</script>'
)
$description_for_layout = ''
$title_for_layout = 'Contact & head office | La sutlana hotels - Morocco'
$content_for_layout = '
<div class="pageContent">
<div class="row leftSide">
<div class="span3">
<div style="padding-top:3px;" >
<span style="font-size: 16px; font-family: bodoni;">CONTACT US </span><br><br>
</div>
<div style="margin:5px 0;">
<span class="smallTitre"> HEAD OFFICE - HOTEL BOOKING: </span> <br>
<span class="smallContent">403, Rue de la Kasbah - Marrakech</span> <br>
<span class="smallContent">Tél.: (00 212) 5 24 38 80 08 <br> Fax: (00 212) 5 24 38 98 09</span> <br>
<span class="smallContent"><a href="maito:reservation@lasultanahotels.com">reservation@lasultanahotels.com</a> </span><br>
</div>
<!-- <div style="margin:15px 0;">
<span class="smallTitre"> PARIS OFFICE – SALES & DEVELOPMENT OFFICE : </span>
<span class="smallContent">10, Rue Poncelet – 75017 Paris</span> <br>
<span class="smallContent">Tél.: (00 33) 9 81 35 82 80</span> <br>
<span class="smallContent"><a href="maito:ParisOffice@lasultanahotels.com">ParisOffice@lasultanahotels.com</a> </span><br>
</div>--></div>
<div class="span6 rightSide" style="width:870px;">
<div class="row">
<form action="/contact" id="ContactIndexForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div>
<div class="span3">
<div class="input text"><label for="nom">* Last Name</label><input name="data[Contact][nom]" id="nom" class="validate[required] span3" type="text"/></div>
</div>
<div class="span3">
<div class="input text"><label for="prenom">* First Name</label><input name="data[Contact][prenom]" id="prenom" class="validate[required] span3" type="text"/></div> </div>
<div class="span3">
<div class="input tel required"><label for="telephone">Phone</label><input name="data[Contact][telephone]" id="telephone" class="span3" type="tel" required="required"/></div>
</div>
<div class="span3">
<div class="input email required"><label for="email">*Email</label><input name="data[Contact][email]" id="email" class="validate[required] span3" type="email" required="required"/></div> </div>
<div class="span3">
<div class="input text"><label for="pays">Country</label><input name="data[Contact][pays]" id="pays" class="span3" type="text"/></div> </div>
<div class="span3">
<div class="input textarea"><label for="message">Message</label><textarea name="data[Contact][message]" id="message" class="span3" cols="30" rows="6"></textarea></div> </div>
<div class="span12" style='height:1px;border-top:#fff 1px solid;margin-bottom:5px;'></div>
<div class="span3">
</div>
<div class="span12" style='height:1px;border-top:#fff 1px solid;margin-bottom:5px;'></div>
<div class="span12">
<div class="submit"><input class="btn btn-inverse btn-mini" type="submit" value="ENVOYER MA DEMANDE"/></div>
<input type="hidden" name="g-recaptcha-response" id="g-recaptcha-response"/>
</form>
<style type="text/css">
form#ContactIndexForm input{
height: 20px;
}
.rightSide{
background-color:#eee;
padding: 20px 28px;
width: 940px;
margin-bottom: 10px;
}
</style>
</div>
</div>
</div>
<p> </p>
</div>'
$scripts_for_layout = '<script type="text/javascript" src="https://www.google.com/recaptcha/api.js?render=6Lfl654UAAAAACjDUTDADwF6I2DlvDROLEvbfepP"></script><script type="text/javascript">
//<![CDATA[
grecaptcha.ready(function() {
grecaptcha.execute('6Lfl654UAAAAACjDUTDADwF6I2DlvDROLEvbfepP', {action: 'homepage'}).then(function(token) {
console.log('token',token);
document.getElementById('g-recaptcha-response').value = token;
});
});
setTimeout( "jQuery('.alert').slideUp();",3000 );
//]]>
</script>'
$logo = 'logo.png'
$linkfr = ''
$linken = 'active'
include - APP/View/Layouts/default.ctp, line 170
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 49