-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMemberArea.php
More file actions
37 lines (31 loc) · 846 Bytes
/
MemberArea.php
File metadata and controls
37 lines (31 loc) · 846 Bytes
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
<?php
session_start();
$username = $_SESSION["username"];
Echo "<html>";
#$pageTitle = "Welcome $username";
Echo "<title>Logged As: $username</title>";
require('MemberArea.html');
echo "</html>";
echo "Welcome $username";
echo "<br>";
echo "<br>";
echo "<br>";
echo "<br>";
echo "<br>";
echo "<br>";
echo "<br>";
echo "<br>";
if(!file_exists('chat_room.html')) {
echo "<div style='width: 1000px; height: 500px;'>";
echo "<fieldset>";
echo "<legend>Chatroom: </legend>";
echo "chat offline!";
echo "<embed src='' height='90%' width='100%'>";
echo "<textarea name='reply' rows='1' cols='100' placeholder='reply' required ></textarea>";
echo "<input type='submit' value='Reply' disabled>";
echo "</fieldset>";
echo "</div>";
} else {
include('chat_room.html');
}
?>