-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.php
57 lines (46 loc) · 1.42 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
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- ** CSS ** -->
<!-- base library -->
<!--link rel="stylesheet" type="text/css" href="../ext-sources/resources/css/ext-all.css" /-->
<link href="imageviewer.css" rel="stylesheet" />
<!-- overrides to base library -->
<!-- ** Javascript ** -->
<!-- ExtJS library: base/adapter -->
<script src="ext-sources/adapter/ext/ext-base.js"></script>
<!-- ExtJS library: all widgets -->
<script src="ext-sources/ext-all.js"></script>
<!-- overrides to library -->
<!-- extensions -->
<script src="imageviewer.js"></script>
<!-- page specific -->
<style type="text/css">
body {
background-color: black;
color: white;
text-align: center;
}
img.thumb {
border: 5px solid #ddd;
margin: 3px;
}
</style>
<script type="text/javascript">
// Path to the blank image should point to a valid location on your server
Ext.BLANK_IMAGE_URL = 'ext-sources/resources/images/default/s.gif';
Ext.onReady(function() {
Ext.ux.imageViewer.register('#imagebox');
Ext.ux.imageViewer.slideshowDelay = 5000;
Ext.ux.imageViewer.isAnimationEnabled = false;
});
</script>
</head>
<body>
<div id="imagebox">
<?php include_once 'getimages.php'; ?>
</div>
</body>
</html>