-
Notifications
You must be signed in to change notification settings - Fork 0
/
view-all-videos.php
151 lines (118 loc) · 5.57 KB
/
view-all-videos.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<?php include('include/connection.inc.php'); ?>
<!doctype html>
<html lang="en">
<head>
<title>Videos</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS v5.2.1 -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css">
<link rel="icon" href="images/yas-properties-logo.png">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg ">
<div class="container-fluid ">
<a class="navbar-brand oracle-logo " href="<?= $url ?>"><img src="images/yas-properties-logo.png" alt=" " style="width: 150px;"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mx-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link havar f-nv-1" aria-current="page" href="<?= $url.'buy'?>">Buy</a>
</li>
<li class="nav-item">
<a class="nav-link havar f-nv-1" href=""<?= $url.'rent'?>>Rent</a>
</li>
<li class="nav-item">
<a class="nav-link havar f-nv-1" href="<?= $url.'mortgage'?>">Mortgage</a>
</li>
<li class="nav-item">
<a class="nav-link havar f-nv-1" href="<?= $url.'contactus'?>">Contact Us </a>
</li>
<li class="nav-item">
<a class=" havar btns nav-btn my-2 f-nv" href="<?=$url.'rentyourproperty'?>">Rent My Property</a>
</li>
<li class="nav-item">
<a class=" havar btns nav-btn my-2 f-nv" href="<?=$url.'sellyourproperty'?>">Sell My Property</a>
</li>
<li class="nav-item">
<a class=" havar nav-btn my-2 f-nv" href="<?=$url.'invester'?>">I Am An Invester</a>
</li>
<li class="nav-item ">
<a class="dropbtn nav-btn my-2 dropdown f-nv">Looking For My Home</a>
</div>
</li>
</ul>
</div>
</nav>
</header>
<div class="page-top">
<h1 class="property-head">All Video About Properties</h1>
</div>
<div class="container about-first">
<?php
$selectPlaylist = mysqli_query($con, "SELECT * FROM `playlist` ORDER BY `id` DESC ");
while ($fetchPlaylisy = mysqli_fetch_array($selectPlaylist)) {
?>
<div class="row">
<div class="col-lg-4 ">
<div class="frontvideo">
<?= $fetchPlaylisy['embed'] ?>
</div>
</div>
<div class="col-lg-8 about-right">
<div class="content">
<h5 class="about-head">About Videos</h5>
<h1 class="About-main-head"><?= base64_decode($fetchPlaylisy['title']) ?></h1>
<p><?= $fetchPlaylisy['short_title']?></p>
</div>
</div>
</div>
<?php }?>
</div>
<?php
include('footer.php')
?>
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">...</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
Close
</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
</body>
<footer>
<!-- place footer here -->
</footer>
<!-- Bootstrap JavaScript Libraries -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.min.js" integrity="sha384-7VPbUDkoPSGFnVtYi0QogXtr74QeVeeIs99Qfg5YCF+TidwNdjvaKZX19NZ/e6oz" crossorigin="anonymous">
</script>
<script>
window.addEventListener('scroll', function() {
var navbar = document.querySelector('.navbar');
if (window.pageYOffset > navbar.offsetTop + navbar.offsetHeight) {
navbar.classList.add('fixed-navbar');
} else {
navbar.classList.remove('fixed-navbar');
}
});
</script>
</body>
</html>