* 06/07/2015 - 13/08/2015 * * @author Emanuel Martinez <*****@*****.**> * * @license MIT License: https://github.com/EmanuelM/BahiaNumeros/blob/master/LICENSE * * @link Página proyecto: http://bahianumeros.com.ar * GitHub Repo: https://github.com/EmanuelM/BahiaNumeros * * @version 1.0 * **/ ini_set('display_errors', false); require_once 'includes/vista.php'; require_once 'includes/controlador.php'; Vista::header('¿Cuánto sale?', false); ?> <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyAiX0zsLPHL19F7RMIJ-lqoJJf9NAG913g&sensor=TRUE&libraries=geometry"> </script> <?php $direccion = $_POST['origen'] . ", Bahia Blanca, Buenos Aires, Argentina"; $resultado = json_decode(file_get_contents(sprintf('https://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=%s', urlencode($direccion)))); $direccion2 = $_POST['destino'] . ", Bahia Blanca, Buenos Aires, Argentina"; $resultado2 = json_decode(file_get_contents(sprintf('https://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=%s', urlencode($direccion2)))); $estado = $resultado->status; $estado2 = $resultado2->status; if ($estado == 'OK') { $lat = $resultado->results[0]->geometry->location->lat;
* * 06/07/2015 - 13/08/2015 * * @author Emanuel Martinez <*****@*****.**> * * @license MIT License: https://github.com/EmanuelM/BahiaNumeros/blob/master/LICENSE * * @link Página proyecto: http://bahianumeros.com.ar * GitHub Repo: https://github.com/EmanuelM/BahiaNumeros * * @version 1.0 * **/ ini_set('display_errors', false); require_once 'includes/vista.php'; Vista::header('Tarifas', false); require_once 'includes/cnxn.php'; $consulta = mysqli_query($conexion, "SELECT * from tarifas WHERE servicio='taxi'") or die("Error al traer los datos"); $consulta2 = mysqli_query($conexion, "SELECT * from tarifas WHERE servicio='remis'") or die("Error al traer los datos"); $tarifaTaxi = mysqli_fetch_array($consulta); $tarifaRemis = mysqli_fetch_array($consulta2); ?> <div class="col-sm-12"> <h1 class="text-center"><i style="color: #F39C12;" class="fa fa-cab"></i> Taxis</h1><br> </div> <div class="col-sm-6"> <div class="panel panel-default"> <div class="panel-body"> <div class="pull-left"> <h1><?php
<?php /** * BAHÍA NÚMEROS * ===================== * * 06/07/2015 - 13/08/2015 * * @author Emanuel Martinez <*****@*****.**> * * @license MIT License: https://github.com/EmanuelM/BahiaNumeros/blob/master/LICENSE * * @link Página proyecto: http://bahianumeros.com.ar * GitHub Repo: https://github.com/EmanuelM/BahiaNumeros * * @version 1.0 * **/ ini_set('display_errors', false); require_once 'includes/vista.php'; require_once 'includes/controlador.php'; Vista::header('Remises', true); Controlador::servicio('remises'); Vista::footer(true);
<?php /** * BAHÍA NÚMEROS * ===================== * * 06/07/2015 - 13/08/2015 * * @author Emanuel Martinez <*****@*****.**> * * @license MIT License: https://github.com/EmanuelM/BahiaNumeros/blob/master/LICENSE * * @link Página proyecto: http://bahianumeros.com.ar * GitHub Repo: https://github.com/EmanuelM/BahiaNumeros * * @version 1.0 * **/ ini_set('display_errors', false); require_once 'includes/vista.php'; require_once 'includes/controlador.php'; Vista::header('Contacto', false); Vista::formulario(); if (isset($_POST['nombre']) && isset($_POST['dropdown']) && isset($_POST['asunto']) && isset($_POST['textarea'])) { Controlador::mensaje($_POST['nombre'], $_POST['dropdown'], $_POST['asunto'], $_POST['textarea']); } else { } Vista::footer(false);
* 06/07/2015 - 13/08/2015 * * @author Emanuel Martinez <*****@*****.**> * * @license MIT License: https://github.com/EmanuelM/BahiaNumeros/blob/master/LICENSE * * @link Página proyecto: http://bahianumeros.com.ar * GitHub Repo: https://github.com/EmanuelM/BahiaNumeros * * @version 1.0 * **/ ini_set('display_errors', false); require_once 'includes/vista.php'; require_once 'includes/controlador.php'; Vista::header('Inicio', false); ?> <div class="col-sm-6 text-center"> <img src="img/InicioAndroid.jpg" style="margin:auto;" alt="#BN en Android" class="img-responsive"> <h1 class="cols">Descargar para Android</h1> <a href="http://bit.ly/1EcZcyX" class="btn btn-lg btn-success btn-block"><i class="fa fa-android"></i> Google Play</a><br> </div> <div class="col-sm-6 text-center"> <img src="img/InicioWindows.jpg" style="margin:auto;" alt="#BN en Windows Phone" class="img-responsive"> <h1 class="cols">Descargar para WinPhone</h1> <a href="http://bit.ly/1XE9IWy" class="btn btn-lg btn-info btn-block"><i class="fa fa-windows"></i> Windows Store</a><br> </div> <?php
<?php /** * BAHÍA NÚMEROS * ===================== * * 06/07/2015 - 13/08/2015 * * @author Emanuel Martinez <*****@*****.**> * * @license MIT License: https://github.com/EmanuelM/BahiaNumeros/blob/master/LICENSE * * @link Página proyecto: http://bahianumeros.com.ar * GitHub Repo: https://github.com/EmanuelM/BahiaNumeros * * @version 1.0 * **/ ini_set('display_errors', false); require_once 'includes/vista.php'; require_once 'includes/controlador.php'; Vista::header('Taxis', true); Controlador::servicio('taxis'); Vista::footer(true); ?>