forked from katezach/FinalProjectPSPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinsidepage.php
121 lines (106 loc) · 4.16 KB
/
insidepage.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
<!DOCTYPE html>
<html>
<head>
<!--Title and favicon-->
<title>Home | Goal City</title>
<link rel="icon" type="image/png" sizes="32x32" href="media/withoutString.png">
<!-- Required meta tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--CSS files-->
<link rel="stylesheet" href="insidepage.css">
<!--Bootstrap-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<!--Social Media Icons-->
<script src="https://kit.fontawesome.com/9832cc157c.js" crossorigin="anonymous"></script>
</head>
<body>
<?php session_start();
if($_SESSION['logged']==0){
echo $_SESSION['logged'];
echo "<script> location.href='login.php'; </script>";
}
?>
<!--Navigation Bar-->
<div class="topnav">
<a href="insidepage.php">
<img src="media/logo.png" alt="Logo" height="110px" width="100px">
</a>
<div class="topnav-right">
<div class="dropdown-username">
<button onclick="myFunction()" class="btn-primary"><?php echo $_SESSION['user'] , '<i class="fas fa-caret-down" style="float:right;margin-left:110px;margin-top:-20px"></i>' ; ?></button>
<div id="myDropdown" class="dropdown-content">
<a id="profile" href="profile.php">My Profile</a>
<a id="logout" href="index.php?from=<?php echo "out";?>">Log out</a></li>
</div>
</div>
<script>
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");
}
// Close the dropdown if the user clicks outside of it
window.onclick = function(event) {
if (!event.target.matches('.dropbtn')) {
var dropdowns = document.getElementsByClassName("dropdown-content-username");
var i;
for (i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) {
openDropdown.classList.remove('show');
}
}
}
}
</script>
</div>
</div>
<div class="background-container">
<!--Timeline-->
<div class="timeline">
<div class="paragraphscontainer left">
<div class="boxescontent">
<h2><a href="housing.php">HOUSING</a></h2>
<p>The resilient of buildings and living conditions determine the pace of sustainable development of a city.
</p>
</div>
</div>
<div class="paragraphscontainer right">
<div class="boxescontent">
<h3><a href="transportation.php">TRANSPORTATION</a></h3>
<p>The viability of a city is not defined if everything does not move in the right direction at the right
pace.</p>
</div>
</div>
<div class="paragraphscontainer left">
<div class="boxescontent">
<h2><a href="accessibility.php">ACCESIBILITY</a></h2>
<p>If the city itself excludes her citizens from her development it will never become sustainable.</p>
</div>
</div>
<div class="paragraphscontainer right">
<div class="boxescontent">
<h3><a href="heritage.php">HERITAGE</a></h3>
<p>A city will never be able to promote sustainability without first highlighting its heritage.</p>
</div>
</div>
<div class="paragraphscontainer left">
<div class="boxescontent">
<h2><a href="environment.php">ENVIRONMENT</a></h2>
<p>No sustainability matters unless we first ensure a healthy lifestyle in cities.</p>
</div>
</div>
<div class="paragraphscontainer right">
<div class="boxescontent">
<h3><a href="cooperation.php">COOPERATION</a></h3>
<p>In life no one has succeeded alone.</p>
</div>
</div>
</div>
</div>
<?php include('footer.php') ?>
</body>
</html>