-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.php
91 lines (83 loc) · 3.45 KB
/
index.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
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6 lte9 lte8 lte7" lang="en"><![endif]-->
<!--[if IE 7 ]><html class="ie ie7 lte9 lte8 lte7" lang="en"><![endif]-->
<!--[if IE 8 ]><html class="ie ie8 lte9 lte8" lang="en"><![endif]-->
<!--[if IE 9 ]><html class="ie ie9 lte9" lang="en"><![endif]-->
<!--[if gt IE 9]><!--><html class="" lang="en"><!--<![endif]-->
<head>
<meta name='copyright' content='Copyright 2014. CASUAL-Dev Ms-RL License http://www.microsoft.com/en-us/openness/licenses.aspx'>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-cache">
<meta property="og:title" content="Adam Outler's Minimal Chat Extreme"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://chat.adamoutler.com"/>
<meta name=viewport content="width=device-width, initial-scale=1,user-scalable=no">
<meta property="languate" content="english"/>
<meta property="recipient" content="everyone"/>
<meta property="agent" content="user"/>
<meta property="instrument" content="Adam Outler's chat"/>
<meta property="participant" content="user"/>
<title>Minimal Chat Extreme</title>
<style>
<?php echo file_get_contents('css/style.css'); ?>
</style>
</head>
<body id="body" itemscope itemtype="https://schema.org/CommunicateAction">
<div class="header">
<div class="menubutton"><?php echo htmlspecialchars($_GET["room"]); ?> Chat</div>
<div class="more has-menu">
<i class="fa fa-ellipsis-v"></i>
<div class="menu">
<ul>
<li><label class="clear">Clear Chat</label></li>
<li><label class="change-username">Change Username</label></li>
<li class="notifications"><label>Enable Notifications <input type="checkbox" class="enable-notifications"></label></li>
</ul>
</div>
</div>
<div class="name"></div>
</div>
<div class="chatarea">
</div>
<div class="inputarea">
<input class="message" type="text" placeholder="Send chat message"/>
<div class="send"><i class="fa fa-play"></i></div>
</div>
<div class="username-dialog dialog">
<p class="title">Change Username</p>
<input type="text" placeholder="Username" class="username"/>
<div class="button submit">Update</div><div class="button cancel">Cancel</div>
<div class="clear"></div>
</div>
<!--Footer Scripts-->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "CommunicateAction",
"agent": {
"@type": "Person",
"name": "User"
},
"recipient": {
"@type": "Person",
"name": "User"
}
}
</script>
<script>
<?php if(isset($_GET["room"]) && !empty($_GET["room"])){
$room = $_GET["room"];
}else {
$room = "N";
}
?>
var room = <?php echo '"'.$room.'"'; ?>
</script>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="js/scripts.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Roboto+Slab:400,700,300' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" href="favicon.ico">
</body>
</html>