-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
646 lines (646 loc) · 40.7 KB
/
index.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
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
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="assets/css/styles.css">
<link rel="icon" type="image/x-icon" href="assets/images/animal-shelter.png">
<title>FurHomes</title>
</head>
<body class="light">
<div class="sidebar">
<ul class="side-menu">
<a href="#home-section" class="logo">
<div class="logo-image">
<img src="assets/images/animal-shelter.png" alt="Furever Homes Logo">
</div>
<div class="text-logo">
<h1>Furever Homes</h1>
<p>Adopt, Donate, Save Lives</p>
</div>
</a>
</ul>
<ul class="side-menu">
<li class="active">
<a href="#home-section">
<i class='bx bxs-dashboard'></i>Home </a>
</li>
<li>
<a href="#about-section">
<i class='bx bx-store-alt'></i>About </a>
</li>
<li>
<a href="#adopt-section">
<i class='bx bxs-dog'></i>Find a Pet </a>
</li>
<li>
<a href="#rehome-section">
<i class='bx bx-group'></i>Rehome a Pet </a>
</li>
<li>
<a href="#donate-section">
<i class='bx bx-coin-stack'></i>Donate </a>
</li>
<li>
<a href="#contact-section">
<i class='bx bxs-contact'></i>Contact </a>
</li>
</ul>
<ul class="side-menu">
<li class="logout-item">
<a href="#" class="logout">
<i class='bx bx-log-out-circle'></i>
</a>
</li>
</ul>
</div>
<div class="content">
<nav>
<div>
<i class='bx bx-menu'></i>
</div>
<div class="nav-r">
<div onclick="tdnn()" class="tdnn day">
<div class="moon sun"></div>
</div>
</div>
</nav>
<main>
<section class="home-section" id="home-section">
<div class="image-container">
<h1>Help care for the animals</h1>
<div class="objective">
<ul class="obj-section">
<li>
<a href="#" class="popover-trigger" data-form="donateForm">Donate</a>
</li>
<li>
<a href="#" class="popover-trigger" data-form="sponsorForm">Sponsor</a>
</li>
<li>
<a href="#" class="popover-trigger" data-form="fosterForm">Foster</a>
</li>
</ul>
</div>
<img src="assets/images/home.png" alt="cat and dogs in photo">
</div>
</section>
<section class="about-section" id="about-section">
<h2 class="section-title">About Us</h2>
<p class="about-text">
<strong>FurHomes</strong> was founded in 2024 by a passionate group of animal advocates determined to improve the lives of stray and abandoned animals in the Philippines. We are a non-profit, non-government organization that operates independently, relying entirely on the generosity of private donations to fund our operations.
</p>
<div class="about-content">
<div class="about-box">
<h3>Vision</h3>
<p> Our vision is to create a compassionate society in the Philippines where every cat and dog has a loving and permanent home. </p>
<br>
<h3>Mission</h3>
<p> Our mission is to enhance animal welfare through public education, raising awareness, providing affordable veterinary care and sterilization services, and rehabilitating and rehoming cats and dogs in need. </p>
</div>
<div class="about-box">
<h3>Goals</h3>
<ul>
<li>Promote Trap/Neuter/Return (TNR) programs in communities, local areas, and commercial spaces.</li>
<li>Find loving, responsible homes through our adoption program.</li>
<li>Raise awareness about animal welfare and the importance of addressing the stray animal population.</li>
<li>Advocate for no-kill shelters and pounds to ensure the safe treatment of all animals.</li>
</ul>
</div>
</div>
<button class="view-more-btn" onclick="showModal()">View More <span class="bx bx-chevron-right"></span>
</button>
</section>
<div class="modal-overlay" id="modal-overlay"></div>
<div class="modal" id="modal">
<div class="modal-content">
<h2>About Us</h2>
<p>
<strong>FurHomes</strong> is committed to improving the lives of stray animals across the Philippines. Our volunteer-run organization operates solely on donations, and we are dedicated to providing shelter, medical care, and education on responsible pet ownership.
</p>
<p> We are passionate about spaying and neutering to prevent the overpopulation of animals, and we are committed to raising awareness about the importance of adopting over purchasing pets. </p>
<p> In addition to our adoption programs, we are expanding our services to offer mobile spay/neuter clinics in remote communities to ensure that every pet has access to basic health care. </p>
<div class="about-box">
<h3>Vision</h3>
<p> Our vision is to create a compassionate society in the Philippines where every cat and dog has a loving and permanent home. </p>
</div>
<div class="about-box">
<h3>Mission</h3>
<p> Our mission is to enhance animal welfare through public education, raising awareness, providing affordable veterinary care and sterilization services, and rehabilitating and rehoming cats and dogs in need. </p>
</div>
<div class="about-box">
<h3>Goals</h3>
<ul>
<li>Promote Trap/Neuter/Return (TNR) programs in communities, local areas, and commercial spaces.</li>
<li>Find loving, responsible homes through our adoption program.</li>
<li>Raise awareness about animal welfare and the importance of addressing the stray animal population.</li>
<li>Advocate for no-kill shelters and pounds to ensure the safe treatment of all animals.</li>
</ul>
</div>
<button class="close1-btn" onclick="closesModal()">Close</button>
<button class="close2-btn" onclick="closesModal()">×</button>
</div>
</div>
<div id="pet-overlay"></div>
<section class="adopt-section" id="adopt-section">
<h2 class="section-title">Find your Fur-ever Friend Here</h2>
<p class="adopt-text" >These are some of the pets currently in our care. They are all looking for their forever homes. One of them (or two) might be the perfect addition to your family.
ALL the pets are rescued, neutered, dewormed, and vaccinated.</p>
<div class="tab-buttons">
<button class="tab-button adoptable active" onclick="switchTab('adoptable')">Adoptable</button>
<button class="tab-button fosterable" onclick="switchTab('fosterable')">Fosterable</button>
</div>
<div class="carousel-container" id="cats-carousel">
<button class="carousel-control prev" data-carousel="cats"><</button>
<ul class="adopt-animal carousel-track" id="cats-track">
<li class="animal-card">
<div class="card-image">
<img src="assets/images/cat.jpg" alt="Cat" />
</div>
<div class="card-content">
<h3 class="animal-name">Whiskers</h3>
<p class="animal-breed">Breed: Persian</p>
<p class="animal-age">Age: 2 years</p>
<p class="animal-description">Whiskers is a friendly and playful cat looking for a loving home!</p>
<button class="adopt-button" onclick="openAdoptForm('Cat')">Adopt Me!</button>
</div>
</li>
</ul>
<button class="carousel-control next" data-carousel="cats">></button>
</div>
<div class="carousel-container" id="dogs-carousel">
<button class="carousel-control prev" data-carousel="dogs"><</button>
<ul class="adopt-animal carousel-track" id="dogs-track">
<li class="animal-card">
<div class="card-image">
<img src="assets/images/dog.png" alt="Dog" />
</div>
<div class="card-content">
<h3 class="animal-name">Buddy</h3>
<p class="animal-breed">Breed: Labrador</p>
<p class="animal-age">Age: 3 years</p>
<p class="animal-description">Buddy is a loyal and energetic dog who loves to play fetch!</p>
<button class="adopt-button" onclick="openAdoptForm('Dog')">Adopt Me!</button>
</div>
</li>
</ul>
<button class="carousel-control next" data-carousel="dogs">></button>
</div>
</section>
<div class="popover-card" id="adoptForm" style="width: 80%;">
<h3>Adopt Me</h3>
<div class="adopt-form-container">
<form id="adoptFormContent" action="php/adoptform.php" method="post">
<input type="hidden" id="adoptionPetId" name="adoption_pet_id" value="">
<label for="adoptType">Choose Adoption Type:</label>
<select id="adoptType" name="adoptType" required>
<option value="">Select</option>
<option value="walk-in">Walk-in</option>
<option value="online">Online</option>
</select>
<label for="adopterName">Name:</label>
<input type="text" id="adopterName" name="adopterName" required>
<label for="adopterEmail">Email:</label>
<input type="email" id="adopterEmail" name="adopterEmail" required>
<label for="adopterPhone">Contact:</label>
<input type="text" id="adopterPhone" name="adopterPhone" required>
<label for="adoptReason">Why do you want to adopt?</label>
<textarea id="adoptReason" name="adoptReason" required></textarea>
<div class="button-group">
<button type="submit">Submit</button>
<button type="button" class="close-btn" onclick="closeAdoptForm()">Close</button>
</div>
</form>
<div id="adoptPetProfile">
<div class="petProfile">
<div class="profile-image">
<img id="adoptProfileImage" src="" alt="Pet Image" />
</div>
<div class="profile-info">
<p>
<strong>Category:</strong>
<span id="adoptProfileCategory"></span>
</p>
<p>
<strong>Type:</strong>
<span id="adoptProfileType"></span>
</p>
<p>
<strong>Name:</strong>
<span id="adoptProfileName"></span>
</p>
<p>
<strong>Breed:</strong>
<span id="adoptProfileBreed"></span>
</p>
<p>
<strong>Age:</strong>
<span id="adoptProfileAge"></span>
</p>
<p>
<strong>Description:</strong>
<span id="adoptProfileDescription"></span>
</p>
</div>
</div>
<div>
<P>The Adoption Process:
<br>
1. Select an animal/s from the FurHomes Animals “Pets for Adoption” section.
<br>
2. Visit the FurHomes Animal Welfare Facility in Batangas to meet our pets for adoption. We require at least 1 visit for cats and 2 visits for dogs.
<br>
3. Fill-out the FurHomes Adoption Form.
<br>
4. After we have gone over your application, we will schedule a home visit for you with one of our volunteers to ensure that your home environment is safe for our rescue/s and to make the necessary recommendations.
<br>
5. Once approved, you may come and pick up the animal/s and pay the adoption fee (PHP1,000/cat; PHP1,500/dog).
<br>
We will make at least one follow up visit to ensure that everybody is happy. FurHomes reserves the right to refuse adoption to any individual who we feel is not suitable.</P>
</div>
</div>
</div>
<button class="close-btn-form" onclick="closeAdoptForm()">×</button>
</div>
<div class="popover-card" id="fosterpetForm" style="width: 80%;">
<h3>Foster Me</h3>
<div class="adopt-form-container">
<form id="fosterpetFormContent" action="php/fosterpetform.php" method="post">
<input type="hidden" id="fostererPetId" name="foster_pet_id" value="">
<label for="fosterType">Choose Foster Type:</label>
<select id="fosterType" name="fosterType" required>
<option value="">Select</option>
<option value="walk-in">Walk-in</option>
<option value="online">Online</option>
</select>
<label for="fosterName">Name:</label>
<input type="text" id="fosterName" name="fosterName" required>
<label for="fosterEmail">Email:</label>
<input type="email" id="fosterEmail" name="fosterEmail" required>
<label for="fosterPhone">Contact:</label>
<input type="text" id="fosterPhone" name="fosterPhone" required>
<label for="fosterReason">Why do you want to foster?</label>
<textarea id="fosterReason" name="fosterReason" required></textarea>
<div class="button-group">
<button type="submit">Submit</button>
<button type="button" class="close-btn" onclick="closeFosterForm()">Close</button>
</div>
</form>
<div id="fosterPetProfile">
<div class="petProfile">
<div class="profile-image">
<img id="fosterProfileImage" src="" alt="Pet Image" />
</div>
<div class="profile-info">
<p>
<strong>Category:</strong>
<span id="fosterProfileCategory"></span>
</p>
<p>
<strong>Type:</strong>
<span id="fosterProfileType"></span>
</p>
<p>
<strong>Name:</strong>
<span id="fosterProfileName"></span>
</p>
<p>
<strong>Breed:</strong>
<span id="fosterProfileBreed"></span>
</p>
<p>
<strong>Age:</strong>
<span id="fosterProfileAge"></span>
</p>
<p>
<strong>Description:</strong>
<span id="fosterProfileDescription"></span>
</p>
</div>
</div>
<div>
<P>The Fostering Process:
<br>
1. Select an animal/s from the FurHomes Animals “Fostarable” tab section.
<br>
2. Visit the FurHomes Animal Welfare Facility in Batangas to meet our pets available for fostering. We encourage at least 1 visit to familiarize yourself with the animal’s needs.
<br>
3. Fill out the FurHomes Fostering Form and provide details about your fostering environment and availability.
<br>
4. After reviewing your application, we will schedule a home visit with one of our volunteers to ensure that your home is suitable for fostering and to provide guidance on animal care.
<br>
5. Once approved, you may pick up the animal/s and begin the fostering journey. FurHomes will provide necessary support and guidance throughout the fostering period.
<br>
6. Regular follow-ups will be conducted to monitor the animal's well-being and assist you with any concerns.
<br>
Please note that fostering is a temporary commitment, and FurHomes reserves the right to terminate fostering if we find it unsuitable for the animal's welfare.
</P>
</div>
</div>
</div>
<button class="close-btn-form" onclick="closeFosterForm()">×</button>
</div>
<div class="bottom-data">
<div class="rehome">
<section class="rehome-background" id="rehome-section">
<div class="rehome-section">
<h2>Rehome a Pet</h2>
<p>If you have a pet that needs a furever home, submit it for adoption.</p>
<button id="rehomeButton" class="popover-trigger" data-form="rehomepopover">Send A Form</button>
</div>
</section>
</div>
<div class="popover-card" id="rehomepopover">
<h3>Rehome Your Pet</h3>
<form id="rehomeForm" method="POST" enctype="multipart/form-data">
<label for="petName">Pet's Name:</label>
<input type="text" id="petName" name="petName" required>
<label for="petAge">Pet's Age:</label>
<input type="number" id="petAge" name="petAge" required>
<label for="petType">Pet Type:</label>
<select id="petType" name="petType" required>
<option value="">Select</option>
<option value="cat">Cat</option>
<option value="dog">Dog</option>
</select>
<label for="reasonForRehoming">Reason for Rehoming:</label>
<textarea id="reasonForRehoming" name="reasonForRehoming" rows="4" required></textarea>
<label for="petBehavior">Pet's Behavior (Friendly, Shy, Aggressive, etc.):</label>
<textarea id="petBehavior" name="petBehavior" rows="4" required></textarea>
<label for="petHealth">Pet's Health (Vaccinations, Neutered, etc.):</label>
<textarea id="petHealth" name="petHealth" rows="4" required></textarea>
<label for="petPhoto">Upload a Photo of the Pet:</label>
<input type="file" id="petPhoto" name="petPhoto" accept="image/*">
<label for="location">Location (Where is the pet located?):</label>
<input type="text" id="location" name="location" required>
<label for="contactEmail">Your Contact Email:</label>
<input type="email" id="contactEmail" name="contactEmail" required>
<label>
<input type="checkbox" id="isUrgent" name="isUrgent"> Is this an urgent rehoming? </label>
<div class="button-group">
<button type="submit">Submit</button>
<button type="button" class="close-btn-rehome">Close</button>
</div>
</form>
<button type="button" class="close-btn-form">×</button>
</div>
<div class="donate">
<section class="donate-section" id="donate-section">
<div class="donate-box">
<div>
<img src="assets/images/paypal.png" alt="PayPal QR Code" class="donate-image">
</div>
<h3 class="donate-text">Donate via PayPal</h3>
<p class="donate-text">Use the QR code or send donations to our PayPal email: <strong>[email protected]</strong>
</p>
<a href="https://www.paypal.com/donate/example" target="_blank" class="donate-button">Donate on PayPal</a>
</div>
</section>
</div>
</div>
<section class="contact-section" id="contact-section">
<h2 class="contact-text1">Contact Us</h2>
<h3 class="contact-text2">We love hearing from fellow animal lovers and animal welfare supporters. <br> Please see the appropriate contact channels for your concerns. </h3>
<li class="contact-card">
<div class="contact-group">
<div class="contact-info">
<h4>Contact Information:</h4>
<ul>
<li>Email: <a href="mailto:[email protected]">[email protected]</a>
</li>
<li>Phone: <a href="tel:+63499223344">+63 499 223 344</a>
</li>
<li>Address: 123 Rescue St., Batangas City, Philippines</li>
</ul>
</div>
<div class="animal-cruelty-info">
<h4>In Case of Animal Cruelty Incidents</h4>
<p>The Philippines’ Animal Welfare Act of 1998 protects animals from cruelty and abuse. In case you witness an act of animal cruelty,take photos or videos as evidence then immediately proceed to a police precinct near you to report the incident. Bring a police officer with you to the scene of the animal cruelty; they should be bound by the law to intervene. </p>
<p>We encourage you to take a proactive role in guarding the rights of the animals in our country. Please do not hesitate to contact us and we will be happy to guide you. </p>
</div>
</div>
<div class="contact-group">
<div class="faqs">
<section class="faq-section" id="faq-section">
<h2 class="faq-title">Frequently Asked Questions</h2>
<div class="faq-container">
<div class="faq-item">
<div class="faq-question">
<h3>How can I adopt a pet?</h3>
<i class="bx bx-chevron-down"></i>
</div>
<div class="faq-answer">
<p>You can browse the list of pets available for adoption on our website, select the pet you're interested in, and submit an adoption application form. Our team will review your application and get back to you promptly.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<h3>What is the adoption process like?</h3>
<i class="bx bx-chevron-down"></i>
</div>
<div class="faq-answer">
<p>The adoption process includes submitting an application, an interview with our team, and a home visit to ensure your home is suitable for the pet. Once approved, you can bring your new furry friend home!</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<h3>Can I donate to help the shelter?</h3>
<i class="bx bx-chevron-down"></i>
</div>
<div class="faq-answer">
<p>Yes! You can donate through our secure donation form on the website. All contributions go directly to providing food, medical care, and shelter for our rescued animals.</p>
</div>
</div>
</div>
</section>
</div>
</div>
</li>
</section>
</main>
</div>
<div class="popover-card" id="donateForm">
<h3>Donate</h3>
<form id="donateFormContent" action="php/donateform.php" method="post">
<label for="donorName">Name:</label>
<input type="text" id="donorName" name="donorName" required>
<label for="donationAmount">Amount:</label>
<input type="number" id="donationAmount" name="donationAmount" required>
<label for="location">Location:</label>
<input type="text" id="location" name="location" required>
<label for="paymentMethod">Payment Method:</label>
<select id="paymentMethod" name="paymentMethod" onchange="updateQRCode()" required>
<option value="">Select</option>
<option value="gcash">GCash</option>
<option value="paymaya">PayMaya</option>
</select>
<div id="qrCodeDisplay" style="text-align: center; margin-top: 10px; display: none;">
<img id="qrCodeImage" src="" alt="QR Code" style="max-width: 150px;">
</div>
<label for="referenceCode">Reference Code:</label>
<input type="text" id="referenceCode" name="referenceCode" required>
<label>
<input type="checkbox" id="isAnonymous" name="isAnonymous"> Do you want to donate Anonymously? </label>
<div class="button-group">
<button type="submit">Submit</button>
<button type="button" id="viewDonorsButton">View Donors</button>
<button class="close-btn">Close</button>
</div>
</form>
<button class="close-btn-form">×</button>
</div>
<div class="popover-card" id="donorsTable" style="display: none;">
<h3>Donors</h3>
<label for="donorsFilter">View Donors:</label>
<select id="donorsFilter" onchange="changeDonorsView()">
<option value="recent">Recent Donors</option>
<option value="top">Top Donors</option>
</select>
<table>
<thead>
<tr>
<th>Name</th>
<th>Amount</th>
<th>Location</th>
</tr>
</thead>
<tbody id="donorsList"></tbody>
</table>
<div class="button-group">
<button type="button" id="donateAgainButton" style="display: none;">Donate Again</button>
<button class="close-btn-all">Close</button>
<button class="close-btn-form">×</button>
<button id="prevPageButton" onclick="changePage(-1)" style="display: none;">Previous</button>
<button id="nextPageButton" onclick="changePage(1)">Next</button>
</div>
</div>
<div class="popover-card" id="sponsorForm">
<h3>Sponsor a Pet</h3>
<form id="sponsorFormContent" action="php/sponsorform.php" method="post">
<label for="sponsorName">Name:</label>
<input type="text" id="sponsorName" name="sponsorName" required>
<label for="sponsorshipAmount">Amount:</label>
<input type="number" id="sponsorshipAmount" name="sponsorshipAmount" required>
<label for="sponsorLocation">Location:</label>
<input type="text" id="sponsorLocation" name="sponsorLocation" required>
<label for="sponsorPaymentMethod">Payment Method:</label>
<select id="sponsorPaymentMethod" name="sponsorPaymentMethod" onchange="updateQRCodeForSponsors()" required>
<option value="">Select</option>
<option value="gcash">GCash</option>
<option value="paymaya">PayMaya</option>
</select>
<div id="sponsorQRCodeDisplay" style="text-align: center; margin-top: 10px; display: none;">
<img id="sponsorQRCodeImage" src="" alt="QR Code" style="max-width: 150px;">
</div>
<label for="referenceCode">Reference Code:</label>
<input type="text" id="sponsorReferenceCode" name="sponsorReferenceCode" required>
<label for="petId">Select Pet to Sponsor:</label>
<select id="petId" name="petId" required>
<option value="" disabled selected>Select A Pet</option>
</select>
<label>
<input type="checkbox" id="isAnonymousSponsor" name="isAnonymousSponsor"> Do you want to remain anonymous? </label>
<div class="button-group">
<button type="submit">Submit</button>
<button type="button" id="viewSponsorsButton">View Sponsors</button>
<button type="button" class="close-btn-spon">Close</button>
</div>
</form>
<button class="close-btn-form">×</button>
</div>
<div class="popover-card" id="sponsorsTable" style="display: none;">
<h3>Sponsors</h3>
<label for="sponsorsFilter">View Sponsors:</label>
<select id="sponsorsFilter" onchange="changeSponsorsView()">
<option value="recent">Recent Sponsors</option>
<option value="top">Top Sponsors</option>
</select>
<table>
<thead>
<tr>
<th>Name</th>
<th>Amount</th>
<th>Pet Name</th>
</tr>
</thead>
<tbody id="sponsorsList"></tbody>
</table>
<div class="button-group">
<button type="button" id="sponsorAgainButton" style="display: none;">Sponsor Again</button>
<button class="close-btn-all">Close</button>
<button class="close-btn-form">×</button>
<button id="previousPageButton" onclick="changeSponsorsPage(-1)" style="display: none;">Previous</button>
<button id="nexttPageButton" onclick="changeSponsorsPage(1)">Next</button>
</div>
</div>
<div class="popover-card" id="fosterForm">
<h3>Foster a Pet</h3>
<form id="fosterFormContent" action="php/fosterform.php" method="post">
<label for="fosterName">Name:</label>
<input type="text" id="fosterName" name="fosterName" required>
<label for="fosterLocation">Location:</label>
<input type="text" id="fosterLocation" name="fosterLocation" required>
<label for="fosterContact">Contact Number:</label>
<input type="text" id="fosterContact" name="fosterContact" required>
<label for="fosterEmail">Email Address:</label>
<input type="email" id="fosterEmail" name="fosterEmail" required>
<label for="duration">Fostering Duration (in weeks):</label>
<input type="number" id="duration" name="duration" min="1" required>
<label for="experience">Do you have experience fostering pets?</label>
<select id="experience" name="experience" required>
<option value="" disabled selected>Select</option>
<option value="yes">Yes</option>
<option value="no">No</option>
</select>
<label for="homeType">What type of home do you have?</label>
<select id="homeType" name="homeType" required>
<option value="" disabled selected>Select</option>
<option value="apartment">Apartment</option>
<option value="house_with_yard">House with a yard</option>
<option value="other">Other</option>
</select>
<label for="existingPets">Do you have existing pets? (If yes, specify):</label>
<input type="text" id="existingPets" name="existingPets">
<select id="fosterPetId" name="petId">
<option value="">Select Pet</option>
</select>
<label>
<input type="checkbox" id="isAnonymousFoster" name="isAnonymousFoster"> Do you want to remain anonymous? </label>
<div class="button-group">
<button type="submit">Submit</button>
<button type="button" id="viewFostersButton">View Fosters</button>
<button type="button" class="close-btn-foster">Close</button>
</div>
</form>
<button class="close-btn-form">×</button>
</div>
<div class="popover-card" id="fostersTable" style="display: none;">
<h3>Fosters</h3>
<label for="fostersFilter">View Fosters:</label>
<select id="fostersFilter" onchange="changeFostersView()">
<option value="recent">Recent Fosters</option>
<option value="longest">Longest Fosters</option>
</select>
<table>
<thead>
<tr>
<th>Name</th>
<th>Duration</th>
<th>Pet Name</th>
</tr>
</thead>
<tbody id="fostersList"></tbody>
</table>
<div class="button-group">
<button type="button" id="fosterAgainButton" style="display: none;">Foster Again</button>
<button class="close-btn-all">Close</button>
<button class="close-btn-form">×</button>
<button id="previousFosterPageButton" onclick="changeFostersPage(-1)" style="display: none;">Previous</button>
<button id="nextFosterPageButton" onclick="changeFostersPage(1)">Next</button>
</div>
</div>
<div class="overlay" id="overlay"></div>
<script src="assets/js/main.js"></script>
</body>
</html>