-
-
Save techies23/e14894f00562da49a8a6 to your computer and use it in GitHub Desktop.
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
/**INSIDE header.php **/ | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title><?php echo $site_title; ?></title> | |
<!-- Bootstrap core CSS --> | |
<link href="<?php echo site_url() . '/css/bootstrap.min.css'; ?>" rel="stylesheet"> | |
<!-- Custom styles for this template --> | |
<link href="<?php echo site_url() . '/css/sigin.css'; ?>" rel="stylesheet"> | |
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script> | |
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | |
<!--[if lt IE 9]> | |
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | |
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | |
<![endif]--> | |
</head> | |
<body class="login"> | |
<!--END--> | |
/**INSIDE FOOTER.PHP **/ | |
<!-- Bootstrap core JavaScript | |
================================================== --> | |
<!-- Placed at the end of the document so the pages load faster --> | |
<script src="<?php echo site_url() . '/js/bootstrap.min.js'; ?>"></script> | |
</body> | |
</html> | |
/**INSIDE _layout_login.php **/ | |
<?php $this->load->view('layouts/header.php'); ?> | |
<div class="container"> | |
<?php $this->load->view($subview); // Subview is set in controller ?> | |
</div> | |
<footer id="footer"> | |
<div class="text-center padder"> | |
<p> <small>© <?php echo date('Y'); ?> <?php echo $site_title; ?></small></p> | |
</div> | |
</footer> | |
</body></html> | |
<?php | |
/** | |
* Contributor: Deepen | |
* Author: Deepen | |
*/ | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment