Server IP : 162.241.126.129 / Your IP : 3.23.101.241 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/public_html/ |
Upload File : |
<?php //require_once('./setting.php'); //echo ABSPATH; exit; // F:\xampp\htdocs\carivon/ 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); $sqlpara = ''; $rvtype = ''; $_REQUEST['para'] = 2; if( isset($_REQUEST['para']) ){ $para = $_REQUEST['para']; $para_key = $rv_array[$para]; $sql_kwy = $rv_key_array[$para_key]; $sqlpara = ' AND '.$sql_kwy .'=1'; $rvtype = $rv_type_array[$para_key]; } if( isset($_REQUEST['submitcustomfrm']) && ( $_REQUEST['submitcustomfrm'] == 'yes' ) ){ $SESS_cust_i_customerID = 0; if( isset( $_SESSION['SESS_cust_i_customerID'] )){ $SESS_cust_i_customerID = $_SESSION['SESS_cust_i_customerID']; } //echo '<pre>'; print_r( $_REQUEST ); echo "</pre>"; $submit_data = array(); $submit_data['classA'] = $_REQUEST['itemA']; $submit_data['classB'] = $_REQUEST['itemB']; $submit_data['classC'] = $_REQUEST['itemC']; $submit_data['classD'] = $_REQUEST['itemD']; $submit_data_json = json_encode($submit_data); $sqlinsert = " INSERT INTO frnt_customer_customized_rv SET submit_data = '".$submit_data_json."' , customer_id = '".$SESS_cust_i_customerID."', First_Name = '".$_REQUEST['First_Name']."', Last_Name = '".$_REQUEST['Last_Name']."', Sender_Email = '".$_REQUEST['Sender_Email']."', Phone = '".$_REQUEST['Phone']."', dt_addedDate = NOW() "; $result=$db->query($sqlinsert); $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>Thank you, we will contact soon. </div>'; $_SESSION['msg'] = $PROMPT; header('Location: '.SUB_DIR_PROJECT.'/customized_rv.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'); ?> <link rel="stylesheet" href="<?php echo $ROOT_DIR.'/css/us/five_star_font_awesome_min.css'; ?>" > <style> .checked { color: orange; } .itemshow { display: none; } </style> <script src="<?php echo $SITE_URL; ?>/js/jquery_3_4_1_min.js"></script> </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'); ?> <!--Start AAAAAAAAAAAAAAAAAAAAAAAAAAAAA --> <div style="margin:20px 0px 20px 0px;"> <div class="container"> <div class="row"> <div class="col-lg-12"> <h3 class=""><?php echo $rvtype; ?></h2> <h5 class=""><?php echo htmlentities($title_str); ?></h3> </div> </div> </div> </div> <div class=""> <div class="container"> <?php if( $_SESSION['msg'] ){ echo $_SESSION['msg']; unset($_SESSION['msg']); } ?> <form class="mb-30" method="post" action="<?php echo site_url.'customized_rv.php?para=2'; ?>" > <div class="row" style="background:#0E0E0E; padding:20px; 0px 20px 0px; border:0px solid red;" > <div class="col-lg-3" style="" > <div class="col-lg-6" style="" > <a href="#" data-toggle="tooltip" data-placement="top" title="Class A"> <img src="<?php echo $SITE_URL.'/img/classA.png'; ?>" class="img-responsive" style="max-width:100px;" > </a> </div> <div class="col-lg-12" style="" > <div class="classA custclasslnk" ><a href="#" data-toggle="tooltip" data-placement="top" title="Class A" class="btn btn-outline-secondary" style="min-width:120px;color:#fff;" > Class A </a></div> </div> </div><!-- /.col-lg-3 1--> <div class="col-lg-3" style="" > <div class="col-lg-12" style="" > <a href="#" data-toggle="tooltip" data-placement="top" title="Class B"><img src="<?php echo $SITE_URL.'/img/classB.png'; ?>" class="img-responsive" style="max-width:100px;" ></a> </div> <div class="col-lg-12" style="" > <div class="classB custclasslnk" ><a href="#" data-toggle="tooltip" data-placement="top" title="Class B" class="btn btn-outline-secondary" style="min-width:120px;color:#fff;" > Class B </a></div> </div> </div><!-- /.col-lg-3 2--> <div class="col-lg-3 " style="" > <div class="col-lg-12" style="" > <a href="#" data-toggle="tooltip" data-placement="top" title="Class C"><img src="<?php echo $SITE_URL.'/img/classC.png'; ?>" class="img-responsive" style="max-width:100px;" ></a> </div> <div class="col-lg-12" style="" > <div class="classC custclasslnk" > <a href="#" data-toggle="tooltip" data-placement="top" title="Class C" class="btn btn-outline-secondary" style="min-width:120px;color:#fff;" > Class C </a></div> </div> </div><!-- /.col-lg-3 3--> <div class="col-lg-3"> <div class="col-lg-6" style="" > <a href="#" data-toggle="tooltip" data-placement="top" title="Trailer"><img src="<?php echo $SITE_URL.'/img/trailer.png'; ?>" class="img-responsive" style="max-width:100px;" ></a> </div> <div class="col-lg-12" style="" > <div class="classD custclasslnk" ><a href="#" data-toggle="tooltip" data-placement="top" title="Trailer" class="btn btn-outline-secondary" style="min-width:120px;color:#fff;"> Trailer </a></div> </div> </div><!-- /.col-lg-3 4--> </div><!-- /.row --> <script> $(document).ready(function(){ $('[data-toggle="tooltip"]').tooltip(); $(".classA").click(function(){ $("#classA_child").toggle(); $("#classB_child").hide(); $("#classC_child").hide(); $("#classD_child").hide(); }); $(".classB").click(function(){ $("#classB_child").toggle(); $("#classA_child").hide(); $("#classC_child").hide(); $("#classD_child").hide(); }); $(".classC").click(function(){ $("#classC_child").toggle(); $("#classA_child").hide(); $("#classB_child").hide(); $("#classD_child").hide(); }); $(".classD").click(function(){ $("#classD_child").toggle(); $("#classA_child").hide(); $("#classB_child").hide(); $("#classC_child").hide(); }); //////////////////// $(".classA").mouseenter(function() { $("#classA_child").show(); $("#classB_child").hide(); $("#classC_child").hide(); $("#classD_child").hide(); }).mouseleave(function() { //$("#classA_child").hide(); }); $(".classB").mouseenter(function() { $("#classA_child").hide(); $("#classB_child").show(); $("#classC_child").hide(); $("#classD_child").hide(); }).mouseleave(function() { //$("#classA_child").hide(); }); $(".classC").mouseenter(function() { $("#classA_child").hide(); $("#classB_child").hide(); $("#classC_child").show(); $("#classD_child").hide(); }).mouseleave(function() { //$("#classA_child").hide(); }); $(".classD").mouseenter(function() { $("#classA_child").hide(); $("#classB_child").hide(); $("#classC_child").hide(); $("#classD_child").show(); }).mouseleave(function() { //$("#classA_child").hide(); }); //////////////////// }); </script> <div class="row" id="classA_child" style="display:none;border-top:1px solid #cccccc;" > <?php $sql = "SELECT * FROM customized_classa_category WHERE c_status = 1 ORDER BY i_sortOrder ASC "; $result=$db->query($sql); if($result->num_rows) { $catacount = 0 ; foreach( $result->rows AS $key=>$val){ $catacount++; $i_classaID = $val['i_classaID']; $cat_name = stripslashes($val['name']); ?> <script> $(document).ready(function(){ $("#classA_child_cls<?php echo $i_classaID; ?>").click(function(){ $("#classA_child_clsproduct<?php echo $i_classaID; ?>").toggle(); }); }); </script> <div class="" style="padding:0px; margin:0px 0px;width: 100%;"> <div class="row" > <div class="row col-sm-12" > <div class="col-lg-12 col-sm-12" > <a href="<?php echo $SITE_URL; ?>/extint.php?custcat=1&catID=<?php echo $i_classaID; ?>" ><span id="classA_child_cls<?php echo $i_classaID; ?>" class="subcatnamecls btn btn-link" style="cursor: pointer;" ><strong>→ <?php echo $cat_name; ?></strong></span></a> </div> <!-- <div class="col-lg-2 col-sm-12" style="margin-left:25px;" ><a href="<?php echo $SITE_URL; ?>/extint.php?custcat=1&catID=<?php echo $i_classaID; ?>&type=E" >External Link</a></div> <div class="col-lg-2 col-sm-12" style="margin-left:25px;" > <a href="<?php echo $SITE_URL; ?>/extint.php?custcat=1&catID=<?php echo $i_classaID; ?>&type=I" > Internal Link </a> </div> --> </div> <!-- <?php $sql1 = "SELECT * FROM customized_class_cat_item AS CCCI LEFT JOIN customized_class_item AS CCI ON ( CCCI.itemID = CCI.i_customizedItemId ) WHERE CCCI.custcatID = 1 AND CCCI.catID = '".$i_classaID."' AND CCI.c_status = 1 ORDER BY CCCI.i_sortOrder ASC, CCI.i_sortOrder ASC "; $result1 = $db->query($sql1); ?> <div id="classA_child_clsproduct<?php echo $i_classaID; ?>" style="display:none;" > <?php if($result1->num_rows) { $cata_p_count = 0 ; foreach( $result1->rows AS $key1=>$val1){ $cata_p_count++; $pro_name = stripslashes($val1['name']); ?> <div class="" style="display: inline-block; margin:0px 20px;cursor: pointer;"> <strong><?php echo $cata_p_count; ?> : </strong><input type="checkbox" class="" style="margin-right:10px;" name="itemA[<?php echo $vat = base64_encode($cat_name); ?>][<?php echo $vat = base64_encode($pro_name); ?>]" style="" > <?php echo $pro_name; ?> </div> <?php } } ?> </div> --> </div> </div> <?php } } ?> </div><!-- classA_child --> <div class="row" id="classB_child" style="display:none; border-top:1px solid #cccccc;" > <?php $sql = "SELECT * FROM customized_classb_category WHERE c_status = 1 ORDER BY i_sortOrder ASC "; $result=$db->query($sql); if($result->num_rows) { $catacount = 0 ; foreach( $result->rows AS $key=>$val){ $catacount++; $i_classbID = $val['i_classbID']; $cat_name = stripslashes($val['name']); ?> <script> $(document).ready(function(){ $("#classB_child_cls<?php echo $i_classbID; ?>").click(function(){ $("#classB_child_clsproduct<?php echo $i_classbID; ?>").toggle(); }); }); </script> <div class="" style="padding:0px; margin:0px 0px;width: 100%;"> <div class="row" > <div class="row col-lg-3 d-none d-sm-block" > </div> <div class="row col-lg-9 col-sm-9" > <div class="col-lg-12 col-sm-12" > <a href="<?php echo $SITE_URL; ?>/extint.php?custcat=2&catID=<?php echo $i_classbID; ?>" > <span id="classB_child_cls<?php echo $i_classbID; ?>" class="subcatnamecls btn btn-link" style="cursor: pointer;" ><strong>→ <?php echo $cat_name; ?></strong></span> </a> </div> </div> </div> </div> <?php } } ?> </div><!-- classB_child --> <div class="row" id="classC_child" style="display:none; border-top:1px solid #cccccc;" > <?php $sql = "SELECT * FROM customized_classc_category WHERE c_status = 1 ORDER BY i_sortOrder ASC "; $result=$db->query($sql); if($result->num_rows) { $catacount = 0 ; foreach( $result->rows AS $key=>$val){ $catacount++; $i_classcID = $val['i_classcID']; $cat_name = stripslashes($val['name']); ?> <script> $(document).ready(function(){ $("#classC_child_cls<?php echo $i_classcID; ?>").click(function(){ $("#classC_child_clsproduct<?php echo $i_classcID; ?>").toggle(); }); }); </script> <div class="" style="padding:0px; margin:0px 0px;width: 100%;"> <div class="row" > <div class="row col-lg-6 d-none d-sm-block" > </div> <div class="row col-lg-6 col-sm-12" > <div class="col-lg-12 col-sm-12" > <a href="<?php echo $SITE_URL; ?>/extint.php?custcat=3&catID=<?php echo $i_classcID; ?>" > <span id="classC_child_cls<?php echo $i_classcID; ?>" class="subcatnamecls btn btn-link" style="cursor: pointer;" ><strong>→ <?php echo $cat_name; ?></strong></span> </a> </div> </div> </div> </div> <?php } } ?> </div><!-- classC_child --> <div class="row" id="classD_child" style="display:none; border-top:1px solid #cccccc;" > <?php $sql = "SELECT * FROM customized_classd_category WHERE c_status = 1 ORDER BY i_sortOrder ASC "; $result=$db->query($sql); if($result->num_rows) { $catacount = 0 ; foreach( $result->rows AS $key=>$val){ $catacount++; $i_classdID = $val['i_classdID']; $cat_name = stripslashes($val['name']); ?> <script> $(document).ready(function(){ $("#classD_child_cls<?php echo $i_classdID; ?>").click(function(){ $("#classD_child_clsproduct<?php echo $i_classdID; ?>").toggle(); }); }); </script> <div class="" style="padding:0px; margin:0px 0px;width: 100%;"> <div class="row"> <div class="row col-lg-9 d-none d-sm-block" > </div> <div class="row col-lg-3 col-sm-12" > <div class="col-lg-12 col-sm-12" > <a href="<?php echo $SITE_URL; ?>/extint.php?custcat=4&catID=<?php echo $i_classdID; ?>" > <span id="classC_child_cls<?php echo $i_classdID; ?>" class="subcatnamecls btn btn-link" style="cursor: pointer;" ><strong>→ <?php echo $cat_name; ?></strong></span> </a> </div> </div> </div> </div> <?php } } ?> </div><!-- classD_child --> <?php $cust_firstName = ( isset( $_SESSION['SESS_cust_firstName'] ))? $_SESSION['SESS_cust_firstName'] : ''; $cust_lastName = ( isset( $_SESSION['SESS_cust_lastName'] ))? $_SESSION['SESS_cust_lastName'] : ''; $cust_phone = ( isset( $_SESSION['SESS_cust_phone'] ))? $_SESSION['SESS_cust_phone'] : ''; $cust_email = ( isset( $_SESSION['SESS_cust_email'] ))? $_SESSION['SESS_cust_email'] : ''; ?> <div class="row"><div class="col-md-12" style="margin-top:15px;border-top:0px solid #ccc;" > </div></div> <!-- <div class="mb-1" id="fieldset-help-block"> <h5>Please fill you detail</h5> </div> <div class="row"> <div class="form-group col-sm-7 col-md-3"> <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="" value="<?php echo $cust_firstName; ?>" > <div class="help-block with-errors"></div> </div> </div> <div class="row"> <div class="form-group col-sm-7 col-md-3"> <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="" value="<?php echo $cust_lastName; ?>" > <div class="help-block with-errors"></div> </div> </div> <div class="row"> <div class="form-group col-sm-7 col-md-3"> <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="email" class="form-control ss_red_required" aria-label="Email" id="email" placeholder="someone@example.com" required="" value="<?php echo $cust_email; ?>" > <div class="help-block with-errors"></div> </div> </div> <div class="row"> <div class="form-group col-sm-7 col-md-3"> <label for="phone">Phone</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="" value="<?php echo $cust_phone; ?>" > </div> </div> <div class="row"> <div class="form-group col-sm-7 col-md-3"> <label for="phone"> </label> </div> <div class="form-group col-sm-5 col-md-4"> <div class="col-md-12 col-lg-12 col-sm-12 " style="padding:0px; margin:0px;"> <input type="hidden" name="submitcustomfrm" value="yes"> <button name="submitrentbutton" id="submitcomment" class="btn btn-primary " style="background-color:#4AAA52;color:#fff; float:center; display:inline-block; width:100%;">Submit Customized RV</button> </div> </div> </div> --> </form> </div><!-- /.container --> </div><!-- /.blog blog-single --> <!--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>