-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmore.html
112 lines (87 loc) · 3.36 KB
/
more.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>More Videos</title>
<link rel="icon" href="./ZEE5_logo.svg" type="image/x-icon" />
<link rel="stylesheet" href="./components/footer.css" />
<link rel="stylesheet" href="./components/navbar.css" />
<link rel="stylesheet" href="./css1/style.css">
<link rel="stylesheet" href="./css1/more.css">
<!-- -------------------font Awesome Link------------- -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<div id="sh_navbar"></div>
<div id="sh_result"></div>
<!-- ------navbar end------ -->
<div id="sh_main">
<section>
<div class="main">
<div class="top">
<h1>Exclusive Movies on ZEE5</h1>
<div class="filter">
<select name="" id="sort" onchange="sortfunc()">
<option>Choose Filter</option>
<option value="Drama">Drama</option>
<option value="Romance">Romance</option>
<option value="Action">Action</option>
<option value="Comedy">Comedy</option>
<option value="Horor">Horor</option>
</select>
<a href="./more.html"><i class="fa-solid fa-rotate"></i></a>
</div>
</div>
<div class="more_container">
</div>
</section>
<div id="sh_footer"></div>
</div>
<!-- --------------------Footer ----------------- -->
</body>
</html>
<script src="./js1/webseries.js"></script>
<script src="./js1/more.js"></script>
<script src="./js1/main.js"></script>
<script type="module">
import {
navbar,
getData,
appendData,
main,
debouncing,
id,
naam,
loggeduser,
logout,
} from "./components/navcom.js";
console.log(navbar());
// document.getElementById("sh_navbar").innerHTML = navbar();
let navContainer = document.getElementById("sh_navbar");
navContainer.innerHTML = navbar();
document.getElementById("search").addEventListener("input", debouncing);
document.getElementById("search").addEventListener("focus", () => {
document.getElementById("sh_main").setAttribute("class", "sh_blury");
});
document.getElementById("search").addEventListener("focusout", () => {
document.getElementById("sh_main").setAttribute("class", "");
window.location.reload();
});
//<--------Footer Importing and appending-------->
import footer from "./components/footer.js";
let footContainer = document.getElementById("sh_footer");
footContainer.innerHTML = footer();
//<----------Showing UserName and Logout Functionality------->
let login = localStorage.getItem("login") || "false";
if (login === "true") {
naam(login);
}
document.getElementById("login").addEventListener("click", (e) => {
e.preventDefault();
logout(login);
});
</script>