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 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
00014 <meta name="description" content="<?php echo $SITEDESCRIPTION ?>" />
00015 <meta name="keywords" content="<?php echo $SITEKEYWORDS ?>" />
00016 <?php
00017 global $urlRequestRoot;
00018 $pageStyle="";
00019 if($MENUBAR!="") $pageStyle=" <link rel=\"stylesheet\" href=\"$TEMPLATEBROWSERPATH/style/style-bothbars.css\" />";
00020 else $pageStyle=" <link rel=\"stylesheet\" href=\"$TEMPLATEBROWSERPATH/style/style-rightbar.css\" />";
00021 ?>
00022 <title><?php echo $TITLE ?></title>
00023 <link rel="stylesheet" href="<?php echo $TEMPLATEBROWSERPATH; ?>/style/style.css" />
00024 <link rel="stylesheet" href="<?php echo $TEMPLATEBROWSERPATH; ?>/style/admin.css" />
00025 <link rel="stylesheet" href="<?php echo $TEMPLATEBROWSERPATH; ?>/style/error.css" />
00026 <?php echo $pageStyle; ?>
00027 <link rel="stylesheet" href="<?php echo $TEMPLATEBROWSERPATH; ?>/style/other.css" />
00028 <link rel="stylesheet" type="text/css" href="<?php echo $TEMPLATEBROWSERPATH; ?>/../common/adminui.css" />
00029 <script language='javascript' src="<?php echo $TEMPLATEBROWSERPATH; ?>>/scripts/ajaxbasic.js" ></script>
00030
00031 </head>
00032 <body onload='<?php echo $STARTSCRIPTS ?>'>
00033 <div id="outer_wrapper">
00034 <div id="wrapper">
00035 <div id="header">
00036 <h1>Pragyan CMS v3</h1>
00037 </div><!-- /header -->
00038 <div id="container">
00039 <div id="left">
00040 <?php echo $MENUBAR;?>
00041 </div><!-- /left -->
00042
00043 <div id="main">
00044 <div id="breadcrumbs">
00045 <?php echo $BREADCRUMB; ?>
00046 <?php
00047 global $userId;
00048 if($userId == 0) {
00049 echo "<div id=\"cms-actionbarPage\"><span class=\"cms-actionbarPageItem\"><a href=\"./+login\">Login</a></span></div>";
00050 }
00051 ?>
00052 <?php echo (($userId==0)?"":$ACTIONBARPAGE);?>
00053 <?php echo (($userId==0)?"":$ACTIONBARMODULE);?>
00054
00055
00056 </div>
00057 <div id="content">
00058 <div id="pageheading"> <?php echo $TITLE; ?></div>
00059 <?php echo $INFOSTRING;?>
00060 <?php echo $WARNINGSTRING;?>
00061 <?php echo $ERRORSTRING;?>
00062 <?php echo $CONTENT; ?>
00063
00064
00065
00066 </div>
00067 </div><!-- /main -->
00068 <!-- This is for NN6 -->
00069 <div class="clearing"> </div>
00070 </div><!-- /container -->
00071
00072 <!-- This is for NN4 -->
00073 <div class="clearing"> </div>
00074
00075 <div id="footer">
00076 <center>powered by Pragyan CMS v3.0 released by Abhishek (abhishekdelta);<center>
00077 </div><!-- /footer -->
00078 </div><!-- /wrapper -->
00079 </div><!-- /outer_wrapper -->
00080 </body>
00081
00082 </html>