Ver Mensaje Individual
  #7 (permalink)  
Antiguo 06/09/2012, 08:06
elielbeck
 
Fecha de Ingreso: marzo-2008
Mensajes: 228
Antigüedad: 14 años, 8 meses
Puntos: 12
Respuesta: Problema con buscador ASP (no da resultados)

search_property1.asp (PART 3)

Código:
            <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>
  
  <tr>
    <td background="img/property_back.jpg"><table width="955">
      <tr>
        <td height="400" valign="top"><table width="984" align="center">
          <tr>
            <td height="30" align="center">&nbsp;</td>
            <td align="center"><p><img src="img/property_search_results.png" alt="Luxury properties" width="343" height="52" /><br />
              </p>              </td>
            <td align="center">&nbsp;</td>
          </tr>
          <tr>
            <td width="119" align="center">&nbsp;</td>
            <td width="797" align="center" valign="top"><% 
While ((Repeat1__numRows <> 0) AND (NOT Search_properties.EOF)) 
%>
                <table width="375" align="left" cellpadding="2" cellspacing="2" background="img/transparent.png">
                  <tr>
                      <td colspan="3" background="img/back_table.jpg" class="style22 style21 style13 style1"><div align="left" class="style24"> <%=(Search_properties.Fields.Item("New_resale").Value)%> Ref: <%=(Search_properties.Fields.Item("Ref").Value)%></div></td>
                  </tr>
                  <tr>
                      <td rowspan="6" align="left" class="style7"><div align="left"><a href="resale_info.asp?<%= Server.HTMLEncode(MM_keepURL) & MM_joinChar(MM_keepURL) & "Id=" & Search_properties.Fields.Item("Id").Value %>"><img src="<%=(Search_properties.Fields.Item("Photo_01").Value)%>" alt="Properties in Spain" width="150" height="125" border="1" onload="MM_effectAppearFade(this, 1000, 0, 100, true)" /></a></div></td>
                    <td class="style7"><div align="left" class="style13 style21 style22 style26">
                            <div align="left">Property type:</div>
                      </div></td>
                    <td class="style7 style21 style22 style23"><div align="left" class="style26"><%=(Search_properties.Fields.Item("Type_English").Value)%></div></td>
                  </tr>
                  <tr>
                      <td class="style7"><div align="left" class="style13 style21 style22 style26">
                            <div align="left">Bedrooms:</div>
                      </div></td>
                    <td class="style7"><div align="left" class="style27">
                            <div align="left"><%=(Search_properties.Fields.Item("Bedrooms").Value)%></div>
                    </div></td>
                  </tr>
                  <tr>
                      <td class="style7"><div align="left" class="style13 style21 style22 style26">
                            <div align="left">Bathrooms: </div>
                          <div align="left" class="style13"></div>
                      </div></td>
                    <td class="style7"><div align="left" class="style27">
                            <div align="left"><%=(Search_properties.Fields.Item("Bathrooms").Value)%></div>
                    </div></td>
                  </tr>
                  <tr>
                      <td height="20" class="style7"><div align="left" class="style13 style21 style22 style26">
                            <div align="left">Town:</div>
                      </div></td>
                    <td class="style7"><div align="left" class="style27">
                            <div align="left"><%=(Search_properties.Fields.Item("Town").Value)%></div>
                    </div></td>
                  </tr>
                  <tr>
                      <td class="style7"><div align="left" class="style13 style21 style22 style26">
                            <div align="left">Area:</div>
                      </div></td>
                    <td class="style7"><div align="left" class="style27">
                            <div align="left"><%=(Search_properties.Fields.Item("Area").Value)%></div>
                    </div></td>
                  </tr>
                  <tr>
                      <td class="style7"><div align="left" class="style13 style21 style22 style26">
                          <div align="left">Price:</div>
                      </div></td>
                      <td class="style7"><div align="left" class="style27">
                          <div align="left" class="style22"><span class="style23"><span class="style26"></span></span><%= FormatCurrency((Search_properties.Fields.Item("Price").Value), 0, -2, -2, -2) %></div>
                      </div></td>
                  </tr>
                            </table>
                <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  Search_properties.MoveNext()
Wend
%>
                <span class="style21 style26 style29">
                <%
If (Search_properties_total) = ("0") Then 
  Response.Write("There where know results for your search, sorry for the inconvinience.")
End If
%>
                </span></td>
            <td width="66" align="center">&nbsp;</td>
          </tr>
          <tr>
            <td height="58" align="center">&nbsp;</td>
            <td align="center"><table width="750" align="left">
                <tr>
                  <td width="52" height="70" rowspan="2"><div align="left">
                    <% If MM_offset <> 0 Then %>
                      <img src="img/previous_up.png" alt="Previous page of properties" name="Previous_property" width="28" height="28" border="0" id="Previous_property" />
                      <% End If ' end MM_offset <> 0 %>
</div></td>
                  <td width="644"><div align="center" class="style20">Total number of properties:  <%=(Search_properties_first)%> of <%=(Search_properties_total)%></div></td>
                  <td width="38" rowspan="2"><% If Not MM_atTotal Then %>
                      <div align="right"> <a href="<%=MM_moveNext%>"><img src="img/next_up.png" alt="Next page of properties" name="Next_property" width="28" height="28" border="0" id="Next_property" /></a> </div>
                      <% End If ' end Not MM_atTotal %></td>
                </tr>
                <tr>
                  <td><table width="145" align="center" cellpadding="2" cellspacing="2">
                      <tr>
                        <td align="center" background="img/back_table.jpg" class="style14 style37"><a href="index.asp" class="style45"><strong><font color="#000000">Go back to Search</font></strong></a></td>
                      </tr>
                  </table></td>
                </tr>
            </table></td>
            <td align="center">&nbsp;</td>
          </tr>
        </table>
          </td>
        </tr>
    </table></td>
  </tr>