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

cms/templates/trinity/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="shortcut icon" href="http://pragyan.org/favicon.ico" type="image/x-icon">
00024 
00025   <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/../common/adminui.css" />
00026     <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/../common/other.css" />
00027 
00028     <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/styles/main.css" />
00029     <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/styles/menu.css" />
00030     <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/styles/content.css" />
00031     <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/styles/error.css" />
00032 
00033     <link rel="stylesheet" type="text/css" href="<?php echo  $TEMPLATEBROWSERPATH; ?>/styles/ticker.css" />
00034     
00035     <script language="javascript" type="text/javascript" src="<?php echo  $TEMPLATEBROWSERPATH; ?>/scripts/jquery-latest.js" ></script>
00036     <script type="text/javascript" src="<?php echo $TEMPLATEBROWSERPATH; ?>/scripts/jquery.debounce.min.js"></script>
00037     <script type="text/javascript" src="<?php echo $TEMPLATEBROWSERPATH; ?>/scripts/jquery.ticker.min.js"></script>
00038     <script type="text/javascript" src="<?php echo $TEMPLATEBROWSERPATH; ?>/scripts/script.js"></script>
00039     <script language="JavaScript">
00040                         TargetDate = "02/17/2011 00:00 AM";
00041                         BackColor = "none";
00042                         ForeColor = "white";
00043                         CountActive = true;
00044                         CountStepper = -1;
00045                         LeadingZero = true;
00046                         DisplayFormat = "%%D%% Days, %%H%% Hours, <br>%%M%% Minutes, %%S%% Seconds.";
00047                         FinishMessage = "Day 0 pragyan";
00048                 </script>
00049  
00050     <script language="javascript" type="text/javascript">
00051                 //defined here for use in javascript
00052                 var templateBrowserPath = "<?php echo $TEMPLATEBROWSERPATH ?>";
00053                 var urlRequestRoot = "<?php echo $urlRequestRoot?>";
00054         </script>
00055 <script type="text/javascript">
00056 
00057   var _gaq = _gaq || [];
00058   _gaq.push(['_setAccount', 'UA-19500581-1']);
00059   _gaq.push(['_trackPageview']);
00060 
00061   (function() {
00062     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
00063     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
00064     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
00065   })();
00066 
00067 </script>
00068 </head>
00069 
00070 <body onload="<?php echo $STARTSCRIPTS; ?>" >
00071 <div class="outercontainer">
00072         <div class="clearer"></div>
00073         <div class="innercontainer">
00074                 <div id="header">
00075                         
00076                         <div id="invisibleContainer">
00077                                 <a href="<?php echo $urlRequestRoot?>">
00078                                         <div id="invisible">Pragyan 2011</div>
00079                                 </a>
00080                         </div>
00081                         
00082                         
00083                 </div>
00084                 <div class="clearer"></div>
00085                 <div class="contentcontainer">
00086                         <div class="clearer"></div>
00087                         <div class="contentinnertube">
00088                                 <div id="leftContent">
00089                                         <div class="menucontainer">
00090                                                 <?php echo $MENUBAR; ?>
00091                                         </div> 
00092                                 </div>
00093                                 <div id="rightContent">
00094                                         
00095                                         <div id="right1" class="cont">
00096                                                 <!-- Countdown dashboard start -->
00097                                                 <div id="myCountDown">
00098                                                 <script language="JavaScript" src="<?php echo $TEMPLATEBROWSERPATH; ?>/scripts/countdown.js"></script>
00099                                                 </div>
00100                                         <!-- Countdown dashboard end -->
00101                                         
00102                                         </div> 
00103                                         <div id="right2" class="cont"> </div>
00104                                         <div id="right2" class="cont">
00105                                         <h4>ETA Pragyan 2011</h4>                               
00106                                         </div>
00107                                         <?php if(isset($WIDGETS[3])) echo $WIDGETS[3]; ?>
00108                                         <div id="right3" class="cont">
00109                                         
00110                                                 <h3>Links</h3>
00111                                                 <a href="http://www.pragyan.org/11/home/making_of_pragyan_wheel">
00112                                                 <div class="link">Video : Making of the Pragyan Wheel</div></a>
00113                                                 <a href="http://www.pragyan.org/blog"><div class="link">Pragyan Blog</div></a>
00114                                                 <a href="http://www.youtube.com/user/nittpragyan"><div class="link">Pragyan's Youtube Channel
00115                                                 </div></a>
00116                                                 <a href="http://www.pragyan.org/10"><div class="link">Pragyan 2010</div></a>
00117                                                 <a href="http://www.pragyan.org/09"><div class="link">Pragyan 2009</div></a>
00118                                         </div>
00119                                         <?php if(isset($WIDGETS[4])) echo $WIDGETS[4]; ?>
00120                                         
00121                                 </div>
00122                                 <div id="centerContent" class="cont">
00123                                         <div id="ticker-wrapper" class="no-js">
00124                                         
00125                                          <?php if(isset($WIDGETS[1])) echo $WIDGETS[1]; ?>
00126                                         
00127                                         </div>
00128                                         <div class="contentContainer">
00129                                                 <div id="titlebar">
00130                                                         <?php echo $TITLE; ?>
00131                                                 </div>
00132                                                 <div id="windowmenu">
00133                                                         <?php echo $ACTIONBARMODULE; ?>
00134 
00135                                                 </div>
00136                                                 <div id="breadcrumb">
00137                                                         <div style="float:left;">
00138                                                                 <ul>
00139                                                                 <?php 
00140                                                                 $classNameHome = "cms-homeicon";
00141                                                                 global $pageId;
00142                                                                 if($pageId == 0)
00143                                                                         $classNameHome = "cms-homeselected";
00144                                                                 ?>
00145                                                                 <li id="homeimg"><a href="<?php echo $urlRequestRoot; ?>"><div class="<?php echo $classNameHome; ?>">&nbsp;</div></a>
00146                                                                 </li></ul>
00147                                                         </div>
00148                                                         <div style="float:left;">
00149                                                         <?php echo $BREADCRUMB; ?>
00150                                                         </div>
00151                                                 </div>
00152                                                 <div id="content">
00153                                                         <?php echo $INFOSTRING; ?>
00154                                                         <?php echo $WARNINGSTRING;?>
00155                                                         <?php echo $ERRORSTRING; ?>
00156 <?php if(isset($WIDGETS[2])) echo $WIDGETS[2]; ?>
00157                                                         <?php echo $CONTENT; ?>
00158                                                 </div>
00159                                                 <div id="statusbar">
00160                                                         <script type="text/javascript" language="javascript">document.write(location.href);</script>
00161                                                 </div>
00162                                         </div>
00163                                 </div>
00164                         </div>
00165                         <div class="clearer"></div>
00166                 </div>
00167         </div>
00168 </div>
00169         <div class="footercontainer">
00170                 <?php echo $FOOTER;?>   
00171         </div>
00172         <div id="quicklinks">
00173         <div id="linksid">
00174 
00175                 <a href="http://www.facebook.com/pragyan.nitt" target="_blank" title="Facebook"><span id="link1" class="qlinks">&nbsp;</span></a>
00176                 <a href="http://www.stumbleupon.com/submit?url=http://www.pragyan.org&title=Pragyan%20:%20The%20International%20Technical%20Festival%20of%20NIT%20Trichy" target="_blank" title="Stumbleupon"><span id="link2"  class="qlinks">&nbsp;</span></a> 
00177                 <a href="http://www.pragyan.org/mail" target="_blank" title="Mail"><span id="link3" class="qlinks">&nbsp;</span></a>
00178                 <a href="http://twitter.com/pragyan_nitt" target="_blank" title="Twitter"><span id="link4" class="qlinks" >&nbsp;</span></a>
00179                 <a href="http://www.pragyan.org/11/home/news/+rss" target="_blank" title="RSS"><span id="link5" class="qlinks">&nbsp;</span></a>
00180                 <a href="http://digg.com/submit?phase=2&url=http://www.pragyan.org&title=Pragyan%20:%20The%20International%20Technical%20Festival%20of%20NIT%20Trichy" target="_blank" title="Digg"><span id="link6" class="qlinks">&nbsp;</span></a>
00181                 <a href="http://www.furl.net/storeIt.jsp?u=http://www.pragyan.org&t=Pragyan%20:%20The%20International%20Technical%20Festival%20of%20NIT%20Trichy" target="_blank" title="Furl"><span id="link7" class="qlinks">&nbsp;</span></a>
00182                 <a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=http://www.pragyan.org&title=Pragyan%20:%20The%20International%20Technical%20Festival%20of%20NIT%20Trichy" target="_blank" title="Google"><span id="link8" class="qlinks">&nbsp;</span></a>
00183                 <a href="http://del.icio.us/post?url=http://www.pragyan.org&title=Pragyan%20:%20The%20International%20Technical%20Festival%20of%20NIT%20Trichy" target="_blank" title="Delicious"><span id="link9" class="qlinks">&nbsp;</span></a>
00184                 <a href="http://reddit.com/submit?url=http://www.pragyan.org&title=Pragyan%20:%20The%20International%20Technical%20Festival%20of%20NIT%20Trichy" target="_blank" title="Reddit"><span id="link10" class="qlinks">&nbsp;</span></a>
00185 
00186         </div>
00187         <?php echo $ACTIONBARPAGE ?>
00188 <?php                                                                           
00189 global $action;                                                                 
00190 if($action!='login'){                                                           
00191  /*show the form only if the page is not a loginpage*/                          
00192 ?>                                                                              
00193         <div id="hc_loginform">                                                 
00194         <a href="+login" id="pragyanLogin">Pragyan Login</a><a href="+login" id="openidLogin">Open-id Login</a>                                                
00195 
00196         <?php echo $LOGINFORM;?>                                                
00197         </div>    
00198 <script>
00199         $('#openid_form *').hide();
00200 </script>                                                              
00201 <?php }?>    
00202         <!--
00203         * Hard Coded links to profile and logout.
00204         -->
00205         <div id="hc_profile">
00206                 <a href="./+profile"><div>Profile</div></a><br/>
00207                 <a href="./+logout"><div>Logout</div></a>
00208         </div>
00209 </div>
00210 </body>
00211 </html><div>

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