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. echo '<?xml version="1.0" encoding="'.CHARSET.'" xml:lang="'.U_L.'"?>'.END_LINE;
  11. ?>
  12. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  13. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo U_L?>">
  14. <?php distInclude(THEME_PUBLIC_PATH.'header.php'THEME_PUBLIC_DIST)?>
  15. <body>
  16. <?php culture::getInstance()->renderSwitcher()?>
  17. <div id="header">
  18.   <img src="<?php echo THEME_PUBLIC_PATH?>images/logo.png" alt="<?php echo (SITE_NAME)?>" />
  19.   <h1><?php echo (SITE_NAME)?></h1>
  20. </div><!-- End Header -->
  21.  
  22. <div id="menu">
  23.   <?php echo DisplayMenu()?>
  24. </div> <!-- End Menu -->
  25.  
  26. <div id="content" class="section_<?php echo ActiveItemKey($GLOBALS['activeitem'])?> alias_<?php echo ActiveItemAlias($GLOBALS['activeitem']);?> <?php echo getItemId()?>">
  27.   <div id="main-container">##BREADCRUMB##
  28.   <div id="main"><!-- Begin Page -->
  29.       <div id="printer">
  30.           <a href="javascript:self.print();" class="print button" title="<?php echo _t('divers','print')?>"><span><?php echo _t('divers','print')?></span></a>
  31.     </div>
  32.     <?php DisplayTemplate()?>
  33.   </div> <!-- End Page -->
  34.   <hr class="spacer" />
  35.   </div> <!-- End Main -->
  36.  
  37.   <div id="sidebar">
  38.     <?php distInclude(THEME_PUBLIC_PATH.'sidebar.php'THEME_PUBLIC_DIST)?>
  39.   </div> <!-- End Sidebar -->
  40. </div> <!-- End Content -->
  41.  
  42. <!-- Footer -->
  43. <div id="footer"><?php displayDefaultFooter()?>
  44.   <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>
  45.   <a href="../admin/index.php" title="<?php echo _t('header','title');?>"><?php echo _t('header','title');?></a>
  46. </div>
  47. <!-- End Footer -->
  48. <?php AddDynamicFooter()?>
  49. <?php if(isset($Dbg)) $Dbg->display()?>
  50. </body>
  51. </html>

Documentation generated on Thu, 03 May 2012 15:05:07 +0200 by phpDocumentor 1.4.1