-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
570 lines (537 loc) · 33.4 KB
/
single.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
<?php
require 'admin_pages/includes/db.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>EndGBV-single</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="Free Website Template" name="keywords">
<meta content="Free Website Template" name="description">
<!-- Favicon -->
<link href="img/favicon.ico" rel="icon">
<!-- Google Font -->
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap"
rel="stylesheet">
<!-- CSS Libraries -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
<link href="lib/flaticon/font/flaticon.css" rel="stylesheet">
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<!-- Template Stylesheet -->
<link href="css/style.css" rel="stylesheet">
<link rel="stylesheet" href="css/tips.css">
</head>
<body>
<!-- Top Bar Start -->
<!-- Top Bar End -->
<!-- Nav Bar Start -->
<div class="navbar navbar-expand-lg bg-dark navbar-dark">
<div class="container-fluid">
<div class="ht-65 bd bg-gray-100 pd-x-20 d-flex align-items-center justify-content-between">
<a href="index.php">
<!-- Replace the text-based logo with an image -->
<img src="img/logo.png" alt="Logo" class="logo-img">
</a>
</div>
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapse"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-between" id="navbarCollapse">
<div class="navbar-nav ml-auto">
<a href="index.php" class="nav-item nav-link ">Home</a>
<a href="about.html" class="nav-item nav-link">About</a>
<a href="causes.html" class="nav-item nav-link">Causes</a>
<a href="donate.html" class="nav-item nav-link">Donate</a>
<a href="contact.html" class="nav-item nav-link">Contact</a>
<a href="single.php" class="nav-item nav-link active">Blogs</a>
</div>
</div>
</div>
</div>
<!-- Nav Bar End -->
<!-- Page Header Start -->
<div class="page-header">
<div class="container">
<div class="row">
<div class="col-12">
<h2>Detail Page</h2>
</div>
<div class="col-12">
<a href="index.php">Home</a>
<a href="single.php">Blog</a>
</div>
</div>
</div>
</div>
<!-- Page Header End -->
<!-- Single Post Start-->
<div class="single">
<div class="container">
<div class="row">
<div class="col-lg-8">
<div class="single-content">
<img src="https://img.freepik.com/free-photo/blogger-doing-product-review-laptop-keyboard_482257-26853.jpg?t=st=1723024941~exp=1723028541~hmac=f976bd8a259a78cd998df593d415292a57bf890458f0d1e9b8a7781e06993e6a&w=996"
alt="singlepage" />
<h2>Educational initiatives for gender equality</h2>
<p class="causes-text" id="education">
<strong> Develop Engaging Content:</strong> Create interactive and engaging content, such as
videos, infographics, and quizzes, to make learning about gender equality interesting and
accessible. Use storytelling and real-life examples to make the material relatable.
</p>
<p>
<strong>Utilize Diverse Platforms:</strong> Leverage a variety of online platforms,
including social media, educational websites, webinars, and online courses, to reach
different audiences. Tailor content to the platform’s format and audience preferences.
</p>
<p>
<strong>Promote Inclusivity and Diversity:</strong> Ensure that online content reflects
diverse perspectives and experiences. Include contributions from people of various genders,
ethnicities, and backgrounds to provide a well-rounded view of gender equality.
</p>
<p>
<strong>Create Safe Online Spaces:</strong> Foster an inclusive and respectful online
environment. Implement clear guidelines for online behavior and provide moderators or
support systems to address harassment or discrimination.
</p>
<p>
<strong>Encourage Online Discussion:</strong> Use discussion forums, chat groups, or comment
sections to facilitate conversations about gender equality. Encourage participants to share
their thoughts, experiences, and questions.
</p>
<p>
<strong>Offer Interactive Learning Modules:</strong> Develop interactive online courses or
workshops that include activities, simulations, and scenarios to help users understand and
practice gender equality concepts.
</p>
<p>
<strong>Collaborate with Influencer and Experts:</strong> Partner with influencer,
educators, and experts who are passionate about gender equality to reach a wider audience
and enhance the credibility of your initiatives.
</p>
<p>
<strong>Provide Resources and Tools:</strong> Offer downloadable resources, toolkit, and
guides that participants can use to further their understanding and implementation of gender
equality practices.
<p>
<strong>Measure and Evaluate Impact:</strong> Use analytics and feedback tools to track
engagement, assess learning outcomes, and identify areas for improvement. Regularly review
and update content based on user feedback and emerging trends.
</p>
<p>
<strong>Ensure Accessibility:</strong> Make sure that your online initiatives are accessible
to people with different abilities. This includes providing content in multiple formats
(e.g., text, audio, video) and ensuring compatibility with screen readers.
</p>
<p>
<strong>Promote Participation and Networking:</strong> Encourage users to participate in
online events, webinars, and virtual conferences. Create networking opportunities for
participants to connect and collaborate on gender equality projects.
</p>
<p>
</p>
</p>
<h3>LEGAL AND PSYCHOLOGICAL AID AND ADVOCACY FOR GENDER JUSTICE</h3>
<p>
<strong>Create a Comprehensive Online Resource Hub:</strong> Develop a website or online
portal that offers accessible legal information, guides, and resources specifically related
to gender justice. Include information on rights, legal processes, and available support
services.
</p>
<p>
<strong>Offer Virtual Legal Consultations:</strong> Provide opportunities for individuals to
access legal advice and support through online consultations. Use secure video conferencing
tools to ensure confidentiality and safety.
</p>
<p>
<strong>Develop Online Training Programs:</strong> Create and offer webinars, online
courses, and workshops for both legal professionals and the general public on topics related
to gender justice, such as understanding gender-based violence laws, discrimination, and
legal protections.
</p>
<p>
<strong>Create and Share Informative Content:</strong> Produce and distribute content such
as blog posts, infographics, and videos that explain legal rights and procedures related to
gender justice. Ensure that content is clear, accurate, and accessible.
</p>
<p>
<strong>Establish Online Support Communities:</strong> Set up forums, chat groups, or social
media groups where individuals affected by gender-based issues can seek support, share
experiences, and access resources. Facilitate peer support and provide expert input when
needed.
</p>
<p>
<strong>Advocate for Policy Changes Online:</strong> Use online platforms to campaign for
legal and policy reforms related to gender justice. Mobilize support through petitions,
online campaigns, and advocacy networks to influence policymakers and legislators.
</p>
<p>
<strong>Ensure Data Security and Privacy:</strong> Protect users’ privacy and data when
offering online legal aid and support. Use secure platforms and encryption methods to ensure
confidentiality and safeguard sensitive information.
</p>
<p>
<strong>Collaborate with Other Organizations:</strong> Partner with other legal aid
organizations, advocacy groups, and community-based organizations to broaden your reach and
impact. Collaborate on joint initiatives, share resources, and support each other’s
campaigns.
</p>
<p>
<strong>Provide Accessible Legal Tools:</strong> Offer online tools such as legal rights
checklists, complaint forms, and self-help guides to empower individuals to navigate legal
processes on their own.
</p>
<p>
<strong>Promote Awareness Campaigns:</strong> Run targeted online campaigns to raise
awareness about specific gender justice issues, such as domestic violence, workplace
harassment, or reproductive rights. Use storytelling, data, and personal narratives to
engage the audience.
</p>
<p>
<strong>Offer Training for Advocacy Skills:</strong> Provide online resources and training
to help individuals and groups develop effective advocacy skills. Teach how to organize
campaigns, engage with media, and influence public opinion.
</p>
<h3>SUPPORT SURVIVORS AND VICTIMS OF GBV</h3>
<p>
<strong>Emergency Assistance:</strong> Ensure victims have access to safe shelters, crisis
hotlines, and emergency medical care. Safety planning is crucial to protect them from
further violence.
<p>
<strong>Crisis Counseling:</strong> Offer immediate psychological support to help them cope
with trauma. Access to trauma-informed counseling can provide crucial emotional relief and
stabilization.Access to Medical and Psychological Care
</p>
<p>
<strong>Medical Services:</strong> Provide comprehensive medical care, including treatment
for physical injuries and sexually transmitted infections, as well as preventive care like
pregnancy testing and emergency contraception.
</p>
<p>
<strong>Mental Health Support:</strong> Facilitate access to long-term psychological
counseling, therapy, and mental health services to address trauma, anxiety, depression, and
other emotional impacts. Economic Empowerment and rebuilding social connections
</p>
<p>
<strong>Vocational Training:</strong> Provide access to job training and skill development
programs to help survivors gain employment and achieve financial independence.
</p>
<p>
<strong>Support Networks:</strong> Help survivors reconnect with supportive family and
friends, or join peer support groups where they can share experiences and receive
encouragement from others who have faced similar challenges.
</p>
<p>
<strong>Financial Assistance:</strong> Offer emergency financial support or access to social
services that can help cover basic needs such as housing, food, and transportation.
</p>
<p>
<strong>Community Engagement:</strong> Encourage participation in community activities and
support networks to rebuild social connections and a sense of normalcy.
</p>
</p>
</div>
</div>
<!-- Trying fetching featured popular and latest from database start -->
<div class="col-lg-4">
<div class="sidebar">
<div class="sidebar-widget">
<div class="search-widget">
<form>
<input class="form-control" type="text" placeholder="Search Keyword">
<button class="btn" title="Search"><i class="fa fa-search"></i></button>
</form>
</div>
</div>
<a class="twitter-timeline" data-width="500" data-dnt="true" data-theme="dark"
href="https://twitter.com/End_GBViolance?ref_src=twsrc%5Etfw">Tweets by End_GBViolance</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<div class="sidebar-widget">
<div class="tab-post">
<ul class="nav nav-pills nav-justified">
<li class="nav-item">
<a class="nav-link active" data-toggle="pill" href="#featured">Featured</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="#popular">Popular</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="#latest">Latest</a>
</li>
</ul>
<div class="tab-content">
<!-- Featured Tab -->
<div id="featured" class="container tab-pane active">
<?php
require 'admin_pages/includes/db.php';
// Fetch Featured (all cases based on case_type)
$sql_featured = "SELECT * FROM case_submissions WHERE case_type IS NOT NULL";
$result_featured = $conn->query($sql_featured);
if ($result_featured) {
if ($result_featured->num_rows > 0) {
while ($row = $result_featured->fetch_assoc()) {
echo '<div class="post-item">';
echo '<div class="post-img"><img src="img/unknow.jpg" alt="Post Image"></div>';
echo '<div class="post-text">';
if (isset($row["case_title"])) {
echo '<a href="#">' . htmlspecialchars($row["case_title"]) . '</a>';
} else {
echo '<p>End Gender Based Violence</p>';
}
echo '<div class="post-meta"><p>In <a href="#">' . htmlspecialchars($row["case_type"]) . '</a></p></div>';
echo '</div></div>';
}
} else {
echo "<p>No featured cases found.</p>";
}
} else {
echo "<p>Error executing query: " . htmlspecialchars($conn->error) . "</p>";
}
?>
</div>
<!-- Popular Tab -->
<div id="popular" class="container tab-pane fade">
<?php
$sql_popular = "SELECT case_type, COUNT(case_type) AS count FROM case_submissions GROUP BY case_type ORDER BY count DESC";
$result_popular = $conn->query($sql_popular);
if ($result_popular && $result_popular->num_rows > 0) {
while ($row = $result_popular->fetch_assoc()) {
echo '<div class="post-item">';
echo '<div class="post-img"><img src="img/unknow.jpg" alt="Post Image"></div>';
echo '<div class="post-text"><a href="#">Most Submitted: ' . htmlspecialchars($row["case_type"]) . '</a>';
echo '<div class="post-meta"><p>' . htmlspecialchars($row["count"]) . ' submissions</p></div></div></div>';
}
} else {
echo "<p>No popular cases found.</p>";
}
?>
</div>
<!-- Latest Tab -->
<div id="latest" class="container tab-pane fade">
<?php
$sql_latest = "SELECT * FROM case_submissions ORDER BY submission_date DESC LIMIT 5";
$result_latest = $conn->query($sql_latest);
if ($result_latest && $result_latest->num_rows > 0) {
while ($row = $result_latest->fetch_assoc()) {
echo '<div class="post-item">';
echo '<div class="post-img"><img src="img/unknow.jpg" alt="Post Image"></div>';
echo '<div class="post-text">';
if (isset($row["case_type"])) {
echo '<a href="#">' . htmlspecialchars($row["case_type"]) . '</a>';
} else {
echo '<p>No title available</p>';
}
echo '<div class="post-meta"><p>On ' . htmlspecialchars($row["submission_date"]) . '</p></div></div></div>';
}
} else {
echo "<p>No latest cases found.</p>";
}
?>
</div>
</div>
</div>
</div>
<?php
// Close the database connection
$conn->close();
?>
<div class="sidebar-widget">
<h2 class="widget-title">Categories</h2>
<div class="category-widget">
<ul>
<?php
// Database connection
require 'admin_pages/includes/db.php';
// Define the exact case types from your database
$case_types = [
'physical-violence',
'Sexual-Violence',
'emotional-psychological-violence',
'harmful-traditional-practices',
'online-digital-violence',
'structural-violence',
'economic-violence'
];
// Loop through each case type to get the count of cases
foreach ($case_types as $case_type) {
// Prepare the query using a prepared statement to avoid SQL injection and handle case types properly
$stmt = $conn->prepare("SELECT COUNT(*) AS case_count FROM case_submissions WHERE case_type = ?");
$stmt->bind_param("s", $case_type); // "s" specifies a string parameter
// Execute the statement
$stmt->execute();
// Bind the result to a variable
$stmt->bind_result($case_count);
// Fetch the result
$stmt->fetch();
// Close the statement
$stmt->close();
// Display each category with the dynamic count
echo '<li><a href="#">' . htmlspecialchars($case_type) . '</a><span>(' . intval($case_count) . ')</span></li>';
}
// Close the database connection
$conn->close();
?>
</ul>
</div>
</div>
<div class="sidebar-widget">
<div class="image-widget">
<a href="#"><img src="img/nomore.jpg" alt="Image"></a>
</div>
<h2 class="widget-title">Tips & Actions</h2>
<div class="tips-widget">
<ul class="tips-list">
<li>
<strong>1. Stay Safe:</strong>
Prioritize your safety above all else. If you're in immediate danger, find a
safe place and contact authorities.
</li>
<li>
<strong>2. Support a Friend:</strong>
If you know someone facing violence, listen without judgment and encourage them
to seek help from professionals.
</li>
<li>
<strong>3. Speak Out:</strong>
Don't stay silent. If you witness violence, report it to local authorities or
helplines. Your action can make a difference.
</li>
<li>
<strong>4. Seek Professional Help:</strong>
Contact local helplines, support groups, or shelters for guidance on handling
violent situations.
</li>
<li>
<strong>5. Documentation:</strong>
If safe to do so, document the incident. Keep records or evidence like photos,
text messages, or call logs for later use.
</li>
<li>
<strong>6. Report Online Abuse:</strong>
If you're experiencing or witnessing violence online, report the accounts or
posts on the platform and consider blocking the abuser.
</li>
<li>
<strong>7. Offer Resources:</strong>
Share hotline numbers, shelter addresses, or professional contacts for
counseling or legal advice with the victim.
</li>
</ul>
<div class="contact-helpline">
<p><strong>Helpline: ISANGE ONE STOP CENTER</strong> <a href="tel:3512">3512</a></p>
<p><strong>Email Support: For Seeking Advocacy</strong> <a
href="mailto:[email protected]">[email protected]</a></p>
</div>
</div>
</div>
<div class="sidebar-widget">
<h2 class="widget-title">Tags Cloud</h2>
<div class="tag-widget">
<a href="">GBV</a>
<a href="">Violence</a>
<a href="">SayNo</a>
<a href="">EndGBV</a>
</div>
</div>
</div>
</div>
<!-- Trying fetching featured popular and latest from database ends -->
</div>
</div>
</div>
<!-- Single Post End-->
<!-- Footer Start -->
<div class="footer">
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-6">
<div class="footer-contact">
<h2>Our Head Office</h2>
<p><i class="fa fa-map-marker-alt"></i>Kigali KN20 Street </p>
<p><i class="fa fa-phone-alt"></i>+250780330073</p>
<p><i class="fa fa-envelope"></i>[email protected]</p>
<div class="footer-social">
<a class="btn btn-custom" href="https://x.com/End_GBViolance?t=OyQQF5HbujZ3DqKJnMaVJQ&s=09"
target="_blank"><i class="fab fa-twitter"></i></a>
<a class="btn btn-custom"
href="https://www.instagram.com/rameck_gisanintwari?igsh=aTc3MG5uN21wMzZw"
target="_blank"><i class="fab fa-instagram"></i></a>
<a class="btn btn-custom" href="https://www.facebook.com/XMR55?mibextid=ZbWKwL"
target="_blank"><i class="fab fa-facebook-f"></i></a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="footer-link">
<h2>Popular Links</h2>
<a href="about">About Us</a>
<a href="contact">Contact Us</a>
<a href="causes">Popular Causes</a>
<a href="event">Upcoming Events</a>
<a href="volunteer">Become a Member</a>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="footer-link">
<h2>Useful Links</h2>
<a href="terms.html">Terms of use</a>
<a href="privacy.html">Privacy policy</a>
<a href="admin_login.php">Administrator</a>
<a href="team.html">Our Team</a>
<a href="question.html">FAQs</a>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="footer-newsletter">
<h2>Newsletter</h2>
<form>
<input class="form-control" placeholder="Email goes here">
<button class="btn btn-custom">Submit</button>
<label>Don't worry, we don't spam!</label>
</form>
</div>
</div>
</div>
</div>
<div class="container copyright">
<div class="row">
<div class="col-md-6">
<a href="terms">Terms & Conditions</a> |
<a href="privacy">Privacy Policy</a>
</div>
<!-- terms & condition -->
<div class="col-md-6 text-md-right">
<p>
Developed by <a href="https://www.rwegohub.com/" target="_blank">Rwegohub</a> | © 2024 All
Rights Reserved
<a href="www.EndGBV.com"></a>
</p>
</div>
</div>
</div>
</div>
<!-- Footer End -->
<!-- Back to top button -->
<a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>
<!-- Pre Loader -->
<div id="loader" class="show">
<div class="loader"></div>
</div>
<!-- JavaScript Libraries -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/counterup/counterup.min.js"></script>
<script src="lib/parallax/parallax.min.js"></script>
<!-- Contact Javascript File -->
<script src="mail/jqBootstrapValidation.min.js"></script>
<script src="mail/contact.js"></script>
<!-- Template Javascript -->
<script src="js/main.js"></script>
</body>
</html>