<?php /* Smarty version 2.6.22, created on 2014-03-09 23:40:25
         compiled from /home/hamyarwp/public_html/market//zipmarket/HTML/preview.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', '/home/hamyarwp/public_html/market//zipmarket/HTML/preview.html', 10, false),)), $this); ?>
<!doctype html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6 oldie no-js"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="ie7 oldie no-js"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="ie8 oldie no-js"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->

<head>
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <title><?php echo ((is_array($_tmp=$this->_tpl_vars['item']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
 نمایش - <?php echo $this->_tpl_vars['domain']; ?>
</title>
    <meta name="Description" content="<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/static/css/fullscreen_preview.css"/>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script>

    <?php echo '
    <script type="text/javascript">
      //function to fix height of iframe!
      var calcHeight = function() {
        var headerDimensions = $(\'#header-bar\').height();
        $(\'#preview-frame\').height($(window).height() - headerDimensions);
      }
      
      $(document).ready(function() {
        calcHeight();
        $(\'#header-bar a.close\').mouseover(function() {
          $(\'#header-bar a.close\').addClass(\'activated\');
        }).mouseout(function() {
          $(\'#header-bar a.close\').removeClass(\'activated\');
        });
      });
      
      $(window).resize(function() {
        calcHeight();
      }).load(function() {
        calcHeight();
      });
    </script>
    <!--[if IE 6]>
    <script type="text/javascript">
      $(document).ready(function() {
        $(\'#close-button\').remove();
      });
    </script>
    <![endif]-->
    '; ?>


</head>
  <body>
   <div id="header-bar">

     <div class="close-header">
       <a id="close-button" title="Close <?php echo $this->_tpl_vars['domain']; ?>
 Bar" class="close" href="<?php echo $this->_tpl_vars['item']['demo_url']; ?>
">X</a>
     </div>

     <p class="meta-data">
       <a class="close" href="<?php echo $this->_tpl_vars['item']['demo_url']; ?>
">حذف قاب</a> <a class="purchase" href="/<?php echo $this->_tpl_vars['languageURL']; ?>
items/<?php echo $this->_tpl_vars['item']['id']; ?>
/" >خرید این محصول</a>
     </p>

     <a class="zipmarket-preview-logo site-loopback" href="/<?php echo $this->_tpl_vars['languageURL']; ?>
items/<?php echo $this->_tpl_vars['item']['id']; ?>
/"><?php echo $this->_tpl_vars['domain']; ?>
</a><span class="preview">نمایش محصول</span>

   </div>
   <iframe id="preview-frame" src="<?php echo $this->_tpl_vars['item']['demo_url']; ?>
" name="preview-frame" frameborder="0" noresize="noresize">
   </iframe>

</body>
</html>