-
Notifications
You must be signed in to change notification settings - Fork 0
/
category.php
57 lines (48 loc) 路 1.61 KB
/
category.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 lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Categories - O Vod</title>
<link rel="icon" type="image/x-icon" href="img/o_favicon.png">
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<?php include 'nav.php'; ?>
<section class="content_index">
<section class="sponsored">
<div class="recommend" style="width:100%">
<div class="context">Categories</div>
<?php
$categories = array(
'Animation' => 'animation.gif',
'Calm' => 'calm-relax.gif',
'Game' => 'valve.gif',
'Action' => 'action.gif',
'Adventure' => 'adventure.gif',
'Nature' => 'nature.gif',
'Cat' => 'cat.gif',
'Cook' => 'cook.gif',
'Technology' => 'tech.gif',
'Art' => 'art.gif'
);
foreach ($categories as $category => $image) {
echo '<a href="index.php">';
echo '<div class="content">';
echo '<div class="channel channelsponsored"><img class="channelimage creators" src="img/category/' . $image . '"><br>' . $category . '</div>';
echo '</div>';
echo '</a>';
}
?>
</div>
<div class="context-best" style="font-size: 1rem; user-select: none;">
Powered by
<img src="img/category/api_giphy_logo_sparkle_clear.gif" style="max-width: 2.5rem; padding-right: 2%;">
</div>
</section>
<div style="clear: both;">
</section>
<?php include 'footer.php'; ?>
</body>
</html>