<?php require_once './classes/Soap.php'; $soap = new Soap(); $geoIp = $soap->get_location(); $act_country = $geoIp->Country; $act_city = $soap->normalizar($geoIp->City); if (empty($act_country)) { $country = 'Colombia'; } else { $country = $act_country; } if (empty($act_city)) { $city = 'Bogota'; } else { $city = $act_city; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Test BSPKN</title> <link href="scripts/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> <link href="scripts/css/main.css" rel="stylesheet" /> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]-->