2021-11-10 10:32:46 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @var bool $success
|
|
|
|
* @var string $exception
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2021-11-09 10:44:37 +03:00
|
|
|
<!doctype html>
|
2020-04-22 22:48:56 +03:00
|
|
|
<html lang="en">
|
2017-11-16 00:51:46 +03:00
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
|
|
|
2020-09-07 13:54:37 +03:00
|
|
|
<title>Update | Easy!Appointments</title>
|
2020-09-07 13:51:50 +03:00
|
|
|
|
2021-11-08 12:57:03 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/vendor/bootstrap/bootstrap.min.css') ?>">
|
2017-11-16 00:51:46 +03:00
|
|
|
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
2021-11-08 12:57:03 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/vendor/jquery-ui-dist/jquery-ui.min.css') ?>">
|
2021-12-06 11:00:02 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/update.css') ?>">
|
2017-11-16 00:51:46 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
|
|
|
</head>
|
|
|
|
<body>
|
2020-12-02 22:58:32 +03:00
|
|
|
<header>
|
|
|
|
<div class="container">
|
|
|
|
<h1 class="page-title">Easy!Appointments Update</h1>
|
2017-11-16 00:51:46 +03:00
|
|
|
</div>
|
2020-12-02 22:58:32 +03:00
|
|
|
</header>
|
2017-11-16 00:51:46 +03:00
|
|
|
|
2020-12-02 22:58:32 +03:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<?php if ($success): ?>
|
|
|
|
<div class="jumbotron">
|
|
|
|
<h1 class="display-4">Success!</h1>
|
|
|
|
<p class="lead">
|
|
|
|
The database got updated successfully.
|
|
|
|
</p>
|
|
|
|
<hr class="my-4">
|
|
|
|
<p>
|
|
|
|
You can now use the latest Easy!Appointments version.
|
|
|
|
</p>
|
|
|
|
<a href="<?= site_url('backend') ?>" class="btn btn-success btn-large">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-wrench me-2"></i>
|
2020-12-02 22:58:32 +03:00
|
|
|
<?= lang('backend_section') ?>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<?php else: ?>
|
|
|
|
<div class="jumbotron">
|
|
|
|
<h1 class="display-4">Failure!</h1>
|
|
|
|
<p class="lead">
|
|
|
|
There was an error during the update process.
|
|
|
|
</p>
|
|
|
|
<hr class="my-4">
|
|
|
|
<p>
|
|
|
|
Please restore your database backup.
|
|
|
|
</p>
|
|
|
|
<a href="<?= site_url('backend') ?>" class="btn btn-success btn-large">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-wrench me-2"></i>
|
2020-12-02 22:58:32 +03:00
|
|
|
<?= lang('backend_section') ?>
|
|
|
|
</a>
|
2017-11-16 00:51:46 +03:00
|
|
|
|
2020-12-02 22:58:32 +03:00
|
|
|
<p>
|
|
|
|
Please restore your database backup.
|
|
|
|
</p>
|
|
|
|
</div>
|
2017-11-16 00:51:46 +03:00
|
|
|
|
2021-11-23 10:43:40 +03:00
|
|
|
<div class="well text-start">
|
2020-12-02 22:58:32 +03:00
|
|
|
Error Message: <?= $exception ?>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
2018-01-30 12:26:00 +03:00
|
|
|
</div>
|
2017-11-16 00:51:46 +03:00
|
|
|
</div>
|
2020-12-02 22:58:32 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
Powered by <a href="https://easyappointments.org">Easy!Appointments</a>
|
|
|
|
</footer>
|
2017-11-16 00:51:46 +03:00
|
|
|
|
2021-11-08 12:57:03 +03:00
|
|
|
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/fontawesome.min.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/solid.min.js') ?>"></script>
|
2017-11-16 00:51:46 +03:00
|
|
|
</body>
|
|
|
|
</html>
|