<?php /* Smarty version 2.6.22, created on 2014-03-25 09:27:23
         compiled from C:/xampp/htdocs//zipmarket/HTML/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'string_format', 'C:/xampp/htdocs//zipmarket/HTML/index.html', 75, false),array('modifier', 'url', 'C:/xampp/htdocs//zipmarket/HTML/index.html', 196, 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="Content-Type" content="text/html; charset=utf-8" />
<title><?php if (isset ( $this->_tpl_vars['title'] )): ?><?php echo $this->_tpl_vars['title']; ?>
 | <?php endif; ?><?php echo $this->_tpl_vars['domain']; ?>
</title>
	
	<meta name="keywords" content="<?php if (isset ( $this->_tpl_vars['meta_keywords'] )): ?><?php echo $this->_tpl_vars['meta_keywords']; ?>
<?php else: ?><?php echo $this->_tpl_vars['lang']['page_keywords']; ?>
<?php endif; ?>" /> 
	<meta name="description" content="<?php if (isset ( $this->_tpl_vars['meta_description'] )): ?><?php echo $this->_tpl_vars['meta_description']; ?>
<?php else: ?><?php echo $this->_tpl_vars['lang']['page_title']; ?>
<?php endif; ?>" /> 
	<meta name="robots" content="index,follow" />
	<meta name="author" content="" /> 

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	


  <!--[if lt IE 9]>
    <script src="/static/assets/selectivizr.js" type="text/javascript"></script>
    <script>
      document.createElement('header');
      document.createElement('nav');
    </script>
  <![endif]-->

  <!--[if IE 9]>
    <link href="/static/assets/ie9.css" media="screen" rel="stylesheet" type="text/css" />
  <![endif]-->

  <!--[if IE 8]>
    <link href="/static/assets/ie8.css" media="screen" rel="stylesheet" type="text/css" />
  <![endif]-->

  <!--[if IE 7]>
    <link href="/static/assets/ie7.css" media="screen" rel="stylesheet" type="text/css" />
  <![endif]-->

  
  <script src="<?php echo $this->_tpl_vars['data_server']; ?>
js/head.js" type="text/javascript"></script>
  <link href="<?php echo $this->_tpl_vars['data_server']; ?>
css/style.css" media="screen" rel="stylesheet" type="text/css" />
  <link rel="Shortcut icon" href="<?php echo $this->_tpl_vars['data_server']; ?>
favicon.ico" />
	<script type="text/javascript">
	var checkItemsType = <?php if (isset ( $this->_tpl_vars['checkItemsType'] )): ?>true<?php else: ?>false<?php endif; ?>;
	var data_server = '<?php echo $this->_tpl_vars['data_server']; ?>
';
	</script>
	
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['data_server']; ?>
j_s/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['data_server']; ?>
j_s/jquery/jquery-ui.min.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['data_server']; ?>
j_s/jquery/jquery.cookie.js"></script>
	<script type="text/javascript" src="<?php echo $this->_tpl_vars['data_server']; ?>
j_s/jquery.js"></script>
	
	
</head>
<body>

    <header>
  <div class="container">

  <a href="/" class="marketplace"><img alt="<?php echo $this->_tpl_vars['domain']; ?>
" src="<?php echo $this->_tpl_vars['data_server']; ?>
logo/logo-dark.png" title="<?php echo $this->_tpl_vars['domain']; ?>
" /></a>
  
<?php if (check_login_bool ( )): ?>
  <div class="account-wrapper">
    <ul id="user-account-nav">
	
        <li>
    <?php if ($_SESSION['user']['quiz'] == 'true'): ?>
          <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
author_dashboard/">
	<?php else: ?>
          <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/<?php echo $_SESSION['user']['username']; ?>
">
	<?php endif; ?>
	      <span class="user_balance"><?php echo ((is_array($_tmp=$_SESSION['user']['total'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
 <?php echo $this->_tpl_vars['currency']['symbol']; ?>
</span> ، 
		  <span id="user_username"><?php echo $_SESSION['user']['username']; ?>
</span>
		  </a>
<div>
  <ul>
    <li class="profile"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/<?php echo $_SESSION['user']['username']; ?>
/">پروفایل</a></li>
    <li class="settings"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
edit/">تنظیمات</a></li>
    <li class="downloads"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
download/">دانلود</a></li>
    <li class="bookmarks"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/bookmarks/">علاقه مندی ها</a></li>
    <li class="deposit"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
deposit/">شارژ حساب</a></li>
    <?php if ($_SESSION['user']['quiz'] == 'true'): ?>
    <li class="author_dashboard"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
author_dashboard/">داشبورد</a></li>
	<?php if ($_SESSION['user']['items'] != '0'): ?> 
	<li class="portfolio"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/portfolio/<?php echo $_SESSION['user']['username']; ?>
/">نمونه کار</a></li>
	<?php endif; ?>
	<li class="upload"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
upload/index/">ارسال قالب</a></li>
    <li class="earnings"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
earnings/">درآمد شما</a></li>
    <li class="statement"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
statement/">عملکرد شما</a></li>
    <li class="withdrawal"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
withdrawal/">تسویه حساب</a></li>
	<?php else: ?>
	 <li class="become_author"><a href="/make_money/become_an_author/">نویسندگی در سایت</a></li>
	<?php endif; ?>
	<?php if ($_SESSION['user']['access']): ?>
	<li class="admin_dashboard"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
admin/">مدیریت سایت</a></li>
	<?php endif; ?>
  </ul>
</div>

        </li>
        <li>
            <form action="/<?php echo $this->_tpl_vars['languageURL']; ?>
users/logout/" class="sign-out-form" method="post">
              <button type="submit" class="auto-width no-margin" id="sign-out-button">خروج</button>
			 </form>
        </li>
    </ul>
	</div>
	<?php else: ?>
  <div class="account-wrapper">
    <ul id="user-account-nav">
        <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
sign_up/"><span>ثبت نام</span></a></li>
        <li>
          <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
sign_in/" rel="nofollow">ورود</a>
        </li>
    </ul>
	
  </div>
<?php endif; ?>
  <ul class="info-nav">
  
  <li><a href="/make_money/become_an_author">کسب درآمد</a>
      <div class="dropdown">
        <ul>
          <li><a href="/make_money/become_an_author">شروع نویسندگی</a></li>
          <li><a href="/make_money/payment_rates">قوانین فروش</a></li>
        </ul>
      </div>
    </li>
	
	<li><a href="#">بخش های سایت</a>
      <div class="dropdown">
        <ul>
          <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
collections/">مجموعه ها</a></li>
          <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
feature/">قالب های ویژه</a></li>
          <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
top_sellers/">قالب های محبوب</a></li>
          <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
top_authors/">برترین کاربران</a></li>
		  <li><a href="/categories/browse/">نقشه سایت</a></li>
        </ul>
      </div>
    </li>

<li><a href="/make_money/affiliate_program/">بازاریابی</a>
      <div class="dropdown">
        <ul>
          <li><a href="/make_money/affiliate_program/">راهنمای بازاریابی</a></li>
          <li><a href="/make_money/banners_and_logos/">لوگو و بنر ها</a></li>
        </ul>
      </div>
    </li>
  
  <li><a href="/support/">پشتیبانی</a>
    </li>
  
  
  
  <?php if ($this->_tpl_vars['menuPages']): ?>
  <?php $_from = $this->_tpl_vars['menuPages'][0]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['foo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['p']):
        $this->_foreach['foo']['iteration']++;
?>
    <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
pages/<?php echo $this->_tpl_vars['p']['key']; ?>
.html"><?php echo $this->_tpl_vars['p']['name']; ?>
</a>
	<?php if (isset ( $this->_tpl_vars['menuPages'][$this->_tpl_vars['p']['id']] )): ?>
      <div class="dropdown">
        <ul>
		   <?php $_from = $this->_tpl_vars['menuPages'][$this->_tpl_vars['p']['id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['foo1'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['foo1']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['sp']):
        $this->_foreach['foo1']['iteration']++;
?>
          <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
pages/<?php echo $this->_tpl_vars['sp']['key']; ?>
.html"><?php echo $this->_tpl_vars['sp']['name']; ?>
</a></li>
		   <?php endforeach; endif; unset($_from); ?>
        </ul>
      </div>
	  <?php endif; ?>
    </li>
   <?php endforeach; endif; unset($_from); ?>
<?php endif; ?>    
  </ul>
  </div> <!-- end .container -->
</header> <!-- end role main header -->
<nav role="navigation" class="clearfix"> 

  <ul class="main-nav">
<li>
        <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
categories/all/">تمامی محصولات</a>
        <div class="dropdown">
          <ul>
            <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
top_sellers/">پرفروش ترین محصولات</a></li>
			<li><a href="/categories/all/?sort_by=sales_count&order=desc">برترین محصولات</a></li>
            <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
top_authors/">بهترین کاربران</a></li>
          </ul>
          <ul class="meta-links">
            <li><a href="/categories/browse/">نمایش تمام دسته بندی ها</a></li>
          </ul>
        </div>
      </li>
            <?php if ($this->_tpl_vars['mainCategories']): ?>
	      		<?php $_from = $this->_tpl_vars['mainCategories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['c']):
?>
        <li>
          <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
categories/<?php echo $this->_tpl_vars['c']['id']; ?>
/<?php echo ((is_array($_tmp=$this->_tpl_vars['c']['name'])) ? $this->_run_mod_handler('url', true, $_tmp) : smarty_modifier_url($_tmp)); ?>
"><?php echo $this->_tpl_vars['c']['name']; ?>
</a>
		  <?php if (isset ( $this->_tpl_vars['allCats'][$this->_tpl_vars['c']['id']] )): ?>
          <div class="dropdown">
		    <ul class="meta-links-top">
              <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
categories/<?php echo $this->_tpl_vars['c']['id']; ?>
/<?php echo ((is_array($_tmp=$this->_tpl_vars['c']['name'])) ? $this->_run_mod_handler('url', true, $_tmp) : smarty_modifier_url($_tmp)); ?>
?sort_by=sales_count&order=desc">پرفروش ترین محصولات</a></li>
            </ul>
			
            <ul>
			<?php $_from = $this->_tpl_vars['allCats'][$this->_tpl_vars['c']['id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['s']):
?>
                <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
categories/<?php echo $this->_tpl_vars['s']['id']; ?>
/<?php echo ((is_array($_tmp=$this->_tpl_vars['s']['name'])) ? $this->_run_mod_handler('url', true, $_tmp) : smarty_modifier_url($_tmp)); ?>
"><?php echo $this->_tpl_vars['s']['name']; ?>
</a></li>
			<?php endforeach; endif; unset($_from); ?>
            </ul>
          </div>
		  <?php endif; ?>
        </li>
		       <?php endforeach; endif; unset($_from); ?>
       	    <?php endif; ?>
        <li>
        </li>
    <li class="search-container">
      <form id="search" action="/<?php echo $this->_tpl_vars['languageURL']; ?>
search/" method="GET" class="aweform inline-form">
  <input type="text" class="aweform with-filter" name="term" value="<?php echo $this->_tpl_vars['lang']['start_searching']; ?>
..." onfocus="this.value=='<?php echo $this->_tpl_vars['lang']['start_searching']; ?>
...'?this.value='':false;" onblur="this.value==''?this.value='<?php echo $this->_tpl_vars['lang']['start_searching']; ?>
...':false;" />
  <button type="submit" class="image-button search no-margin">جستجو</button>
</form>
    </li>
  </ul>
</nav>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['content_template'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <div id="footer" class="large">
  <div class="container">
    <div class="left">
          <div class="follow-us">
  <h3><?php echo $this->_tpl_vars['lang']['follow_us']; ?>
</h3>
  <a href="#" class="blog" rel="nofollow">اشتراک در وبلاگ</a>
  <br />
  <a href="#" class="twitter" rel="nofollow">ما را در تویتر دنبال کنید</a>
  <br />
  <a href="#" class="facebook" rel="nofollow">به جمع هواداران ما در فیس بوک بپیوندید</a>
  <br />
  <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
rss/" class="rss" rel="nofollow">خبر خوان سایت</a>
</div>
    </div>
    
    <div class="middle">
      <div class="top">
        <div class="content-left" style="margin-top:-15px;">
<div class="newsletter">
  <h3>خبرنامه سایت  </h3>
  <form action="" method="post">
                		<input type="hidden" name="subscribe" value="yes" />
					<input class="fname"  type="text" name="bulletin_fname" value="نام" onfocus="this.value='';" id="mce-FNAME" class="fname" />
					<input class="lname" type="text" name="bulletin_lname" value="خانوادگی" onfocus="this.value='';" id="mce-LNAME" class="lname"  />
					<input class="newsletter-mail" type="text" name="bulletin_email" value="ایمیل" onfocus="this.value='';" id="mce-EMAIL" />							
                       <button type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn-icon submit">عضویت</button>
                </form>
                
</div>
        </div>
        <div class="content-right" style="margin-top:-15px;">
<div class="stats">
مجموع کاربران
  <p class="file-count">
    <?php echo $this->_tpl_vars['usersCount']; ?>

  </p>
  
مجموع محصولات
  <p class="file-count">
    <?php echo $this->_tpl_vars['itemsCount']; ?>

  </p>
</div> 
        </div>
        <div class="clear"></div>
      </div>
      <div>
        <div class="content-left">

        </div>
        <div class="content-right">

		</div>
        <div class="clear"></div>
      </div>
    </div>

    <div class="right">
          <div class="help-and-support">
  <h3>دسترسی سریع</h3>
  <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
support/">تماس با مدیریت</a>
  <br />
  <a href="/make_money/become_an_author">ارسال محصول شما</a>
  <br />
  <a href="/make_money/affiliate_program">بازایابی و کسب درآمد</a>
  <br />
  <a href="make_money/banners_and_logos">حمایت از ما</a>
</div>
    </div>
  </div>
</div>

        <div id="copyright" style="text-align:center;font-size:11px;" >
  <div class="container">
    <div class="copyright">
      <p style="text-align:center;">
         <span style="font-size:11px;" >تمامی حقوق متعلق به این سایت است</span>
		</p>
		طراحی شده توسط : <a href="http://www.persianscript.ir" target="_blank"> پرشین اسکریپت</a>
    </div>
  </div>
</div>

  <div id="ajax-feedback" class="ajax-feedback" style="display:none;">
    <span><img alt="Loader" height="22" src="/static/img/loader.gif" width="126" />Request processing...</span>
  </div>

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script>window.jQuery || document.write("<script src='/static/js/jquery-1.8.1.min.js'><\/script>")</script>


  <div id="tooltip-magnifier" class="magnifier">
  <strong></strong>
  <div class="info">
    <div class="author-category">
      <span class="author"></span>
      <span class="category"></span>
    </div>
    <div class="price">
      <span class="cost"></span>
    </div>
  </div>
</div>
  <div id="landscape-image-magnifier" class="magnifier">
    <div class="size-limiter">
    </div>
  <strong></strong>
  <div class="info">
    <div class="author-category">
      <span class="author"></span>
      <span class="category"></span>
    </div>
    <div class="price">
      <span class="cost"></span>
    </div>
  </div>
</div>
  <div id="portrait-image-magnifier" class="magnifier">
    <div class="size-limiter">
    </div>
  <strong></strong>
  <div class="info">
    <div class="author-category">
      <span class="author"></span>
      <span class="category"></span>
    </div>
    <div class="price">
      <span class="cost"></span>
    </div>
  </div>
</div>
  <div id="square-image-magnifier" class="magnifier">
    <div class="size-limiter">
    </div>
  <strong></strong>
  <div class="info">
    <div class="author-category">
       <span class="author"></span>
      <span class="category"></span>
    </div>
    <div class="price">
      <span class="cost"></span>
    </div>
  </div>
</div>
  <div id="smart-image-magnifier" class="magnifier">
    <div class="size-limiter">
    </div>
  <strong></strong>
  <div class="info">
    <div class="author-category">
      <span class="author"></span>
      <span class="category"></span>
    </div>
    <div class="price">
      <span class="cost"></span>
    </div>
  </div>
</div>

  <script src="<?php echo $this->_tpl_vars['data_server']; ?>
js/start.js" type="text/javascript"></script>  

  <script><?php echo 'marketplace.initializers.global();'; ?>
</script>
</body>
<?php echo '
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push([\'_setAccount\', \'UA-36912868-1\']);
  _gaq.push([\'_trackPageview\']);

  (function() {
    var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true;
    ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\';
    var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
'; ?>



</html>