Server IP : 162.241.126.129 / Your IP : 18.222.119.143 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'] ) && (isset($_SESSION['SESS_type'])) && ( $_SESSION['SESS_type'] == 'AD' ) ){ $_SESSION['msg'] = '<div class="alert alert-warning" >There is no login.</div>'; header('Location: '.$ROOT_DIR.'/index.php'); exit; } $db = new Db( $DB_HOST, $DB_USERNAME, $DB_PASSWORD, $DB_NAME, $DB_REPORT_ERROR, $DB_PERSISTENT_CONN); $sql = "SELECT * FROM tbl_home_items WHERE 1 "; $result=$db->query($sql); if($result->num_rows) { foreach( $result->rows AS $key=>$val){ $code = $val['code']; $tense = stripslashes($val['tense']); $code = nl2br($tense); } } ?> <!DOCTYPE html> <html > <head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <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'); ?> <style> .translated-rtl{ direction: rtl; } .translated-ltr{ direction: ltr; } </style> </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="intro yameen" > <div class="container"> <div class="row"> <div class="col-12 mb-xl-5 text-xl-left text-center"> <div class="thm-header"> <p class="c1 pb-10"><?php echo $section1_span_txt; ?></p> <h1 class="c3"><?php echo $section1_head_title; ?></h1> </div><!-- /.thm-header --> </div><!-- /.col-12 --> </div><!-- /.row --> <div class="row"> <div class="col-xl-6"> <figure class="text-xl-left text-center my-xl-0 my-3"> <img src="img/about-1-1b.jpg" alt="Intro"> </figure> </div><!-- /.col-xl-6 --> <div class="col-xl-6" style="padding-right: 0px;padding-left: 0px;" > <section class="pt-xl-0 pt-3"> <?php echo $section1_para_txt; ?> </section> <div class="facts text-white text-xl-left text-center"> <div class="d-flex justify-content-between flex-sm-row flex-column"> <div class="single-fact"> <i class="carevan-icon-caravan"></i> <h1 class="counter"><?php echo $counter_1; ?></h1> <p class="f1 fw-6"><?php echo $counter_1txt; ?></p> </div><!-- /.single-fact --> <div class="single-fact"> <i class="carevan-icon-disc-brake"></i> <h1 class="counter"><?php echo $counter_2; ?></h1> <p class="f1 fw-6"><?php echo $counter_2txt; ?></p> </div><!-- /.single-fact --> <div class="single-fact"> <i class="carevan-icon-heart"></i> <h1 class="counter"><?php echo $counter_3; ?></h1> <p class="f1 fw-6"><?php echo $counter_3txt; ?></p> </div><!-- /.single-fact --> </div><!-- /.d-flex --> </div><!-- /.facts --> </div><!-- /.col-xl-6 --> </div><!-- /.row --> </div><!-- /.container --> </div><!-- /.intro --> <?php $img_thumb_preview_1 = ''; $v_thumb_image_path_1 = ''; $sql = "SELECT * FROM tbl_service WHERE c_status = '1' AND language_type='No' ORDER BY i_sortOrder DESC LIMIT 15 "; $result=$db->query($sql); if($result->num_rows) { $count = 0; $service_array = array(); foreach( $result->rows AS $key=>$val){ $service_array[] = $val; } } ?> <div class="sec-service"> <div class="container"> <div class="row"> <div class="col-12"> <div class="thm-header text-center"> <p class="c1 pb-10"><?php echo $section2_span_txt; ?></p> <h1 class="c3"><?php echo $section2_head_title; ?></h1> </div><!-- /.thm-header --> </div><!-- /.col-12 --> <div class="service-carousel owl-carousel" style="padding-bottom:0px;"> <?php foreach($service_array AS $key=>$val){ $i_serviceID_1 = $val['i_serviceID']; $serviceHead_1 = $val['v_code']; $shortservice_1 = nl2br(stripslashes($val['tx_short_description'])); $v_thumb_image_1 = $val['v_thumb_image']; $v_thumb_image_path_1 = $SITE_URL.'/pic/'.$v_thumb_image_1; $target = "$DOCUMENT_ROOT$PIC_DIR/$v_thumb_image_1"; if ( $v_thumb_image_1 != '' && file_exists("$target")) { $img_thumb_preview_1 = '<img src="'.$SITE_URL.'/pic/'.$v_thumb_image_1.'" class="img-responsive" style="height: 200px;" >'; } ?> <div class="col-lg-4"> <div class="service-card"> <figure> <a href="<?php echo $SITE_URL; ?>/infodetail.php?tbl=service&id=<?php echo $i_serviceID_1; ?>"> <img src="<?php echo $v_thumb_image_path_1; ?>" style="height: 250px;" alt="Service Thumb"> </a> </figure> <div class="service-card-body"> <h2><a href="<?php echo $SITE_URL; ?>/infodetail.php?tbl=service&id=<?php echo $i_serviceID_1; ?>"><?php echo $serviceHead_1; ?></a></h2> <p><?php echo $shortservice_1; ?></p> <a href="<?php echo $SITE_URL; ?>/infodetail.php?tbl=service&id=<?php echo $i_serviceID_1; ?>">read more</a> </div><!-- /.service-card-body --> </div><!-- /.service-card --> </div><!-- /.col-lg-4 --> <?php } ?> </div><!-- /.service-carousel owl-carousel --> </div><!-- /.row --> </div><!-- /.container --> </div><!-- /.sec-service --> <?php $img_thumb_preview_1 = ''; $v_thumb_image_path_1 = ''; $sql = "SELECT * FROM tbl_contact WHERE c_status = '1' AND (language_type='No' OR language_type='') ORDER BY i_sortOrder ASC LIMIT 3 "; $result=$db->query($sql); if($result->num_rows) { $count = 0; $contact_array = array(); foreach( $result->rows AS $key=>$val){ $contact_array[] = $val; } } ?> <div class="sec-team text-center"> <div class="container"> <div class="row justify-content-center"> <div class="col-12"> <div class="thm-header text-center"> <p class="c1 pb-10"><?php echo $section3_span_txt; ?></p> <h1 class="c3"><?php echo $section3_head_title; ?></h1> </div><!-- /.thm-header --> </div><!-- /.col-12 --> <?php //echo '<pre>AAAAAAAAAA'; print_r($contact_array); echo '</pre>'; exit; foreach($contact_array AS $key=>$val){ //echo '<pre>AAAAAAAAAA'; print_r($val); echo '</pre>'; exit; $i_contactID = $val['i_contactID']; $serviceHead_1 = $val['v_code']; $v_twitter = $val['v_twitter']; $v_facebook = $val['v_facebook']; $v_youtube = $val['v_youtube']; $v_instagram = $val['v_instagram']; $shortservice_1 = nl2br(stripslashes($val['tx_short_description'])); $v_thumb_image_1 = $val['v_thumb_image']; $v_thumb_image_path_1 = $SITE_URL.'/pic/'.$v_thumb_image_1; $target = "$DOCUMENT_ROOT$PIC_DIR/$v_thumb_image_1"; if ( $v_thumb_image_1 != '' && file_exists("$target")) { $img_thumb_preview_1 = '<img src="'.$SITE_URL.'/pic/'.$v_thumb_image_1.'" class="img-responsive" >'; } ?> <div class="col-md-4"> <div class="member-card bg-white"> <figure> <div class="text-md-right text-center"> <img src="<?php echo $v_thumb_image_path_1; ?>" style="height:200px;width: 370px;" alt="Team Member"> </div> <figcaption> <ul> <li><a href="<?php echo $v_twitter; ?>"><i class="fa fa-twitter"></i></a></li> <li><a href="<?php echo $v_facebook; ?>"><i class="fa fa-facebook"></i></a></li> <li><a href="<?php echo $v_instagram; ?>"><i class="fa fa-instagram"></i></a></li> <li><a href="<?php echo $v_youtube; ?>"><i class="fa fa-youtube-play"></i></a></li> </ul> <div class="member-info f1"> <h2 class="fw-6 c3"><a href="<?php echo $SITE_URL; ?>/infodetail.php?tbl=contact&id=<?php echo $i_contactID; ?>"><?php echo $serviceHead_1; ?></a></h2> <p class="fw-6"><?php echo $shortservice_1; ?></p> </div><!-- /.member-info --> </figcaption> </figure> </div><!-- /.member-card --> </div><!-- /.col-lg-4 --> <?php } ?> </div><!-- /.row --> </div><!-- /.container --> </div><!-- /.sec-team --> <div class="whyus f1"> <div class="container"> <div class="row"> <div class="col-xl-3"> <section> <span> <i class="carevan-icon-handshake"></i> </span> <h2 class="fw-3 c3"><?php echo $section4_span_txt; ?></h2> <p class="fw-4"><?php echo $section4_head_title; ?></p> </section> </div><!-- /.col-xl-3 --> <div class="col-xl-9"> <div class="feature-area"> <h2 class="fw-3 text-white bg1"><?php echo $section4_para_txt; ?></h2> <figure> <img src="img/IMG-20200120-WA0007.jpg" alt="Feature"> </figure> </div><!-- /.feature-area --> </div><!-- /.col-xl-3 --> </div><!-- /.row --> </div><!-- /.container --> </div><!-- /.whyus --> <?php $img_thumb_preview_1 = ''; $v_thumb_image_path_1 = ''; $sql = "SELECT * FROM tbl_news WHERE c_status = '1' AND (language_type='No' OR language_type='') ORDER BY i_sortOrder ASC LIMIT 2 "; $result=$db->query($sql); if($result->num_rows) { $count = 0; $news_array = array(); foreach( $result->rows AS $key=>$val){ $news_array[] = $val; } } ?> <div class="sec-blog text-center f1"> <div class="container"> <div class="row"> <div class="col-12"> <div class="thm-header text-center"> <p class="c1 pb-10"><?php echo $section5_span_txt; ?></p> <h1 class="c3"><?php echo $section5_head_title; ?></h1> </div><!-- /.thm-header --> </div><!-- /.col-12 --> <?php // echo '<pre>AAAAAAAAAA'; print_r($news_array); echo '</pre>'; exit; foreach($news_array AS $key=>$val){ //echo '<pre>AAAAAAAAAA'; print_r($val); echo '</pre>'; exit; $i_newsID = $val['i_newsID']; $serviceHead_1 = $val['v_code']; $v_twitter = $val['v_twitter']; $v_facebook = $val['v_facebook']; $v_youtube = $val['v_youtube']; $dt_addedDate = date("M-d-Y", strtotime( $val['dt_modifyDate']) ); list($month, $day, $year) = explode("-",$dt_addedDate); $shortservice_1 = nl2br(stripslashes($val['tx_short_description'])); $v_thumb_image_1 = $val['v_thumb_image']; $v_thumb_image_path_1 = $SITE_URL.'/pic/'.$v_thumb_image_1; $target = "$DOCUMENT_ROOT$PIC_DIR/$v_thumb_image_1"; if ( $v_thumb_image_1 != '' && file_exists("$target")) { $img_thumb_preview_1 = '<img src="'.$SITE_URL.'/pic/'.$v_thumb_image_1.'" class="img-responsive" >'; } ?> <div class="col-md-6"> <div class="blog-card"> <figure> <a href="<?php echo $SITE_URL; ?>/infodetail.php?tbl=news&id=<?php echo $i_newsID; ?>"> <img src="<?php echo $v_thumb_image_path_1; ?>" alt="Blog Thumb"> </a> <figcaption> <span><?php echo $day; ?></span> <span><?php echo $month; ?></span> <span><?php echo $year; ?></span> </figcaption> </figure> <div class="blog-card-body"> <h2><a href="<?php echo $SITE_URL; ?>/infodetail.php?tbl=news&id=<?php echo $i_newsID; ?>"><?php echo $serviceHead_1; ?></a></h2> <p><?php echo $shortservice_1; ?></p> <a href="<?php echo $SITE_URL; ?>/infodetail.php?tbl=news&id=<?php echo $i_newsID; ?>">Read More</a> </div><!-- /.blog-card-body --> </div><!-- /.blog-card --> </div><!-- /.col-md-6 --> <?php } ?> </div><!-- /.row --> </div><!-- /.container --> </div><!-- /.sec-blog --> <div class="process text-center f1"> <div class="container"> <div class="row justify-content-center flex-md-row flex-column no-gutters"> <div class="col-12"> <div class="thm-header text-center"> <p class="c1 pb-10"><?php echo $section6_span_txt; ?></p> <h1 class="c3"><?php echo $section6_head_title; ?></h1> </div><!-- /.thm-header --> </div><!-- /.col-12 --> <div class="col-lg-4"> <div class="process-single"> <h1 class="f3 c1"><?php echo $number_01; ?></h1> <h2 class="f1 fw-4 c3"><?php echo $number_01title; ?></h2> <p class="f1 fw-6"><?php echo $number_01para; ?></p> </div><!-- /.process-single --> </div><!-- /.col-lg-4 --> <div class="col-lg-4"> <div class="process-single"> <h1 class="f3 c1"><?php echo $number_02; ?></h1> <h2 class="f1 fw-4 c3"><?php echo $number_02title; ?></h2> <p class="f1 fw-6"><?php echo $number_02para; ?></p> </div><!-- /.process-single --> </div><!-- /.col-lg-4 --> <div class="col-lg-4"> <div class="process-single"> <h1 class="f3 c1"><?php echo $number_03; ?></h1> <h2 class="f1 fw-4 c3"><?php echo $number_03title; ?></h2> <p class="f1 fw-6"><?php echo $number_02para; ?></p> </div><!-- /.process-single --> </div><!-- /.col-lg-4 --> <div class="col-xl-12 col-lg-8 px-0"> <p class="block-text"><?php echo $number_04para; ?> </div><!-- /.col-xl-6.col-lg-8 --> </div><!-- /.row --> </div><!-- /.container --> </div><!-- /.process --> </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'); ?> <div id="google_translate_element" style="display: none"> </div> <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false }, 'google_translate_element'); } </script> <script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" type="text/javascript"></script> <!--<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>--> <script> function translateLanguage(lang) { var $frame = $('.goog-te-menu-frame:first'); if (!$frame.size()) { alert("Error: Could not find Google translate frame."); return false; } $frame.contents().find('.goog-te-menu2-item span.text:contains(' + lang + ')').get(0).click(); return false; } </script> </body> </html> <style> #minimal-bootstrap-carousel .carousel-caption { background: #0000004a !important; } </style>