-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdetail.html
1042 lines (1014 loc) · 39.8 KB
/
detail.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
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Hollyhotel Hotel & Resort HTML Template</title>
<link href="./css/bootstrap.css" rel="stylesheet" />
<link href="./css/style.css" rel="stylesheet" />
<link href="./css/responsive.css" rel="stylesheet" />
<link href="./css/color.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com" rel="preconnect" />
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect" />
<link href="./css/css2.css" rel="stylesheet" />
<link
href="assets/images/favicon.png"
rel="shortcut icon"
type="image/x-icon"
/>
<link href="assets/images/favicon.png" rel="icon" type="image/x-icon" />
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
name="viewport"
/>
<script
src="/js/cdn.js"
id="mepaas-rewards"
api-key="y3krjw44aq7kkwixupd0j"
></script>
<script src="iniit.js"></script>
<style>
.openModal {
display: flex !important;
}
</style>
</head>
<body class="gray_bg">
<div class="page-wrapper">
<header class="main-header header-style-one">
<div class="header-top">
<div class="auto-container">
<div class="header-top-wrapper-box">
<div class="header-top-left-column">
<ul class="header-top-social-links">
<li>
<a href="#"><i class="fab fa-facebook-f"></i></a>
</li>
<li>
<a href="#"><i class="fab fa-twitter"></i></a>
</li>
<li>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
</li>
<li>
<a href="#"><i class="fab fa-instagram"></i></a>
</li>
</ul>
</div>
<div class="header-top-right-column">
<div class="header-top-text">
Clock: Mon - Sat 8:00 - 6:30, Sunday - <span>CLOSED</span>
</div>
</div>
</div>
</div>
</div>
<div class="header-upper">
<div class="auto-container">
<div class="inner-container">
<div class="logo-box">
<div class="logo">
<a href="/html/"
><img alt="" src="./images/logo-dark.png"
/></a>
</div>
</div>
<div class="nav-outer">
<div class="mobile-nav-toggler">
<img alt="" src="./images/icon-bar.png" />
</div>
<nav class="main-menu navbar-expand-md navbar-light">
<div
class="collapse navbar-collapse show clearfix"
id="navbarSupportedContent"
>
<ul class="navigation">
<li class="dropdown">
<a href="/html/">Home</a>
</li>
<li class="dropdown">
<a href="#">Rooms</a>
</li>
<li class="dropdown">
<a href="#">Blog</a>
</li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</nav>
</div>
<div class="right-column">
<div class="navbar-right">
<div class="link-btn">
<a class="btn-one" href="contact.html"
>Book Now + <span></span
></a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sticky-header">
<div class="header-upper">
<div class="auto-container">
<div class="inner-container">
<div class="logo-box">
<div class="logo">
<a href="/html/"
><img alt="" src="./images/logo-dark.png"
/></a>
</div>
</div>
<div class="nav-outer">
<div class="mobile-nav-toggler">
<img alt="" src="./images/icon-bar.png" />
</div>
<nav class="main-menu navbar-expand-md navbar-light"></nav>
</div>
<div class="right-column">
<div class="navbar-right">
<div class="link-btn">
<a class="btn-one" href="contact.html"
>Book Now + <span></span
></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="mobile-menu">
<div class="menu-backdrop"></div>
<div class="close-btn"><i class="icon far fa-times"></i></div>
<nav class="menu-box">
<div class="nav-logo">
<a href="/html/"
><img alt="" src="./images/logo-light.png" title=""
/></a>
</div>
<div class="menu-outer"></div>
<div class="social-links">
<ul class="clearfix">
<li>
<a href="#"><span class="fab fa-twitter"></span></a>
</li>
<li>
<a href="#"><span class="fab fa-facebook-square"></span></a>
</li>
<li>
<a href="#"><span class="fab fa-pinterest-p"></span></a>
</li>
<li>
<a href="#"><span class="fab fa-instagram"></span></a>
</li>
<li>
<a href="#"><span class="fab fa-youtube"></span></a>
</li>
</ul>
</div>
</nav>
</div>
<div class="nav-overlay">
<div class="cursor"></div>
<div class="cursor-follower"></div>
</div>
</header>
<section class="page-title-one">
<div class="auto-container">
<div class="page-title-one-content">
<h1 class="page-title">Room Details</h1>
<div class="page-title-one-desc">
Rooms And Suites Inspiration Destinations you can travel to now.
</div>
<div class="page-title-one-bread-crumb-area">
<ul class="page-title-one-bread-crumb">
<li><a href="/html/">Home</a></li>
<li>Room Details</li>
</ul>
</div>
</div>
</div>
</section>
<section class="room-one-section style-two">
<div class="auto-container">
<div class="row">
<div class="col-lg-4">
<form class="booking-form-widget" method="get">
<div class="booking-form-column">
<div class="booking-form-column-wrap">
<div class="" id="nd_booking_open_calendar_from">
<h4 class="nd_booking_date_label">Check-In</h4>
<div class="flex-box">
<h1
class="nd_booking_date_number_from_front"
id="nd_booking_date_number_from_front"
>
01
</h1>
<h6
class="nd_booking_date_month_from_front"
id="nd_booking_date_month_from_front"
>
Jan
</h6>
</div>
</div>
<input
class=""
id="nd_booking_date_month_from"
type="hidden"
/>
<input
class=""
id="nd_booking_date_number_from"
type="hidden"
/>
<input
class="opacity-0"
id="nd_booking_archive_form_date_range_from"
name="form-name"
placeholder="Check In"
type="text"
value=""
/>
</div>
</div>
<div class="booking-form-column">
<div class="booking-form-column-wrap">
<div class="" id="nd_booking_open_calendar_to">
<h4 class="nd_booking_date_label">Check-Out</h4>
<div class="flex-box">
<h1
class="nd_booking_date_number_from_front"
id="nd_booking_date_number_to_front"
>
04
</h1>
<h6
class="nd_booking_date_month_from_front"
id="nd_booking_date_month_to_front"
>
Feb
</h6>
</div>
</div>
<input
class=""
id="nd_booking_date_month_to"
type="hidden"
/>
<input
class=""
id="nd_booking_date_number_to"
type="hidden"
/>
<input
class="opacity-0"
id="nd_booking_archive_form_date_range_to"
name="form-name"
placeholder="Check Out"
type="text"
value=""
/>
</div>
</div>
<div class="booking-form-column">
<div
class="nd_booking_width_100_percentage nd_booking_width_100_percentage_all_iphone nd_booking_float_left nd_booking_box_sizing_border_box"
>
<h4 class="nd_booking_date_label">Room</h4>
<div class="room-opt">
<select>
<option data-display="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
</select>
<span class="nd_booking_date_month_from_front">Room</span>
</div>
</div>
</div>
<div class="booking-form-column">
<div
class="nd_booking_width_100_percentage nd_booking_width_100_percentage_all_iphone nd_booking_float_left nd_booking_box_sizing_border_box"
>
<h4 class="nd_booking_date_label">Guests</h4>
<div class="room-opt">
<select>
<option data-display="09">09</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
</select>
<span class="nd_booking_date_month_from_front"
>Guest</span
>
</div>
</div>
</div>
<div class="booking-form-submit-btn">
<div class="booking-form-submit-btn-label">
Have a Promotion Code?
</div>
<div class="form-group">
<label for="promoCode">Promo Code</label>
<input
type="text"
id="promoCode"
placeholder="Enter promo code"
/>
<button
type="button"
id="applyPromoBtn"
class="btn-one"
style="margin-top: 10px"
onclick="applyPromoCode()"
>
Apply Promo Code
</button>
<button
type="button"
id="openModalBtn"
class="btn-one"
style="margin-top: 10px; width: 100%"
onclick="openModal()"
>
Book Now<span></span>
</button>
</div>
</div>
</form>
<div class="search-widget">
<h4 class="widget-title">Search</h4>
<form>
<input
class="search-widget-search-field"
placeholder=""
type="search"
/>
</form>
</div>
<div class="services-category-one">
<h4 class="widget-title">Room Services</h4>
<ul class="services-category-onelist">
<li><i class="fas fa-sort-down"></i> Swimming Pool</li>
<li><i class="fas fa-sort-down"></i> Smooking Room</li>
<li><i class="fas fa-sort-down"></i> Wifi-24 H</li>
<li><i class="fas fa-sort-down"></i> Sea View</li>
<li><i class="fas fa-sort-down"></i> Breckfast Included</li>
<li><i class="fas fa-sort-down"></i> Car Parking</li>
<li><i class="fas fa-sort-down"></i> 10% Discount</li>
</ul>
</div>
</div>
<div class="col-lg-8">
<div class="room-one-block">
<div class="room-one-like"><i class="far fa-heart"></i></div>
<div class="room-one-image img_hover_3">
<img alt="" src="./images/room-15.jpg" />
</div>
<div class="room-one-content style-three">
<div class="room-one-rating">
<div class="room-one-rating-icon">
<i class="fal fa-star"></i>
<i class="fal fa-star"></i>
<i class="fal fa-star"></i>
<i class="fal fa-star"></i>
<i class="fal fa-star"></i>
</div>
<div class="room-one-rating-info">(5.0 Reviews)</div>
</div>
<h4 class="room-one-title-three">
Luxury with Ultra Family Room.
</h4>
<div class="row">
<div class="col-sm-6">
<ul class="room-one-info">
<li>Status: <span>Avaialble</span></li>
<li>Deposit: <strong>10% OFF</strong></li>
</ul>
</div>
<div class="col-sm-6">
<ul class="room-one-info">
<li>Bads: <strong>03</strong></li>
<li>Parson: <strong>: 06 - 08</strong></li>
</ul>
</div>
</div>
<div class="room-one-desc mt-30 mb-50">
Proin urna nunc, pharetra at placerat venenatis, sagittis at
nunc. Curabitur suscipit faucibus fermentum. Integer et
hendrerit leo. Phasellus in volutpat ante, ut posuere ipsum.
Morbi et libero id justo tristique cursus a sed sapien.
Pellentesque turpis too massa, facilisis ut tortor sit amet,
consequat congue ex. Proin aliquet luctus vestibul. Duis
efficitur sem nibh, vel cursus felis tristique vitae.
<br /><br />
Interdum et malesuada fames ac ante ipsum primis in
faucibus. Duis tempus iaculis tempor. Fusce molestie eu nunc
quis viverra. Donec semper sapien ut gravida gravida. Aenean
rhoncus venenatis mi, sed venenatis felis facilisis eget.
Proin sollicitudin cursus nunc eu pharetra. Nam sed mauris
purus.
</div>
</div>
<div class="room-one-list mb-50">
<h4 class="room-one-title-two">Amenities</h4>
<div class="row">
<div class="col-md-4 col-sm-6">
<ul class="room-one-info-two">
<li><i class="fas fa-house-flood"></i>Booking House</li>
<li>
<i class="fas fa-credit-card-front"></i>Accepts Credit
Cards
</li>
<li><i class="fas fa-user"></i>Tour Team</li>
</ul>
</div>
<div class="col-md-4 col-sm-6">
<ul class="room-one-info-two">
<li><i class="fas fa-bus"></i>Bus Parking</li>
<li><i class="fas fa-car"></i>Car Parking</li>
<li><i class="fas fa-motorcycle"></i>Bike parking</li>
</ul>
</div>
<div class="col-md-4 col-sm-6">
<ul class="room-one-info-two">
<li>
<i class="fas fa-user-nurse"></i>Girlfriend Free
</li>
<li><i class="fas fa-door-open"></i>Outdoor Seating</li>
</ul>
</div>
</div>
</div>
<div class="room-one-list mb-50">
<h4 class="room-one-title-two">Filter By Tags</h4>
<div class="row">
<div class="col-md-4 col-sm-6">
<ul class="room-one-info-two">
<li><input type="checkbox" /> Booking House</li>
<li><input type="checkbox" />Reservation</li>
<li><input type="checkbox" />Tour operator</li>
<li><input type="checkbox" />Travel Agency</li>
</ul>
</div>
<div class="col-md-4 col-sm-6">
<ul class="room-one-info-two">
<li><input type="checkbox" />Tour Ratting</li>
<li><input type="checkbox" />Trip Vacation</li>
<li><input type="checkbox" />Booking House</li>
<li><input type="checkbox" />Rasturent Food</li>
</ul>
</div>
<div class="col-md-4 col-sm-6">
<ul class="room-one-info-two">
<li><input type="checkbox" />Moharaja Pales</li>
<li><input type="checkbox" />Tour Place</li>
<li><input type="checkbox" />Funny Mode</li>
<li><input type="checkbox" />Booking House</li>
</ul>
</div>
</div>
</div>
<div class="room-one-price">
<div class="room-one-price-left-side">
<!-- Original Price with optional strikethrough -->
<div class="room-one-price-value">
<span id="originalPrice" style="text-decoration: none"
>$500.00</span
>
<span
id="discountedPrice"
style="font-weight: bold; color: red; display: none"
></span>
</div>
<div class="room-one-price-label">
Starting price /Night
</div>
</div>
<div class="room-one-price-left-side">
<div class="room-one-price-phone-number">
<i class="fas fa-phone"></i>
<a href="tel:09638111666">09638111666</a>
</div>
<div class="room-one-price-phone-number-title">
Have questions about this product
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="room-one-section style-two pt-0">
<div class="auto-container">
<div class="row align-items-center">
<div class="col-lg-6">
<div class="title-box">
<div class="sub-title">Discover Our Rooms</div>
<h2 class="sec-title">Luxury Interior</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-md-6">
<div class="room-one-block">
<div class="room-one-like"><i class="far fa-heart"></i></div>
<div class="room-one-image img_hover_3">
<img alt="" src="./images/room-1.jpg" />
</div>
<div class="room-one-content style-two">
<div class="room-one-info">
Starting From <span>$19.00</span> /Night
</div>
<h4 class="room-one-title">
<a href="/html/room-details"
>Luxury with Ultra Family Room.</a
>
</h4>
<div class="room-one-desc">
Nulla imperdiet ligula est, maximus est sodales Phasellus
varius.
</div>
<div class="row">
<div class="col-sm-6">
<ul class="room-one-info">
<li>Status: <span>Avaialble</span></li>
<li>Deposit: <strong>10% OFF</strong></li>
</ul>
</div>
<div class="col-sm-6">
<ul class="room-one-info">
<li>Bads: <strong>03</strong></li>
<li>Parson: <strong>: 06 - 08</strong></li>
</ul>
</div>
</div>
<div class="room-one-link-btn">
<a class="btn-one s-four" href="/html/room-details"
>Book Now + <span></span
></a>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="room-one-block">
<div class="room-one-like"><i class="far fa-heart"></i></div>
<div class="room-one-image img_hover_3">
<img alt="" src="./images/room-2.jpg" />
</div>
<div class="room-one-content style-two">
<div class="room-one-info">
Starting From <span>$19.00</span> /Night
</div>
<h4 class="room-one-title">
<a href="/html/room-details"
>Luxury with Ultra Family Room.</a
>
</h4>
<div class="room-one-desc">
Nulla imperdiet ligula est, maximus est sodales Phasellus
varius.
</div>
<div class="row">
<div class="col-sm-6">
<ul class="room-one-info">
<li>Status: <span>Avaialble</span></li>
<li>Deposit: <strong>10% OFF</strong></li>
</ul>
</div>
<div class="col-sm-6">
<ul class="room-one-info">
<li>Bads: <strong>03</strong></li>
<li>Parson: <strong>: 06 - 08</strong></li>
</ul>
</div>
</div>
<div class="room-one-link-btn">
<a class="btn-one s-four" href="/html/room-details"
>Book Now + <span></span
></a>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="room-one-block">
<div class="room-one-like"><i class="far fa-heart"></i></div>
<div class="room-one-image img_hover_3">
<img alt="" src="./images/room-3.jpg" />
</div>
<div class="room-one-content style-two">
<div class="room-one-info">
Starting From <span>$19.00</span> /Night
</div>
<h4 class="room-one-title">
<a href="/html/room-details"
>Luxury with Ultra Family Room.</a
>
</h4>
<div class="room-one-desc">
Nulla imperdiet ligula est, maximus est sodales Phasellus
varius.
</div>
<div class="row">
<div class="col-sm-6">
<ul class="room-one-info">
<li>Status: <span>Avaialble</span></li>
<li>Deposit: <strong>% OFF</strong></li>
</ul>
</div>
<div class="col-sm-6">
<ul class="room-one-info">
<li>Bads: <strong>03</strong></li>
<li>Parson: <strong>: 06 - 08</strong></li>
</ul>
</div>
</div>
<div class="room-one-link-btn">
<a class="btn-one s-four" href="/html/room-details"
>Book Now + <span></span
></a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="funfact-section style-two">
<div class="auto-container">
<div class="row">
<div class="col-lg-3 col-md-6">
<div class="funfact-one">
<div class="count-outer count-box">
<span
class="funfact-one-count-text count-text"
data-speed="3000"
data-stop="23"
>0</span
>
</div>
<div class="funfact-one-title">Spa Offers</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="funfact-one">
<div class="count-outer count-box">
<span
class="funfact-one-count-text count-text"
data-speed="3000"
data-stop="204"
>0</span
>
</div>
<div class="funfact-one-title">Toatal Rooms</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="funfact-one">
<div class="count-outer count-box">
<span
class="funfact-one-count-text count-text"
data-speed="3000"
data-stop="05"
>0</span
>
</div>
<div class="funfact-one-title">Total Brunces</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="funfact-one">
<div class="count-outer count-box">
<span
class="funfact-one-count-text count-text"
data-speed="8"
data-stop="20"
>0</span
><span>k</span>
</div>
<div class="funfact-one-title">Spa Offers</div>
</div>
</div>
</div>
</div>
</section>
<footer class="main-footer">
<div class="auto-container">
<div class="footer-widgets-section">
<div class="row clearfix">
<div class="column col-lg-3 col-md-6">
<div class="widget footer-logo">
<div class="image">
<a href="/html/"
><img alt="" src="./images/footer-1.png"
/></a>
</div>
</div>
</div>
<div class="column col-lg-3 col-md-6">
<div class="widget about-widget">
<h3 class="widget-title">About Us</h3>
<div class="widget-content">
<div class="about-wdget-text">
Pellentque vestilum massa <br />
posuere pulvinar.
</div>
<ul>
<li>
Email.
<a href="mailto:[email protected]">[email protected]</a>
</li>
<li>
Phone. <a href="tel:+5662220033">+ 566 222 00 33</a>
</li>
</ul>
</div>
</div>
</div>
<div class="column col-lg-3 col-md-6">
<div class="widget links-widget">
<h3 class="widget-title">Top Links</h3>
<div class="widget-content">
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">My Account</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms & Conditions</a></li>
</ul>
</div>
</div>
</div>
<div class="column col-lg-3 col-md-6">
<div class="widget contact-widget">
<h2 class="widget-title">
Melbourne, <span>Australia</span>
</h2>
<div class="contact-widget-text">
269 King Str, 05th Floor, Utral Hosue Building, Melbourne,
VIC 3000, Australia.
</div>
<div class="contact-widget-social-links">
<ul>
<li>
<a href="#"><i class="fab fa-facebook-f"></i></a>
</li>
<li>
<a href="#"><i class="fab fa-twitter"></i></a>
</li>
<li>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
</li>
<li>
<a href="#"><i class="fab fa-instagram"></i></a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="auto-container">
<div class="wrapper-box">
<div class="copyright-text">
Copyrigh ©holly.hotel All Rights Reserved
</div>
</div>
</div>
</div>
</footer>
</div>
<div class="scroll-to-top">
<a
class="back-to-top"
data-wow-delay="1.0s "
data-wow-duration="1.0s "
href="# "
><i class="fa fa-angle-up"></i
></a>
</div>
<script src="./js/jquery.js"></script>
<script src="./js/bootstrap.bundle.min.js"></script>
<script src="./js/jquery.fancybox.js"></script>
<script src="./js/isotope.js"></script>
<script src="./js/owl.js"></script>
<script src="./js/appear.js"></script>
<script src="./js/wow.js"></script>
<script src="./js/scrollbar.js"></script>
<script src="./js/TweenMax.min.js"></script>
<script src="./js/swiper.min.js"></script>
<script src="./js/jquery.ajaxchimp.min.js"></script>
<script src="./js/parallax-scroll.js"></script>
<script src="./js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="./js/jquery.nice-select.min.js"></script>
<script src="./js/booking-form.js"></script>
<script src="./js/script.js"></script>
<script src="main.js"></script>
<div
style="
position: fixed;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
top: 0;
left: 0;
z-index: 1000;
display: none;
justify-content: center;
align-items: center;
"
class="spend-modal"
>
<div
style="
width: 300px;
height: 300px;
background-color: white;
border-radius: 30px;
padding: 34px;
text-align: center;
"
>
<p>Original Room Price: <span id="originalPrice">$500</span></p>
<p>Discount: <span id="discountAmount">$0</span></p>
<p>Total to pay: <span id="totalAmount">$500</span></p>
<button
type="button"
id="openModalBtn"
class="btn-one"
style="margin-top: 10px; width: 100%"
onclick="confirmOrder()"
>
Confirm<span></span>
</button>
</div>
</div>
<script>
window.onload = function () {
const modal = document.querySelector(".spend-modal");
const originalPrice = 500;
let discount = 0;
const email = localStorage.getItem("email");
if (email) {
window.setCustomerData({
email,
id: `${Date.now()}`,
firstName: email,
lastName: "Last Name",
});
}
window.openModal = () => {
modal.style.display = "flex";
};
window.closeModal = () => {
modal.style.display = "none";
};
window.applyPromoCode = async () => {
const promoCode = document.getElementById("promoCode").value.trim();
const originalPriceElement = document.getElementById("originalPrice");
const discountedPriceElement =
document.getElementById("discountedPrice");
const discountAmountElement =
document.getElementById("discountAmount");
const totalAmountElement = document.getElementById("totalAmount");
const originalPrice = 500; // Base price
// Extract idOnBrandSite from the "id" query parameter in the URL
const urlParams = new URLSearchParams(window.location.search);
const idOnBrandSite = urlParams.get("id");
if (!idOnBrandSite) {
alert("Product ID is missing from the URL.");
return;
}
if (!promoCode) {
alert("Please enter a promo code.");
return;
}
const payload = {
code: promoCode,
idOnBrandSite, // Use the extracted idOnBrandSite
};
const apiKey = localStorage.getItem("apiKey");
try {
const response = await fetch(
"https://api.meappbounty.com/order/use-coupon/external",
{
method: "POST",
headers: {
accept: "*/*",
"x-public-key": apiKey,
"Content-Type": "application/json",
Authorization: `Bearer ${apiKey}`,
},
body: JSON.stringify(payload),
}
);
if (!response.ok) {
throw new Error("Failed to validate the promo code.");
}
const data = await response.json();
const redemptionMethod =
data?.data?.coupon?.order?.redemptionMethod;
const discountAmount =
redemptionMethod.type === "FIXED_AMOUNT_OFF"
? Number(redemptionMethod?.discountAmount)
: redemptionMethod.type === "FIXED_PERCENTAGE_OFF"
? (Number(redemptionMethod?.discountPercentage) / 100) *
originalPrice
: 0;
if (discountAmount > 0) {
const finalPrice = Math.max(originalPrice - discountAmount, 0); // Ensure no negative prices
// Apply styles to reflect the discount
originalPriceElement.style.textDecoration = "line-through";
discountedPriceElement.style.display = "inline";
discountedPriceElement.textContent = `$${finalPrice.toFixed(2)}`;
discountAmountElement.textContent = `$${discountAmount.toFixed(
2
)}`;
totalAmountElement.textContent = `$${finalPrice.toFixed(2)}`;
alert("Promo code applied successfully!");
} else {
throw new Error("Invalid promo code or no discount available.");
}
} catch (error) {
// Reset prices and styles on error
originalPriceElement.style.textDecoration = "none";
discountedPriceElement.style.display = "none";
discountAmountElement.textContent = `$0.00`;
totalAmountElement.textContent = `$${originalPrice.toFixed(2)}`;
alert(
error.message ||
"An error occurred while validating the promo code."
);
}
};
window.confirmOrder = async () => {
const email = localStorage.getItem("email");
const totalAmount = parseFloat(
document.getElementById("totalAmount").textContent.replace("$", "")
);
const apiKey = localStorage.getItem("apiKey");
const payload = {
user: {
id: `user-${Date.now()}`,
email: email,
name: email,
createdAt: new Date().toISOString(),
lastLoginDate: new Date().toISOString(),
totalOrders: 5, // Example value
totalSpend: 500.75, // Example value
totalPoints: 200, // Example value
status: "active",
},
order: {