ok

Mini Shell

Direktori : /home/pequenacapitolio/www/
Upload File :
Current File : /home/pequenacapitolio/www/contato.php

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

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

        <? $contato = $conn->query("SELECT * FROM paginas where idpagina = 12  ");
        $cont = $contato->fetch(PDO::FETCH_OBJ); ?>

	</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'; ?>

		 <!-- Main Content -->
    <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">
                <div class="content container">
                    <h1 class="heading_primary">Contato</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">Contato</li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="site-content no-padding">
            <div class="page-content">
                <div class="container">
                    <div class="empty-space"></div>
                    <div class="row tm-flex" style="align-items: normal !important">
                        <div class="col-sm-6" style="padding-bottom: 13%">
                            <div class="sc-heading" >
                                <p class="first-title">Contato</p>
                                <!-- <h3 class="second-title"><?php echo $cont->titulo ?></h3>
                                <p class="description"><?php echo $cont->corpo ?></p> -->
                            </div>

                            <div class="sc-contact-form" style="margin: 0px;padding: 40px;padding-left: 0px !important">
                                <form action="contato_envia2.php"  method="post">
                                    <input type="text" name="nome" required placeholder="Nome*" >
                                    <input type="email" name="email" required placeholder="E-mail*">
                                    <input type="tel" name="telefone" data-mask="(00) 0 0000-0000" required placeholder="Telefone*">
                                    <input type="tel" name="data" class="data " data-mask="00/00/0000" id="data"  required placeholder="Data pré reserva">
                                    <textarea name="mensagem" placeholder="Deixe sua mensagem"></textarea>
                                    <div class="  col-md-12" style="margin-bottom: 4%;padding-left: 0px">
                                        <div class="g-recaptcha" data-sitekey="6LfRUcYUAAAAAKBW1VsMms1hdMx4ZXLM4XTzap9O"></div>    
                                    </div> 
                                    <input style="background: #566A7C  !important" type="submit" class="submit" value="Enviar">
                                </form>
                            </div>
                        </div>
                         <?
                            $perfil = $conn->query("SELECT * FROM perfil ");
                            $per = $perfil->fetch(PDO::FETCH_OBJ); 
                        ?>
                        <div class="col-sm-6" style="padding-bottom: 5% ">
                            <div class="sc-contact-info" style="padding-bottom: 17%">
                                <div class="sc-heading">
                                   <!--  <p class="first-title" style="margin-bottom: 6%">Fale Conosco</p> -->
                                    <p class="" style="margin-bottom: 6%"></p>
                                    <ul class="info">
                                    <li class="clearfix" style="height: 38px">
                                        <img src="images/PeqCapitolio_Contato (1).png" style="height: 30px; margin-bottom: 0px"><a >
                                            <?php echo $per->telefone1; 
                                            if (($per->telefone1 <> "") and ($per->telefone2 <> "")){ echo" / ".$per->telefone2;}
                                            if (($per->telefone1 <> "") and ($per->whatsapp <> "")){ echo" / ".$per->whatsapp;}
                                                ?>
                                        </a></li>
                                    <li style="height: 38px" class="clearfix"><img src="images/PeqCapitolio_email_Contato (1).png" style="height: 30px; margin-bottom: 0px"><a href=""><?php echo $per->email1 ?></a></li>
                                    <li style="height: 38px" class="clearfix"><img src="images/PeqCapitolio_Localizacao_Contato (1).png" style="height: 30px; margin-bottom: 0px"><a href=""><?php echo $per->rua.", ".$per->bairro.", ".$per->cep ?></a></li>
                                </ul>

                                </div>
                               <br>
                               <br>
                               	<!--
                                <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d239003.65566810936!2d-46.29271019638777!3d-20.61123614738346!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x94b41f6743c6ba71%3A0x9e9f826fa94b8bb8!2sCapit%C3%B3lio%20-%20MG%2C%2037930-000!5e0!3m2!1spt-BR!2sbr!4v1575565036199!5m2!1spt-BR!2sbr" width="100%" height="390px" frameborder="0" style="border:0;" allowfullscreen=""></iframe>
                                -->
                                <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d119469.13580192636!2d-46.30964424322459!3d-20.652872086203285!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x0!2zMjDCsDM5JzEwLjMiUyA0NsKwMTQnMjIuNiJX!5e0!3m2!1spt-BR!2sbr!4v1625838366518!5m2!1spt-BR!2sbr" width="100%" height="390px" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
                                <!-- <ul class="sc-social-link style-03">
                                    <li><a target="_blank" class="face" href="https://www.facebook.com/thimpress/"
                                           title="Facebook"><i class="fa fa-facebook"></i></a></li>
                                    <li><a target="_blank" class="twitter" href="https://www.twitter.com/thimpress/"
                                           title="Twitter"><i class="fa fa-twitter"></i></a></li>
                                    <li><a class="instagram" href="http://www.thimpress.com/" title="Instagram"><i
                                            class="fa fa-instagram"></i></a></li>
                                </ul> -->
                            </div>
                        </div>
                    </div>

                </div>
                <div class="sc-google-map" id="sc-google-map">
                   
                    <div id="google-map" style="height: auto">
                    	
                    	
                    </div>
                </div>
            </div>
        </div>

        
			

         
        

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

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

        <script src="js/toastr.min.js"></script>
        <link rel="stylesheet" type="text/css" href="css/toastr.min.css">

        <script src="https://igorescobar.github.io/jQuery-Mask-Plugin/js/jquery.mask.min.js"></script>  

        <script src="js/libs/jquery.js" type="text/javascript"></script> 
        <script src="jquery.maskedinput.js" type="text/javascript"></script>

        <script src='https://www.google.com/recaptcha/api.js'></script>

        <script type="text/javascript">
            $("#contato").addClass("active");
        </script>


        <script type="text/javascript" src="js/main.js"></script>

        <?php $env=$_GET["envio"];

        if ((isset($env) && $env == "ok")) {?>
                <script type="text/javascript">
                    $(document).ready(function(){
                        toastr.success("Mensagem enviada com sucesso!")
                    })
                </script>
        <?php }
             else if(isset($env) && $env == "nao") { ?>
                <script type="text/javascript">
                    $(document).ready(function(){
                        toastr.error("Mensagem não enviada!")
                    })
                </script>
           <?}
           else if(isset($env)) {?>
            <script type="text/javascript">
                    $(document).ready(function(){
                        toastr.error("Preencha o Recaptcha!")
                    })
                </script>
            <?}?>


           <script>
            $('.data').mask('00/00/0000');
            </script>
	</body>
</html>

Zerion Mini Shell 1.0