Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
MARINE-SERVICE-SYSTEM/index.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
52 lines (44 sloc)
1.89 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php require_once 'includes/header.php'; | |
require_once 'bootstrap.php'; | |
?> | |
<nav class="nav"> | |
<div class="container-fluid"> | |
<h1 class="text-center"> MARINE SERVICE SYSTEM </h1> | |
</div> | |
</nav><hr> | |
<div class="row"> <br></div> | |
<div class="row"> | |
<div class=" col-md-6 col-sm-12 mx-auto col-md-offset-3"> | |
<div class=" jumbotron card card-body bg-light mt-5"> | |
<h2>Login Panel</h2> | |
<form action="<?php echo URLROOT; ?>/actions/__login.php" method="post"> | |
<!--div class="form-group"> | |
<label for="email">Email: <sup>*</sup></label> | |
<input type="email" name="email" class="form-control form-control-lg" placeholder="enter email"> | |
</div--> | |
<!--place for error message flashing--> | |
<div> | |
<?php | |
//this will display any kind of error/success message | |
flash(); | |
?> | |
</div> | |
<!--end flashing--> | |
<div class="form-group"> | |
<label for="id">ID: <sup>*</sup></label> | |
<input type="text" name="id" class="form-control form-control-lg" placeholder="Enter Your ID" required> | |
</div> | |
<div class="form-group"> | |
<label for="password">Password: <sup>*</sup></label> | |
<input type="password" name="password" class="form-control form-control-lg" | |
placeholder=" Password" required> | |
</div> | |
<input type="hidden" name="token" value="<?php echo Token::generate();?>"> | |
<div class="form-group"> | |
<input type="submit" name="submit" value="LOGIN" class="btn btn-success"> | |
</div> | |
</form> | |
</div> | |
</div> | |
</div> | |
<?php require_once './includes/footer.php'; ?> | |