Advertisement
Guest User

z

a guest
Mar 20th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.60 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title><?php echo $title; ?></title>
  6. <base href="<?php echo $base; ?>" />
  7. <?php if ($description) { ?>
  8. <meta name="description" content="<?php echo $description; ?>" />
  9. <?php } ?>
  10. <?php if ($keywords) { ?>
  11. <meta name="keywords" content="<?php echo $keywords; ?>" />
  12. <?php } ?>
  13. <?php if ($icon) { ?>
  14. <link href="<?php echo $icon; ?>" rel="icon" />
  15. <?php } ?>
  16. <?php foreach ($links as $link) { ?>
  17. <link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
  18. <?php } ?>
  19. <link rel="stylesheet" type="text/css" href="catalog/view/theme/topola/stylesheet/stylesheet.css" />
  20. <?php foreach ($styles as $style) { ?>
  21. <link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
  22. <?php } ?>
  23. <script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.7.1.min.js"></script>
  24. <script type="text/javascript" src="catalog/view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
  25. <link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" />
  26. <script type="text/javascript" src="catalog/view/javascript/common.js"></script>
  27. <?php foreach ($scripts as $script) { ?>
  28. <script type="text/javascript" src="<?php echo $script; ?>"></script>
  29. <?php } ?>
  30. <!--[if IE 7]>
  31. <link rel="stylesheet" type="text/css" href="catalog/view/theme/topola/stylesheet/ie7.css" />
  32. <![endif]-->
  33. <!--[if lt IE 7]>
  34. <link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />
  35. <script type="text/javascript" src="catalog/view/javascript/DD_belatedPNG_0.0.8a-min.js"></script>
  36. <script type="text/javascript">
  37. DD_belatedPNG.fix('#logo img');
  38. </script>
  39. <![endif]-->
  40. <?php if ($stores) { ?>
  41. <script type="text/javascript"><!--
  42. $(document).ready(function() {
  43. <?php foreach ($stores as $store) { ?>
  44. $('body').prepend('<iframe src="<?php echo $store; ?>" style="display: none;"></iframe>');
  45. <?php } ?>
  46. });
  47. //--></script>
  48. <?php } ?>
  49. <?php echo $google_analytics; ?>
  50. </head>
  51. <body>
  52. <div id="container">
  53. <div id="header">
  54. <?php if ($logo) { ?>
  55. <div id="logo"><a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a></div>
  56. <?php } ?>
  57. <?php echo $language; ?>
  58. <?php echo $currency; ?>
  59. <?php echo $cart; ?>
  60. <div id="search">
  61. <div class="button-search"></div>
  62. <input type="text" name="search" placeholder="<?php echo $text_search; ?>" value="<?php echo $search; ?>" />
  63. </div>
  64. <!-- <div id="welcome">
  65. <?php if (!$logged) { ?>
  66. <?php echo $text_welcome; ?>
  67. <?php } else { ?>
  68. <?php echo $text_logged; ?>
  69. <?php } ?>-->
  70. </div>
  71. <!-- обратный звонок
  72. <a href="http://return call/" onclick="window.open('http://return call/','Заказ звонка','width=508,height=500,left='+(screen.availWidth/2-225)+',top='+(screen.availHeight/2-341)+'');return false;" target="_parent">Звонок</a>
  73. -->
  74. <div class="header_text">
  75. <div class="header_phone"><b>+38 (093) 942 3966</b></div>
  76. </div>
  77. <!-- <div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a><a href="<?php echo $wishlist; ?>" id="wishlist-total"><?php echo $text_wishlist; ?></a><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>
  78. </div>-->
  79. <?php if ($categories) { ?>
  80. <div id="menu">
  81. <ul>
  82. <?php foreach ($categories as $category) { ?>
  83. <li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>
  84. <?php if ($category['children']) { ?>
  85. <div>
  86. <?php for ($i = 0; $i < count($category['children']);) { ?>
  87. <ul>
  88. <?php $j = $i + ceil(count($category['children']) / $category['column']); ?>
  89. <?php for (; $i < $j; $i++) { ?>
  90. <?php if (isset($category['children'][$i])) { ?>
  91. <li><a href="<?php echo $category['children'][$i]['href']; ?>"><?php echo $category['children'][$i]['name']; ?></a></li>
  92. <?php } ?>
  93. <?php } ?>
  94. </ul>
  95. <?php } ?>
  96. </div>
  97. <?php } ?>
  98. </li>
  99. <?php } ?>
  100. </ul>
  101. </div>
  102.  
  103. <?php } ?>
  104. <?php if ($error) { ?>
  105.  
  106. <div class="warning"><?php echo $error ?><img src="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>
  107.  
  108. <?php } ?>
  109. <div id="notification"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement