<file_sep><?php
if(!isset($_POST['formulario']))
{

$destinatario = "<EMAIL>";
$asunto = $_POST['contacto'];
$carta = "De: ".$_POST['nombre']."<br>";
$carta .= "Correo: ".$_POST['correo']."<br>";
$carta .= "Teléfono: ".$_POST['telefono']."<br>";
$carta .= "Mensaje: ".$_POST['situacion'];

mail($destinatario, $asunto, $carta);
header('location:index.php?enviado=1');
}else{
	header('location:index.php?enviado=0');
}

?><file_sep>                        <div class="sidebar-widget-area">
                            <h5 class="title">INFORMACIÓN</h5>
                            <div class="widget-content ">
                                <!-- Single Blog Post -->
                                <?php
                                    $apiUrl = 'https://www.mindicador.cl/api';
                                    //Es necesario tener habilitada la directiva allow_url_fopen para usar file_get_contents
                                    if ( ini_get('allow_url_fopen') ) {
                                        $json = file_get_contents($apiUrl);
                                    } else {
                                        //De otra forma utilizamos cURL
                                        $curl = curl_init($apiUrl);
                                        curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
                                        $json = curl_exec($curl);
                                        curl_close($curl);
                                    }
 
                                    $dailyIndicators = json_decode($json);

                                ?>
                                <div class="single-blog-post post-style-2 d-flex justify-content-center widget-post">
                                    <!-- Post Content -->
                                    <div class="post-content">
                                        <a href="#" class="headline">
                                            <h5 class="mb-0"> UF:<?php echo $dailyIndicators->uf->valor; ?> </h5>
                                        </a>
                                    </div>
                                </div>
                                <!-- Single Blog Post -->
                                <div class="single-blog-post post-style-2 d-flex justify-content-center widget-post">
                                    <!-- Post Content -->
                                    <div class="post-content">
                                        <a href="#" class="headline">
                                            <h5 class="mb-0"><?php echo 'Dólar:   ' . $dailyIndicators->dolar->valor; ?></h5>
                                        </a>
                                    </div>
                                </div>
                                <!-- Single Blog Post -->
                                <div class="single-blog-post post-style-2 d-flex justify-content-center widget-post">
                                    <!-- Post Content -->
                                    <div class="post-content">
                                        <a href="#" class="headline">
                                            <h5 class="mb-0"><?php echo 'Euro: $' . $dailyIndicators->euro->valor; ?></h5>
                                        </a>
                                    </div>
                                </div>
                                <!-- Single Blog Post -->
                                <div class="single-blog-post post-style-2 d-flex justify-content-center widget-post">
                                    <!-- Post Content -->
                                    <div class="post-content">
                                        <a href="#" class="headline">
                                            <h5 class="mb-0"><?php echo 'IPC:' . $dailyIndicators->ipc->valor; ?></h5>
                                        </a>
                                    </div>
                                </div>
                                <!-- Single Blog Post -->
                                <div class="single-blog-post post-style-2 d-flex justify-content-center widget-post">
                                    <!-- Post Content -->
                                    <div class="post-content">
                                        <a href="#" class="headline">
                                            <h5 class="mb-0"><?php echo 'UTM:' . $dailyIndicators->utm->valor; ?></h5>
                                        </a>
                                    </div>
                                </div>
                                <div class="single-blog-post post-style-2 d-flex justify-content-center widget-post">
                                    <!-- Post Content -->
                                    <div class="post-content">
                                        <a href="#" class="headline">
                                            <h5 class="mb-0"><?php  echo 'IVP:' . $dailyIndicators->ivp->valor; ?></h5>
                                        </a>
                                    </div>
                                </div>
                                <div class="single-blog-post post-style-2 d-flex justify-content-center widget-post">
                                    <!-- Post Content -->
                                    <div class="post-content">
                                        <a href="#" class="headline">
                                            <h5 class="mb-0"><?php echo 'Imacec:' . $dailyIndicators->imacec->valor; ?></h5>
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
<file_sep><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="description" content="">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Abogados B&M</title>
    <link rel="icon" href="img/core-img/favicon.ico">
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <!-- Preloader Start -->
    <div id="preloader">
        <div class="preload-content">
            <div id="world-load"></div>
        </div>
    </div>

<?php include('barra.php') ?>
    <div class="hero-area height-400 bg-img background-overlay" style="background-image: url(img/blog-img/bg5.jpg);"></div>
    <div class="regular-page-wrap section-padding-100">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-12 col-md-10 col-lg-8">                                
                    <div class="post-meta">
                        <h3>Sobre Nosotros</h3>
                    </div>
                    <div class="page-content">
                        <h6>
                            Somos Abogados especialistas, titulados de la Universidad de Valparaíso. Contamos con abogados con estudios de Post Grado, expertos en Derecho Civil. Junto a nosotros encontrará un equipo de trabajo completo, comprometido, brindamos una asesoría integral desde su inicio hasta el final, personalizada y pronta. 
                        </h6>
                        <div class="mt-30">
                            <img src="img/core-img/logo.png">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- ***** Footer Area Start ***** -->
    <?php include('footer.php') ?>
    <!-- ***** Footer Area End ***** -->
    <!-- jQuery (Necessary for All JavaScript Plugins) -->
    <script src="js/jquery/jquery-2.2.4.min.js"></script>
    <!-- Popper js -->
    <script src="js/popper.min.js"></script>
    <!-- Bootstrap js -->
    <script src="js/bootstrap.min.js"></script>
    <!-- Plugins js -->
    <script src="js/plugins.js"></script>
    <!-- Active js -->
    <script src="js/active.js"></script>

</body>

</html><file_sep>    <div class="hero-area height-600 bg-img background-overlay" style="background-image: url(img/blog-img/bg1.jpg);">
        <div class="container h-100">
            <div class="row h-100 align-items-center justify-content-center">
                <div class="col-12 col-md-8 col-lg-6">
                    <div class="single-blog-title text-center">
                        <!-- Catagory -->
                        <img src="img/core-img/logo.png">
                        <h3 class="mt-30">Visítenos en Viña del Mar.</h3>
                        <h3>!Llame Ahora!</h3>
                        <h3 class="mt-15">+56955278325</h3>
                    </div>
                </div>
                <div class="col-12 col-md-8 col-lg-6 formulario">
                    <div class="single-blog-title text-center">
                        <form method="post" action="/abogadosplus/correo.php" name="formulario">
                            <div class="form-group">
                                <select class="form-control" id="sel1" name="contacto">
                                    <option value="contactar">Contactar como:</option>
                                    <option value="Reunion con">Agendar Reunión</option>
                                    <option value="Llamar a">Llámenme</option>
                                </select>
                            </div>
                            <div class="form-group">
                                <input type="text" name="nombre" class="form-control" placeholder="Nombre" required>
                            </div>
                            <div class="form-group">
                                <input type="email" name="correo" class="form-control" placeholder="Correo Electrónico" required>
                            </div>
                            <div class="form-group">
                                <input type="number" name="telefono" class="form-control" placeholder="Teléfono/Celular" required>
                            </div>
                            <div class="form-group">
                                <textarea type="text" name="situacion" class="form-control" placeholder="Situación" rows="3" required></textarea>
                            </div>
                            <button type="submit" class="btn btn-warning"><b>Enviar Consulta</b></button>
                        </form>
                    </div>
                        <?php  
                        if(isset($_GET['enviado'])==1)
                        {
                            echo '<div class="container aviso mt-30" >';
                                echo'<div class="row text-center">';
                                echo'<div class="col-12"><b>ENVIADO CON ÉXITO</b></div>';
                                echo'</div>';
                            echo'</div>';
                        }else{

                        }
                        ?>
                </div>
            </div>
        </div>
        
<file_sep><!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="description" content="">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <!-- Title  -->
    <title>Abogados B&M</title>
    <!-- Favicon  -->
    <link rel="icon" href="img/core-img/favicon.ico">
    <!-- Style CSS -->
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <!-- Preloader Start -->
    <div id="preloader">
        <div class="preload-content">
            <div id="world-load"></div>
        </div>
    </div>
    <!-- Preloader End -->

<?php include('barra.php') ?>
    <?php include('formulario-general.php') ?>
    <div class="hero-post-area">
            <div class="container">
                <div class="row">
                    <div class="col-12">
                        <div class="hero-post-slide">
                            <!-- Single Slide -->
                            <div class="single-slide d-flex align-items-center">
                                <div class="post-number">
                                    <p>I</p>
                                </div>
                                <div class="post-title">
                                    <a href="#">I N I C I O</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="main-content-wrapper section-padding-100">
        <div class="container">
            <div class="row justify-content-center">
                 <?php include('servicios.php'); ?>
                <div class="col-12 col-md-8 col-lg-4">
                    <div class="post-sidebar-area wow fadeInUpBig" data-wow-delay="0.2s">
                       <?php include('informacion.php') ?>
                        <div class="sidebar-widget-area">
                            <h5 class="title">CONTÁCTATE CON NOSOTROS</h5>
                            <div class="widget-content">
                                <div class="social-area d-flex justify-content-between">
                                    <a href="#"><i class="fa fa-facebook"></i></a>
                                    <a href="#"><i class="fa fa-instagram"></i></a>
                                    <a href="#"><i class="fa fa-google"></i></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- ***** Footer Area Start ***** -->
 <?php include('footer.php') ?> 
    <!-- ***** Footer Area End ***** -->

    <!-- jQuery (Necessary for All JavaScript Plugins) -->
    <script src="js/jquery/jquery-2.2.4.min.js"></script>
    <!-- Popper js -->
    <script src="js/popper.min.js"></script>
    <!-- Bootstrap js -->
    <script src="js/bootstrap.min.js"></script>
    <!-- Plugins js -->
    <script src="js/plugins.js"></script>
    <!-- Active js -->
    <script src="js/active.js"></script>

</body>

</html><file_sep><?php header('location:index.php') ?>
<file_sep><!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="description" content="">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags -->

    <!-- Title  -->
    <title>Abogados B&M</title>

    <!-- Favicon  -->
    <link rel="icon" href="img/core-img/favicon.ico">

    <!-- Style CSS -->
    <link rel="stylesheet" href="style.css">

</head>

<body>
    <!-- Preloader Start -->
    <div id="preloader">
        <div class="preload-content">
            <div id="world-load"></div>
        </div>
    </div>
    <!-- Preloader End -->

    <!-- ***** Header Area Start ***** -->
<?php include('barra.php') ?>

    <!-- ***** Header Area End ***** -->

    <!-- ********** Hero Area Start ********** -->
    <?php include('formulario-general.php') ?>
    <div class="hero-post-area">
            <div class="container">
                <div class="row">
                    <div class="col-12">
                        <div class="hero-post-slide">
                            <!-- Single Slide -->
                            <div class="single-slide d-flex align-items-center">
                                <div class="post-number">
                                    <p>D</p>
                                </div>
                                <div class="post-title">
                                    <a href="#">D E R E C H O - F A M I L I A R</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- ********** Hero Area End ********** -->

    <div class="main-content-wrapper section-padding-100">
        <div class="container">
            <div class="row justify-content-center">
                <!-- ============= Post Content Area ============= -->
                <div class="col-12 col-lg-8">
                    <div class="single-blog-content mb-100">
                        <!-- Post Meta -->
                        <div class="post-meta">
                            <h3>Derecho de Familia</h3>
                        </div>
                        <!-- Post Content -->
                        <div class="post-content">
                            <blockquote class="mb-30">
                                <h6>El Derecho de familia es considerado como el conjunto de normas e instituciones jurídicas que intentan regular las relaciones personales y patrimoniales de los integrantes de una familia, entre sí y respecto a terceros. Tales relaciones se originan a partir del matrimonio y del parentesco.
                                <ul class="mt-15 sub">
                                    <i class="fa fa-play"></i> Divorcios<br>
                                    <i class="fa fa-play"></i> Alimentos<br>
                                    <i class="fa fa-play"></i> Cuidado Personal <br>
                                    <i class="fa fa-play"></i> Medidas de Protección a menores<br>
                                    <i class="fa fa-play"></i> Salida del país
                                </ul>
                                </h6>
                            </blockquote>
                            <!-- Post Tags -->
                            <ul class="post-tags">
                                <li><a href="contact.php">Contactanos</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-12 col-md-6 col-lg-4">
                    <!-- Single Blog Post -->
                    <div class="single-blog-post">
                        <!-- Post Thumbnail -->
                            <img src="img/blog-img/bg13.jpg" alt="">
                            <!-- Catagory -->
                    </div>
                </div>
                <div class="col-12 col-md-6 col-lg-4">
                    <!-- Single Blog Post -->
                    <div class="single-blog-post">
                        <!-- Post Thumbnail -->
                            <img src="img/blog-img/bg14.jpg" alt="">
                            <!-- Catagory -->
                    </div>
                </div>
                <div class="col-12 col-md-6 col-lg-4">
                    <!-- Single Blog Post -->
                    <div class="single-blog-post">
                        <!-- Post Thumbnail -->
                            <img src="img/blog-img/bg15.jpg" alt="">
                            <!-- Catagory -->
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- ***** Footer Area Start ***** -->
   <?php include('footer.php') ?>
    <!-- ***** Footer Area End ***** -->

    <!-- jQuery (Necessary for All JavaScript Plugins) -->
    <script src="js/jquery/jquery-2.2.4.min.js"></script>
    <!-- Popper js -->
    <script src="js/popper.min.js"></script>
    <!-- Bootstrap js -->
    <script src="js/bootstrap.min.js"></script>
    <!-- Plugins js -->
    <script src="js/plugins.js"></script>
    <!-- Active js -->
    <script src="js/active.js"></script>

</body>

</html><file_sep><!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="description" content="">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags -->

    <!-- Title  -->
    <title>Abogados B&M</title>

    <!-- Favicon  -->
    <link rel="icon" href="img/core-img/favicon.ico">

    <!-- Style CSS -->
    <link rel="stylesheet" href="style.css">

</head>

<body>
    <!-- Preloader Start -->
    <div id="preloader">
        <div class="preload-content">
            <div id="world-load"></div>
        </div>
    </div>
    <!-- Preloader End -->

    <!-- ***** Header Area Start ***** -->
<?php include('barra.php') ?>
    <!-- ***** Header Area End ***** -->

    <!-- ********** Hero Area Start ********** -->
        <div class="hero-area height-600 bg-img background-overlay" style="background-image: url(img/blog-img/bg4.jpg);">
        <div class="container h-100">
            <div class="row h-100 align-items-center justify-content-center">
                <div class="col-12 col-md-8 col-lg-6 formulario">
                    <div class="single-blog-title text-center">
                        <!-- Catagory -->
                        <form method="post" action="/abogadosplus/correo.php" >
                            <div class="form-group">
                                <select class="form-control" id="sel1" name="contacto">
                                    <option value="contactar">Contactar como:</option>
                                    <option value="Reunion con">Agendar Reunión</option>
                                    <option value="Llamar a">Llámenme</option>
                                </select>
                            </div>
                            <div class="form-group">
                                <input type="text" name="nombre" class="form-control" placeholder="Nombre" required>
                            </div>
                            <div class="form-group">
                                <input type="email" name="correo" class="form-control" placeholder="Correo Electrónico" required>
                            </div>
                            <div class="form-group">
                                <input type="number" name="telefono" class="form-control" placeholder="Teléfono" required>
                            </div>
                            <div class="form-group">
                                <textarea type="text" name="situacion" class="form-control" placeholder="Situación" rows="3" required></textarea>
                            </div>
                            <button type="submit" class="btn btn-warning"><b>Enviar Consulta</b></button>
                        </form>
                    </div>
                </div>
            </div>

        </div>
    </div>
    <!-- Google Maps: If you want to google map, just uncomment below codes -->
    <!--
    <div class="map-area">
        <div id="googleMap" class="googleMap"></div>
    </div>
    -->

    <!-- ***** Footer Area Start ***** -->
 <?php include('footer.php') ?> 
    <!-- ***** Footer Area End ***** -->

    <!-- jQuery (Necessary for All JavaScript Plugins) -->
    <script src="js/jquery/jquery-2.2.4.min.js"></script>
    <!-- Popper js -->
    <script src="js/popper.min.js"></script>
    <!-- Bootstrap js -->
    <script src="js/bootstrap.min.js"></script>
    <!-- Plugins js -->
    <script src="js/plugins.js"></script>
    <!-- Active js -->
    <script src="js/active.js"></script>
    <!-- Google Maps: If you want to google map, just uncomment below codes -->
    <!--
    <script src="https://maps.googleapis.com/maps/api/js?key=<KEY>"></script>
    <script src="js/map-active.js"></script>
    -->

</body>

</html>