-
Notifications
You must be signed in to change notification settings - Fork 0
/
cabecera_maps.php
executable file
·56 lines (53 loc) · 1.53 KB
/
cabecera_maps.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
require('libs/funciones.php');
conectar();
$db=new DB();
session_start();
$id_user=$_SESSION['user_logged'];
if($id_user==""){
header("location: index.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Gestor de cuentas</title>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" media="screen" href="libs/estilo.css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example</title>
<script src="ABQIAAAAK-EFNFMO_0XmjojhacSOxBT3kT5ry48tYQa0G0tn8-2Qk5Y8ehS5pI4zvywbVAcb_FeTzX87I4qISQ"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map_canvas"));
var geocoder = new GClientGeocoder();
geocoder.getLatLng(
"madrid",
function(point) {
if (!point) {
alert(address + " not found");
} else {
map.setCenter(point, 13);
}
}
);
}
}
//]]>
</script>
</head>
</head>
<body onload="load()" onunload="GUnload()">
<div id="cabecera">
<a href=".">
<img src="imagenes/logo.png" alt="Logo de la web" />
De rondas</a>
</div>
<?php
require 'login.php';
?>