espera que te he copiado mal el codigo, te lo pongo todo:
Código PHP:
<?php
function head($titulo,$mapa){
if(trim($titulo)==""){$titulo = "Coloca un Titulo";}
echo " <head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<META NAME='Title' CONTENT='Pixelados'>
<META NAME='Author' CONTENT='50l3r'>
<META NAME='Subject' CONTENT='Hosting de Ficheros'>
<META NAME='Description' CONTENT='Pixelados, tu hosting social'>
<META NAME='Keywords' CONTENT='pixelados,hosting,social,ficheros,capacidad ilimitada,espacio ilimitado,upload'>
<META NAME='Generator' CONTENT='notepad++'>
<META NAME='Language' CONTENT='Spanish'>
<META NAME='Revisit' CONTENT='1 day'>
<META NAME='Distribution' CONTENT='Global'>
<META NAME='Robots' CONTENT='All'>
<title>$titulo</title>
<link href='css/ipad-style.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='js/aparecer.js'></script>
<script type='text/javascript' src='js/jquery.js'></script>
<script type='text/javascript' src='js/efectos.js'></script>
<noscript><meta http-equiv='refresh' content='0;url=bloqueado.php'></noscript>";
if($mapa==1 || $mapa ==2){
echo "<script src='http://maps.google.com/maps?file=api&v=2&sensor=false&key=ABQIAAAA-6rmF6NDNVKQHRT9czz-lxRi_j0U6kJrkFvY4-OX2XYmEAa76BSzQLL7qFKUQKuM1aaNp9mwpTbeig' type='text/javascript'></script>
<script type='text/javascript'>
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById('map'));
map.setCenter(new GLatLng(43.33017262373211, -3.863067626953125), 10);";
if($mapa==1){echo "map.setMapType(G_HYBRID_MAP);";}elseif($mapa==2){echo "map.setMapType(G_NORMAL_MAP);";}
echo " }
}
function map_type(type){
if (GBrowserIsCompatible()) {
var map = document.getElementById('map');
map.setMapType(type);
}
}
</script>";
}
echo " </head>";
}
?>