-
Notifications
You must be signed in to change notification settings - Fork 3
/
_icomoon.php
53 lines (50 loc) · 1.71 KB
/
_icomoon.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
<?
$iPage = isset($_GET["p"]) ? intval($_GET["p"]) : 0;
$iPP = 50;
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?-mmzquo');
src: url('fonts/icomoon.eot?#iefix-mmzquo') format('embedded-opentype'), url('fonts/icomoon.woff?-mmzquo') format('woff'), url('fonts/icomoon.ttf?-mmzquo') format('truetype'), url('fonts/icomoon.svg?-mmzquo#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
span {text-align: center; }
span.f {
font-family: 'icomoon';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
font-size: 20px;
line-height: 1;
padding: 10px 10px 0;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: inline-block; width: 50px; height: 50px; border: 1px solid gray;
}
span span {color: #999; font-size: 9px; border: 0; clear: both; display: block; margin-top: 15px; }
<?
for ($i=($iPage*$iPP)+1; $i<=($iPage+1)*$iPP; $i++) {
echo ("span.e$i:before {content: \"\e" . (599+$i) . "\"; } \n");
}
?>
</style>
<title>Icomoon</title>
</head>
<body>
<?
for ($i=($iPage*$iPP)+1; $i<=($iPage+1)*$iPP; $i++) {
echo ("<span class=\"f e$i\"><span>e" . (599+$i) . "</span></span>");
}
if ($iPage > 0) echo ("<a href=\"_icomoon.php?p=" . ($iPage-1) . "\">vorige</a>");
echo ("<a href=\"_icomoon.php?p=" . ($iPage+1) . "\">volgende</a>");
?>
</body>
</html>