PHP - los botonos del formularios no andan

 
Vista:

los botonos del formularios no andan

Publicado por javier (1 intervención) el 02/03/2011 21:57:01
Hola a todos mi pregunta es si alguin sabe porque no me andan los botones de enviar avistamiento o subir foto gracias a todo por la ayuda

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="js/script.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Acciones concretas de conservacion</title>
<link rel="stylesheet" type="text/css" href="css/dc.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<style type="text/css">
<!--
.Estilo3 {font-size: 12}
.Estilo4 {color: #FFFFFF}
.Estilo6 {font-size: 11px}
#apDiv1 {
position:absolute;
left:497px;
top:16px;
width:351px;
height:50px;
z-index:1;
}
#apDiv2 {
position:absolute;
left:411px;
top:16px;
width:472px;
height:25px;
z-index:1;
}
.Estilo10 {
font-size: 13px;
font-weight: bold;
color: #003399;
font-family: Arial, Helvetica, sans-serif;
}
.fltlft {float: left;
margin-right: 8px;
}
-->
</style>
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAGAEGVZIXwwutieHF4QOL4RRpYoRN0FKJQ7RZd_AzeNEq2PLjZhR3W4-qrIA2KyJ0hRw-barmpbORVQ"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
// Inicialización de variables.
var map = null;
var geocoder = null;
function load() { // Abre LLAVE 1.
if (GBrowserIsCompatible()) { // Abre LLAVE 2.
map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.567236,-1.803499),15);
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
geocoder = new GClientGeocoder();
//---------------------------------//
// MARCADOR AL HACER CLICK
//---------------------------------//
GEvent.addListener(map, "click",
function(marker, point) {
if (marker) {
null;
} else {
map.clearOverlays();
var marcador = new GMarker(point);
map.addOverlay(marcador);
//marcador.openInfoWindowHtml("<b><br>Coordenadas:<br></b>Latitud : "+point.y+"<br>Longitud : "+point.x+"<a href=http://www.mundivideo.com/fotos_pano.htm?lat="+point.y+"&lon="+point.x+"&mapa=3 TARGET=fijo><br><br>Fotografias</a>");
//marcador.openInfoWindowHtml("<b>Coordenadas:</b> "+point.y+","+point.x);
document.form_mapa.coordenadas.value = point.y+","+point.x;
}
}
);
//---------------------------------//
// FIN MARCADOR AL HACER CLICK
//---------------------------------//

} // Cierra LLAVE 1.
} // Cierra LLAVE 2.
//---------------------------------//
// GEOCODER
//---------------------------------//
function showAddress(address, zoom) {
if (geocoder) {
geocoder.getLatLng(address,
function(point) {
if (!point) {
alert(address + " not found");
} else {
map.setCenter(point, zoom);
var marker = new GMarker(point);
map.addOverlay(marker);
//marker.openInfoWindowHtml("<b>"+address+"</b><br>Coordenadas:<br>Latitud : "+point.y+"<br>Longitud : "+point.x+"<a href=http://www.mundivideo.com/fotos_pano.htm?lat="+point.y+"&lon="+point.x+"&mapa=3 TARGET=fijo><br><br>Fotografias</a>");
// marker.openInfoWindowHtml("<b>Coordenadas:</b> "+point.y+","+point.x);
document.form_mapa.coordenadas.value = point.y+","+point.x;
}
}
);
}}
//---------------------------------//
// FIN DE GEOCODER
//---------------------------------//
//]]>
</script>
</head>
<body onLoad="load();" onunload="GUnload();">
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
<td>
<div align="center">
<img src="images/up.png" width="930" height="166" border="0" usemap="#Map" /> </div>
<div align="center"></div></td>
</tr>
<?php
session_start();
//datos para establecer la conexion con la base de mysql.
mysql_connect("localhost","root","")or die ('Ha fallado la conexión: '.mysql_error());
mysql_select_db("usuarios")or die ('Error al seleccionar la Base de Datos: '.mysql_error());
function formRegistro(){
?>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td> </td>
<td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" bgcolor="#FFFFFF">
<form id="avistamiento" method="post" >

<h1>Nuevo Avistamiento</h1>
<p>
<label> Descripción y comentarios: </label>
</p>
<div><span>
<textarea rows="3" cols="60" name="field_description[0][value]">
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder