PageRenderTime 47ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/templates/atomic/index.php

https://github.com/joebushi/joomla
PHP | 56 lines | 44 code | 6 blank | 6 comment | 3 complexity | e88f445e747ff7bca66015e9a9c301bc MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. <?php
  2. /**
  3. * @version $Id$
  4. * @package Joomla.Site
  5. * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
  6. * @license GNU General Public License version 2 or later; see LICENSE.txt
  7. */
  8. defined('_JEXEC') or die;
  9. JHTML::_('behavior.mootools');
  10. $app = JFactory::getApplication();
  11. ?>
  12. <?php echo '<?'; ?>xml version="1.0" encoding="<?php echo $this->_charset ?>"?>
  13. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  14. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
  15. <head>
  16. <jdoc:include type="head" />
  17. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/screen.css" type="text/css" media="screen, projection">
  18. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/print.css" type="text/css" media="print">
  19. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
  20. <!--[if lt IE 8]>
  21. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/ie.css" type="text/css" media="screen, projection">
  22. <![endif]-->
  23. <!--[if IE]>
  24. <link type="text/css" rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_ie.css" />
  25. <![endif]-->
  26. <?php if($this->direction == 'rtl') : ?>
  27. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/plugins/rtl/screen.css" type="text/css" />
  28. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_rtl.css" rel="stylesheet" type="text/css" />
  29. <?php endif; ?>
  30. <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/template.js"></script>
  31. </head>
  32. <body>
  33. <div id="main_container">
  34. <div id="head">
  35. <?php if($this->countModules('head')) : ?>
  36. <div id="feature">
  37. <jdoc:include type="modules" name="head" style="none" />
  38. </div>
  39. <?php endif; ?>
  40. </div>
  41. <div id="body">
  42. <jdoc:include type="message" />
  43. <jdoc:include type="component" />
  44. </div>
  45. <div id="footer">
  46. &copy; <?php echo date('Y'); ?> <?php echo $app->getCfg('sitename'); ?>
  47. </div>
  48. </div>
  49. </body>
  50. </html>