PageRenderTime 40ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/themes/ayjoy/page-es.tpl.php

https://gitlab.com/mikamai/ayjoy
PHP | 144 lines | 120 code | 12 blank | 12 comment | 9 complexity | f5b1f58906eddc4fdc762012010d397e MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
  4. <head>
  5. <title>Venta de integradores, Venta de integradores en línea | Integradores alimentarios <?php print $head_title ?> </title>
  6. <meta name="description" content="Venta de integradores alimentarios en línea AYJOY- Descubre los beneficios de la fitoterapia para tu bienestar natural – Integradores en línea" />
  7. <meta name="keywords" content="Vendita integratori, Vendita integratori online, Fitoterapia,Integratori dimagranti, Integratori dietetici, Ayjoy, Difass" />
  8. <meta name="robots" content="index,follow" />
  9. <? //php print $head ?>
  10. <?php print $styles ?>
  11. <?php print $scripts ?>
  12. <!--[if lte IE 6]>
  13. <link rel="stylesheet" href="<?php print base_path() . path_to_theme() ?>/css/ie6.css" type="text/css" media="screen"/>
  14. <![endif]-->
  15. <!--[if IE 7]>
  16. <link rel="stylesheet" href="<?php print base_path() . path_to_theme() ?>/css/ie7.css" type="text/css" media="screen"/>
  17. <![endif]-->
  18. <link rel="shortcut icon" href="/themes/ayjoy/css/images/favicon.png" type="image/x-icon" />
  19. </head>
  20. <!-- body id unico -->
  21. <?php
  22. $uri_path = trim($_SERVER['REQUEST_URI'], '/');
  23. // Split up the remaining URI into an array, using '/' as delimiter.
  24. $uri_parts = explode('/', $uri_path);
  25. // If the first part is empty, label both id and class 'main'.
  26. if ($uri_parts[0] == '') {
  27. $body_id = 'home';
  28. $body_class = 'main';
  29. }
  30. /* override the locale uri path */
  31. else if (array_key_exists($uri_parts[0],i18n_language_list()) && (empty($uri_parts[1]))) {
  32. $body_id = 'home';
  33. $body_class = 'main';
  34. }
  35. else {
  36. // Construct the id name from the full URI, replacing slashes with dashes.
  37. $body_id = str_replace('/','-', $uri_path);
  38. // Construct the class name from the first part of the URI only.
  39. $body_class = $uri_parts[0];
  40. }
  41. /**
  42. * Add prefixes to create a kind of protective namepace to prevent possible
  43. * conflict with other css selectors.
  44. *
  45. * - Prefix body ids with "page-"(since we use them to target a specific page).
  46. * - Prefix body classes with "section-"(since we use them to target a whole sections).
  47. */
  48. $body_id = ''.$body_id;
  49. $body_class = 'section-'.$body_class;
  50. print "<body class=\"pages-body\" id=\"$body_id\"";
  51. print theme('onload_attribute');
  52. print ">";
  53. ?>
  54. <!-- Layout -->
  55. <div id="container">
  56. <div id="header">
  57. <div id="logo">
  58. <h1><a href="/" title="return homepage">Ayjoy Your Natural Healthcarea</a></h1>
  59. </div>
  60. <?php print $logout ?>
  61. <?php print $loginbox ?>
  62. <div id="top-menu-down">
  63. <div id="top-menu-up">
  64. <div id="main-page">
  65. <ul>
  66. <li><a href="<?php print base_path() ?>" title="">Home</a></li>
  67. </ul>
  68. </div>
  69. <div id="navigation">
  70. <?php if (isset($primary_links)) : ?>
  71. <?php print theme('menu_links', $primary_links) ?>
  72. <?php endif; ?>
  73. </div>
  74. <div id="search">
  75. <h2 class="colored-header"><? print t('search') ?></h2>
  76. <?php print theme('search_box_header') ?>
  77. </div>
  78. <?php print $language_drop ?>
  79. <!--div id="help">
  80. <ul>
  81. <li><a href="#" title="">help</a></li>
  82. </ul>
  83. </div-->
  84. <div id="help">
  85. <h2><?php print strtolower(t('Language')) ?></h2>
  86. </div>
  87. <br class="clear" />
  88. </div>
  89. </div>
  90. </div>
  91. <div id="summary">
  92. <div id="one" class="buttom">
  93. <?php print l(t('You Buy'),'catalog') ?>
  94. </div>
  95. <div id="two" class="buttom">
  96. <?php print l(t('You Care'),'problems-and-solutions') ?>
  97. </div>
  98. <div id="three" class="buttom">
  99. <?php print l(t('You Learn'),'you-learn') ?>
  100. </div>
  101. <br class="clear" />
  102. </div>
  103. <div id="wrapper">
  104. <div id="content">
  105. <div id="content-wrapper">
  106. <?php if ($breadcrumb): print $breadcrumb; endif; ?>
  107. <?php if ($tabs): print '<div class="tabs">'.$tabs .'</div>'; endif; ?>
  108. <?php print $content ?>
  109. </div>
  110. </div>
  111. </div>
  112. <div id="right_content">
  113. <div id="right-content-wrapper">
  114. <?php print $right_content ?>
  115. </div>
  116. </div>
  117. <div id="left_content">
  118. <div id="left-content-wrapper">
  119. <?php print $left_content ?>
  120. </div>
  121. </div>
  122. <div id="footer">
  123. <div id="footer-down">
  124. <div id="footer-up">
  125. <?php print $footer_area ?>
  126. </div>
  127. </div>
  128. </div>
  129. </div>
  130. <?php print $closure ?>
  131. </body>
  132. </html>