<%@language="vbscript"%> <%OpenConn SQL_titolo="SELECT titolo,autori FROM LIBRI where idlibro=" & request("idlibro") set RS_titolo=conn.execute(SQL_titolo) book_title = RS_titolo(0) autori = RS_titolo(1) %> Libro: <%=book_title&" - "&autori%>

Ricerca

<% 'OpenConn ' exchange rates SQL_exchange = "select top 1 sterlin_to_euro from xrates" set RS=conn.execute(SQL_exchange) sterlin_to_euro = CDbl(RS("sterlin_to_euro")) SQL="SELECT * FROM LIBRI where idlibro=" & request("idlibro") set RS=conn.execute(SQL) desc_lunga = RS("Descrizione_lunga") prezzo_euro = GetPrezzoEuro( rs("prezzo_euro")/100, rs("prezzo_sterlina"), rs("prezzo_dollaro")) 'response.Write("aaa: " & prezzo_euro & "aaa") 'prezzo_euro=rs("prezzo_euro") 'prezzo_dollaro=rs("prezzo_dollaro") 'prezzo_sterlina=rs("prezzo_sterlina") 'if (not prezzo_euro > 0 and prezzo_sterlina>0) then ' prezzo_euro = prezzo_sterlina * sterlin_to_euro 'end if 'if (prezzo_euro > prezzo_dollaro) and (prezzo_euro > prezzo_sterlina) then 'prezzo= prezzo_euro 'end if 'if (prezzo_dollaro > prezzo_euro) and (prezzo_dollaro > prezzo_sterlina) then 'prezzo= prezzo_dollaro 'end if 'if (prezzo_sterlina > prezzo_dollaro) and (prezzo_sterlina > prezzo_euro) then 'prezzo= prezzo_sterlina 'end if %>
<% if request("bic")<>"" then %> Home <% totbic=len(request("bic")) startbic=1 DO WHILE not startbic = totbic SQL="SELECT categoria FROM struttura_bic where bic = '" & left(request("bic"),startbic) & "'" set RS_bic=conn.execute(SQL) cat=RS_bic(0) %> > "><%=cat%> <% startbic = startbic + 1 %> <% loop %> <% SQL="SELECT categoria FROM struttura_bic where bic = '" & request("bic") & "'" set RS_last_bic=conn.execute(SQL) if (not RS_last_bic.eof) then cat=RS_last_bic(0) %> > <%=cat%> <% end if end if %>

Dettaglio del libro:

<% if prezzo_euro > 0 then %> <% end if %>

<%=rs("titolo")%>

<% if rs("immagine")<>"" then %> <% else %> <% if ExistsEditorImage(rs("editore")) then %> " width="150" height="190"> <%else%> <%end if%> <% end if %> Autori: <%=rs("autori")%>
Editore: <%=rs("editore")%>
Anno: <%=rs("anno")%>
Prezzo: <% response.write(formatnumber(prezzo_euro,2)) '=rs("prezzo_euro")/100 %> €
ISBN: <%=rs("isbn")%>
Pagine: <%=rs("pagine")%>
Disponibilità: <% if rs("disponibilita")="IN" then ' In the future this should be change to use the "origin" field. ' To discern between the english and the italian books, we look ' at the price field, but this could cause problems. if(rs("prezzo_euro") > 0) then %> 5 giorni <% else %> 10/15 giorni lavorativi <% end if else %> Non ancora pubblicato <% end if %>
 
<% if desc_lunga <> "" then response.write(desc_lunga) else response.write(rs("descrizione_breve")) end if %>
Hai bisogno di altre informazioni prima di procedere con l'acquisto?
Vuoi sapere il numero delle pagine e l'anno di pubblicazione (in alcuni casi non è segnato nella ns scheda!), ricevere via email l'abstract, la copertina del libro, l'indice, un'estratto del contenuto?
Contattaci e saremo lieti di inviarti tutte le informazioni disponibili!
"> ">


<% CloseConn %>