2015-10-07 23:51:12 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="theme-color" content="#35A768">
|
|
|
|
<title><?php echo $this->lang->line('appointment_registered') . ' - ' . $company_name; ?></title>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
// ------------------------------------------------------------
|
|
|
|
// INCLUDE CSS FILES
|
|
|
|
// ------------------------------------------------------------ ?>
|
2016-01-17 14:10:48 +02:00
|
|
|
|
2015-10-07 23:51:12 +03:00
|
|
|
<link rel="stylesheet" type="text/css"
|
2016-03-07 22:19:55 +02:00
|
|
|
href="<?php echo base_url('assets/ext/bootstrap/css/bootstrap.min.css'); ?>">
|
2015-10-07 23:51:12 +03:00
|
|
|
<link rel="stylesheet" type="text/css"
|
2016-03-07 22:19:55 +02:00
|
|
|
href="<?php echo base_url('assets/css/frontend.css'); ?>">
|
2015-10-07 23:51:12 +03:00
|
|
|
|
|
|
|
<?php
|
|
|
|
// ------------------------------------------------------------
|
|
|
|
// SET PAGE FAVICON
|
|
|
|
// ------------------------------------------------------------ ?>
|
2016-01-17 14:10:48 +02:00
|
|
|
|
2015-10-07 23:51:12 +03:00
|
|
|
<link rel="icon" type="image/x-icon"
|
2016-03-07 22:19:55 +02:00
|
|
|
href="<?php echo base_url('assets/img/favicon.ico'); ?>">
|
2015-10-07 23:51:12 +03:00
|
|
|
|
|
|
|
<link rel="icon" sizes="192x192"
|
2016-03-07 22:19:55 +02:00
|
|
|
href="<?php echo base_url('assets/img/logo.png'); ?>">
|
2015-10-07 23:51:12 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="main" class="container">
|
|
|
|
<div class="wrapper row">
|
|
|
|
<div id="success-frame" class="frame-container
|
|
|
|
col-xs-12
|
|
|
|
col-sm-offset-1 col-sm-10
|
|
|
|
col-md-offset-2 col-md-8
|
|
|
|
col-lg-offset-2 col-lg-8">
|
|
|
|
|
|
|
|
<div class="col-xs-12 col-sm-2">
|
2016-03-07 22:19:55 +02:00
|
|
|
<img id="success-icon" class="pull-right" src="<?php echo base_url('assets/img/success.png'); ?>" />
|
2015-10-07 23:51:12 +03:00
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 col-sm-10">
|
|
|
|
<?php
|
|
|
|
echo '
|
|
|
|
<h3>' . $this->lang->line('appointment_registered') . '</h3>
|
|
|
|
<p>' . $this->lang->line('appointment_details_was_sent_to_you') . '</p>
|
2016-03-07 22:01:39 +02:00
|
|
|
<a href="' . site_url() . '" class="btn btn-success btn-large">
|
2016-11-06 15:15:15 +03:00
|
|
|
<span class="glyphicon glyphicon-calendar"></span> ' .
|
2015-10-07 23:51:12 +03:00
|
|
|
$this->lang->line('go_to_booking_page') . '
|
|
|
|
</a>
|
|
|
|
';
|
|
|
|
|
2016-04-24 19:29:58 +03:00
|
|
|
if ($this->config->item('google_sync_feature')) {
|
2015-10-07 23:51:12 +03:00
|
|
|
echo '
|
|
|
|
<button id="add-to-google-calendar" class="btn btn-primary">
|
|
|
|
<span class="glyphicon glyphicon-plus"></span>
|
|
|
|
' . $this->lang->line('add_to_google_calendar') . '
|
|
|
|
</button>';
|
|
|
|
}
|
|
|
|
|
|
|
|
// Display exceptions (if any).
|
|
|
|
if (isset($exceptions)) {
|
|
|
|
echo '<div class="col-xs-12" style="margin:10px">';
|
|
|
|
echo '<h4>Unexpected Errors</h4>';
|
|
|
|
foreach($exceptions as $exc) {
|
|
|
|
echo exceptionToHtml($exc);
|
|
|
|
}
|
|
|
|
echo '</div>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
// ------------------------------------------------------------
|
|
|
|
// INCLUDE JS FILES
|
|
|
|
// ------------------------------------------------------------ ?>
|
2016-01-17 14:10:48 +02:00
|
|
|
|
2015-10-07 23:51:12 +03:00
|
|
|
<script
|
|
|
|
type="text/javascript"
|
2016-03-07 22:19:55 +02:00
|
|
|
src="<?php echo base_url('assets/ext/jquery/jquery.min.js'); ?>"></script>
|
2015-10-07 23:51:12 +03:00
|
|
|
<script
|
|
|
|
type="text/javascript"
|
2016-03-07 22:19:55 +02:00
|
|
|
src="<?php echo base_url('assets/ext/bootstrap/js/bootstrap.min.js'); ?>"></script>
|
2015-10-07 23:51:12 +03:00
|
|
|
<script
|
|
|
|
type="text/javascript"
|
2016-03-07 22:19:55 +02:00
|
|
|
src="<?php echo base_url('assets/ext/datejs/date.js'); ?>"></script>
|
2015-10-07 23:51:12 +03:00
|
|
|
<script
|
|
|
|
type="text/javascript"
|
|
|
|
src="https://apis.google.com/js/client.js"></script>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
// ------------------------------------------------------------
|
|
|
|
// CUSTOM PAGE JS
|
|
|
|
// ------------------------------------------------------------ ?>
|
2016-01-17 14:10:48 +02:00
|
|
|
|
2015-10-07 23:51:12 +03:00
|
|
|
<script type="text/javascript">
|
|
|
|
var GlobalVariables = {
|
|
|
|
'csrfToken' : <?php echo json_encode($this->security->get_csrf_hash()); ?>,
|
|
|
|
'appointmentData' : <?php echo json_encode($appointment_data); ?>,
|
|
|
|
'providerData' : <?php echo json_encode($provider_data); ?>,
|
|
|
|
'serviceData' : <?php echo json_encode($service_data); ?>,
|
|
|
|
'companyName' : <?php echo '"' . $company_name . '"'; ?>,
|
|
|
|
'googleApiKey' : <?php echo '"' . Config::GOOGLE_API_KEY . '"'; ?>,
|
|
|
|
'googleClientId' : <?php echo '"' . Config::GOOGLE_CLIENT_ID . '"'; ?>,
|
|
|
|
'googleApiScope' : 'https://www.googleapis.com/auth/calendar'
|
|
|
|
};
|
|
|
|
|
|
|
|
var EALang = <?php echo json_encode($this->lang->language); ?>;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
2016-03-07 22:19:55 +02:00
|
|
|
src="<?php echo base_url('assets/js/frontend_book_success.js'); ?>"></script>
|
2015-10-07 23:51:12 +03:00
|
|
|
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
2016-03-07 22:19:55 +02:00
|
|
|
src="<?php echo base_url('assets/js/general_functions.js'); ?>"></script>
|
2016-01-17 14:10:48 +02:00
|
|
|
|
|
|
|
<?php google_analytics_script(); ?>
|
2015-10-07 23:51:12 +03:00
|
|
|
</body>
|
|
|
|
</html>
|