Guest User

header.tpl

a guest
Oct 19th, 2015
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.82 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/default/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/css-pop.js"></script>-->
  24. <script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.7.1.min.js"></script>
  25. <script type="text/javascript" src="catalog/view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
  26. <link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" />
  27. <script type="text/javascript" src="catalog/view/javascript/common.js"></script>
  28. <?php foreach ($scripts as $script) { ?>
  29. <script type="text/javascript" src="<?php echo $script; ?>"></script>
  30. <?php } ?>
  31. <!--[if IE 7]>
  32. <link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie7.css" />
  33. <![endif]-->
  34. <!--[if lt IE 7]>
  35. <link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />
  36. <script type="text/javascript" src="catalog/view/javascript/DD_belatedPNG_0.0.8a-min.js"></script>
  37. <script type="text/javascript">
  38. DD_belatedPNG.fix('#logo img');
  39. </script>
  40. <![endif]-->
  41. <?php if ($stores) { ?>
  42. <script type="text/javascript"><!--
  43. $(document).ready(function() {
  44. <?php foreach ($stores as $store) { ?>
  45. $('body').prepend('<iframe src="<?php echo $store; ?>" style="display: none;"></iframe>');
  46. <?php } ?>
  47. });
  48. //--></script>
  49. <?php } ?>
  50. <?php echo $google_analytics; ?>
  51.  
  52. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  53.  
  54. </head>
  55. <body>
  56. <div id="container">
  57. <div id="header">
  58.  
  59. <div class="header-banner">
  60. <img src="catalog/view/theme/default/image/trunk-elephants-banner.jpg" alt="" title="">
  61. </div>
  62.  
  63. <?php if ($logo) { ?>
  64. <div id="logo"><a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" /></a></div>
  65. <?php } ?>
  66. <?php echo $language; ?>
  67. <?php echo $currency; ?>
  68.  
  69. <!--<div id="search">
  70. <div class="button-search"></div>
  71. <input type="text" name="search" placeholder="<?php echo $text_search; ?>" value="<?php echo $search; ?>" />
  72. </div>-->
  73.  
  74. </div>
  75. <?php if ($categories) { ?>
  76. <div id="menu">
  77. <ul>
  78. <li><a href="index.php?route=common/home">Home</a></li>
  79. <li><a href="http://trunkmemory.com/index.php?route=product/product&path=59&product_id=58">Reminder Service Registration</a></li>
  80. <?php if (!$logged) { ?>
  81. <li><a href="<?php echo $account; ?>">Account Login</a></li>
  82. <?php } else { ?>
  83. <li><a href="index.php?route=account/logout">Logout</a></li>
  84. <?php } ?>
  85. <li><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a></li>
  86. <li><a href="http://trunkmemory.com/index.php?route=information/contact">Contact</a></li>
  87. </ul>
  88. </div>
  89. <?php } ?>
  90. <?php if ($error) { ?>
  91.  
  92. <div class="warning"><?php echo $error ?><img src="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>
  93.  
  94. <?php } ?>
  95. <div id="notification"></div>
Advertisement
Add Comment
Please, Sign In to add comment