<?php /* Smarty version 2.6.22, created on 2014-02-11 20:42:30
         compiled from /home/joomaria/public_html/zipmarket/apps/users/views/registration.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', '/home/joomaria/public_html/zipmarket/apps/users/views/registration.html', 84, false),)), $this); ?>
  <div class="page-info">
    <div class="container">
      <div id="breadcrumbs">
        <a href='/' class="first">صفحه اصلی</a> \
      </div>
    <h1 class="page-title">ثبت نام در سایت</h1>
    </div>
      <div id="tabsy">
          <ul>
            <li class="selected"><div></div><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
sign_up/">ثبت نام در سایت</a></li>
			<li class="last"><div></div><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
sign_in/">ورود به سایت</a><div class="last"></div></li>
          </ul>
      </div>
  </div>
    <div id="content">
      <div class="container">
        	  		<?php echo $this->_tpl_vars['errorMessage']; ?>


<?php if (! isset ( $this->_tpl_vars['verify'] ) && ! isset ( $this->_tpl_vars['complete'] )): ?>
<div class="sidebar-l sidebar-right">
  <h2 class="box-heading"><?php echo $this->_tpl_vars['lang']['why_sign_up']; ?>
</h2>
  <div class="content-box">
    <?php echo $this->_tpl_vars['lang']['why_sign_up_info']; ?>

  </div>
</div>
<?php endif; ?>

<?php if (isset ( $this->_tpl_vars['verify'] )): ?>
  <div class="sidebar-l sidebar-right">
  <h2 class="box-heading">شروع به نویسندگی در ایران تم</h2>
  <div class="content-box">
    <p style="line-height:23px;text-align:justify;">
      شما می توانید محصولات خود را وب سایت ایران تم بفروش برسانید . ما برای شما آرزوی فروش خوبی را داریم .
    </p>
    <p><a role="button" class="btn-icon submit" href="/upload/index/">آپلود محصول</a></p>
  </div>
  </div>
<div class="content-s">
  <h2 class="box-heading">لطفا ایمیل خود را چک کنید </h2>
  <div class="content-box">
    <p>
     <?php echo $this->_tpl_vars['lang']['verify_registration']; ?>

    </p>
  </div>
</div>
<?php elseif (isset ( $this->_tpl_vars['complete'] )): ?>

        <div class="notice flash">
         <p>Welcome  <?php echo $_SESSION['user']['username']; ?>
</p>
        </div>

  <div class="sidebar-l sidebar-right">
  <h2 class="box-heading">Become an author</h2>
  <div class="content-box">
    <p>
      You can now start selling your own digital goods on our Marketplace
    </p>
    <p><a role="button" class="btn-icon submit" href="/upload/index/">Upload an Item</a></p>
  </div>
  </div>
<div class="content-s">

  <div class="content-box">

  <p>
    <a class="btn-icon purchase massive" role="button" href="/<?php echo $this->_tpl_vars['languageURL']; ?>
deposit/"><?php echo $this->_tpl_vars['lang']['deposit_cash']; ?>
</a> <br><br />
    to start buying digital products on our <a href="/">Digital Marketplace</a>
  </p>
  <p>
    <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
deposit/"><img alt="Make a deposit" src="/static/img/dsignup.png" /></a>
  </p>
  </div>
</div> 
<?php else: ?>

<div class="content-s">
  <div class="content">
    <form action="" method="post">
  
      <fieldset action="" method="post" class="horizontal-form">
        <div class="input-group">
          <label for="user_username"><?php echo $this->_tpl_vars['lang']['username']; ?>
</label>
          <div class="inputs">
            <input type="text" id="user_username" name="username" value="<?php echo ((is_array($_tmp=$_POST['username'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" required="required" />
          </div>
        </div>
				  <div id="ajax_username_checking" class="clear" style="display: none;">
		            <img src="<?php echo $this->_tpl_vars['data_server']; ?>
/images/common/small_loader.gif"> <?php echo $this->_tpl_vars['lang']['check_availability']; ?>

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

        <div class="input-group">
          <label for="user_password">رمز عبور </label>
          <div class="inputs">
            <input type="password" id="user_password" name="password" required="required" />
            <div class="meter">
  <div class="tooltip" style="margin-right:130px">
    <span class="tooltip-icon" tabindex="100">?</span>

    <div class="tooltip-content">
      <p>رمز عبوری انتخاب کنید که آسان نباشد و هیچ کس نتواند آن را حدس بزند .</p>
      <p>
        رمز عبوری انتخاب کنید که شامل حروف و اعداد و کارکتر های خاص باشد .
      </p>
    </div>
  </div>
</div>
          </div>
        </div>
		
		 <div class="input-group">
          <label for="password_confirm"><?php echo $this->_tpl_vars['lang']['re_type']; ?>
</label>
          <div class="inputs">
            <input type="password" id="password_confirm" name="password_confirm" required="required" />
          </div>
        </div>

        <div class="input-group">
          <label for="user_email"><?php echo $this->_tpl_vars['lang']['email']; ?>
</label>
          <div class="inputs">
            <input type="text" id="user_email" name="email" value="<?php echo ((is_array($_tmp=$_POST['email'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" required="required" />
          </div>
        </div>

        <div class="input-group">
          <label for="user_email_confirmation"><?php echo $this->_tpl_vars['lang']['re_type']; ?>
</label>
          <div class="inputs">
            <input type="text" id="user_email_confirmation" name="email_confirm" value="<?php echo ((is_array($_tmp=$_POST['email_confirm'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" required="required" />
          </div>
        </div>

        <div class="input-group">
          <label for="user_firstname"><?php echo $this->_tpl_vars['lang']['first_name']; ?>
</label>
          <div class="inputs">
            <input type="text" id="user_firstname" name="firstname" value="<?php echo ((is_array($_tmp=$_POST['firstname'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" required="required" />
          </div>
        </div>
		
		 <div class="input-group">
          <label for="user_surname"><?php echo $this->_tpl_vars['lang']['last_name']; ?>
</label>
          <div class="inputs">
            <input type="text" id="user_surname" name="lastname" value="<?php echo ((is_array($_tmp=$_POST['lastname'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" required="required" />
          </div>
        </div>

        <div class="input-group no-margin">
          <div class="inputs full-width">
            <label for="user_agreed_with_terms_and_conditions">
              <input class="required" id="user_agreed_with_terms_and_conditions" name="terms" type="checkbox" value="1" <?php if (isset ( $_POST['terms'] )): ?>checked="checked"<?php endif; ?> />
             <?php echo $this->_tpl_vars['lang']['agree_with_terms']; ?>

            </label>
          </div>
        </div>

        <div class="input-group">
          <div class="inputs full-width">
            <label for="user_subscribed_to_foxmail">
              <input class="checkbox" id="user_subscribed_to_foxmail" name="subscribed" type="checkbox" value="1" <?php if (isset ( $_POST['subscribe'] )): ?>checked="checked"<?php endif; ?> />
              <?php echo $this->_tpl_vars['lang']['sign_me_to_newsletter']; ?>

            </label>
          </div>
        </div>
		<?php echo $this->_tpl_vars['recaptcha']; ?>

        <div class="form-submit margin-right">
          <button type="submit" name="add" value="yes" class="btn-icon submit submit-button"><?php echo $this->_tpl_vars['lang']['create_account']; ?>
</button>
        </div>
      </fieldset>

  
</form>  </div>
</div>
<?php endif; ?>

</div>
</div>