-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservices.php
153 lines (107 loc) · 2.84 KB
/
services.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
<?php
session_start();
if(!(isset($_SESSION["logged"]) && $_SESSION["logged"] === true)){
header("location: loginregister.html");
exit;
}
?>
<!DOCTYPE HTML>
<HTML>
<link rel = "stylesheet" type = "text/css" href = "style.css" />
<head>
<title>Services</title>
<link rel = "icon" href = "logo icon min png.png" type = "image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="top">
<div class="logo">
<a href="index.php"><img src="Images/logo.png" class="logo" width="100px" height="100px"/></a>
</div>
<div class="title">
<h1>TITAN MARTIAL CLUB</h1>
</div>
<div class="links">
<a href="index.php">Home</a>
<a href="about.php">About Us</a>
<a href="services.php">Services</a>
<a href="contacts.php">Contacts</a>
<div class="loginsignup">
<?php
if($_SESSION['logged']===true)
{
$img = $_SESSION['image'];
$user= $_SESSION['username'];
echo ('<img src="data:image/jpeg;base64,'.base64_encode($img).'">');
echo '
<select name="forma" onchange="location = this.value;">
<option value="">';
echo ($user);
echo '</option>
<option value="edit.php">Edit My Details</option>
<option value="logout.php">Log Out</option>
</select>';
}
elseif($_SESSION['logged']===false)
{
echo '<a href="loginregister.html"><span>Login/ Sign Up</span></a>';
}
?>
</div>
</div>
</div>
</div>
<br><br><br><br><br>
<div class="services">
<style>
.services{
background-color: white;
padding: 5px;
}
</style>
</div>
</body>
<footer>
<div class="below">
<div class="history">
<h3>History</h3>
<p>Titan Martial Club was formed in early 2020 by the Founders Andrew Konde and Lescer Kanjele, with the aim of Mixed Martial Arts Training for overall body fitness, self- defense, and Martial Arts Demonstrations. </p>
</div>
<div class="contacts">
<h3>Contacts</h3>
<p>Tel:</p>
<p>+254711190225</p>
<p>+254746921790</p>
<p>Email: [email protected]</p>
</div>
<div class="links">
<h3>Social Media</h3>
<a href="https://www.youtube.com/channel/UCA0mzeWRmmV6_BcQucPGC5A" target="_blank">YouTube</a><br><br>
<a href="https://www.instagram.com/titan_martial_club/" target="_blank">Instagram</a><br><br>
<a href="https://www.facebook.com/titanmartialclub" target="_blank">Facebook Page</a><br><br>
<a href="https://www.facebook.com/groups/410427213350712" target="_blank">Facebook Public Group</a><br><br>
</div>
<style>
.below{
background-color: red;
display: flex;
position: relative;
width: 100%;
bottom: 0px;
left: 0px;
}
.below div{
display: inline-block;
text-align: center;
background-color: black;
text-align: left;
color: white;
/*border: 3px solid blue;*/
width: 33.33%;
margin: 0px;
padding: 15px;
}
</style>
</div>
</footer>
</HTML>