<?php
/* Smarty version 3.1.33, created on 2024-01-04 14:43:03
  from '/home/excellentwriting/dashboard.topgradewriters.org/content/themes/dashboard/sign.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_6596c3f70e06b4_13851148',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '92ac5f57c0ee5eb809eee8c1b904127deaf14404' => 
    array (
      0 => '/home/excellentwriting/dashboard.topgradewriters.org/content/themes/dashboard/sign.tpl',
      1 => 1656689816,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:_partials/head.tpl' => 1,
    'file:_partials/header.tpl' => 1,
    'file:_partials/_js_files.tpl' => 1,
  ),
),false)) {
function content_6596c3f70e06b4_13851148 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<!doctype html>
<html lang="en-US">
  	<head>
		<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_13272475636596c3f70cfb44_67444074', 'head');
?>

	</head>

	<body class="<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'classnames' ][ 0 ], array( $_smarty_tpl->tpl_vars['body_classes']->value )), ENT_QUOTES, 'UTF-8');?>
 <?php if ($_smarty_tpl->tpl_vars['theme_mode_night']->value) {?>night-mode<?php }?>">
        <div class="main-wrapper">

			<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_12955170296596c3f70d9eb2_89754812', 'header');
?>


			<!-- page content -->
			<div class="container mt20">
				<div class="row">

					<div class="col-xs-12 col-sm-4 offset-sm-4">
						<div class="card card-login">
							
							<!-- signin -->
							<div class="js_panel <?php if ($_smarty_tpl->tpl_vars['do']->value == 'up') {?>x-hidden<?php }?>">
								<div class="card-header"> 
									<img class="card-img" src="/static/images/square1.jpg"> 
									<h4 class="card-title">Login</h4> 
								</div>
								<div class="card-body">
									<?php if ($_smarty_tpl->tpl_vars['highlight']->value) {?><div class="alert alert-warning" role="alert"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['highlight']->value, ENT_QUOTES, 'UTF-8');?>
</div><?php }?>

									<form class="js_ajax-forms" data-url="/signin">
										<div class="form-group"> 
											<div class="input-group"> 
												<div class="input-group-prepend"> 
													<span class="input-group-text"><i class="far fa-user fa-fw"></i></span> 
												</div> 
												<input name="email" type="text" class="form-control" placeholder='Email' required>
											</div> 
										</div>

										<div class="form-group"> 
											<div class="input-group"> 
												<div class="input-group-prepend"> 
													<span class="input-group-text"><i class="fas fa-key fa-fw"></i></span> 
												</div> 
												<input name="password" type="password" class="form-control" placeholder='Password' required>
											</div> 
										</div>
										
										<div class="custom-control custom-checkbox mb10">
											<input type="checkbox" class="custom-control-input" name="remember" id="remember">
											<label for="remember" class="custom-control-label">Remember me</label>
											<a class="pull-right" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
/forgot-password">Forgotten password?</a>
										</div>

										<!-- error -->
										<div class="alert alert-danger mt10 x-hidden" role="alert"></div>
										<!-- error -->

										<button type="submit" class="btn btn-block btn-info">Login</button>
									</form>

									<?php if ($_smarty_tpl->tpl_vars['registration_enabled']->value) {?>
										<div class="mt20 text-center">
											Not registered? <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
/signup" class="js_toggle-panel text-link">Create an account</a>
										</div>
									<?php }?>
								</div>
							</div>
							<!-- signin -->

							<?php if ($_smarty_tpl->tpl_vars['registration_enabled']->value) {?>
								<!-- signup -->
								<div class="js_panel <?php if ($_smarty_tpl->tpl_vars['do']->value != 'up') {?>x-hidden<?php }?>">
									<div class="card-header"> 
										<img class="card-img" src="/static/images/square1.jpg"> 
										<h4 class="card-title">Register</h4> 
									</div>
									<div class="card-body">
										<form class="js_ajax-forms" data-url="/signup">
											<div class="form-group"> 
												<div class="input-group"> 
													<div class="input-group-prepend"> 
														<span class="input-group-text"><i class="fas fa-user fa-fw"></i></span> 
													</div> 
													<input name="first_name" type="text" class="form-control" placeholder='First name' required>
												</div> 
											</div>

											<div class="form-group"> 
												<div class="input-group"> 
													<div class="input-group-prepend"> 
														<span class="input-group-text"><i class="fas fa-user fa-fw"></i></span> 
													</div> 
													<input name="last_name" type="text" class="form-control" placeholder='Last name' required>
												</div> 
											</div>
											<div class="form-group"> 
												<div class="input-group"> 
													<div class="input-group-prepend"> 
														<span class="input-group-text"><i class="fas fa-envelope fa-fw"></i></span> 
													</div> 
													<input name="email" type="email" class="form-control" placeholder='Email' required>
												</div> 
											</div>
											<div class="form-group"> 
												<div class="input-group"> 
													<div class="input-group-prepend"> 
														<span class="input-group-text"><i class="fas fa-key fa-fw"></i></span> 
													</div> 
													<input name="password" type="password" class="form-control" placeholder='Password' required>
												</div> 
											</div>
											<div class="js_hidden-section x-hidden">
												<div class="form-group form-row">
													<label for="gender">I am</label>
													<select name="gender" id="gender" class="form-control" required>
														<option value="-1">Select Gender:</option>
														<option value="male">Male</option>
														<option value="female">Female</option>
													</select>
												</div>
												
												<p class="text-secondary">
													By clicking Sign Up, you agree to our <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
/terms">Terms</a>
												</p>
											</div>

											<!-- error -->
											<div class="alert alert-danger mt10 x-hidden" role="alert"></div>
											<!-- error -->

											<button type="submit" class="btn btn-block btn-info">Sign Up</button>
											
										</form>
									
										<div class="mt20 text-center">Have an account? <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
/signin" class="js_toggle-panel text-link">Login Now</a></div>
									</div>
								</div>
								<!-- signup -->
							<?php }?>

						</div>
					</div>


				</div>
			</div>
			<!-- page content -->
        </div>
	</body>

    <?php $_smarty_tpl->_subTemplateRender("file:_partials/_js_files.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
    
</html>
<?php }
/* {block 'head'} */
class Block_13272475636596c3f70cfb44_67444074 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'head' => 
  array (
    0 => 'Block_13272475636596c3f70cfb44_67444074',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

			<?php $_smarty_tpl->_subTemplateRender('file:_partials/head.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
		<?php
}
}
/* {/block 'head'} */
/* {block 'header'} */
class Block_12955170296596c3f70d9eb2_89754812 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'header' => 
  array (
    0 => 'Block_12955170296596c3f70d9eb2_89754812',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

				<?php $_smarty_tpl->_subTemplateRender('file:_partials/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
			<?php
}
}
/* {/block 'header'} */
}
