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?
Tpaps-Maintenance-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.
77 lines (75 sloc)
2.53 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 | |
// header("Location: ./admin/"); | |
require_once('config.php'); ?> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<?php require_once('inc/header.php') ?> | |
<body> | |
<?php require_once('inc/topBarNav.php') ?> | |
<?php $page = isset($_GET['p']) ? $_GET['p'] : 'home'; ?> | |
<?php | |
if(!file_exists($page.".php") && !is_dir($page)){ | |
include '404.html'; | |
}else{ | |
if(is_dir($page)) | |
include $page.'/index.php'; | |
else | |
include $page.'.php'; | |
} | |
?> | |
<?php require_once('inc/footer.php') ?> | |
<div class="modal fade" id="confirm_modal" role='dialog'> | |
<div class="modal-dialog modal-md modal-dialog-centered" role="document"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<h5 class="modal-title">Confirmation</h5> | |
</div> | |
<div class="modal-body"> | |
<div id="delete_content"></div> | |
</div> | |
<div class="modal-footer"> | |
<button type="button" class="btn btn-primary" id='confirm' onclick="">Continue</button> | |
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="modal fade" id="uni_modal" role='dialog'> | |
<div class="modal-dialog rounded-0 modal-md modal-dialog-centered" role="document"> | |
<div class="modal-content rounded-0"> | |
<div class="modal-header"> | |
<h5 class="modal-title"></h5> | |
</div> | |
<div class="modal-body"> | |
</div> | |
<div class="modal-footer"> | |
<button type="button" class="btn btn-primary" id='submit' onclick="$('#uni_modal form').submit()">Save</button> | |
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="modal fade" id="uni_modal_right" role='dialog'> | |
<div class="modal-dialog rounded-0 modal-full-height modal-md" role="document"> | |
<div class="modal-content rounded-0"> | |
<div class="modal-header"> | |
<h5 class="modal-title"></h5> | |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | |
<span class="fa fa-arrow-right"></span> | |
</button> | |
</div> | |
<div class="modal-body"> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="modal fade" id="viewer_modal" role='dialog'> | |
<div class="modal-dialog modal-md" role="document"> | |
<div class="modal-content"> | |
<button type="button" class="btn-close" data-dismiss="modal"><span class="fa fa-times"></span></button> | |
<img src="" alt=""> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |