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

Source for file tpl_home.php

Documentation is available at tpl_home.php

  1. <?php
  2. /**
  3.  * @package linea21.core
  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.  
  12. <?php
  13.  
  14. // set HTML Title
  15. SetHTMLTitle(_t('way','home'));
  16.  
  17. $page new page();
  18.  
  19. if($page->homepage_exists()) {
  20.     
  21.     display_page($page->get_homepage_id());
  22.     
  23. else {
  24.     
  25.     DisplayEdito();
  26.     DisplayGDT();
  27.     DisplayIDD();
  28.     
  29. }
  30.  
  31. // to display the latest news by default
  32. // uncomment the following code 
  33. // include_once(override('../news/display.php'));
  34.  
  35. // $r = get_latestnews_id();
  36.  
  37. // if($r) $news_status = DisplayOneNews($r, false);
  38.  
  39.  
  40. ?>

Documentation generated on Thu, 20 Mar 2014 16:49:39 +0100 by phpDocumentor 1.4.1