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

cms/templates/pv3/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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
00012 <head>
00013     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
00014 
00015     <title><?php echo  $TITLE; ?></title>
00016     <meta name="description" content="<?php echo $SITEDESCRIPTION ?>" />
00017     <meta name="keywords" content="<?php echo $SITEKEYWORDS ?>" /> 
00018         <?php global $urlRequestRoot;   global $PAGELASTUPDATED;
00019         if($PAGELASTUPDATED!="")
00020                 echo '<meta http-equiv="Last-Update" content="'.substr($PAGELASTUPDATED,0,10).'" />'."\n";
00021         ?>
00022     <link rel="index" href="./" title="Home" />
00023     <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/styles/layout.css" />
00024     <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/styles/main.css" />
00025     <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/styles/menu.css" />
00026     
00027     <script language="javascript" type="text/javascript" src="<?php echo  $TEMPLATEBROWSERPATH; ?>/scripts/jquery-latest.js" ></script>
00028         <script language="javascript" type="text/javascript">
00029                 //defined here for use in javascript
00030                 var templateBrowserPath = "<?php echo $TEMPLATEBROWSERPATH ?>";
00031                 var urlRequestRoot = "<?php echo $urlRequestRoot?>";
00032                 $(document).ready(function(){
00033 
00034                  $("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled - Adds empty span tag after ul.subnav
00035                 $("ul.topnav").append("<div id='topmenu-homebtn'><a href=\""+urlRequestRoot+"/home/\"><img src='"+templateBrowserPath+"/images/home.png'/></a></div>");
00036                  $("ul.topnav li span").click(function() { //When trigger is clicked...
00037 
00038                  //Following events are applied to the subnav itself (moving subnav up and down)
00039                  $(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click
00040 
00041                  $(this).parent().hover(function() {
00042                  }, function(){
00043                  $(this).parent().find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
00044                  });
00045 
00046                  //Following events are applied to the trigger (Hover events for the trigger)
00047                 }).hover(function() {
00048                  $(this).addClass("subhover"); //On hover over, add class "subhover"
00049                  }, function(){ //On Hover Out
00050                 $(this).removeClass("subhover"); //On hover out, remove class "subhover"
00051                  });
00052 
00053                 }); 
00054 
00055         </script>
00056 </head>
00057 
00058 <body>
00059 
00060 <div class="outercontainer">
00061         <div class="innercontainer">
00062         <div class="menucontainter">
00063                         <?php 
00064                         
00065                                 echo $MENUBAR; 
00066                 ?>
00067                 
00068         </div> 
00069                         
00070                 <div id="header">
00071                 
00072                 </div>
00073         <div class="contentcontainer">
00074                 <div id="actionbar" class="cont">
00075                         <?php echo $ACTIONBARPAGE ."<div>&nbsp; </div>". $ACTIONBARMODULE; ?>
00076                 </div>
00077                 <div class="clearer"></div>
00078                 <div class="contentinnertube">
00079                         <div id="leftContent">
00080                                 <div id="quicklinks" class="cont">
00081                                         <h2>Quicklinks</h2>
00082                                         <br />
00083                                         <table border="1" cellspacing="0" cellpadding="7.5">
00084                                         <tr><td>ONE</td><td>TWO</td></tr>
00085                                         <tr><td>ONE</td><td>TWO</td></tr>
00086                                         <tr><td>ONE</td><td>TWO</td></tr>
00087                                         <tr><td>ONE</td><td>TWO</td></tr>
00088                                         <tr><td>ONE</td><td>TWO</td></tr>
00089                                         <tr><td>ONE</td><td>TWO</td></tr>
00090                                         <tr><td>ONE</td><td>TWO</td></tr>
00091                                         <tr><td>ONE</td><td>TWO</td></tr>
00092                                         </table>
00093                                 </div>
00094                                 <div id="others" class="cont">
00095                                         <h2>Widget Area</h2>
00096                                 </div>
00097                         </div>
00098                         <div id="rightContent">
00099                                 <div id="right1" class="cont">
00100                                         <?php echo $BREADCRUMB; ?>
00101                                 </div>
00102                                 <div id="right2" class="cont">
00103                                         <?php echo ""; ?>
00104                                 </div>
00105                                 <div id="right3" class="cont">
00106                                         <h3>Links</h3>
00107                                         Facebook<br />
00108                                         Twitter
00109                                 </div>
00110                         </div>
00111                         <div id="centerContent" class="cont">
00112                                 <div id="content">
00113                                         <?php echo $INFOSTRING; ?>
00114                                         <?php echo $ERRORSTRING; ?>
00115                                         <?php echo $CONTENT; ?>
00116                                 </div>
00117                         </div>
00118                 </div>
00119                 <div class="clearer"></div>
00120         </div>
00121     </div>
00122 </div>
00123 
00124 
00125 
00126 <?php 
00127 /*
00128 
00129 <!-- Main -->
00130 <div id="main" class="box">
00131 
00132     <!-- Header -->
00133     <div id="header">
00134         <!-- Logotyp -->
00135         <h1 id="logo"><?php echo  $TITLE; ?></h1>
00136       
00137     </div> <!-- /header -->
00138 
00139     <!-- Page (2 columns) -->
00140     <div id="page" class="box">
00141     <div id="page-in" class="box">
00142         <div id="strip" class="box noprint">
00143             <!-- Breadcrumbs -->
00144             <div id="breadcrumbs">
00145                         <?php echo  $BREADCRUMB; ?>
00146 
00147                                 <?php echo $ACTIONBARPAGE;?>
00148                                 <?php echo $ACTIONBARMODULE;?>
00149             </div>
00150             <hr class="noscreen" />
00151             
00152         </div> <!-- /strip -->
00153 
00154         <!-- Content -->
00155         <div id="content">
00156 
00157             <!-- Article -->
00158             <div class="article">
00159               <?php echo $INFOSTRING;?>
00160                   <?php echo $WARNINGSTRING;?>
00161                   <?php echo $ERRORSTRING;?>
00162                   <?php echo  $CONTENT; ?>
00163             </div> <!-- /article -->
00164         </div> <!-- /content -->
00165 
00166         <!-- Right column -->
00167         <div id="col" class="noprint">
00168             <div id="col-in">
00169                 <!-- Category -->
00170                                 <?php echo $MENUBAR;?>
00171 
00172                                 <hr class="noscreen" />
00173                                 <h3><span>Links</span></h3>
00174                                 <ul id="links">
00175                                         <li><a href="http://www.sourceforge.net/projects/pragyan">Pragyan CMS Project</a></li>
00176                                         <li><a href="http://www.pragyan.org">Pragyan Festival</a></li>
00177                                         <li><a href="http://www.nitt.edu">NIT Trichy</a></li>
00178                                 </ul>
00179                                 <hr class="noscreen"/>
00180             </div> <!-- /col-in -->
00181         </div> <!-- /col -->
00182     </div> <!-- /page-in -->
00183     </div> <!-- /page -->
00184 
00185     <!-- Footer -->
00186     <div id="footer">
00187         <div id="top" class="noprint"><p><span class="noscreen">Back to top</span> <a href="#header" title="Back to top ^">^<span></span></a></p></div>
00188         <hr class="noscreen" />
00189         <p id="copyright"><?php echo $FOOTER; ?></p>
00190     </div> <!-- /footer -->
00191 
00192 </div> <!-- /main -->
00193 */
00194 ?>
00195 </body>
00196 </html>

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