<div>
    <div class="">
        <div class="">
			<div class="page-hd" style="background-image: url(<?php print $site_url; ?>images/user.png)">
				<div class="bd-c">
					<h2 class="pre-social"><?php print $lang['register']; ?></h2>
				</div>
			</div>
			<div class="content-body">
		<?php if($jsondataFunctions['active-registrations']==1) { ?>
            <form role="form" method="post" action="">
				<?php
					include 'include/functions/register.php';
				?>
				<table class="table table-responsive-md ranking">
					<tbody>
						<tr>
							<td><?php print $lang['user-name']; ?>:</td>
							<td><input class="form-control" name="username" id="username" pattern=".{5,16}" maxlength="16" pattern="[A-Za-z0-9]" placeholder="<?php print $lang['user-name']; ?>..." required="" type="text" autocomplete="off">
							<p class="text-danger" id="checkname"></p>
							</td>
						</tr>
						<tr>
							<td><?php print $lang['password']; ?>:</td>
							<td><input class="form-control" name="password" id="password" pattern=".{5,16}" maxlength="16" placeholder="<?php print $lang['password']; ?>" required="" type="password"></td>
						</tr>
						<tr>
							<td><?php print $lang['rpassword']; ?>:</td>
							<td><input class="form-control" name="rpassword" id="rpassword" pattern=".{5,16}" maxlength="16" placeholder="<?php print $lang['password']; ?>" required="" type="password">
							<p class="text-danger" id="checkpassword"></p>
							</td>
						</tr>
						<tr>
							<td>Pin:</td>
							<td><input class="form-control" name="pin" id="pin" pattern=".{4,4}" maxlength="4" placeholder="Pin" required="" type="password">
							<p class="text-danger" id="checkpin"></p>
							</td>
						</tr>
						<tr>
							<td><?php print $lang['email-address']; ?>:</td>
							<td><input class="form-control" name="email" id="email" pattern=".{7,64}" maxlength="64" placeholder="ex@test.com" required="" type="email">
							</td>
						</tr>
						<tr>
							<td><?php print $lang['captcha-code']; ?>:</td>
							<td><div class="g-recaptcha" data-theme="dark" data-sitekey="<?php print $site_key; ?>"></div></td>
						</tr>
					</tbody>
				</table>
				<hr>
				<input type="submit" value="<?php print $lang['register']; ?>" class="btn btn-danger btn-lg btn-block" tabindex="7">
            </form>
		<?php } else { ?>
			<div class="alert alert-info" role="alert">
				<strong>Info!</strong> <?php print $lang['disabled-registrations']; ?>
			</div>
		<?php } ?>
        </div>
        </div>
    </div>

</div>