-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.php
150 lines (125 loc) · 6.73 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?php
session_start();
// var_dump($_SESSION['username']); die();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="description" content="">
<meta name="og:title" property="og:title" content="">
<link href="index.php" rel="canonical">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Poppins:400,700,900&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/36afc40636.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/navbar.css">
<link rel="icon" type="image/x-icon" href="./img/Purple logo Group.png">
<title>Deimos' Networth Calculator | Calculate your networth</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-light container-fluid" id="header__nav">
<a class="navbar-brand" href="index.php">
<img src="./img/networth logo.svg">
<span class=" text-light header__nav__brand ml-3 mt-2 font-weight-bold">NetWorth</span>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto navbar__menu">
<?php if(isset($_SESSION['username'])): ?>
<form action="dashboard.php">
<li class="nav-item active">
<button type="submit" class="m-3 pt-1 pl-3 pr-3 pb-1">Dashboard</button>
</li>
</form>
<form action="contact.php" method="GET">
<li>
<button type="submit" class="m-3 pt-1 pl-3 pr-3 pb-1" id="btn-css" name="contact">Contact Us</button>
</li>
</form>
<form action="faq.php" method="GET">
<li>
<button type="submit"class="m-3 pt-1 pl-3 pr-3 pb-1" name="faq">FAQs</button>
</li>
</form>
<form action="about.php" method="GET">
<li>
<button type="submit" class="m-3 pt-1 pl-3 pr-3 pb-1" id="btn-css" name="contact">About Us</button>
</li>
</form>
<form action="server.php" method="GET">
<li>
<button type="submit" class="m-3 pt-1 pl-3 pr-3 pb-1" id="btn-css" name="logout">Logout</button>
</li>
</form>
<?php else: ?>
<form action="login.php">
<li class="nav-item active">
<button type="submit" class="m-3 pt-1 pl-3 pr-3 pb-1">Log in</button>
</li>
</form>
<form action="contact.php">
<!-- <form action="login.php">
<li class="nav-item">
<button class="m-3 pt-1 pl-3 pr-3 pb-1">Contact Us</button>
</li>
</form> -->
<form action="contact.php" method="GET">
<li>
<button type="submit" class="m-3 pt-1 pl-3 pr-3 pb-1" id="btn-css" name="contact">Contact Us</button>
</li>
</form>
<form action="about.php" method="GET">
<li>
<button type="submit" class="m-3 pt-1 pl-3 pr-3 pb-1" id="btn-css" name="contact">About Us</button>
</li>
</form>
<form action="faq.php" method="GET">
<li>
<button type="submit" class="m-3 pt-1 pl-3 pr-3 pb-1" id="btn-css" name="faq">FAQs</button>
</li>
</form>
<?php endif; ?>
</ul>
</div>
</nav>
</header>
<section>
<main class="container">
<div class="row" style="margin-top:-20px;">
<div class="main_pad col-xs-12 col-sm-12 col-md-6 col-lg-7">
<h1 class="main__caption mt-1 mb-3">Your 'Net Worth' is your financial strength. </h1>
<p class="main__description">Use Networth to calculate the true financial worth for you and your friends. Get a FREE certificate</p>
<div class="line-through"></div>
<div class="description__advantages">
<p>What does this mean?</p>
<p><i class="fas fa-check pr-3"></i>Begin planning for financial freedom</p>
<p><i class="fas fa-check pr-3"></i>Begin plotting your future projections</p>
<p><i class="fas fa-check pr-3"></i>or just use it for fun</p>
</div>
<?php if(!isset($_SESSION['username'])): ?>
<form action="login.php">
<button class="get-started pl-4 pr-4 mt-3 pt-2 pb-2" style="margin-bottom:40px;">Get Started</button>
</form>
<?php else: ?>
<form action="dashboard.php">
<button class="get-started pl-4 pr-4 mt-3 pt-2 pb-2" style="margin-bottom:40px;">Dashboard > ></button>
</form>
<?php endif; ?>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-5 text-center">
<img class="land-logo" src='./img/deimo-networth.png' width="500px">
</div>
</div>
</main>
</section>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</body>
</html>