-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin2.php
66 lines (65 loc) · 2.37 KB
/
admin2.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
<!DOCTYPE html> <!-- Объявление формата документа -->
<html>
<head> <!-- Техническая информация о документе -->
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<meta http-equiv='X-UA-Compatible' content='ie=edge'> <!-- Определяем кодировку символов документа -->
<title>...</title> <!-- Задаем заголовок документа -->
<link rel='stylesheet' type='text/css' href='style222.css'>
<link href='https://fonts.googleapis.com/css2?family=B612+Mono:ital@1&display=swap' rel='stylesheet'>
<script type='text/javascript' src='jquery-min-3.5.1.js'></script>
<script type="text/javascript">$(window).on('load', function () {
var $preloader = $('#p_prldr'),
$svg_anm = $preloader.find('.svg_anm');
$svg_anm.fadeOut();
$preloader.delay(500).fadeOut('slow');
});
</script>
</head>
<body>
<div id="p_prldr">
<div class="svg_anm"></div>
</div>
<div class="vce">
<div class="chatcon">
<div class="bigchat">
<div class="chatlist"><div class="info" id='alert'></div></div>
<div class="vnok">
<div class="str1">
<div class="str2"><img src="spisok2.svg"></div>
<div class="sobname"></div>
</div>
<div class='chats'>
<div class="info2"><div class="vnname"></div><div class="vntime"></div></div>
<div class="chat-result" >
</div>
<div id="p_prl">
<div class="svg_an"></div>
</div>
<div class="info3"></div>
</div>
<div class="control">
<textarea <?php echo 'id="'.$form.'"' ?> name="chat-message" class="chat" placeholder="Введите сообщение"></textarea>
<div class="send">Send</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<script type="text/javascript">
var d = new Date();
var loc = Date.UTC(d.getFullYear(), d.getMonth(), d.getDate(), d.getHours(), d.getMinutes(), d.getSeconds());
window.time_zone = ((<?php echo time();?> - loc/1000)/60).toFixed(0);
function two(num) { return ("0" + num).slice(-2);}
b=document.querySelector('.bigchat');
b.style.height=document.documentElement.clientHeight-60+'px';
function mydate(t) {
var d = new Date((t-window.time_zone*60)*1000);
return two(d.getUTCDate())+'.'+ two(d.getUTCMonth()+1)+'.'+d.getUTCFullYear()+' в '+ two(d.getUTCHours())+':'+ two(d.getUTCMinutes());
}
</script>
<script type="text/javascript" src="admin.js"></script>
</footer>
</body>
</html>