I'm new to CodeIgniter and I'm trying to integrate templates with my views. For each view, I wanted to have a header, main content, and footer for the template. However, the headers for each of my pages are different since their css are also different. The footer, which I have scripts, also have different codes. Do I need to create separate headers and footers for each of the pages? Here's an example.
Adticket_footer.php
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js">
$('#myModal').modal() // initialized with defaults
</script>
<!-- Menu Toggle Script -->
<script>
$("#menu-toggle").click(function (e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
</script>
</body>
</html>
login_footer.php
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
