<% Response.Expires = 60 Response.Expiresabsolute = Now() - 1 Response.AddHeader "pragma","no-cache" Response.AddHeader "cache-control","private" Response.CacheControl = "no-cache" set conn = server.createobject("adodb.connection") conn.open = "driver={microsoft access driver (*.mdb)};dbq="& server.mappath("./db/gotlandskonfektyr.mdb") &";pwd=" set rs = conn.execute("select * from pages where id=1") %> Gotlandsgårdens Konfektyr - <% if request.querystring("p") = "STARTSIDAN" then %>Startsida<% elseif request.querystring("p") = "PRALINENS-HISTORIA" then %>Pralinens historia<% elseif request.querystring("p") = "OM-OSS" then %>Om oss<% elseif request.querystring("p") = "KONTAKTA-OSS" then %>Kontakta oss<% elseif request.querystring("p") = "SITEMAP" then %>Sitemap<% end if %>


<% if len(request.querystring("p")) = 0 then response.redirect "default.asp?p=STARTSIDAN" end if %>


<% if request.querystring("p") = "STARTSIDAN" then %> <%=rs("start")%> <% elseif request.querystring("p") = "VARA-PRALINER" then %> <%=rs("praliner")%> <% elseif request.querystring("p") = "OM-OSS" then %> <%=rs("omoss")%> <% elseif request.querystring("p") = "KONTAKTA-OSS" then %>
<%=rs("kontakt")%> <% if request.querystring("send") = "" then %> <% elseif not request.querystring("send") = "" then session("THENAME") = request.form("name") session("PHONENR") = request.form("phonenr") session("EMAIL") = request.form("email") session("CONTENT") = request.form("question") if IsNumeric(request.form("garage")) then if clng(request.form("garage")) = 10 then set msg = server.createobject("jmail.message") msg.from = ""& request.form("email") &"" msg.fromname = "Gotlandskonfektyr.se" msg.addrecipient "0498492370@telia.com" msg.subject = "Från Kontakt-formuläret" HTML = HTML & "Namn: "& request.form("name") &"
" HTML = HTML & "E-postadress: "& request.form("email") &"
" HTML = HTML & "Telefonnr: "& request.form("phonenr") &"

" HTML = HTML & "Fråga:

"& request.form("question") &"


Detta meddelande skickades via Gotlandskonfektyr.se" msg.htmlbody = HTML if (not msg.send("smtp01.binero.se")) then response.write ""& msg.log &"" else session.abandon %>

Tack för visat intresse!



Vi hör av oss så snart vi kan!
<% end if else %> Fel kod, vänligen testa igen.

Gå tillbaka <% end if else %> Fel kod, vänligen testa igen.

Gå tillbaka <% end if end if %>
<% elseif request.querystring("p") = "PRALINENS-HISTORIA" then %> <%=rs("historia")%> <% elseif request.querystring("p") = "SITEMAP" then %>

Sitemap



Startsidan
Våra praliner
Om oss
Kontakta oss
Pralinens historia
<% end if %>
Gotlandsgårdens konfektyr     Tel: 0705-49 23 70     Email: 0498492370@telia.com     Sitemap


<% set rs = nothing %>