2021-03-19 14:57:31 +00:00
|
|
|
<?php
|
|
|
|
if(isset($_SESSION['user'])) { ?>
|
2019-11-03 18:23:06 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="section">
|
|
|
|
<div class="row">
|
2020-11-27 07:44:04 +00:00
|
|
|
<div class="col s12">
|
|
|
|
<div class="card z-depth-5">
|
|
|
|
<div class="card-content">
|
2021-03-19 14:57:31 +00:00
|
|
|
<p><?php echo "Welcome ".$_SESSION['user']['email']; ?></p>
|
2020-11-27 07:44:04 +00:00
|
|
|
</div>
|
2019-11-03 18:23:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php } else { ?>
|
|
|
|
<div class="container">
|
2020-11-27 07:44:04 +00:00
|
|
|
<div class="section">
|
2019-11-03 18:23:06 +00:00
|
|
|
<div class="row">
|
2020-11-27 07:44:04 +00:00
|
|
|
<div class="col s12">
|
|
|
|
<div class="card z-depth-5">
|
|
|
|
<div class="card-content">
|
2021-03-19 14:57:31 +00:00
|
|
|
<p>"Welcome to the public home page</p>
|
2020-11-27 07:44:04 +00:00
|
|
|
</div>
|
2019-11-03 18:23:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-03-19 14:57:31 +00:00
|
|
|
|
2020-11-27 07:44:04 +00:00
|
|
|
<?php } ?>
|
2021-03-19 14:57:31 +00:00
|
|
|
|