| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/development/callings.lvsaints.com/ |
Upload File : |
<?php
// Front door. Login required to view (per project decision). Sends signed-in
// users to the live uploaded site; the actual files are streamed by site.php.
require __DIR__ . '/lib.php';
require __DIR__ . '/releases.php';
$user = require_login();
if (active_dir() !== null) {
header('Location: site.php/');
exit;
}
// Nothing published yet.
$is_editor = in_array($user['role'], ['admin', 'super_admin'], true);
http_response_code(404);
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Calling Board</title>
<style>
body{font-family:Arial,sans-serif;background:#f5f7fb;color:#101828;display:flex;
min-height:100vh;align-items:center;justify-content:center;margin:0;text-align:center}
.box{background:#fff;padding:32px;border:1px solid #d9e2ee;border-radius:14px;
box-shadow:0 8px 22px rgba(16,24,40,.06);max-width:420px}
h1{font-size:20px;margin:0 0 8px}
p{color:#667085;font-size:14px;margin:0 0 16px}
a{color:#2563d9;font-weight:700}
</style>
</head>
<body>
<div class="box">
<h1>No board published yet</h1>
<?php if ($is_editor): ?>
<p>Upload a zip of the site to publish the first version.</p>
<a href="admin.php">Go to the admin console →</a>
<?php else: ?>
<p>Check back soon — an administrator hasn’t published the board yet.</p>
<a href="logout.php">Sign out</a>
<?php endif; ?>
</div>
</body>
</html>