-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchive.php
More file actions
53 lines (53 loc) · 1.73 KB
/
archive.php
File metadata and controls
53 lines (53 loc) · 1.73 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
<?
include ('./config.php');
include ($tomb[library]);
?>
<script type="text/javascript">
var max_msg = "<?=$tomb[max_view] ; ?>";
var max_str = "<?=$tomb[max_str] ; ?>";
var smiles = <?=$tomb[smiles] ; ?>;
var refresh_time = <?=$tomb[refresh_time] ; ?>;
var isDate = <?=$tomb[show_date] ; ?>;
var isUrl = <?=$tomb[show_url] ; ?>;
var isCodes = <?=$tomb[show_codes] ; ?>;
fileName='archive.php';
</script>
<html>
<head>
<title>Àðõèâ ñîîáùåíèé ÷àòà</title>
<META content="text/html; charset=windows-1251" http-equiv=Content-Type>
<?if($tomb[refresh_time]>0){?>
<meta http-equiv="refresh" content="<?=$tomb[refresh_time]; ?>; url=./archive.php">
<?}?>
<meta name='author' content='Copyright (c) ÒåõíÎêðàÒ aka Êàìåíñêèé Êèðèëë Àëåêñååâè÷, 2006'>
<meta name="document-state" content="dynamic">
<link href="./skins/<?=$tomb[skin];?>/chat.css" rel="StyleSheet" type="text/css">
</head>
<body>
<!-- Îïðåäåëåíèå ìàññèâîâ ñìàéëèêîâ -->
<script language="javascript" type="text/javascript" src="./smiles.js">
</script>
<!-- Îïðåäåëåíèå áàçîâûõ ïåðåìåííûõ è ôóíêöèé -->
<script language="JavaScript" type="text/javascript" src="./skins/<?=$tomb[skin];?>/chat.js">
</script>
<div class="tableAdd" style="height:100%; width:100%; overflow:auto">
<table id="chatTable">
<tr height=10 align=center valign=middle>
<td class=archive_link align=center width=50%>
<a href="javascript:window.close();">Çàêðûòü</a>
</td>
<td class=archive_link align=center width=50%>
<a href="javascript:document.location.reload(true);">Îáíîâèòü</a>
</td>
</tr>
</table>
<table id="chatTable">
<?
$value = $database->read_db($tomb[database]);
$min = $tomb[max_view]-1;
$database->print_msgs($min, $tomb[max_total], $value);
?>
</table>
</div>
</body>
</html>