File: examples/cms/app/blog/templates/mainlayout.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/cms/app/blog/templates/mainlayout.php  >  Download  
File: examples/cms/app/blog/templates/mainlayout.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 5 years ago
Size: 2,700 bytes


Class file image Download

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" xml:lang="en" lang="en">
    <title><?php echo "Blog: $title"; ?></title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <base href="<?php echo $BASE; ?>" />
    <!-- <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $BASE ?>css/screen.css" > -->
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo $BASE ?>css/style.css" >
    <title><?php echo $head; ?></title>
<div id="container">
    <div id="content">
        <?php echo $maincontent; ?>
</div><!-- close content -->
    <div id="sidebar">
        <ul id="sidenav">
            <li><a href="<?php echo $BASE ?>admin/">Admin</a></li>
            <li><a href="<?php echo $BASE ?>admin/">What would be the best way to let page controllers control what sub-nav items appear here?</a></li>
        <div id="loginbox" class="sidebox">
            <p>Admin: <a href="<?php echo $BASE ?>login/">login</a> | <a href="<?php echo $BASE ?>login/logout">logout</a></p>
        <?php if (isset($subcontent)) echo "<div id=\"subcontent\" class=\"sidebox\">\n$subcontent\n</div>";

        <? //include('includes/inc_quicksearch.php'); ?>
<? //include('includes/inc_socialnetworks.php'); ?>
<? //include('includes/inc_loginbox.php'); ?>
<? //include('includes/inc_viewByIslandList.php'); ?>
</div><!-- close sidebar -->
    <div id="header">
        <h1><a href="<?php echo $BASE ?>">Site Name</a></h1>
    <div id="main-navigation">
        <ul id="topnav">
            <li id="t1"><a href="<?php echo $BASE ?>search/">Find A Property</a></li>
            <li id="t2"><a href="<?php echo $BASE ?>communities/">Communities</a></li>
            <li id="t3"><a href="<?php echo $BASE ?>services/">Services</a></li>
            <li id="t9"><a href="<?php echo $BASE ?>posts">Articles</a></li>
            <li id="t4"><a href="<?php echo $BASE ?>guides/buyers/">Buyer's Guide</a></li>
            <li id="t5"><a href="<?php echo $BASE ?>guides/sellers/">Seller's Guide</a></li>
            <li id="t6"><a href="<?php echo $BASE ?>about/">About Us</a></li>
            <li id="t7"><a href="<?php echo $BASE ?>contact/">Contact Us</a></li>
            <li id="t8"><a href="<?php echo $BASE ?>">Home</a></li>
    <div id="footer">
        &copy; Copyright <?=date("Y")." Site Name"?>, Information on this site is provided without guarantee.
        <a href="<?php echo $BASE ?>sitemap/">Site Map</a> | <a href="<?php echo $BASE ?>signup/newsletter">Get our Newsletter</a>
        <a id="footerToTop" href="#header">Top</a>

</div><!-- close container -->

For more information send a message to info at phpclasses dot org.