79 lines
2.6 KiB
PHP
79 lines
2.6 KiB
PHP
<div id="index-banner" class="parallax-container">
|
|
<div class="section no-pad-bot">
|
|
<div class="container">
|
|
<br><br>
|
|
<h1 class="header center teal-text text-lighten-2">Code & Make Cash!</h1>
|
|
<div class="row center">
|
|
<h5 class="header col s12 light">We are seeking for software developers all around the world.</h5>
|
|
</div>
|
|
<br><br>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="parallax"><img src="<?php echo $oConf->getURLRoot('images/geneva-xl-01-banner.jpg'); ?>" alt="Unsplashed background img 2"></div>
|
|
</div>
|
|
|
|
<?php
|
|
if(!isset($_SESSION['user']) or (isset($_SESSION['user']) && $_SESSION['message']['status']=="orange")){ ?>
|
|
<div class="container">
|
|
<div class="section">
|
|
<?php
|
|
if(isset($_SESSION['message']['status']) && $_SESSION['message']['status']=="orange"){ ?>
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<div class="card-panel <?php echo $_SESSION['message']['status']; ?>">
|
|
<span class="black-text"><?php echo $_SESSION['message']['content']; ?></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php
|
|
unset($_SESSION['message']);
|
|
}
|
|
?>
|
|
|
|
<div class="row">
|
|
<form action="#" class="col s12" id="formLogin" name="formLogin" method="post">
|
|
<div class="row">
|
|
<div class="input-field col s12">
|
|
<input id="formLoginFieldEmail" name="formLoginFieldEmail" type="email" class="validate">
|
|
<label for="formLoginFieldEmail">Email</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="input-field col s12">
|
|
<input id="formLoginFieldPassword" name="formLoginFieldPassword" type="password" class="validate">
|
|
<label for="formLoginFieldPassword">Password</label>
|
|
</div>
|
|
</div>
|
|
|
|
<p>
|
|
<label>
|
|
<input id="formLoginCheckboxStayConnected" name="formLoginCheckboxStayConnected" type="checkbox" />
|
|
<span>Stay Connected</span>
|
|
</label>
|
|
</p>
|
|
|
|
<div class="row">
|
|
<div class="input-field col s6">
|
|
<button class="btn waves-effect waves-light" id="formLoginButtonSubmit" name="formLoginButtonSubmit" type="submit">Sign in <i class="material-icons right">send</i></button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<?php } else { ?>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<div class="card-panel <?php echo $message['status']; ?>">
|
|
<span class="white-text"><?php echo $message['content']; ?>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php } ?>
|