-
Notifications
You must be signed in to change notification settings - Fork 0
/
others.html
166 lines (145 loc) · 5.96 KB
/
others.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
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Namaz Ontology</title>
<!-- css -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/respossive.css">
<!-- jquery -->
<script src="js/jquery-3.7.1.js"></script>
</head>
<body>
<!-- navbar -->
<nav class="navbar navbar-expand-lg py-2" id="myNavbar">
<div class="container">
<a class="navbar-brand fw-bold" href="index.html">
<img src="img/logo.png" alt="">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav mx-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Namaz
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#prayers_time">Prayers Time</a></li>
<li><a class="dropdown-item text-end font-urdu" href="namaz.html#namaz_ke_farz">نماز کے فرائض</a></li>
<li><a class="dropdown-item text-end font-urdu" href="namaz.html#wozoo_ke_farz">وضو کے فرائض</a></li>
<li><a class="dropdown-item text-end font-urdu" href="namaz.html#ghusal_ke_farz">غسل کے فرائض</a></li>
<li><a class="dropdown-item text-end font-urdu" href="namaz.html#namaz_ka_tarika">نماز کا طریقہ</a></li>
<li><a class="dropdown-item text-end font-urdu" href="namaz.html#wazoo_ka_tarika">وضو کا طریقہ</a></li>
<li><a class="dropdown-item" href="namaz.html#other_content">Other Related Content</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="books.html">Books</a>
</li>
<li class="nav-item">
<a class="nav-link" href="tasbeeh.html">Tasbeeh</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle active" href="#" role="button" data-bs-toggle="dropdown"
aria-expanded="false">
Others
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="others.html#ayat_of_the_day">Quranic verse of the day</a></li>
<li><a class="dropdown-item" href="others.html#hadees_of_the_day">Hadees of the day</a></li>
<li><a class="dropdown-item" href="scholars.html">Islamic scholars</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact Us</a>
</li>
</ul>
<form class="input-group w-auto" role="search">
<input class="form-control" type="search" placeholder="Search">
<button class="btn btn-warning" type="submit">
<i class="fa-solid fa-magnifying-glass"></i>
</button>
</form>
</div>
</div>
</nav>
<!-- -->
<div class="container py-3" id="ayat_of_the_day">
<h1 class="text-gold text-center">Quranic verse of the day</h1>
<div id="ayat" class="pt-3">
<h1 class="in-arabic"></h1>
<h1 class="in-urdu"></h1>
<h1 class="reference"></h1>
</div>
</div>
<hr class="border-2">
<!-- -->
<div class="container py-3" id="hadees_of_the_day">
<h1 class="text-gold text-center">Hadees of the day</h1>
<div id="hadees" class="pt-3">
<h1 class="in-arabic"></h1>
<h1 class="in-urdu"></h1>
<h1 class="reference"></h1>
</div>
</div>
<!-- -->
<div id="footer">
<img src="img/f-masjid.png" alt="" class="footer-img">
<div class="text-center">
<div class="footer-links">
<a href="index.html">Home</a> |
<a href="namaz.html">Namaz</a> |
<a href="books.html">Books</a> |
<a href="tasbeeh.html">Tasbeeh</a>
</div>
<div class="footer-links">
<a href="#hadees_of_the_day">Hadees of the day</a> |
<a href="#ayat_of_the_day">Verse of the day</a>
</div>
<div class="footer-links">
<a href="about.html">About Us</a> |
<a href="contact.html">Contact Us</a>
</div>
<div class="footer-icons py-2">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-youtube"></i></a>
</div>
<p><small>NamazAntology.org ©2024. All Rights Reserved.</small></p>
</div>
</div>
<!-- script -->
<script src="js/bootstrap.bundle.js"></script>
<script>
showHadeesOfTheDay();
async function showHadeesOfTheDay() {
const date = new Date();
let day = date.getDay();
let ayat_json = await $.getJSON("ayat.json");
let data1 = ayat_json[day];
let hadees_json = await $.getJSON("hadees.json");
let data2 = hadees_json[day];
$('#ayat .in-arabic').html(data1.arabic);
$('#ayat .in-urdu').html(data1.urdu);
$('#ayat .reference').html(`(${data1.ref})`);
$('#hadees .in-arabic').html(data2.arabic);
$('#hadees .in-urdu').html(data2.urdu);
$('#hadees .reference').html(`(${data2.ref})`);
}
</script>
</body>
</html>