Skip to content

Instantly share code, notes, and snippets.

Created February 1, 2016 18:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save techies23/e14894f00562da49a8a6 to your computer and use it in GitHub Desktop.
/**INSIDE header.php **/
<!DOCTYPE html>
<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=""></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src=""></script>
<script src=""></script>
<body class="login">
<!-- 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>
/**INSIDE _layout_login.php **/
<?php $this->load->view('layouts/header.php'); ?>
<div class="container">
<?php $this->load->view($subview); // Subview is set in controller ?>
<footer id="footer">
<div class="text-center padder">
<p> <small>&copy; <?php echo date('Y'); ?> <?php echo $site_title; ?></small></p>
* Contributor: Deepen
* Author: Deepen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment