PageRenderTime 64ms CodeModel.GetById 37ms RepoModel.GetById 0ms app.codeStats 0ms

/tools/smarty_v2/compile/%%11^114^11414E95%%header.tpl.php

http://marocmall.googlecode.com/
PHP | 103 lines | 95 code | 8 blank | 0 comment | 17 complexity | 887d8c523ade7a5c781acc1c2abcbb4e MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?php /* Smarty version 2.6.20, created on 2011-11-28 23:51:30
  2. compiled from C:%5CD%5Cprestashop/themes/prestashop/header.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'C:\\D\\prestashop/themes/prestashop/header.tpl', 5, false),array('function', 'l', 'C:\\D\\prestashop/themes/prestashop/header.tpl', 42, false),)), $this); ?>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->_tpl_vars['lang_iso']; ?>
  7. ">
  8. <head>
  9. <title><?php echo ((is_array($_tmp=$this->_tpl_vars['meta_title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  10. </title>
  11. <?php if (isset ( $this->_tpl_vars['meta_description'] ) && $this->_tpl_vars['meta_description']): ?>
  12. <meta name="description" content="<?php echo ((is_array($_tmp=$this->_tpl_vars['meta_description'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html', 'UTF-8') : smarty_modifier_escape($_tmp, 'html', 'UTF-8')); ?>
  13. " />
  14. <?php endif; ?>
  15. <?php if (isset ( $this->_tpl_vars['meta_keywords'] ) && $this->_tpl_vars['meta_keywords']): ?>
  16. <meta name="keywords" content="<?php echo ((is_array($_tmp=$this->_tpl_vars['meta_keywords'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html', 'UTF-8') : smarty_modifier_escape($_tmp, 'html', 'UTF-8')); ?>
  17. " />
  18. <?php endif; ?>
  19. <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
  20. <meta name="generator" content="PrestaShop" />
  21. <meta name="robots" content="<?php if (isset ( $this->_tpl_vars['nobots'] )): ?>no<?php endif; ?>index,follow" />
  22. <link rel="icon" type="image/vnd.microsoft.icon" href="<?php echo $this->_tpl_vars['img_ps_dir']; ?>
  23. favicon.ico?<?php echo $this->_tpl_vars['img_update_time']; ?>
  24. " />
  25. <link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->_tpl_vars['img_ps_dir']; ?>
  26. favicon.ico?<?php echo $this->_tpl_vars['img_update_time']; ?>
  27. " />
  28. <script type="text/javascript">
  29. var baseDir = '<?php echo $this->_tpl_vars['content_dir']; ?>
  30. ';
  31. var static_token = '<?php echo $this->_tpl_vars['static_token']; ?>
  32. ';
  33. var token = '<?php echo $this->_tpl_vars['token']; ?>
  34. ';
  35. var priceDisplayPrecision = <?php echo $this->_tpl_vars['priceDisplayPrecision']*$this->_tpl_vars['currency']->decimals; ?>
  36. ;
  37. var priceDisplayMethod = <?php echo $this->_tpl_vars['priceDisplay']; ?>
  38. ;
  39. var roundMode = <?php echo $this->_tpl_vars['roundMode']; ?>
  40. ;
  41. </script>
  42. <?php if (isset ( $this->_tpl_vars['css_files'] )): ?>
  43. <?php $_from = $this->_tpl_vars['css_files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  44. foreach ($_from as $this->_tpl_vars['css_uri'] => $this->_tpl_vars['media']):
  45. ?>
  46. <link href="<?php echo $this->_tpl_vars['css_uri']; ?>
  47. " rel="stylesheet" type="text/css" media="<?php echo $this->_tpl_vars['media']; ?>
  48. " />
  49. <?php endforeach; endif; unset($_from); ?>
  50. <?php endif; ?>
  51. <?php if (isset ( $this->_tpl_vars['js_files'] )): ?>
  52. <?php $_from = $this->_tpl_vars['js_files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  53. foreach ($_from as $this->_tpl_vars['js_uri']):
  54. ?>
  55. <script type="text/javascript" src="<?php echo $this->_tpl_vars['js_uri']; ?>
  56. "></script>
  57. <?php endforeach; endif; unset($_from); ?>
  58. <?php endif; ?>
  59. <?php echo $this->_tpl_vars['HOOK_HEADER']; ?>
  60. </head>
  61. <body <?php if ($this->_tpl_vars['page_name']): ?>id="<?php echo ((is_array($_tmp=$this->_tpl_vars['page_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  62. "<?php endif; ?>>
  63. <?php if (! $this->_tpl_vars['content_only']): ?>
  64. <?php if (isset ( $this->_tpl_vars['restricted_country_mode'] ) && $this->_tpl_vars['restricted_country_mode']): ?>
  65. <div id="restricted-country">
  66. <p><?php echo smartyTranslate(array('s' => 'You cannot place a new order from your country.'), $this);?>
  67. <span class="bold"><?php echo $this->_tpl_vars['geolocation_country']; ?>
  68. </span></p>
  69. </div>
  70. <?php endif; ?>
  71. <div id="page">
  72. <!-- Header -->
  73. <div id="header">
  74. <a id="header_logo" href="<?php echo $this->_tpl_vars['link']->getPageLink('index.php'); ?>
  75. " title="<?php echo ((is_array($_tmp=$this->_tpl_vars['shop_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  76. ">
  77. <img class="logo" src="<?php echo $this->_tpl_vars['img_ps_dir']; ?>
  78. logo.jpg?<?php echo $this->_tpl_vars['img_update_time']; ?>
  79. " alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['shop_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
  80. " <?php if ($this->_tpl_vars['logo_image_width']): ?>width="<?php echo $this->_tpl_vars['logo_image_width']; ?>
  81. "<?php endif; ?> <?php if ($this->_tpl_vars['logo_image_height']): ?>height="<?php echo $this->_tpl_vars['logo_image_height']; ?>
  82. " <?php endif; ?> />
  83. </a>
  84. <div id="header_right">
  85. <?php echo $this->_tpl_vars['HOOK_TOP']; ?>
  86. </div>
  87. </div>
  88. <div id="columns">
  89. <!-- Left -->
  90. <div id="left_column" class="column">
  91. <?php echo $this->_tpl_vars['HOOK_LEFT_COLUMN']; ?>
  92. </div>
  93. <!-- Center -->
  94. <div id="center_column">
  95. <?php endif; ?>