Skip to content

Commit 8b44671

Browse files
Add files via upload
0 parents  commit 8b44671

23 files changed

+10325
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

activate.php

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
3+
<?php include("includes/header.php") ?>
4+
5+
<?php include("includes/nav.php") ?>
6+
7+
8+
9+
10+
11+
<div class="jumbotron">
12+
<h1 class="text-center">Activate <?php activate_user(); ?> </h1>
13+
</div>
14+
15+
16+
17+
</div> <!--Container-->
18+
19+
20+
21+
22+
23+
</body>
24+
</html>

admin.php

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php include("includes/header.php") ?>
2+
3+
<?php include("includes/nav.php") ?>
4+
5+
6+
7+
<div class="jumbotron">
8+
<h1 class="text-center"><?php if(logged_in()){
9+
echo "Logged In";
10+
}else{
11+
redirect("index.php");
12+
}
13+
14+
?></h1>
15+
</div>
16+
17+
18+
19+
20+
21+
<?php include("includes/footer.php") ?>

code.php

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<?php include("includes/header.php") ?>
2+
3+
4+
<div class="row">
5+
<div class="col-lg-6 col-lg-offset-3">
6+
7+
<?php display_message (); ?>
8+
9+
<?php validate_code (); ?>
10+
11+
12+
<div class="alert alert-success alert-dismissible" role="alert">
13+
<button type="button" class="close" data-dismiss="alert">
14+
<span aria-hidden="true">×</span><span class="sr-only">Close</span>
15+
</button>We have a sent a security code to your email <span>@[email protected]</span>
16+
</div>
17+
</div>
18+
</div>
19+
20+
<div class="row">
21+
<div class="col-lg-6 col-lg-offset-3 col-md-6 col-md-offset-3">
22+
<div class="alert-placeholder">
23+
24+
</div>
25+
<div class="panel panel-success">
26+
<div class="panel-body">
27+
<div class="row">
28+
<div class="col-lg-12">
29+
<div class="text-center"><h2><b> Enter Code</b></h2></div>
30+
<form id="register-form" method="post" role="form" autocomplete="off">
31+
<div class="form-group">
32+
<input type="text" name="code" id="code" tabindex="1" class="form-control" placeholder="##########" value="" autocomplete="off" required/>
33+
</div>
34+
<div class="form-group">
35+
<div class="row">
36+
37+
<div class="col-lg-3 col-lg-offset-2 col-md-3 col-md-offset-2 col-sm-3 col-sm-offset-2 col-xs-6">
38+
<input type="submit" name="code-cancel" id="code-cancel" tabindex="2" class="form-control btn btn-danger" value="Cancel" />
39+
40+
</div>
41+
<div class="col-lg-3 col-lg-offset-2 col-md-3 col-md-offset-2 col-sm-3 col-sm-offset-2 col-xs-6">
42+
<input type="submit" name="code-submit" id="recover-submit" tabindex="2" class="form-control btn btn-success" value="Continue" />
43+
44+
</div>
45+
46+
</div>
47+
</div>
48+
<input type="hidden" class="hide" name="token" id="token" value="">
49+
</form>
50+
</div>
51+
</div>
52+
</div>
53+
</div>
54+
</div>
55+
</div>
56+
57+
<?php include("includes/footer.php") ?>

0 commit comments

Comments
 (0)