-
Notifications
You must be signed in to change notification settings - Fork 0
/
dorams.php
92 lines (72 loc) · 3.12 KB
/
dorams.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
<?php
include "./assets/php/obr_show.php";
?>
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>K-mood</title>
<!-------- FAVIKON-------->
<link rel="icon" type="image/svg+xml" href="assets/img/KMonster.svg" />
<!-------- Bootstrap v5.2.0-beta1-------->
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-7VPbUDkoPSGFnVtYi0QogXtr74QeVeeIs99Qfg5YCF+TidwNdjvaKZX19NZ/e6oz" crossorigin="anonymous"></script>
<!-------- STYLE CSS-------->
<link rel="stylesheet" href="assets/css/index.css" />
<!-------- VIDEOTUBE JS-------->
<link rel="stylesheet" href="assets/videotube/videotube.min.css">
<script src="assets/videotube/videotubevk.js"></script>
<!-------- FONTAWESOME-------->
<script src="https://kit.fontawesome.com/972f7543c8.js" crossorigin="anonymous"></script>
<style>
.bamboo {
background-image: url(assets/img/bamboo_1.png);
background-size: contain;
background-repeat: no-repeat;
background-position: 100% 0%;
}
</style>
</head>
<body>
<!--------------------HEADER START-------------------->
<?php require_once("header.php") ?>
<!--------------------HEADER END-------------------->
<!--------------------CONTENT START-------------------->
<div class="container-fluid bg-dark bg-opacity-50 min-vh-100 bamboo">
<div class="container bg-secondary bg-opacity-50 text-white min-vh-100">
<div class="container pt-5 pb-5">
<h2 class="h2 mb-3 text-white"> <i class="fa-regular fa-heart"></i> Дорамы</h2>
<?php
while($dorams = mysqli_fetch_assoc($result_dorams))
{
echo '
<div class="card text-bg-secondary mb-3" style="max-width: 540px;">
<div class="row g-0">
<div class="col-md-4">
<a href="'.$dorams['url_dorama'].'" class="vk"><img src="assets/img/img_dorams/'.$dorams['img_dorama'].'" class="img-fluid rounded-start" alt="'.$dorams['dorama_name'].'"></a>
</div>
<div class="col-md-8">
<div class="card-body">
<h5 class="card-title">'.$dorams['dorama_name'].'</h5>
<p class="card-text">'.$dorams['year'].'</p>
</div>
</div>
</div>
</div>';
}
?>
</div>
</div>
</div>
<!--------------------CONTENT END-------------------->
<!--------------------FOOTER START-------------------->
<?php require_once("footer.php") ?>
<!--------------------FOOTER END-------------------->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
</body>
</html>