forked from MrTechno84/master-login-system
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
39 lines (26 loc) · 840 Bytes
/
index.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
31
32
33
34
35
36
37
38
39
<?php
/**
* MASTER LOGIN SYSTEM
* @author Mihai Ionut Vilcu ([email protected])
* June 2013
*
*/
include "inc/init.php";
$page->title = "Welcome to ". $set->site_name;
$presets->setActive("home"); // we highlith the home link
include 'header.php';
echo "
<div class=\"container\">
<div class=\"hero-unit\">
<h1>Welcome ".$user->filter->username." </h1>
<p>
This is a template for a simple website. It includes a user system with signup, login, password recovery and many more. It's a perfect startup for your projects.
</p>";
if(!$user->islg()) {
echo "<p>
<a class=\"btn btn-primary btn-large\" href=\"$set->url/register.php\">Sign Up</a>
<a class=\"btn btn-large\" href=\"$set->url/login.php\">Login</a>
</p>";
}
echo "</div></div> <!-- /container -->";
include 'footer.php';