SCDNG PELER
Server IP : 162.241.126.129  /  Your IP : 18.217.237.68
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/page_content/us/home/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/rvway5nu4/www/page_content/us/home/minimal-bootstrap-carousel.php
		<?php
		$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);

				$img_array  = array('home_banner_1','home_banner_2','home_banner_3','home_banner_4','home_banner_5','home_banner_6');
				if( $code == 'home_banner_1' ){
					$home_banner_1   = $tense;
				}
				if( $code == 'home_banner_2' ){
					$home_banner_2   = $tense;
				}
				if( $code == 'home_banner_3' ){
					$home_banner_3   = $tense;
				}
				if( $code == 'home_banner_4' ){
					$home_banner_4   = $tense;
				}
				if( $code == 'home_banner_5' ){
					$home_banner_5   = $tense;
				}
				if( $code == 'home_banner_6' ){
					$home_banner_6   = $tense;
				}


			}

			$prev_home_banner_1 = 'img/bg/01a.jpg';
			$prev_home_banner_2 = 'img/bg/02.jpg';
			$prev_home_banner_3 = 'img/bg/03a.jpg';
			$target = "$DOCUMENT_ROOT$PIC_DIR/$home_banner_1 ";		
			if ( $home_banner_1 != ''  && file_exists("$target"))
			{	
				$prev_home_banner_1 = $SITE_URL.'/pic/'.$home_banner_1;
			}

			$target = "$DOCUMENT_ROOT$PIC_DIR/$home_banner_2 ";		
			if ( $home_banner_2 != ''  && file_exists("$target"))
			{	
				$prev_home_banner_2 = $SITE_URL.'/pic/'.$home_banner_2;
			}

			$target = "$DOCUMENT_ROOT$PIC_DIR/$home_banner_3 ";		
			if ( $home_banner_3 != ''  && file_exists("$target"))
			{	
				$prev_home_banner_3 = $SITE_URL.'/pic/'.$home_banner_3;
			}
			
			$target = "$DOCUMENT_ROOT$PIC_DIR/$home_banner_4 ";		
			if ( $home_banner_4 != ''  && file_exists("$target"))
			{	
				$prev_home_banner_4 = $SITE_URL.'/pic/'.$home_banner_4;
			}
			
			$target = "$DOCUMENT_ROOT$PIC_DIR/$home_banner_5 ";		
			if ( $home_banner_5 != ''  && file_exists("$target"))
			{	
				$prev_home_banner_5 = $SITE_URL.'/pic/'.$home_banner_5;
			}
			
			$target = "$DOCUMENT_ROOT$PIC_DIR/$home_banner_6 ";		
			if ( $home_banner_6 != ''  && file_exists("$target"))
			{	
				$prev_home_banner_6 = $SITE_URL.'/pic/'.$home_banner_6;
			}
			


		}
		?>
		<div id="minimal-bootstrap-carousel" class="carousel slide carousel-fade slider-content-style-one slider-home-one">
			<ol class="carousel-indicators">
				<li data-target="#minimal-bootstrap-carousel" data-slide-to="0" class="active"></li>
				<li data-target="#minimal-bootstrap-carousel" data-slide-to="1"></li>
				<li data-target="#minimal-bootstrap-carousel" data-slide-to="2"></li>
			</ol>
	
			<!-- Wrapper for slides -->
			<div class="carousel-inner">
				<div class="carousel-item active slide-1" style="background-image: url(img/<?php echo $home_banner_1; ?>);background-position: center left;">
					<div class="carousel-caption">
						<div class="container">
							<div class="box valign-middle">
								<div class="content text-center"> 
									<p data-animation="animated fadeInUp " class="tag-line animDe-1"><span class="text-uppercase f1 fw-8"><?php echo $banner_01_text1; ?></span></p>
		                            <h2 data-animation="animated fadeInUp " class="animDe-2"><?php echo $banner_01_text2; ?></h2>
		                            <h2 data-animation="animated fadeInUp " class="animDe-3"><?php echo $banner_01_text3; ?></h2>
		                            
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="carousel-item slide-2" style="background-image: url(img/<?php echo $home_banner_2; ?>);background-position: top center;">
					<div class="carousel-caption">
						<div class="container">
							<div class="box valign-middle">
								<div class="content text-center">
									
		                            <h2 data-animation="animated fadeInUp " class="animDe-2"><?php echo $banner_02_text1; ?></h2>
		                            <h2 data-animation="animated fadeInUp" class=" animDe-3"><?php echo $banner_02_text2; ?></h2>
		                            
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="carousel-item slide-3" style="background-image: url(img/<?php echo $home_banner_3; ?>);background-position: top center;">
					<div class="carousel-caption">
						<div class="container">
							<div class="box valign-middle">
								<div class="content text-center"><?php echo $abc; ?>
									<h2 data-animation="animated fadeInUp " class="animDe-1"><?php echo $banner_03_text1; ?></h2>
		                            <h2 data-animation="animated fadeInUp " class="animDe-2"><?php echo $banner_03_text2; ?></h2>
		                            <p data-animation="animated fadeInUp " class="animDe-3"><?php echo $banner_03_text2; ?></p>
									<p data-animation="animated fadeInUp " class="animDe-3"><?php echo $banner_03_text3; ?></p>
									<div class="banner-btn-box">
		                            	
									</div><!-- /.banner-btn-box -->
								</div>
							</div>
						</div>
					</div>
				</div>
				
				
				
				
				<div class="carousel-item slide-3" style="background-image: url(img/<?php echo $home_banner_4; ?>);background-position: top center;">
					<div class="carousel-caption">
						<div class="container">
							<div class="box valign-middle">
								<div class="content text-center"><?php echo $abc; ?>
									<h2 data-animation="animated fadeInUp " class="animDe-1"><?php echo $banner_04_text1; ?></h2>
		                            <h2 data-animation="animated fadeInUp " class="animDe-2"><?php echo $banner_04_text2; ?></h2>
		                            <p data-animation="animated fadeInUp " class="animDe-3"><?php echo $banner_04_text2; ?></p>
									<p data-animation="animated fadeInUp " class="animDe-3"><?php echo $banner_04_text3; ?></p>
									<div class="banner-btn-box">
		                            	
									</div><!-- /.banner-btn-box -->
								</div>
							</div>
						</div>
					</div>
				</div>
				
				
				<div class="carousel-item slide-3" style="background-image: url(img/<?php echo $home_banner_5; ?>);background-position: top center;">
					<div class="carousel-caption">
						<div class="container">
							<div class="box valign-middle">
								<div class="content text-center"><?php echo $abc; ?>
									<h2 data-animation="animated fadeInUp " class="animDe-1"><?php echo $banner_05_text1; ?></h2>
		                            <h2 data-animation="animated fadeInUp " class="animDe-2"><?php echo $banner_05_text2; ?></h2>
		                            <p data-animation="animated fadeInUp " class="animDe-3"><?php echo $banner_05_text2; ?></p>
									<p data-animation="animated fadeInUp " class="animDe-3"><?php echo $banner_05_text3; ?></p>
									<div class="banner-btn-box">
		                            	
									</div><!-- /.banner-btn-box -->
								</div>
							</div>
						</div>
					</div>
				</div>
				
				
				
				
				
				
				
			</div>
			<!-- Controls -->
			<a class="carousel-control-prev carousel-control-one-prev" href="#minimal-bootstrap-carousel" role="button" data-slide="prev">
				<i class="fa fa-angle-left"></i>
				<span class="sr-only">Previous</span>
			</a>
			<a class="carousel-control-next carousel-control-one-next" href="#minimal-bootstrap-carousel" role="button" data-slide="next">
				<i class="fa fa-angle-right"></i>
				<span class="sr-only">Next</span>
			</a>
		</div>

Anon7 - 2022
SCDN GOK