Server IP : 162.241.126.129 / Your IP : 18.117.231.160 Web Server : Apache System : Linux 162-241-126-129.cprapid.com 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64 User : rvway5nu4 ( 1018) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/rvway5nu4/www/ |
Upload File : |
<?php include("./config/data.config.php"); include("$LIB_DIR/functions.lib.php"); include("$LIB_DIR/db.php"); include("$LIB_DIR/db/mysqli.php"); include("$LIB_DIR/data.constant.php"); include("$LIB_DIR/sitemsgs.php"); include("$LIB_DIR/class.paging.php"); include("$LIB_DIR/functions.mailer.php"); $error=''; $msg=''; if( !isset( $_SESSION['SESS_id'] ) && ( $_SESSION['SESS_type'] == 'AD' ) ){ $_SESSION['msg'] = '<div class="alert alert-warning" >There is no login.</div>'; header('Location: '.SUB_DIR_PROJECT.'/index.php'); exit; } global $SITE_URL, $IMG_DIR; $db = new Db( $DB_HOST, $DB_USERNAME, $DB_PASSWORD, $DB_NAME, $DB_REPORT_ERROR, $DB_PERSISTENT_CONN); if( isset( $_REQUEST['submitrepair']) && ( $_REQUEST['submitrepair'] == 'yes' ) ){ $sqlIn = "INSERT INTO tbl_repair_service SET First_Name = '".addslashes($_REQUEST['First_Name'])."', Last_Name = '".addslashes($_REQUEST['Last_Name'])."', Sender_Email = '".addslashes($_REQUEST['Sender_Email'])."', Phone = '".addslashes($_REQUEST['Phone'])."', Address = '".addslashes($_REQUEST['Address'])."', City = '".addslashes($_REQUEST['City'])."', State = '".addslashes($_REQUEST['State'])."', Zip = '".addslashes($_REQUEST['Zip'])."', Type_of_Vehicle = '".addslashes($_REQUEST['Type_of_Vehicle'])."', Year = '".addslashes($_REQUEST['Year'])."', Make = '".addslashes($$_REQUEST['Make'])."', Model = '".addslashes($_REQUEST['Model'])."', Mileage = '".addslashes($_REQUEST['Mileage'])."', VIN = '".addslashes($_REQUEST['VIN'])."', Service_Needs = '".addslashes($_REQUEST['Service_Needs'])."', Comments = '".addslashes($_REQUEST['Comments'])."', Date = '".addslashes($_REQUEST['Date'])."', Service_Before = '".addslashes($_REQUEST['Service_Before'])."', If_Yes = '".addslashes($_REQUEST['If_Yes'])."', Work_Done = '".addslashes($_REQUEST['Work_Done'])."', dt_addedDate = NOW() "; $result=$db->query($sqlIn); $new_repair_id = $db->getLastId(); if($new_repair_id){ $PROMPT ='<div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">X</button> <strong><i class="fa fa-check-circle"></i> Success :</strong> Add successfully. </div>'; }else { $PROMPT = '<div class="alert alert-warning alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">X</button> <strong><i class="fa fa-exclamation-circle"></i> Warning :</strong> Sorry try again.; </div>'; } $_SESSION['msg'] = $PROMPT; header('Location: '.SUB_DIR_PROJECT.'/repairv_service.php'); exit; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"/> <title>RV Way</title> <!-- mobile responsive meta --> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php require_once($ROOT_DIR.'/page_content/us/common/header_common_link1.php'); ?> <?php //require_once($ROOT_DIR.'/page_content/us/common/header_common_link2.php'); ?> <?php require_once($ROOT_DIR.'/page_content/us/common/header_common_link3.php'); ?> <?php require_once($ROOT_DIR.'/page_content/us/common/header_common_link4.php'); ?> </head> <body> <div class="preloader"></div> <div class="page-wrapper" > <!-- space for preloader --> <header class="site-header header-one" > <div class="top-header"> <?php require_once($ROOT_DIR.'/page_content/us/common/header_top.php'); ?> </div><!-- /.top-header --> <nav class="navbar navbar-expand-lg navbar-light header-navigation stricky header-style-one" > <?php require_once($ROOT_DIR.'/page_content/us/common/header_nav.php'); ?> </nav> </header><!-- /.site-header --> <?php // require_once($ROOT_DIR.'/page_content/minimal-bootstrap-carousel_h.php'); ?> <?php // require_once($ROOT_DIR.'/page_content/us/home/minimal-bootstrap-carousel.php'); ?> <div class="container"> <div class="row"> <div class="col-12 mb-xl-5 text-xl-left text-center"> <?php if( isset($_SESSION['msg'])) { echo $_SESSION['msg']; } ?> <div class="" style='margin-top:20px;' > <h2 class="c3">We have nine service bays to handle all of your needs.</h2> <p>Are you looking for expert RV service in PA? Look no further than the qualified team at Indian Valley Camping Center. From tire replacement to total trailer overhaul, our friendly and knowledgeable maintenance staff has you covered.</p> </div><!-- /.thm-header --> </div><!-- /.col-12 --> <div class="col-12 mb-xl-5 text-xl-left text-center"> <div class="servie-page"> <h2 class="c3">Some of Our Services.</h2> <ul class="list-group"> <li>Total RV Repairs</li> <li>PA State Inspection of RV Trailers and Motorhomes</li> <li>Generator repair and replacement. Certified Onan Cummins service center.</li> <li>Appliance repair and replacement. Certified Dometic, Norcold, Atwood, Suburban service and warranty center.</li> <li>Water leak detection and repair service using Sealtech 430R technology.</li> <li>Seasonal services, including winterizing, de-winterizing, roof maintenance, preventative maintenance, (Examining all seals and seams for any necessary sealing. Safety inspections for smaller trailers that don't require state inspections.) Wheel bearing inspection and packing.</li> <li>Tire replacement</li> <li>Hitch sales and installations. Brands sold include, Draw-Tite, Reese, Hidden Hitch and Curt. Certified Draw-Tite "Hitch Pro" Installations</li> <li>Star RV Service protection plans</li> <li>Foremost Insurance sales and repair service</li> </ul> </div><!-- /.thm-header --> </div><!-- /.col-12 --> </div><!-- /.row --> </div><!-- /.container --> <!--Start AAAAAAAAAAAAAAAAAAAAAAAAAAAAA --> <div class="container"> <form method="post" enctype="multipart/form-data"> <div class="row"> <div class="col-md-12"> <div class="col-sm-12"> <div> <input type="hidden" name="Schedule_Service_Appointment|header" value=""> </div> <div class="row"> <div class="col-sm-6"> <fieldset id="fieldset-1"> <div class="mb-1" id="fieldset-help-block"> <h2>Please fill out all required fields</h2><BR/> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="firstName">First Name<span class="copyHighlight"> *</span></label> </div> <div class="form-group has-feedback col-sm-5 col-md-8"> <input name="First_Name" type="text" class="form-control ss_red_required" aria-label="First Name" id="firstName" placeholder="First Name" data-error="Please enter a First Name" required=""> <div class="help-block with-errors"></div> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="lastName">Last Name<span class="copyHighlight"> *</span></label> </div> <div class="form-group has-feedback col-sm-5 col-md-8"> <input name="Last_Name" type="text" class="form-control ss_red_required" aria-label="Last Name" id="lastName" placeholder="Last Name" data-error="Please enter a Last Name" required=""> <div class="help-block with-errors"></div> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="email">Email<span class="copyHighlight"> *</span></label> </div> <div class="form-group has-feedback col-sm-5 col-md-8"> <input name="Sender_Email" type="text" class="form-control ss_red_required" aria-label="Email" id="email" placeholder="someone@example.com" pattern="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" data-error="Please enter a valid Email Address" required=""> <div class="help-block with-errors"></div> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="phone"> Phone<br> <small>(EX: 123-456-7890)</small></label> </div> <div class="form-group col-sm-5 col-md-8"> <input name="Phone" type="text" class="form-control" aria-label="Phone" id="phone" placeholder="123-456-7890"> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="address">Address</label> </div> <div class="form-group col-sm-5 col-md-8"> <input name="Address" type="text" class="form-control" aria-label="Address" id="address" placeholder="Address"> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="city">City</label> </div> <div class="form-group col-sm-5 col-md-8"> <input name="City" type="text" class="form-control" aria-label="City" id="city" placeholder="City"> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="state">State</label> </div> <div class="form-group col-sm-5 col-md-8"> <input name="State" type="text" class="form-control" aria-label="State" id="State" placeholder="State"> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="zip">Zip</label> </div> <div class="form-group col-sm-5 col-md-8"> <input name="Zip" type="text" class="form-control" aria-label="Zip" id="zip" placeholder="Zip" data-error="Please enter a valid Zip"> </div> </div> </fieldset> </div> <div class="col-sm-6"> <fieldset id="fieldset-2"> <div class="row"> <div class="col-sm-12"> <h2>Type of Vehicle</h2><BR/> <input type="hidden" name="Type_of_Vehicle" value=""> </div> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="year">Year<span class="copyHighlight"> *</span></label> </div> <div class="form-group has-feedback col-sm-5 col-md-8"> <input name="Year" type="text" class="form-control ss_red_required" aria-label="Year" id="year" placeholder="ex. 1999" data-error="Please enter a Year" required=""> <div class="help-block with-errors"></div> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="make">Make<span class="copyHighlight"> *</span></label> </div> <div class="form-group has-feedback col-sm-5 col-md-8"> <input name="Make" type="text" class="form-control ss_red_required" aria-label="Unit Make" id="make" placeholder="Make" data-error="Please enter a Make" required=""> <div class="help-block with-errors"></div> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="model">Model<span class="copyHighlight"> *</span></label> </div> <div class="form-group has-feedback col-sm-5 col-md-8"> <input name="Model" type="text" class="form-control ss_red_required" aria-label="Model" id="model" placeholder="Model" data-error="Please enter a Model Name" required=""> <div class="help-block with-errors"></div> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="mileage">Mileage</label> </div> <div class="form-group col-sm-5 col-md-8"> <input name="Mileage" type="text" class="form-control" aria-label="Mileage" id="mileage" placeholder="Mileage"> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="vin">VIN #</label> </div> <div class="form-group col-sm-5 col-md-8"> <input name="VIN" type="text" class="form-control" aria-label="VIN" id="vin" placeholder="VIN #"> </div> <!-- /.form-group --> </div> </fieldset> </div> </div> <div class="row"> </div> <div class="row"> <div class="col-sm-6"> <fieldset id="fieldset-3"> <div class="row"> <div class="col-sm-12"> <h2>Service Needs</h2><BR/> <input type="hidden" name="Service_Needs" value=""> </div> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="comments">Tell us how we can help<span class="copyHighlight">*</span></label> </div> <div class="form-group has-feedback col-sm-5 col-md-8"> <textarea name="Comments" type="text" class="form-control ss_red_required" aria-label="Comments" id="comments" placeholder="Description" data-error="Please fill out this field" required=""></textarea> <div class="help-block with-errors"></div> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="date">Preferred Date</label> </div> <div class="form-group col-sm-5 col-md-8"> <input name="Date" type="text" class="form-control" aria-label="Date" id="date" placeholder="ex. Monday or Friday, any day except Tuesdays, etc..."> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="serviceBefore">Have we serviced your vehicle before?</label> </div> <div class="form-group col-sm-5 col-md-8"> <select name="Service_Before" id="serviceBefore" aria-label="Serviced Before" class="form-control"> <option value="">Select Option</option> <option value="yes">Yes</option> <option value="no">No</option> </select> </div> <!-- /.form-group --> </div> </fieldset> </div> <div class="col-sm-6"> <fieldset id="fieldset-3"> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="ifYesWhen">If yes when?</label> </div> <div class="form-group col-sm-5 col-md-8"> <input name="If_Yes" type="text" class="form-control" aria-label="If_Yes" id="ifYesWhen" placeholder="When did we service the vehicle?"> </div> <!-- /.form-group --> </div> <div class="row"> <div class="form-group col-sm-7 col-md-4"> <label for="commentsAdditional">Work Done</label> </div> <div class="form-group col-sm-5 col-md-8"> <textarea name="Work Done" type="text" class="form-control" aria-label="Comments" id="commentsAdditional" placeholder="What work was done on this vehicle?"></textarea> </div> <!-- /.form-group --> </div> </fieldset> </div> </div> <BR/> <div class="row"> <div class="form-group col-xs-hidden col-sm-hidden col-md-2"> <label for="serviceBefore"> </label> </div> <div class="form-group col-sm-5 col-md-10"> <input type="hidden" name="submitrepair" id="submitrepair" value="yes" > <input type="submit" name="submit" value="Submit" class="btn btn-primary disabled"> </div> </div> </div> </div> </div> </form> </div> <?php if( isset($_SESSION['msg'])) { unset($_SESSION['msg']); } ?> <!--End AAAAAAAAAAAAAAAAAAAAAAAAAAAAA --> </div><!-- /.page-wrapper --> <footer class="crop"> <?php require_once($ROOT_DIR.'/page_content/us/common/footer_middle.php'); ?> <?php require_once($ROOT_DIR.'/page_content/us/common/footer_bottom.php'); ?> </footer> <a href="#" data-target="html" class="scroll-to-target scroll-to-top"><i class="fa fa-long-arrow-up"></i></a> <!-- /.scroll-to-top --> <?php require_once($ROOT_DIR.'/page_content/us/common/footer_js.php'); ?> <script > $('#partner_tab_2').hide(); $(".tabparner").on("click", function(){ var tabparner_id = $(this).attr('id'); //alert("The paragraph was clicked." + tabparner_id); if( tabparner_id == 'tab_1' ){ $("#tab_1").addClass("activetab"); $("#tab_1").removeClass("deactivetab"); $("#tab_2").removeClass("activetab"); $("#tab_2").addClass("deactivetab"); $('#partner_tab_1').show(); $('#partner_tab_2').hide(); } if( tabparner_id == 'tab_2' ){ $("#tab_2").addClass("activetab"); $("#tab_2").removeClass("deactivetab"); $("#tab_1").removeClass("activetab"); $("#tab_1").addClass("deactivetab"); $('#partner_tab_1').hide(); $('#partner_tab_2').show(); } }); </script> </body> </html>