You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

87 lines
3.8 KiB

<!DOCTYPE html>
<html>
{if isset($error) && $error != ''}
<div class="alert alert-danger">{$error}</div>
{/if}
{if isset($notice) && $notice != ''}
<div class="alert alert-info">{$notice}</div>
{/if}
{if isset($sent) && $sent != ''}
<div class="alert alert-info">A link to reset your password has been sent to your e-mail account.</div>
{/if}
<head>
<script type="text/javascript">
/* <![CDATA[ */
var WWW_TOP = "{$smarty.const.WWW_TOP}";
var SERVERROOT = "{$smarty.const.WWW_TOP}/";
var UID = "{if $loggedin=="true"}{$userdata.id}{else}{/if}";
var RSSTOKEN = "{if $loggedin=="true"}{$userdata.rsstoken}{else}{/if}";
/* ]]> */
</script>
<meta charset="UTF-8">
<title>{$page->meta_title}{if $page->meta_title != "" && $site->metatitle != ""} - {/if}{$site->metatitle} | Registration Page</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
</head>
{if $showregister != "0"}
<body class="register-page">
<div class="register-box">
<div class="register-logo">
<a href="{$smarty.const.WWW_TOP}/"><b>{$site->title}</b></a>
</div>
<div class="register-box-body">
<p class="login-box-msg">Register a new membership</p>
<form method="post" action="register?action=submit{$invite_code_query}">
<div class="form-group has-feedback">
<input autocomplete="off" id="username" name="username" value="{$username}" type="text" class="form-control" placeholder="Username"/>
<span class="glyphicon glyphicon-user form-control-feedback"></span>
<div class="hint">Should be at least three characters and start with a letter.</div>
</div>
<div class="form-group has-feedback">
<input autocomplete="off" id="email" name="email" value="{$email}" type="email" class="form-control" placeholder="Email"/>
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input id="password" autocomplete="off" name="password" value="{$password}" type="password" class="form-control" placeholder="Password"/>
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
<div class="hint">Should be at least six characters long.</div>
</div>
<div class="form-group has-feedback">
<input autocomplete="off" id="confirmpassword" name="confirmpassword" value="{$confirmpassword}" type="password" class="form-control" placeholder="Retype password"/>
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
</div>
<div class="row">
<div class="col-xs-8">
<div class="checkbox icheck">
<label>
<input type="checkbox"> I agree to the <a href="{$smarty.const.WWW_TOP}/terms-and-conditions">terms</a>
</label>
</div>
</div><!-- /.col -->
<div class="col-xs-4">
<button type="submit" value="Register" class="btn btn-primary btn-block btn-flat">Register</button>
</div><!-- /.col -->
<hr>
{$page->smarty->fetch('captcha.tpl')}
</div>
<a href="{$smarty.const.WWW_TOP}/login" class="text-center">I already have a membership</a>
</form>
</div><!-- /.form-box -->
</div><!-- /.register-box -->
<!-- iCheck -->
<script src="{$smarty.const.WWW_THEMES}/{$theme}/plugins/iCheck/icheck.min.js" type="text/javascript"></script>
<script>
$(function () {
$('input').iCheck({
checkboxClass: 'icheckbox_square-blue',
radioClass: 'iradio_square-blue',
increaseArea: '20%' // optional
});
});
</script>
</body>
{/if}
</html>