linea21-templates
[ class tree: linea21-templates ] [ index: linea21-templates ] [ all elements ]

Source for file index.php

Documentation is available at index.php

  1. <?php
  2. /**
  3.  * @package linea21.templates
  4.  * @subpackage public
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10. ?>
  11.  <!DOCTYPE html>
  12. <!--[if lt IE 7 ]><html class="ie ie6" lang="<?php echo U_L?>"> <![endif]-->
  13. <!--[if IE 7 ]><html class="ie ie7" lang="<?php echo U_L?>"> <![endif]-->
  14. <!--[if IE 8 ]><html class="ie ie8" lang="<?php echo U_L?>"> <![endif]-->
  15. <!--[if (gte IE 9)|!(IE)]><!--><html lang="<?php echo U_L?>"> <!--<![endif]-->
  16. <?php distInclude(THEME_PUBLIC_PATH.'header.php'THEME_PUBLIC_DIST)?>
  17. <body>
  18. <?php culture::getInstance()->renderSwitcher()?>
  19. <header>
  20.   <img src="<?php echo THEME_PUBLIC_PATH?>images/logo.png" alt="<?php echo (SITE_NAME)?>" />
  21.   <h1><?php echo (SITE_NAME)?></h1>
  22. </header><!-- End Header -->
  23.  
  24. <nav id="menu">
  25.   <?php echo DisplayMenu()?>
  26. </nav> <!-- End Menu -->
  27.  
  28. <section>
  29. <div id="content" class="section_<?php echo ActiveItemKey($GLOBALS['activeitem'])?> alias_<?php echo ActiveItemAlias($GLOBALS['activeitem']);?> <?php echo getItemId()?>">
  30.   <div id="main-container">##BREADCRUMB##
  31.   <div id="main"><!-- Begin Page -->
  32.       <div id="printer">
  33.           <a href="javascript:self.print();" class="button" title="<?php echo _t('divers','print')?>"><span><?php echo _t('divers','print')?></span></a>
  34.     </div>
  35.         <?php DisplayTemplate()?>
  36.   </div> <!-- End Page -->
  37.   <hr class="spacer" />
  38.   </div> <!-- End Main -->
  39.  
  40.   <aside>
  41.     <?php distInclude(THEME_PUBLIC_PATH.'sidebar.php'THEME_PUBLIC_DIST)?>
  42.   </aside><!-- End Sidebar -->
  43. </div> <!-- End Content -->
  44. </section>
  45.  
  46. <!-- Footer -->
  47.  
  48. <footer><?php displayDefaultFooter()?>
  49.   <p>Linea21 (v <?php echo LINEA_VERSION?>), <?php printf(_t('divers','licence','<a href="http://opensource.org/licenses/gpl-3.0.html" title="GNU GPL v3" class="out">GNU GPL v3</a>')?></p>
  50.   <?php if(isset($_SESSION['authenticated']&& !$l21auth->isSimpleUser())  ?>
  51.       <a href="../admin/index.php" title="<?php echo _t('header','title');?>"><?php echo _t('header','title');?></a>
  52.   <?php  ?>
  53. </footer>
  54. <!-- End Footer -->
  55. <?php AddDynamicFooter()?>
  56. <?php if(isset($Dbg)) $Dbg->display()?>
  57. </body>
  58. </html>

Documentation generated on Mon, 08 Apr 2013 18:14:40 +0200 by phpDocumentor 1.4.1