PageRenderTime 56ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/sites/all/themes/herreracheco/templates/page.tpl.php

https://github.com/arielalvarez88/Herrera-Checo
PHP | 208 lines | 144 code | 64 blank | 0 comment | 23 complexity | b4dbda0003c319d79fce05eafd1e6fe9 MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
  4. <head>
  5. <title>Constructora Herrera Checo</title>
  6. <?php print $head; ?>
  7. <?php print $styles; ?>
  8. <!--[if lte IE 6]><style type="text/css" media="all">@import "<?php print $base_path . path_to_theme() ?>/css/ie6.css"</style><![endif]-->
  9. <!--[if IE 7]><style type="text/css" media="all">@import "<?php print $base_path . path_to_theme() ?>/css/ie7.css"</style><![endif]-->
  10. </head>
  11. <body class="<?php print $body_classes; ?>">
  12. <div id="skip"><a href="#content"><?php print t('Skip to Content'); ?></a> <a href="#navigation"><?php print t('Skip to Navigation'); ?></a></div>
  13. <div id="page-wrapper">
  14. <div id="page">
  15. <!-- ______________________ HEADER _______________________ -->
  16. <div id="header" <?php echo $section? 'class="'.$section.'"' : '';?>>
  17. <div id="logo-title">
  18. <?php if (!empty($logo)): ?>
  19. <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
  20. <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>"/>
  21. </a>
  22. <?php endif; ?>
  23. <?php if (!empty($primary_links)): ?>
  24. <?php
  25. if (!empty($primary_links)) {
  26. print theme('links', $primary_links, array('id' => 'primary-links', 'class' => 'links main-menu'));
  27. }
  28. ?>
  29. <?php endif; ?>
  30. <?php if ($header): ?>
  31. <div id="header-region">
  32. <?php print $header; ?>
  33. </div>
  34. <?php endif; ?>
  35. <?php // Uncomment to add the search box.// print $search_box; ?>
  36. </div>
  37. </div><!-- /header -->
  38. <!-- ______________________ MAIN _______________________ -->
  39. <div id="main" class="clearfix">
  40. <div id="content">
  41. <div id="content-inner" class="inner column center">
  42. <?php if ($content_top): ?>
  43. <div id="content-top">
  44. <?php print $content_top; ?>
  45. </div> <!-- /#content-top -->
  46. <?php endif; ?>
  47. <?php if ($center_left): ?>
  48. <div id="center-left">
  49. <?php print $center_left; ?>
  50. </div><!-- /#content-bottom -->
  51. <?php endif; ?>
  52. <?php if ($center_right): ?>
  53. <div id="center-right">
  54. <?php print $center_right; ?>
  55. </div>
  56. <?php endif; ?>
  57. <?php if ($content_bottom): ?>
  58. <div id="content-bottom">
  59. <?php print $content_bottom; ?>
  60. </div>
  61. <?php endif; ?>
  62. </div>
  63. </div> <!-- /content-inner /content -->
  64. <?php if ($left): ?>
  65. <div id="sidebar-first" class="column sidebar first">
  66. <div id="sidebar-first-inner" class="inner">
  67. <?php print $left; ?>
  68. </div>
  69. </div>
  70. <?php endif; ?> <!-- /sidebar-left -->
  71. <?php if ($right): ?>
  72. <div id="sidebar-second" class="column sidebar second">
  73. <div id="sidebar-second-inner" class="inner">
  74. <?php print $right; ?>
  75. </div>
  76. </div>
  77. <?php endif; ?> <!-- /sidebar-second -->
  78. <div id="drupal-content">
  79. <?php if (in_array('administrator', array_values($user->roles)) && ($breadcrumb || $title || $mission || $messages || $help || $tabs)): ?>
  80. <div id="content-header">
  81. <?php print $breadcrumb; ?>
  82. <?php if ($title): ?>
  83. <h1 class="title"><?php print $title; ?></h1>
  84. <?php endif; ?>
  85. <?php if ($mission): ?>
  86. <div id="mission"><?php print $mission; ?></div>
  87. <?php endif; ?>
  88. <?php print $messages; ?>
  89. <?php print $help; ?>
  90. <?php if ($tabs): ?>
  91. <div class="tabs"><?php print $tabs; ?></div>
  92. <?php endif; ?>
  93. </div> <!-- /#content-header -->
  94. <?php endif; ?>
  95. <?php if ($content): ?>
  96. <div id="content-area">
  97. <?php print $content; ?>
  98. </div> <!-- /#content-area -->
  99. <?php endif; ?>
  100. <?php if ($drupal_content_bottom): ?>
  101. <div id="drupal-content-bottom">
  102. <?php print $drupal_content_bottom; ?>
  103. </div>
  104. <?php endif; ?>
  105. <?php print $feed_icons; ?>
  106. </div>
  107. </div> <!-- /main -->
  108. <!-- ______________________ FOOTER _______________________ -->
  109. <div id="footer">
  110. <div id="footer-left-side">
  111. <ul class="links sub-menu" id="secondary">
  112. <li ><a class="secondary-link no-decoration-anchor" href="/">INICIO </a> |</li>
  113. <li ><a class="secondary-link no-decoration-anchor" href="/nosotros">NOSOTROS </a> |</li>
  114. <li><a class="secondary-link no-decoration-anchor" href="/proyectos-residenciales">PROYECTOS </a> | </li>
  115. <li><a class="secondary-link no-decoration-anchor" href="/servicios">SERVICIOS</a> |</li>
  116. <li><a class="secondary-link no-decoration-anchor" href="/contactos">CONTACTOS </a> </li>
  117. </ul>
  118. <?php if (!empty($logo)): ?>
  119. <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
  120. <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>"/>
  121. </a>
  122. <?php endif; ?>
  123. <p>Copyright 2011 <span class="blue-text">Constructora Herrera Checo</span></p>
  124. </div>
  125. <div class="vertical-gradient-divisor">
  126. <img src="/sites/default/files/images/common/verticalGradientDivisor.png"/>
  127. </div>
  128. <div id="footer-right-side">
  129. <h2 id="herrera-checo-contacto-header">Contacto</h2>
  130. <p id="herrera-checo-contacto">
  131. <span class="herrera-checo-telefono blue-text" >T. 809-471-7807</span>
  132. <span class="herrera-checo-telefono blue-text" >T. 809-471-7808</span>
  133. <span id="herrera-checo-direccion">Direcci&oacute;n Av. Juan Pablo Duarte,<br/> Plaza Las Ramblas Boulevard</span>
  134. </p>
  135. <p id="mkt-logo"><a href="http://www.5050mkt.com"><img src="/<?php echo file_directory_path();?>/images/footer/5050mktLogo-gray.png" alt="footer-designed-by"/></a></p>
  136. </div>
  137. </div> <!-- /footer -->
  138. </div>
  139. </div><!-- /page -->
  140. <!-- <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>-->
  141. <?php print $scripts; ?>
  142. <?php print $closure; ?>
  143. </body>
  144. </html>