PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/templates/rhuk_milkyway/index.php

https://github.com/joebushi/joomla
PHP | 165 lines | 142 code | 17 blank | 6 comment | 10 complexity | 5b308dcb9cda35778562a66cc7debc45 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. ?>
  10. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  11. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
  12. <head>
  13. <jdoc:include type="head" />
  14. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
  15. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
  16. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template.css" type="text/css" />
  17. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/<?php echo $this->params->get('colorVariation'); ?>.css" type="text/css" />
  18. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/<?php echo $this->params->get('backgroundVariation'); ?>_bg.css" type="text/css" />
  19. <!--[if lte IE 6]>
  20. <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
  21. <![endif]-->
  22. <?php if ($this->direction == 'rtl') : ?>
  23. <link href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template_rtl.css" rel="stylesheet" type="text/css" />
  24. <?php endif; ?>
  25. </head>
  26. <body id="page_bg" class="color_<?php echo $this->params->get('colorVariation'); ?> bg_<?php echo $this->params->get('backgroundVariation'); ?> width_<?php echo $this->params->get('widthStyle'); ?>">
  27. <a name="up" id="up"></a>
  28. <div class="center" align="center">
  29. <div id="wrapper">
  30. <div id="wrapper_r">
  31. <div id="header">
  32. <div id="header_l">
  33. <div id="header_r">
  34. <div id="logo"></div>
  35. <jdoc:include type="modules" name="top" />
  36. </div>
  37. </div>
  38. </div>
  39. <div id="tabarea">
  40. <div id="tabarea_l">
  41. <div id="tabarea_r">
  42. <div id="tabmenu">
  43. <table cellpadding="0" cellspacing="0" class="pill">
  44. <tr>
  45. <td class="pill_l">&nbsp;</td>
  46. <td class="pill_m">
  47. <div id="pillmenu">
  48. <jdoc:include type="modules" name="user3" />
  49. </div>
  50. </td>
  51. <td class="pill_r">&nbsp;</td>
  52. </tr>
  53. </table>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. <div id="search">
  59. <jdoc:include type="modules" name="user4" />
  60. </div>
  61. <div id="pathway">
  62. <jdoc:include type="modules" name="breadcrumb" />
  63. </div>
  64. <div class="clr"></div>
  65. <div id="whitebox">
  66. <div id="whitebox_t">
  67. <div id="whitebox_tl">
  68. <div id="whitebox_tr"></div>
  69. </div>
  70. </div>
  71. <div id="whitebox_m">
  72. <div id="area">
  73. <div id="leftcolumn">
  74. <?php if ($this->countModules('left')) : ?>
  75. <jdoc:include type="modules" name="left" style="rounded" />
  76. <?php endif; ?>
  77. </div>
  78. <?php if ($this->countModules('left')) : ?>
  79. <div id="maincolumn">
  80. <?php else: ?>
  81. <div id="maincolumn_full">
  82. <?php endif; ?>
  83. <?php if ($this->countModules('user1 or user2')) : ?>
  84. <table class="nopad user1user2">
  85. <tr valign="top">
  86. <?php if ($this->countModules('user1')) : ?>
  87. <td>
  88. <jdoc:include type="modules" name="user1" style="xhtml" />
  89. </td>
  90. <?php endif; ?>
  91. <?php if ($this->countModules('user1 and user2')) : ?>
  92. <td class="greyline">&nbsp;</td>
  93. <?php endif; ?>
  94. <?php if ($this->countModules('user2')) : ?>
  95. <td>
  96. <jdoc:include type="modules" name="user2" style="xhtml" />
  97. </td>
  98. <?php endif; ?>
  99. </tr>
  100. </table>
  101. <div id="maindivider"></div>
  102. <?php endif; ?>
  103. <table class="nopad">
  104. <tr valign="top">
  105. <td>
  106. <jdoc:include type="message" />
  107. <jdoc:include type="component" />
  108. <jdoc:include type="modules" name="footer" style="xhtml"/>
  109. </td>
  110. <?php if ($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
  111. <td class="greyline">&nbsp;</td>
  112. <td width="170">
  113. <jdoc:include type="modules" name="right" style="xhtml"/>
  114. </td>
  115. <?php endif; ?>
  116. </tr>
  117. </table>
  118. </div>
  119. <div class="clr"></div>
  120. </div>
  121. <div class="clr"></div>
  122. </div>
  123. <div id="whitebox_b">
  124. <div id="whitebox_bl">
  125. <div id="whitebox_br"></div>
  126. </div>
  127. </div>
  128. </div>
  129. <div id="footerspacer"></div>
  130. </div>
  131. <div id="footer">
  132. <div id="footer_l">
  133. <div id="footer_r">
  134. <p id="syndicate">
  135. <jdoc:include type="modules" name="syndicate" />
  136. </p>
  137. <p id="power_by">
  138. <?php echo JText::_('POWERED_BY') ?> <a href="http://www.joomla.org">Joomla!</a>.
  139. <?php echo JText::_('Valid') ?> <a href="http://validator.w3.org/check/referer">XHTML</a> <?php echo JText::_('and') ?> <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
  140. </p>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. <jdoc:include type="modules" name="debug" />
  147. </body>
  148. </html>