PHP Classes

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: 8 years ago
Size: 2,700 bytes
 

Contents

Class file image Download
<?php

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <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>
</head>
<body>
<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>
        </ul>
        <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>
        </div>
        <?php if (isset($subcontent)) echo "<div id=\"subcontent\" class=\"sidebox\">\n$subcontent\n</div>";
       
var_dump(isset($subcontent));
       
?>

        <? //include('includes/inc_quicksearch.php'); ?>
<? //include('includes/inc_socialnetworks.php'); ?>
<? //include('includes/inc_loginbox.php'); ?>
<? //include('includes/inc_viewByIslandList.php'); ?>
</div><!-- close sidebar -->
   
&nbsp;
    <div id="header">
        <h1><a href="<?php echo $BASE ?>">Site Name</a></h1>
    </div>
   
    <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>
        </ul>
    </div>
   
   
    <div id="footer">
        <p>
        &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>
        </p>
        <a id="footerToTop" href="#header">Top</a>
    </div>

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