File tree Expand file tree Collapse file tree 9 files changed +23
-17
lines changed Expand file tree Collapse file tree 9 files changed +23
-17
lines changed Original file line number Diff line number Diff line change 15
15
</head>
16
16
17
17
<body>
18
-
18
+ <?php
19
+ session_start ();
20
+ ?>
19
21
<div class="dancers">
20
22
<div id="navbar" class="navbar">
21
23
<ul>
22
- < li > < a href ="index.html "> Home Page</ a > </ li >
23
- < li > < a href ="MeetDancers.html "> Meet the Dancers</ a > </ li >
24
+ <li><a href="index.php ">Home Page</a></li>
25
+ <li><a href="MeetDancers.php ">Meet the Dancers</a></li>
24
26
<li><a href="createAcc.php">Create Account</a></li>
25
27
<li><a href="logIn.php">Log In</a></li>
26
28
</ul>
Original file line number Diff line number Diff line change 12
12
<body>
13
13
<div id="navbar" class="navbar">
14
14
<ul>
15
- <li><a href="index.html ">Home Page</a></li>
16
- <li><a href="MeetDancers.html ">Meet the Dancers</a></li>
15
+ <li><a href="index.php ">Home Page</a></li>
16
+ <li><a href="MeetDancers.php ">Meet the Dancers</a></li>
17
17
<li><a href="logInLanding.php">My Profile</a></li>
18
18
</ul>
19
19
</div>
Original file line number Diff line number Diff line change 11
11
<body>
12
12
<div id="navbar" class="navbar">
13
13
<ul>
14
- <li><a href="index.html #home">Home Page</a></li>
15
- <li><a href="MeetDancers.html ">Meet the Dancers</a></li>
14
+ <li><a href="index.php #home">Home Page</a></li>
15
+ <li><a href="MeetDancers.php ">Meet the Dancers</a></li>
16
16
</ul>
17
17
</div>
18
18
<div id="form">
Original file line number Diff line number Diff line change 27
27
<body>
28
28
<div id="navbar" class="navbar">
29
29
<ul>
30
- <li><a href="index.html ">Home Page</a></li>
31
- <li><a href="MeetDancers.html ">Meet the Dancers</a></li>
30
+ <li><a href="index.php ">Home Page</a></li>
31
+ <li><a href="MeetDancers.php ">Meet the Dancers</a></li>
32
32
<li><a href="logInLanding.php">My Profile</a></li>
33
33
</ul>
34
34
</div>
Original file line number Diff line number Diff line change 23
23
<body>
24
24
<div id="navbar" class="navbar">
25
25
<ul>
26
- <li><a href="index.html ">Home Page</a></li>
27
- <li><a href="MeetDancers.html ">Meet the Dancers</a></li>
26
+ <li><a href="index.php ">Home Page</a></li>
27
+ <li><a href="MeetDancers.php ">Meet the Dancers</a></li>
28
28
<li><a href="logInLanding.php">My Profile</a></li>
29
29
</ul>
30
30
</div>
Original file line number Diff line number Diff line change 11
11
</head>
12
12
13
13
<body>
14
+ <?php
15
+ session_start ();
16
+ ?>
14
17
<div id="navbar" class="navbar">
15
18
<ul>
16
- < li > < a href ="index.html "> Home Page</ a > </ li >
17
- < li > < a href ="MeetDancers.html "> Meet the Dancers</ a > </ li >
19
+ <li><a href="index.php ">Home Page</a></li>
20
+ <li><a href="MeetDancers.php ">Meet the Dancers</a></li>
18
21
<li><a href="createAcc.php">Create Account</a></li>
19
22
<li><a href="logIn.php">My Profile</a></li>
20
23
</ul>
Original file line number Diff line number Diff line change 11
11
<body>
12
12
<div id="navbar" class="navbar">
13
13
<ul>
14
- <li><a href="index.html ">Home Page</a></li>
15
- <li><a href="MeetDancers.html ">Meet the Dancers</a></li>
14
+ <li><a href="index.php ">Home Page</a></li>
15
+ <li><a href="MeetDancers.php ">Meet the Dancers</a></li>
16
16
</ul>
17
17
</div>
18
18
<div id="form">
Original file line number Diff line number Diff line change 11
11
<body>
12
12
<div id="navbar" class="navbar">
13
13
<ul>
14
- <li><a href="index.html ">Home Page</a></li>
15
- <li><a href="MeetDancers.html ">Meet the Dancers</a></li>
14
+ <li><a href="index.php ">Home Page</a></li>
15
+ <li><a href="MeetDancers.php ">Meet the Dancers</a></li>
16
16
</ul>
17
17
</div>
18
18
<?php
19
19
session_start ();
20
+
20
21
if (isset ($ _SESSION ['username ' ])) {
21
22
$ username = $ _SESSION ['username ' ];
22
23
echo "<h2>Welcome, $ username</h2> " ;
You can’t perform that action at this time.
0 commit comments