Advertisement
Guest User

header tpl code

a guest
Aug 13th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. {*
  2. * 2007-2012 PrestaShop
  3. *
  4. * NOTICE OF LICENSE
  5. *
  6. * This source file is subject to the Academic Free License (AFL 3.0)
  7. * that is bundled with this package in the file LICENSE.txt.
  8. * It is also available through the world-wide-web at this URL:
  9. * http://opensource.org/licenses/afl-3.0.php
  10. * If you did not receive a copy of the license and are unable to
  11. * obtain it through the world-wide-web, please send an email
  12. * to license@prestashop.com so we can send you a copy immediately.
  13. *
  14. * DISCLAIMER
  15. *
  16. * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
  17. * versions in the future. If you wish to customize PrestaShop for your
  18. * needs please refer to http://www.prestashop.com for more information.
  19. *
  20. * @author PrestaShop SA <contact@prestashop.com>
  21. * @copyright 2007-2012 PrestaShop SA
  22. * @version Release: $Revision: 6594 $
  23. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
  24. * International Registered Trademark & Property of PrestaShop SA
  25. *}
  26.  
  27. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  28. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">
  29. <head>
  30. <title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
  31. {if isset($meta_description) AND $meta_description}
  32. <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
  33. {/if}
  34. {if isset($meta_keywords) AND $meta_keywords}
  35. <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
  36. {/if}
  37. <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
  38. <meta http-equiv="content-language" content="{$meta_language}" />
  39. <meta name="generator" content="PrestaShop" />
  40. <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />
  41. <link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />
  42. <link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />
  43. <script type="text/javascript">
  44. var baseDir = '{$content_dir}';
  45. var baseUri = '{$base_uri}';
  46. var static_token = '{$static_token}';
  47. var token = '{$token}';
  48. var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
  49. var priceDisplayMethod = {$priceDisplay};
  50. var roundMode = {$roundMode};
  51. </script>
  52. {if isset($css_files)}
  53. {foreach from=$css_files key=css_uri item=media}
  54. <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
  55. {/foreach}
  56. {/if}
  57. {if isset($js_files)}
  58. {foreach from=$js_files item=js_uri}
  59. <script type="text/javascript" src="{$js_uri}"></script>
  60. {/foreach}
  61. {/if}
  62. {$HOOK_HEADER}
  63.  
  64. </head>
  65.  
  66. <body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{if $hide_left_column}hide-left-column{/if} {if $hide_right_column}hide-right-column{/if}">
  67. {if !$content_only}
  68. {if isset($restricted_country_mode) && $restricted_country_mode}
  69. <div id="restricted-country">
  70. <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>
  71. </div>
  72. {/if}
  73. <div style="background-color: #000000;" id="puslapis" title=" sveikata , papildai , svorio metimas">
  74. <div id="page" class="container_9 clearfix">
  75.  
  76. <!-- Header -->
  77. <div id="header" class="grid_9 alpha omega">
  78. <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">
  79. <img class="logo" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />
  80. </a>
  81. <div id="header_right" class="grid_6 omega">
  82. {$HOOK_TOP}
  83. </div>
  84. </div>
  85.  
  86. <div id="columns" class="grid_9 alpha omega clearfix">
  87.  
  88. <!-- Left -->
  89. <div id="left_column" class="column grid_2 alpha">
  90. {$HOOK_LEFT_COLUMN}
  91. </div>
  92.  
  93.  
  94.  
  95. <!-- Center -->
  96. <div id="center_column" class=" grid_5">
  97.  
  98.  
  99. {/if}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement