Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/09/2012, 07:50
elielbeck
 
Fecha de Ingreso: marzo-2008
Mensajes: 228
Antigüedad: 16 años, 1 mes
Puntos: 12
Respuesta: Problema con buscador ASP (no da resultados)

De acuerdo

Son 2 archivos los que forman el buscador: index2.asp y search_property1.asp

Los pongo en 4 mensajes porque no me deja mas de 10000 caracteres

Index2.asp (part 1)

Código:
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<link rel="shortcut icon" href="http://www.amandaproperties.com/img/favicon.ico">


<body onload="MM_preloadImages('img/home_over_properites_spain.png','img/properties_over_the coast.png','img/services_over_real_estate.png','img/contact_over_best_properties_costa_del_sol.png','img/links_over_buy_property_in_spain.png','img/login_over_db.png','img/info_over.png')">
<table width="998" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="999" height="149" valign="top" background="img/top_background_properties_spain.jpg"><table width="998" height="147" cellpadding="0" cellspacing="0">
      <tr>
        <td width="15" height="96" rowspan="2"><div align="left"></div></td>
        <td width="483" rowspan="2"><img src="img/top_logo_properties_CostaBlanca.jpg" alt="" width="356" height="66" /></td>
        <td width="483" height="54" valign="bottom"><table width="100" align="right" cellpadding="1" cellspacing="1">
          <tr>
            <td><a href="index_se.asp"><img src="img/svenska_flagga_svenska_Mäklare.jpg" alt="Svenska" width="22" height="22" border="0" /></a></td>
            <td><a href="index.asp"><img src="img/bandera_uk_properties_in_spain_costablanca_costa_calida.jpg" alt="English" width="22" height="22" border="0" /></a></td>
            <td><a href="index_es.asp"><img src="img/bandera_spain_properties_in_spain.jpg" alt="Español" width="21" height="22" border="0" /></a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="50"><table width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td width="338"><div align="right" class="style3 style10"><img src="img/weather.png" alt="" width="109" height="12" /></div></td>
            <td width="1" align="left">
              <div align="left"></div>
            <td width="86" height="41" align="right" valign="top">
		<a href="http://www.wunderground.com/global/stations/08360.html?bannertypeclick=gizmotimetemp24">
  	    <div align="right"><img src="http://banners.wunderground.com/weathersticker/gizmotimetemp_metric24/language/www/global/stations/08360.gif" border=0
	  	alt="Click for Alicante, Spain Forecast" height=41 width=127> </div></td>
            <td width="10" align="left" valign="top">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="41" colspan="3" valign="middle"><table width="973" cellpadding="0" cellspacing="0">
          <tr>
            <td width="77"><div align="center"><a href="index.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home_property_spain','','img/home_over_properites_spain.png',1)"><img src="img/home_up_properites_spain.png" alt="Back to main page" name="Home_property_spain" width="65" height="35" border="0" id="Home_property_spain" /></a></div></td>
            <td width="116"><div align="left"><a href="properties_spain.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Properties_property_spain','','img/properties_over_the coast.png',1)"><img src="img/properties_up_the coast.png" alt="Browse trough all quality Spanish properties in Amanda Properties" name="Properties_property_spain" width="105" height="35" border="0" id="Properties_property_spain" /></a></div></td>
            <td width="94"><div align="left"><a href="real_estate_services.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Services_property_spain','','img/services_over_real_estate.png',1)"><img src="img/services_up_real_estate.png" alt="Before &amp; Afeter Sales Real Estate Services" name="Services_property_spain" width="86" height="35" border="0" id="Services_property_spain" /></a></div></td>
            <td width="65"><a href="information.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Info','','img/info_over.png',1)"><img src="img/info_up.png" alt="General Information" name="Info" width="63" height="35" border="0" id="Info" /></a></td>
            <td width="95"><div align="left"><a href="contact_properties_spain.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact_amanda_properties','','img/contact_over_best_properties_costa_del_sol.png',1)"><img src="img/contact_up_best_properties_costa_del_sol.png" alt="Exelent service and personal assistance" name="contact_amanda_properties" width="83" height="35" border="0" id="contact_amanda_properties" /></a></div></td>
            <td width="136"><div align="left"><a href="links_properties_spain.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('links_to_the_best_properties_in_spain','','img/links_over_buy_property_in_spain.png',1)"><img src="img/links_up_buy_property_in_spain.png" alt="Useful links" name="links_to_the_best_properties_in_spain" width="64" height="35" border="0" id="links_to_the_best_properties_in_spain" /></a></div></td>
            <td width="388" valign="top"><table align="right" cellpadding="1" cellspacing="1">
              <tr>
                <td width="84"><img src="img/redsocial_properties.png" alt="" width="84" height="12" /></td>
                <td width="22"><img src="img/facebook_properties_villa_apartment.png" alt="Visit us in Facebook" width="22" height="22" /></td>
                <td width="24"><img src="img/Twitter_properties_spain.png" alt="" width="24" height="22" /></td>
                <td width="34"><img src="img/google_plus_properties_in_spain.png" alt="Visit us in Google plus" width="23" height="23" /></td>
                <td width="51"><a href="DB/menuaccess.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Log-in','','img/login_over_db.png',1)"><img src="img/login_up_db.png" alt="Restricted area" name="Log-in" width="51" height="26" border="0" id="Log-in" /></a></td>
              </tr>
            </table></td>
          </tr>
        </table>
          <div align="right"></div></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td></td>
  </tr>