Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Mar 16th, 2012  |  syntax: None  |  size: 1.87 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4.         <? $this->load->view($theme_view_folder.'metadata'); ?>
  5. </head>
  6.  
  7. <body>
  8.  
  9.         <div id="header">
  10.                 <? $this->load->view($theme_view_folder.'header'); ?>
  11.         </div>
  12.        
  13.         <ul id="menu">
  14.                 <? if(!empty($navigation['header'])) foreach($navigation['header'] as $nav_link): ?>
  15.  
  16.                 <li><?=anchor($nav_link->url, $nav_link->title); ?></li>
  17.                 <? endforeach; ?>
  18.         </ul>
  19.        
  20.         <div id="content">
  21.        
  22.                 <div id="left-column" class="sidebar">
  23.                        
  24.                         <div id="navigation">
  25.                                 <?=$this->load->view($theme_view_folder.'menu'); ?>
  26.                         </div>
  27.                        
  28.                         <? if(is_module('newsletters')): ?>
  29.  
  30.                         <div id="subscribe_newsletter">
  31.                                 <?=$this->load->module_view('newsletters', 'subscribe_form') ?>
  32.                         </div>
  33.                         <? endif; ?>
  34.        
  35.                         <? if(is_module('news')): ?>
  36.                         <div id="recent-posts">
  37.                                 <h2>Recent Posts</h2>
  38.                                 <?= $this->news_m->getNewsHome(); ?>
  39.                         </div>
  40.  
  41.                         <? endif; ?>
  42.                        
  43.                 </div>
  44.  
  45.  
  46.                 <div id="right-column">
  47.                
  48.                         <div class="breadcrumbs">
  49.                                 <?$this->load->view($theme_view_folder.'breadcrumbs'); ?>
  50.                         </div>
  51.                
  52.                         <? if ($this->session->flashdata('notice')) {
  53.                                   echo '<div class="notice-box">' . $this->session->flashdata('notice') . '</div>';
  54.                     } ?>
  55.                     <? if ($this->session->flashdata('success')) {
  56.                                   echo '<div class="success-box">' . $this->session->flashdata('success') . '</div>';
  57.                     } ?>
  58.                     <? if ($this->session->flashdata('error')) {
  59.                                   echo '<div class="error-box">' . $this->session->flashdata('error') . '</div>';
  60.                     } ?>
  61.                
  62.                 <?=$page_output; ?>
  63.  
  64.                        
  65.                 </div>
  66.        
  67.         </div>
  68.  
  69.         <!-- start footer -->
  70.         <div id="footer">
  71.                 <? $this->load->view($theme_view_folder.'footer'); ?>
  72.         </div>
  73.         <!-- end footer -->
  74.  
  75. </body>
  76. </html>