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

cms/templates/nitt09/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 <?php
00012 
00013 
00014 $menu_left = $MENUBAR;
00015 include_once("$TEMPLATECODEPATH/sidebar.php");global $pageId, $action;
00016 $menu_right = "";
00017 if($pageId==0 && $action == "view" )
00018         $menu_right = $SIDEBARCONTENT;
00019 $extracss="";
00020 
00021 if($menu_left != "" && $menu_right != "")
00022         $extracss = "leftAndRightMenu.css";
00023 elseif($menu_left != "" && $menu_right == "")
00024         $extracss = "leftMenuOnly.css";
00025 elseif($menu_left == "" && $menu_right != "")
00026         $extracss = "rightMenuOnly.css";
00027 else
00028         $extracss = "noMenu.css";
00029 ?>
00030 
00031 <html>
00032 <head>
00033         <title><?php echo $TITLE ?></title>
00034         <link href="<?php echo $TEMPLATEBROWSERPATH ?>/images/favicon.ico" rel="shortcut icon" />
00035         <link rel="stylesheet" type="text/css" href="<?php echo $TEMPLATEBROWSERPATH ?>/style.css" />
00036         <link rel="stylesheet" type="text/css" href="<?php echo $TEMPLATEBROWSERPATH ?>/<?php echo $extracss?>" />
00037         <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH ?>/../common/error.css" />
00038         <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/../common/adminui.css" />
00039 </head>
00040 <body>
00041         
00042         <div id="outer_wrapper">
00043                 <div id="content_wrapper"><!--the whole page from left to right-->
00044                         <div id="content_outercontainer">
00045                                 <div id="content_containerrightborder"><!-- having the right border -->
00046                                 
00047                                         <div id="topbox_wrapper">
00048                         
00049                                                 <div id="header_wrapper">
00050                                                         <div id="header_content">
00051                                                                 <a  href="<?php echo  $urlRequestRoot==""?"/":$urlRequestRoot ?>">
00052                                                                         <img alt="NIT Trichy" src="<?php echo  $TEMPLATEBROWSERPATH ?>/images/nitt-logo-white.png"/>
00053                                                                         <h1>National Institute of Technology</h1>
00054                                                                         <h2>Tiruchirappalli</h2>
00055                                                                 </a>
00056                                                         </div><!--header_content-->
00057                                                 </div><!--header_wrapper-->
00058                         
00059                                                 <div id="toplinkbar_wrapper">
00060                                                         <div id="toplinkbar_content">
00061                                                                 <div id="toplinkbar_links">
00062                                                                         <div><div class="toplinkinner"><a href="<?php echo  $urlRequestRoot==""?"/":$urlRequestRoot ?>" title="Home">
00063                                 <img alt="To start page" src="<?php echo  $TEMPLATEBROWSERPATH ?>/images/home_button.png" />
00064                                 </a></div></div>
00065                                                                         <div><div class="toplinkinner"><a class="toplink" href="<?php echo  $urlRequestRoot?>/academics/admissions">Admissions</a></div></div>                                                                  
00066                                                                         <div><div class="toplinkinner"><a class="toplink" href="<?php echo  $urlRequestRoot?>/academics/departments">Departments</a></div></div>
00067                                                                         <div><div class="toplinkinner"><a class="toplink" href="<?php echo  $urlRequestRoot?>/students/facilitiesnservices">Facilities</a></div></div>
00068                                                                         <div><div class="toplinkinner"><a class="toplink" href="http://webmail.nitt.edu" target="_blank">Webmail</a></div></div>
00069                                                                 </div> <!--toplinkbar_links-->
00070                                                         </div><!--toplinkbar_content-->
00071                                                 </div><!--toplinkbar_wraper-->
00072                         
00073                                         </div><!--topbox_wrapper-->
00074                         
00075                                 
00076                                 
00077                                 
00078                                         <div id="content_containerleftborder"><!-- having the left border -->
00079                                                 <div id="content_container"><!--content within the borders, including menus and footer--> 
00080         
00081                                                         <div id="menu_left">
00082                                                                 <?php echo  $menu_left ?>
00083                                                         </div><!--menu_left-->
00084                                                         <div id="menu_right">
00085                                                                 <?php echo  $menu_right ?>
00086                                                         </div><!--menu_right-->
00087                                                         <div id="content_main">
00088                                                                 <table id="breadcrumbtable" cellpadding="0" cellspacing="0" width="100%">
00089                                                                         <tr>
00090                                                                                 <td><?php echo $BREADCRUMB?></td>
00091                                                                                 <td align="right"><?php echo $ACTIONBARPAGE?><?php echo $ACTIONBARMODULE?></td>
00092                                                                         </tr>
00093                                                                 </table>
00094                                                                 <div id="content">
00095                                                                         <?php echo $ERRORSTRING?>
00096                                                                 <?php echo $INFOSTRING?>
00097                                                                 <?php echo $WARNINGSTRING?>
00098                                                                 <?php echo ($action=="view"?$INHERITEDINFO:"")?>
00099                                                                 <?php echo  $heading = ''; if (getTitle($pageId,$action, $heading)) echo "<h1 id=\"contentheading\">$heading</h1>\n"; ?>
00100                                                                         <?php echo $CONTENT?>
00101                                                                 </div><!--content-->
00102                                                         </div><!--content_main-->
00103                                                         <div id="footer">
00104                                                                 <strong>
00105         
00106                                 <a href="<?php echo $urlRequestRoot?>/contact">Contact</a> | <a href="<?php echo $urlRequestRoot?>/other/righttoinfoact">Right to Information Act</a> | <a href="<?php echo $urlRequestRoot?>/webteam">Webteam</a> | <a href="<?php echo $urlRequestRoot?>/about">About</a>
00107         
00108                         </strong>
00109                         <br />
00110                         <?php echo $FOOTER; ?>
00111                         <br />
00112                         National Institute of Technology, Tiruchirapalli - 620015, INDIA
00113                                                         </div><!--footer-->
00114                                                 </div><!--content_container-->
00115                                         </div><!--content_containerleftborder-->
00116                                 </div><!--content_containerrightborder-->
00117                         </div><!--content_outercontainer-->
00118                 </div><!--content_wrapper-->
00119         </div><!-- /outer_wrapper -->
00120 </body>
00121 </html>

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