Advertisement
SRD75

Joomla template index.php

Jun 18th, 2013
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.00 KB | None | 0 0
  1. <?php
  2. /**
  3.  * @copyright   Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
  4.  * @license     GNU/GPL, see LICENSE.php
  5.  * Joomla! is free software. This version may have been modified pursuant
  6.  * to the GNU General Public License, and as distributed it includes or
  7.  * is derivative of works licensed under the GNU General Public License or
  8.  * other free or open source software licenses.
  9.  * See COPYRIGHT.php for copyright notices and details.
  10.  */
  11.  
  12. // no direct access
  13. defined('_JEXEC') or die;JHtml::_('behavior.framework', true);
  14. ?>
  15. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  16. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
  17. <head>
  18. <jdoc:include type="head" />
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  20.  
  21. <link href="<?php echo $this->baseurl ?>/templates/brownfox/css/template_css.css" rel="stylesheet" type="text/css" />
  22.  
  23. </head>
  24.  
  25. <body><?php require_once("includes/cm.php"); ?>
  26. <div id="body_outer">
  27. <div id="body_inner">
  28. <?php if($this->countModules('header')) : ?>
  29. <div id="header"><jdoc:include type="modules" name="header" style="rounded" /></div>
  30.  <?php endif; ?>
  31.  
  32. <div id="middle">
  33.     <?php if($this->countModules('middle_left')) : ?>
  34.     <div id="middle_left"><jdoc:include type="modules" name="middle_left" style="rounded" /></div>
  35.      <?php endif; ?>
  36.     <?php if($this->countModules('middle_middle')) : ?>
  37.     <div id="middle_middle"><jdoc:include type="modules" name="middle_middle" style="rounded" /></div>
  38.      <?php endif; ?>
  39.     <?php if($this->countModules('middle_right')) : ?>
  40.     <div id="middle_right"><jdoc:include type="modules" name="middle_right" style="rounded" /></div>
  41.      <?php endif; ?>
  42. </div>
  43.  
  44. </div>
  45. <?php if($this->countModules('footer')) : ?>
  46. <div id="footer"><jdoc:include type="modules" name="footer" style="rounded" /></div>
  47.  <?php endif; ?>
  48. </div>
  49. </body>
  50. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement