This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.php
162 lines (152 loc) · 5.31 KB
/
about.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
150
151
152
153
154
155
156
157
158
159
160
161
162
<!-- Profilepicture for about.php -->
<?php
session_start();
$email = $_SESSION['email'];
include 'connect_mysql/connect.php';
$conn = OpenCon();
$sql = "SELECT * FROM Customer WHERE EMail='$email'";
$result = $conn->query($sql);
$row = $result->fetch_assoc();
$id = $row['CustomerID'];
$sqlimage = "SELECT name FROM images WHERE CustomerID='$id'";
$resultimage = mysqli_query($conn,$sqlimage);
$rowimage = mysqli_fetch_array($resultimage);
$image = $rowimage['name'];
$image_src = "upload/".$image;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="main.css" />
<title>About us</title>
</head>
<body>
<header class="block" style="justify-content: left;">
<div id="sideMenu">
<div style="align-self: flex-start;">
<a href="home.php"
><div class="block sideMenuItem">
<img
src="https://www.svgrepo.com/show/14443/home.svg"
class="sideMenuIcon"
/>Home
</div></a
>
<a href="budget.php"
><div class="block sideMenuItem">
<img
src="https://www.svgrepo.com/show/17167/pie-chart.svg"
class="sideMenuIcon"
/>Budget
</div></a
>
<a href="budget-planner/budget-planner.php"
><div class="block sideMenuItem">
<img
src="https://www.svgrepo.com/show/11983/from-a-to-z.svg"
class="sideMenuIcon"
/>Budget planner
</div></a
>
<a href="achievements.php"
><div class="block sideMenuItem">
<img
src="https://www.svgrepo.com/show/84275/trophy.svg"
class="sideMenuIcon"
/>Achievements
</div></a
>
</div>
<div style="align-self: flex-end; margin-bottom: 40px;">
<a href="profile.php"
><div class="block sideMenuItem">
<img
src="https://www.svgrepo.com/show/7025/user.svg"
class="sideMenuIcon"
/>Profile
</div></a
>
<a href="faq.php"
><div class="block sideMenuItem">
<img
src="https://www.svgrepo.com/show/348371/help.svg"
class="sideMenuIcon"
/>Help
</div></a
>
<a href="login/logout.php"
><div class="block sideMenuItem">
<img
src="https://www.svgrepo.com/show/334066/log-out-circle.svg"
class="sideMenuIcon"
/>Log out
</div></a
>
</div>
</div>
<img
id="menuClosed"
alt="menuLogo"
class="headerLogo"
src="https://www.svgrepo.com/show/336031/hamburger-button.svg"
style="position: fixed;"
/>
<img
src="Pictures/logo_header.png"
alt="logo_header"
class="finance-logo"
/>
<a href="profile.php" style="margin-top: 2%; margin-right: 1%;position: fixed; right: 0">
<img
src="<?php echo $image_src; ?>"
alt="profile_photo"
class="profile-logo"
/>
</a>
</header>
<main>
<h1 style="text-align: center;">About</h1>
<section class="block" style="flex-wrap: wrap-reverse;">
<div class="contentBox" style="max-width: 640px;">
<h2>Why Finance Budgeting App?</h2>
<p>
Are you not able to keep track of your economy and spendings? Do
you want to save more money? Or do you just need a place to organize your spendings?
Then Finance Budgeting App is for you!
</p>
</div>
<div class="contentBox" style="max-width: 640px;">
<h2>About us</h2>
<p>
The Finance Budgeting App was created 2022 and are maintained by six IT
students attending USN Ringerike. Students are known to have a tight budget,
which is something we all had experienced.
</p>
<p>
Therefore, we wanted to make this app so we could both help ourselves and others
wether you are a student or not. If you have any questions about The Finance Budgeting
App, please feel free to <a href="contactForm/index.php"><u>contact and ask us!</u></a>
</p>
</div>
</section>
</main>
<footer>
<ul>
<li>
<a href="home.php">Home</a>
</li>
<li>
<a href="faq.php">FAQ</a>
</li>
<li>
<a href="contactForm/index.php">Contact</a>
</li>
</ul>
<p>© 2021 Finance Budget App AS</p>
</footer>
<script src="main.js"></script>
</body>
</html>