1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 02:39:46 +02:00
Oinktube/view/include/offlinePage.php
Caleb Mazalevskis 27a7925b98
Refactor.
2022-01-06 21:44:29 +08:00

28 lines
1 KiB
PHP

<?php
if (empty($mysqlHost)) {
die();
}
error_log("ERROR: your site is offline we could not connect into MySQL");
error_log("ERROR: used credentials: mysqlHost = $mysqlHost; mysqlUser = $mysqlUser; mysqlPass = $mysqlPass; mysqlDatabase = $mysqlDatabase;");
?>
<!doctype html>
<title><?php echo __("Site Maintenance"); ?></title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
<article>
<center>
<img src="videos/userPhoto/logo.png"/>
</center>
<h1><?php echo __("We&rsquo;ll be back soon!"); ?></h1>
<div>
<p><?php echo __("Sorry for the inconvenience but we&rsquo;re performing some maintenance at the moment."); ?></p>
<p><?php echo __("&mdash; The Team"); ?></p>
</div>
</article>