X7ROOT File Manager
Current Path:
/home/u126090504/domains/oceanicabeachresort.com/public_html
home
/
u126090504
/
domains
/
oceanicabeachresort.com
/
public_html
/
📁
..
📄
.htaccess
(0 B)
📁
Version
📄
about.php
(4.19 KB)
📁
admin
📁
assets
📄
booking.php
(4.55 KB)
📄
booking_details.php
(4.43 KB)
📄
booking_process.php
(1.12 KB)
📄
config.php
(914 B)
📄
contact.php
(14.48 KB)
📄
contactdb.php
(796 B)
📄
footer.php
(13.26 KB)
📄
gallery.php
(2.82 KB)
📄
header.php
(19.3 KB)
📁
images
📄
index.php
(2.27 KB)
📄
indexx.php
(75.25 KB)
📁
lib
📄
oce.zip
(106.17 MB)
📄
payment.php
(6.79 KB)
📄
payment_submit.php
(15.1 KB)
📄
payment_verify.php
(2.31 KB)
📄
peret.php
(266.87 KB)
📁
qrcodes
📄
room-service.php
(8.98 KB)
📄
search_videos.php
(1.76 KB)
📄
services.php
(14.04 KB)
📄
success.php
(2.06 KB)
📄
test_mailer.php
(372 B)
📄
thank-you.php
(1.28 KB)
📁
uploads
📄
videos.php
(6.87 KB)
Editing: booking_details.php
<?php include 'config.php'; $bid = $_GET['bid'] ?? ''; if ($bid == '') { die('Invalid Booking'); } $data = mysqli_fetch_assoc( mysqli_query($conn,"SELECT * FROM bookings WHERE booking_id='$bid'") ); if(!$data){ die('Booking not found'); } // Nights $in = new DateTime($data['checkin_date']); $out = new DateTime($data['checkout_date']); $nights = $in->diff($out)->days; if($nights < 1) $nights = 1; ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Complete Your Booking</title> <style> *{box-sizing:border-box} body{ margin:0; background:#f4f6f9; font-family:'Segoe UI',Arial,sans-serif; } .container{ max-width:1100px; margin:20px auto; padding:12px; } .card{ background:#fff; border-radius:18px; box-shadow:0 12px 35px rgba(0,0,0,.08); overflow:hidden; } .header{ padding:26px; border-bottom:1px solid #eee; } .header h2{ margin:0 0 6px 0; font-size:26px; } .header p{ margin:0; color:#555; font-size:14px; } /* INFO GRID */ .info-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; padding:24px; } .info-box{ background:#f8fafc; border-radius:14px; padding:16px; } .info-box span{ font-size:12px; color:#777; display:block; margin-bottom:4px; } .info-box b{ font-size:15px; color:#111; white-space:nowrap; /* 🔴 room single line */ overflow:hidden; text-overflow:ellipsis; } /* AMOUNT */ .amount-box{ margin:0 24px 24px; background:linear-gradient(135deg,#071a2d,#0b2a45); color:#fff; border-radius:18px; padding:26px; } .amount-box span{ font-size:13px; opacity:.85; } .amount-box h3{ margin:6px 0 0; font-size:30px; } /* FORM */ .form-wrap{ padding:0 24px 28px; } .form-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; } input{ width:100%; padding:14px 16px; border:1px solid #ddd; border-radius:12px; font-size:14px; } input:focus{ outline:none; border-color:#d4a017; } .btn{ margin-top:20px; width:100%; padding:16px; border:none; border-radius:14px; background:#d4a017; font-size:16px; font-weight:600; cursor:pointer; } .btn:hover{ background:#c29613; } /* RESPONSIVE */ @media(max-width:1000px){ .info-grid{grid-template-columns:repeat(3,1fr);} } @media(max-width:600px){ .info-grid{grid-template-columns:1fr;} .form-grid{grid-template-columns:1fr;} .header h2{font-size:22px;} .amount-box h3{font-size:26px;} } </style> </head> <body> <div class="container"> <div class="card"> <div class="header"> <h2>Complete Your Booking</h2> <p>Booking ID: <b><?= htmlspecialchars($bid) ?></b></p> </div> <!-- INFO --> <div class="info-grid"> <div class="info-box"> <span>Room</span> <b title="<?= htmlspecialchars($data['room_type']) ?>"> <?= htmlspecialchars($data['room_type']) ?> </b> </div> <div class="info-box"> <span>Check-In</span> <b><?= date("d-m-Y",strtotime($data['checkin_date'])) ?></b> </div> <div class="info-box"> <span>Check-Out</span> <b><?= date("d-m-Y",strtotime($data['checkout_date'])) ?></b> </div> <div class="info-box"> <span>Nights</span> <b><?= $nights ?></b> </div> <div class="info-box"> <span>Adults</span> <b><?= (int)$data['adults'] ?></b> </div> <div class="info-box"> <span>Children</span> <b><?= (int)$data['children'] ?></b> </div> </div> <!-- AMOUNT --> <div class="amount-box"> <span>Total Amount</span> <h3>₹<?= number_format($data['amount'],2) ?></h3> </div> <!-- FORM --> <div class="form-wrap"> <form action="payment.php" method="POST"> <input type="hidden" name="booking_id" value="<?= htmlspecialchars($bid) ?>"> <div class="form-grid"> <input type="text" name="name" placeholder="Full Name" required> <input type="email" name="email" placeholder="Email Address" required> <input type="text" name="mobile" placeholder="Mobile Number" required> </div> <button type="submit" class="btn">Proceed to Payment</button> </form> </div> </div> </div> </body> </html>
Upload File
Create Folder