<?php /* Smarty version Smarty-3.1.19, created on 2018-10-13 14:32:19
         compiled from "/home/tnsmborg/public_html/templates/kickstart/registration.tpl" */ ?>
<?php /*%%SmartyHeaderCode:15283135835bc23a3301f1e6-78514845%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a3304a17c899447486c157053e8c322390f761b5' => 
    array (
      0 => '/home/tnsmborg/public_html/templates/kickstart/registration.tpl',
      1 => 1528949094,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15283135835bc23a3301f1e6-78514845',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'tmp' => 0,
    'sections' => 0,
    'core' => 0,
    'name' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.19',
  'unifunc' => 'content_5bc23a3305b407_03317317',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5bc23a3305b407_03317317')) {function content_5bc23a3305b407_03317317($_smarty_tpl) {?><p class="text-center lead"><?php echo iaSmarty::lang(array('key'=>'registration_tooltip'),$_smarty_tpl);?>
</p>
<div class="ia-form-system -registration">

    <form method="post" action="<?php echo @constant('IA_SELF');?>
" enctype="multipart/form-data" class="ia-form ia-form--bordered">
        <?php echo iaSmarty::preventCsrf(array(),$_smarty_tpl);?>


        <?php echo $_smarty_tpl->getSubTemplate ('plans.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('item'=>$_smarty_tpl->tpl_vars['tmp']->value), 0);?>


        <?php echo $_smarty_tpl->getSubTemplate ('field-type-content-fieldset.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('item_sections'=>$_smarty_tpl->tpl_vars['sections']->value,'item'=>$_smarty_tpl->tpl_vars['tmp']->value), 0);?>


        <div class="fieldset">
            <div class="fieldset__header"><?php echo iaSmarty::lang(array('key'=>'password'),$_smarty_tpl);?>
</div>
            <div class="fieldset__content">
                <div class="checkbox">
                    <label>
                        <input type="checkbox" name="disable_fields" id="disable_fields" value="1"<?php if (isset($_POST['disable_fields'])&&$_POST['disable_fields']) {?> checked<?php }?>> <?php echo iaSmarty::lang(array('key'=>'auto_generate_password'),$_smarty_tpl);?>

                    </label>
                </div>

                <div id="pass_fieldset" <?php if (isset($_POST['disable_fields'])&&1==$_POST['disable_fields']) {?>style="display: none;"<?php }?>>
                    <div class="form-group">
                        <label for="pass1"><?php echo iaSmarty::lang(array('key'=>'your_password'),$_smarty_tpl);?>
:</label>
                        <input class="form-control" type="password" name="password" id="pass1" value="<?php if (isset($_smarty_tpl->tpl_vars['tmp']->value['password'])) {?><?php echo $_smarty_tpl->tpl_vars['tmp']->value['password'];?>
<?php }?>">
                    </div>
                    <div class="form-group">
                        <label for="pass2"><?php echo iaSmarty::lang(array('key'=>'your_password_confirm'),$_smarty_tpl);?>
:</label>
                        <input class="form-control" type="password" name="password2" id="pass2" value="<?php if (isset($_smarty_tpl->tpl_vars['tmp']->value['password'])) {?><?php echo $_smarty_tpl->tpl_vars['tmp']->value['password'];?>
<?php }?>">
                    </div>
                </div>
            </div>
        </div>

        <?php echo $_smarty_tpl->getSubTemplate ('captcha.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


        <div class="form-group">
            <button type="submit" name="register" class="btn btn-success btn-block btn-lg"><?php echo iaSmarty::lang(array('key'=>'registration'),$_smarty_tpl);?>
</button>
        </div>

        <?php if ($_smarty_tpl->tpl_vars['core']->value['providers']) {?>
            <div class="social-providers">
                <p><?php echo iaSmarty::lang(array('key'=>'login_with_social_network'),$_smarty_tpl);?>
:</p>
                <?php  $_smarty_tpl->tpl_vars['provider'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['provider']->_loop = false;
 $_smarty_tpl->tpl_vars['name'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['core']->value['providers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['provider']->key => $_smarty_tpl->tpl_vars['provider']->value) {
$_smarty_tpl->tpl_vars['provider']->_loop = true;
 $_smarty_tpl->tpl_vars['name']->value = $_smarty_tpl->tpl_vars['provider']->key;
?>
                    <a class="btn btn-block btn-social btn-<?php echo mb_strtolower($_smarty_tpl->tpl_vars['name']->value, 'UTF-8');?>
" href="<?php echo @constant('IA_URL');?>
login/<?php echo mb_strtolower($_smarty_tpl->tpl_vars['name']->value, 'UTF-8');?>
/"><span class="fa fa-<?php echo mb_strtolower($_smarty_tpl->tpl_vars['name']->value, 'UTF-8');?>
"></span> <?php echo $_smarty_tpl->tpl_vars['name']->value;?>
</a>
                <?php } ?>
            </div>
        <?php }?>
    </form>
</div>
<?php echo iaSmarty::ia_print_js(array('files'=>'frontend/registration'),$_smarty_tpl);?>

<?php }} ?>
