-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.php
30 lines (27 loc) · 992 Bytes
/
signup.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
include_once "common/base.php";
$pageTitle = "Register";
include_once "common/header.php";
if(!empty($_POST['username'])):
include_once "inc/class.users.inc.php";
$users = new FocusUsers($db);
echo $users->createAccount();
else:
?>
<div class="inner cover">
<form class="form-horizontal" role="form" method="post" action="signup.php" id="registerform">
<div class="col-md-6 col-md-offset-3">
<div class="form-group">
<!-- <label for="username" class="control-label col-xs-2">Email</label> -->
<input type="text" class="form-control" id="username" name="username" placeholder="Email" value="">
</div>
<div class="form-group">
<button type="submit" name="register" id="register" class="btn btn-primary btn-block">Sign Up</button>
</div>
</div>
</form>
</div>
<?php
endif;
include_once 'common/close.php';
?>