• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • Examples
  • File List
  • Globals

cms/templates/3panel-simplistic/index.php

Go to the documentation of this file.
00001 <?php
00002 if(!defined('__PRAGYAN_CMS'))
00003 { 
00004         header($_SERVER['SERVER_PROTOCOL'].' 403 Forbidden');
00005         echo "<h1>403 Forbidden<h1><h4>You are not authorized to access the page.</h4>";
00006         echo '<hr/>'.$_SERVER['SERVER_SIGNATURE'];
00007         exit(1);
00008 }
00009 ?>
00010 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
00011 <html>
00012 <head>
00013 <?php
00014         global $urlRequestRoot;
00015         $pageStyle="";
00016         if($MENUBAR!="")        $pageStyle=" <link rel=\"stylesheet\" href=\"$TEMPLATEBROWSERPATH/../common/style-leftbar.css\" />";
00017         include_once("$TEMPLATECODEPATH/sidebar.php");
00018         if($SIDEBARCONTENT!="")
00019                 if($pageStyle=="") $pageStyle=" <link rel=\"stylesheet\" href=\"$TEMPLATEBROWSERPATH/../common/style-rightbar.css\" />";
00020                 else    $pageStyle=" <link rel=\"stylesheet\" href=\"$TEMPLATEBROWSERPATH/../common/style-bothbars.css\" />";
00021 /*&$TITLE,&$MENUBAR,&$TEMPLATEBROWSERPATH,&$ACTIONBARMODULE,&$ACTIONBARPAGE,&$BREADCRUMB,
00022  * &$MENUBAR,&$CONTENT,&$DEBUGINFO,&$ERRORSTRING,&$WARNINGSTRING,&$INFOSTRING */ ?>
00023   <title><?php echo $TITLE ?></title>
00024   <!--<link rel="stylesheet" href="{template_path}style.css" />-->
00025   <link rel="stylesheet" href="<?php echo  $TEMPLATEBROWSERPATH ?>/style.css" />
00026   <?php echo  $pageStyle ?>
00027   <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/../common/other.css" />
00028   <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/../common/style.css" />
00029   <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/../common/error.css" />
00030   <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/../common/adminui.css" />
00031   <script language="javascript" type="text/javascript" src="<?php echo  $TEMPLATEBROWSERPATH; ?>/../common/scripts/ftod.js"></script>
00032   <script language="javascript" type="text/javascript">
00033   <!--
00034   //  window.onload = function() {
00035   //    AddFillerLink("header", "left", "main", "sidebar", "footer");
00036   //  }
00037   -->
00038   </script>
00039   <script language="javascript" type="text/javascript">
00040         function loadScript() {
00041                 <?php echo  $STARTSCRIPTS ?>
00042         }
00043   </script>
00044 </head>
00045 <body onload="loadScript()">
00046   <div id="outer_wrapper">
00047     <div id="wrapper">
00048       <div id="header">
00049         <h1><?php echo  $TITLE ?></h1>
00050       </div><!-- /header -->
00051       <div id="container">
00052         <div id="left">
00053            <?php echo $MENUBAR?>
00054         </div><!-- /left -->
00055 
00056         <div id="main">
00057           <?php echo $BREADCRUMB?>
00058                         <?php echo $ACTIONBARPAGE?>
00059                         <?php echo $ACTIONBARMODULE?>
00060           <div id="content"">
00061           <?php echo $ERRORSTRING?>
00062           <?php echo $INFOSTRING?>
00063           <?php echo $WARNINGSTRING?>
00064           <?php echo $CONTENT?>
00065           </div>
00066         </div><!-- /main -->
00067         <!-- This is for NN6 -->
00068         <div class="clearing">&nbsp;</div>
00069       </div><!-- /container -->
00070       <div id="sidebar">
00071         <?php echo $SIDEBARCONTENT?>
00072       </div><!-- /sidebar -->
00073       <!-- This is for NN4 -->
00074       <div class="clearing">&nbsp;</div>
00075 
00076       <div id="footerbar">
00077       <center><?php echo $FOOTER; ?></center>
00078       </div><!-- /footer -->
00079     </div><!-- /wrapper -->
00080   </div><!-- /outer_wrapper -->
00081 </body>
00082 
00083 </html>

Generated on Sun Jan 2 2011 04:55:32 for Pragyan CMS by  doxygen 1.7.1