-
Notifications
You must be signed in to change notification settings - Fork 1
/
others.php
122 lines (111 loc) · 4.65 KB
/
others.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?php
require "header.php";
?>
<div style="text-align:center">
<h4 class="exTitle">Говорене (Speaking)</h4>
</div>
<iframe src="https://h5p.org/h5p/embed/449585" width="700" height="483" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
<script src="https://h5p.org/sites/all/modules/h5p/library/js/h5p-resizer.js" charset="UTF-8"></script>
<iframe src="https://h5p.org/h5p/embed/449586" width="1090" height="483" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
<script src="https://h5p.org/sites/all/modules/h5p/library/js/h5p-resizer.js" charset="UTF-8"></script>
<iframe src="https://h5p.org/h5p/embed/449551" width="70%" height="479" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
<script src="https://h5p.org/sites/all/modules/h5p/library/js/h5p-resizer.js" charset="UTF-8"></script>
<iframe src="https://h5p.org/h5p/embed/449594" width="1090" height="817" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
<script src="https://h5p.org/sites/all/modules/h5p/library/js/h5p-resizer.js" charset="UTF-8"></script>
<div style="text-align:center">
<h4 class="exTitle">Четене (Reading)</h4>
</div>
<div id="grid">
<div class="smallgrid">
<div class="desc">
<div class="textHolder">
<h2 class="h3books">Robert Louis Stevenson</h2>
<h3 class="h2books">Treasure Island</h3>
</div>
</div>
<div class="photo"> <a href="books.php?island"> <img src="https://images-na.ssl-images-amazon.com/images/I/51D9ikxncpL.jpg" href="books.php?oldman"> </a> </div>
</div>
<div class="smallgrid">
<div class="desc">
<div class="textHolder">
<h2 class="h3books">Bram Stoker</h2>
<h3 class="h2books">Dracula</h3>
</div>
</div>
<div class="photo"> <a href="books.php?dracula"> <img src="https://images-na.ssl-images-amazon.com/images/I/51oor3Wo2GL._SX326_BO1,204,203,200_.jpg"> </a> </div>
</div>
<div class="smallgrid">
<div class="desc">
<div class="textHolder">
<h2 class="h3books">Daniel Defoe</h2>
<h3 class="h2books">Robinson Crusoe</h3>
</div>
</div>
<div class="photo"> <a href="books.php?crusoe"> <img src="https://images-na.ssl-images-amazon.com/images/I/51hG7m7e84L._SX326_BO1,204,203,200_.jpg"> </a> </div>
</div>
<div class="smallgrid">
<div class="desc">
<div class="textHolder">
<h2 class="h3books">Lewis Carroll</h2>
<h3 class="h2books">Alice’s Adventures in Wonderland</h3>
</div>
</div>
<div class="photo"> <a href="books.php?alice"> <img src="https://images-na.ssl-images-amazon.com/images/I/41Powf7gsbL._SX326_BO1,204,203,200_.jpg"> </a> </div>
</div>
<div class="smallgrid">
<div class="desc">
<div class="textHolder">
<h2 class="h3books">Jules Verne</h2>
<h3 class="h2books">Around the World in 80 Days</h3>
</div>
</div>
<div class="photo"> <a href="books.php?world"> <img src="https://images-na.ssl-images-amazon.com/images/I/41oci0vl-3L._SX326_BO1,204,203,200_.jpg"> </a> </div>
</div>
<div class="smallgrid">
<div class="desc">
<div class="textHolder">
<h2 class="h3books">George Orwell</h2>
<h3 class="h2books">1984</h3>
</div>
</div>
<div class="photo"> <a href="books.php?1984"> <img src="https://images-na.ssl-images-amazon.com/images/I/51pAui14H6L._SX326_BO1,204,203,200_.jpg"> </a> </div>
</div>
<div class="smallgrid">
<div class="desc">
<div class="textHolder">
<h3 class="h3books">Louisa May Alcott</h3>
<h2 class="h2books">Little Women</h2>
</div>
</div>
<div class="photo"> <a href="books.php?women"> <img src="https://images-na.ssl-images-amazon.com/images/I/51kgR4InypL._SX326_BO1,204,203,200_.jpg"> </a> </div>
</div>
<div class="smallgrid">
<div class="desc">
<div class="textHolder">
<h3 class="h3books">Charles Dickens</h3>
<h2 class="h2books">A Tale of Two Cities</h2>
</div>
</div>
<div class="photo"> <a href="books.php?cities"> <img src="https://images-na.ssl-images-amazon.com/images/I/51fwOaoYriL._SX326_BO1,204,203,200_.jpg"> </a> </div>
</div>
<script>
function alternate() {
colsno = window.getComputedStyle(document.getElementById("grid")).gridTemplateColumns.split(' ').length;
smallgrids = document.getElementsByClassName("smallgrid");
for (i = 0; i < smallgrids.length; i++) {
thisrow = Math.floor(i / colsno);
thiscol = i % colsno;
if ((thisrow + thiscol) % 2 == 1) {
smallgrids[i].setAttribute('class', 'smallgrid even');
} else {
smallgrids[i].setAttribute('class', 'smallgrid odd');
}
}
}
window.onload = alternate();
window.addEventListener("resize", alternate);
</script>
<br>
<?php
require "footer.php";
?>