ok

Mini Shell

Direktori : /home/pequenacapitolio/www/
Upload File :
Current File : /home/pequenacapitolio/www/pequena-capitolio.php

<!DOCTYPE html>
<html lang="pt-BR">
	<head>
	    
	    
	    <title>Sobre - Pequena Capitólio</title>
	    <meta name="description" content="" />

	    <?php include 'estrutura_head.php'; ?>

	</head>
	<body class="demo-3 home">


        <h2 style="display: none">Pequena Capitólio - Venha conhecer a exuberância do Lago de Furnas!</h2>
		
		
		<?php include 'estrutura_topo.php'; ?>

		<!-- Topo interno -->
		<div id="main-content">
		    <div class="page-title">
		        <div class="page-title-wrapper" data-stellar-background-ratio="0.5" style="background-image: url(images/DESTAQUE_PEQCAPITOLIO_INTERNO.jpg);height: 250px !important">
		            <div class="content container">
		                <h1 class="heading_primary">Sobre</h1>
		                <ul class="breadcrumbs">
		                    <li class="item"><a href="index.php">Início</a></li>
		                    <li class="item"><span class="separator"></span></li>
		                    <li class="item active">Sobre</li>
		                </ul>
		            </div>
		        </div>
		    </div>
		</div>

		<?php
			$sobre = $conn->query("SELECT * FROM paginas where idpagina = 9  ");
			$sob = $sobre->fetch(PDO::FETCH_OBJ);
            $sobre2 = $conn->query("SELECT * FROM paginas where idpagina = 16  ");
            $sob2 = $sobre2->fetch(PDO::FETCH_OBJ);
		?>


        <div class="empty-space"></div>
        <div class="container">
            <div class="sc-heading">
                <p class="first-title"><?php echo $sob->subtitulo ?></p>
                <h3 class="second-title"><?php echo $sob->titulo ?></h3>
            </div>
            <div class="about-info row">
                <div class="col-sm-6">
                    <?php echo $sob->corpo ?>
                </div>
                <div class="col-sm-6">
                    <?php echo $sob2->corpo ?>
                </div>
            </div>
        </div>


        <?$iconefotopara = $conn->query("SELECT * FROM paginas where idpagina = '20' "); 
        $icfotopara = $iconefotopara->fetch(PDO::FETCH_OBJ);
        ?>
        <div class="empty-space"></div>
            <div class="h1-video rectangle-overlay">
                <div class="sc-video" style="height: 800px">
                    <div class="background-video">
                        <div class="cover-image" style="background-repeat: no-repeat;background-image: url(administrador/uploads/imagens/<?php echo $icfotopara->foto ?>) !important;"></div>
                        <div class="content container">
                            <h3 class="title"><?php echo $icfotopara->titulo ?></h3>
                            <!-- <i class="video-play ion-ios-play"></i> -->
                            <span class="text-icon"></span>
                        </div>
                        <video loop="" class="full-screen-video" data-autoplay="">
                            <source src="images/home/A História de Capitólio MG.mp4" type="video/mp4">
                        </video>
                    </div>
                </div>
                <?
                    $icone = $conn->query("SELECT * FROM catalogos order by idcatalogos desc");
                    
                ?>
                <div class="sc-list-box style-01">
                    <div class="container">
                        <div class="list-box-slider owl-carousel owl-theme">
                            <?php while ($ico = $icone->fetch(PDO::FETCH_OBJ)) {?>
                                <?$iconefoto = $conn->query("SELECT * FROM fotos where id_catalogo = $ico->idcatalogos "); 
                                $icfoto = $iconefoto->fetch(PDO::FETCH_OBJ);
                                ?>
                                <div class="box-item" style="text-align: center">
                                    <img src="administrador/uploads/fotos/<?php echo $icfoto->foto ?>" style=";width: 92px; margin:auto;">
                                    <h5 class="box-title" style="font-size: 16px"><?php echo $ico->titulo ?></h5>
                                    <p class="description" style="font-size: 14px;"><?php echo $ico->subtitulo ?></p>
                                </div>
                            <?}?>    
                            
                        </div>
                    </div>
                </div>
            </div>

            <!-- Galeria -->

            <?php
            	$txtalbun = $conn->query("SELECT * FROM paginas where idpagina = 10  ");
				$txt = $txtalbun->fetch(PDO::FETCH_OBJ);

				$album = $conn->query("SELECT * FROM albuns ");


				
			?>

            
		           <!--  <div class="empty-space"></div>
	                <div class="sc-heading style-01 text-center">
	                    <h3 class="title" style="font-size: 40px"><?php echo $txt->titulo ?></h3>
	                    <p class="description"><?php echo $txt->subtitulo ?></p>
	                </div>

	                <div class="sc-gallery style-01" style="padding: 0px 6%">
	                    <div class="gallery-slider owl-carousel owl-theme">
		                    <?php while ($alb = $album->fetch(PDO::FETCH_OBJ)) {
		                    	$fotos = $conn->query("SELECT * FROM fotos where id_albuns = $alb->idalbuns  "); 
		                    	$fotopri = $conn->query("SELECT * FROM fotos where id_albuns = $alb->idalbuns   "); 
		                    	$fotpri = $fotopri->fetch(PDO::FETCH_OBJ);
		                    	?>
		                        <div class="item">
		                            <div class="gallery">
		                                <a href="#gallery-<?php echo $alb->idalbuns ?>" class="btn-gallery"><img src="/administrador/uploads/fotos/<?php echo $fotpri->foto ?>" alt=""></a>
		                                <div id="gallery-<?php echo $alb->idalbuns ?>" class="hidden">
			                                <?php while ($fot = $fotos->fetch(PDO::FETCH_OBJ)) {?>	
			                                    <a  href="/administrador/uploads/fotos/<?php echo $fot->foto ?>"><img src="/administrador/uploads/fotos/<?php echo $fot->foto ?>" alt=""></a>
			                                <?}?>    
		                                </div>
		                            </div>
		                            <div class="content">
		                                <h4 class="title"><a href="blog-single-gallery.html" style="font-size: 16px;font-weight: 400;font-family: roboto"><?php echo $alb->titulo ?></a></h4>
		                                <span class="count"><?php echo $alb->subtitulo ?></span>
		                            </div>
		                        </div>
		                    <?}?>

	                    </div>
	                </div>
		           
		            <div class="empty-space"></div> -->

		<style type="text/css">
			
			.footer{
				margin-top: 0px !important;
				border:0px !important;
			}

		</style>            

		<?php include 'estrutura_rodape.php'; ?>

		<?php include 'estrutura_scripts.php'; ?>

	</body>
</html>

Zerion Mini Shell 1.0