-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchat2.html
More file actions
executable file
·53 lines (53 loc) · 1.7 KB
/
chat2.html
File metadata and controls
executable file
·53 lines (53 loc) · 1.7 KB
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
<!DOCTYPE html>
<!--
/*
* INTER-Mediator
* Copyright (c) INTER-Mediator Directive Committee (http://inter-mediator.org)
* This project started at the end of 2009 by Masayuki Nii msyk@msyk.net.
*
* INTER-Mediator is supplied under MIT License.
* Please see the full license for details:
* https://github.com/inter-mediator/inter-mediator/blob/master/dist-docs/License.txt
*/ -->
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>INTER-Mediator - Sample - Authorized Chat / MySQL</title>
<script type="text/javascript" src="chat.php"></script>
<script type="text/javascript" src="chat.js"></script>
</head>
<body>
<div id="wrapper">
<h1>Simple but Authorized Chat</h1>
<span><a href="index.html"><button>← Top Page</button></a></span>
<span data-im-control="enclosure post">
<span data-im-control="repeater">
<input type="text" data-im="chat@message">
<button data-im-control="post">Post</button>
</span>
<button onclick="javascript:INTERMediatorOnPage.logout()">Logout</button>
</span>
<div id="IM_NAVIGATOR">Navigation Controls by INTER-Mediator</div>
<div>ログインユーザ:<span id="loginuser"></span></div>
<table>
<thead>
<tr>
<th>Date and Time</th>
<th>User</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td data-im="chat2@postdt" data-im-format="datetime(middle)"></td>
<td data-im="chat2@user"></td>
<td data-im="chat2@message"></td>
</tr>
</tbody>
</table>
</div>
<footer>
<small>INTER-Mediator ©2021</small>
</footer>
</body>
</html>