23 lines
1.1 KiB
PHTML
23 lines
1.1 KiB
PHTML
<?php if ($_SESSION['SITE']['access'] == 'true'): ?>
|
|
<div id="form_container">
|
|
<div class="page_title"><?php echo PAGE_HOME_TITLE; ?></div>
|
|
<div class="page_content"><?php echo PAGE_HOME_CONTENT_1; ?></div>
|
|
<div class="page_content"><?php echo PAGE_HOME_CONTENT_2; ?></div>
|
|
<div class="page_content"><?php echo PAGE_HOME_CONTENT_3; ?></div>
|
|
<div class="page_content"><?php echo PAGE_HOME_CONTENT_4; ?></div>
|
|
<div class="page_content"><?php echo PAGE_HOME_CONTENT_5; ?></div>
|
|
</div>
|
|
<?php else: ?>
|
|
<div id="form_container">
|
|
<div class="page_title">Welcome to the Demo</div>
|
|
<div class="page_content">Please enter your email to access the demonstration.</div>
|
|
<form method="post" action="<?php echo $_SESSION['SITE']['site_url']; ?>">
|
|
<input type="hidden" name="do" value="login">
|
|
<div class="mb-3">
|
|
<label for="email" class="form-label">Email address</label>
|
|
<input type="email" class="form-control" id="email" name="email" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Access Demo</button>
|
|
</form>
|
|
</div>
|
|
<?php endif; ?>
|