bestilling-kontakt.html:
---------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>Bestilling - Kontakt</TITLE>
<style type="text/css">
<!--
a:link {
color: #FF9900;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FF0000;
}
a:hover {
text-decoration: none;
color: #FF0099;
}
a:active {
text-decoration: none;
color: #FFFF00;
}
.style7 {color: #FF8000; font-family: Arial, Helvetica, sans-serif; font-weight: bold; }
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style8 {
font-size: xx-small;
color: #000000;
font-style: italic;
}
.style10 {font-family: Arial, Helvetica, sans-serif}
.style18 {
font-family: "Courier New", Courier, monospace;
font-size: x-small;
}
.style23 {
font-size: medium;
color: #000000;
font-style: italic;
}
.style24 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: #0080FF;
}
.style25 {color: #FF8000; font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: large; }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></HEAD>
<form method="post" action="sendemail.asp">
<input type="hidden" name="recipient" value="popcorn@yes-yes.dk">
<input type="hidden" name="subject" value="Ordre eller kommentar fra
www.yes-yes.Popcorn.dk"><input type="hidden" name="redirect" value="
http://www.yes-yes.dk/popcorn/tak.html"> <table width="100%" border="0" bgcolor="#FFFF33">
<tr>
<td><p align="center" class="style24"> </p>
<table width="700" border="0" bgcolor="#FFFF33" align="center">
<tr>
<td>
<table width="700" border="0" bgcolor="#ffffff" align="center">
<tr>
<td>
<p align="center">
<p align="center">
<p align="center"><img src="images/bestilling-kontakt-overskif.gif" width="700" height="69">
<p align="center">
<table border="0" cellpadding="2" align="center">
<tr>
<td align="right" ><span class="style7">Navn:</span></td>
<td><input type="text" size="30" name="Navn"></td>
</tr>
<tr>
<td align="right"><span class="style7">Adresse:</span></td>
<td><input type="text" size="30" name="Adresse"></td>
</tr>
<tr>
<td align="right"><span class="style7">Postnummer:</span></td>
<td><input type="text" size="7" name="Postnummer"></td>
</tr>
<tr>
<td align="right"><span class="style7">By:</span></td>
<td><input type="text" size="16" name="By"></td>
</tr>
<tr>
<td align="right"><span class="style7">Telefon:</span></td>
<td><input type="text" size="16" name="Telefon"></td>
</tr>
<tr>
<td align="right"><span class="style7">E-mail:</span></td>
<td><input type="text" size="30" name="Email"></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td valign="top"><div align="right">
<p align="left" class="style25">NB</p>
<p align="left" class="style7">Alle varer koster 30kr stykket - og 25,- hvis du køber mere end 4 stks.</p>
<p align="left" class="style7">Skriv din besked eller din ordre her og læg 15kr oven i til forsendelse: </p>
<table width="300" border="0" bgcolor="#CCCCCC" align="center">
<tr>
<td><p align="left" class="style7 style8">
<p align="left" class="style7 style23">Eksempel:
<p align="left" class="style18">2 popcornhårspænder<br>
1 farvet pastaspænde u. krømmel <br>
1 par chiliøreringe <br>
1 børne-popcornspænde <br>
1 børnespænde m frø
<p align="left" class="style18"> i alt 6 stks = 150,-kr
<p align="left" class="style18">+porto 15 = 165,-kr</span>
<p></td>
</tr>
</table>
<p> </p></td>
<td><textarea name="Besked" rows="25" cols="50"></textarea></td>
</tr>
<tr>
<td><span class="style7">Når du har sendt din ordre, vil du modtage bankkontonummer og overføre beløbet </span></td>
<td><div align="left"><p><input type="reset" value="Slet alt">
<input name="submit" type="submit" value="Send besked">
</td>
</tr>
</table>
<div align="center">
</div></td>
</tr>
</table>
<div align="center"><BR>
<span class="style10"></font></strong></font><strong><a href="index.html"><FONT SIZE="2">TILBAGE</FONT><FONT SIZE="2"></FONT></a></strong></span><BR>
</div></td>
</tr>
</table>
<p></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
</tr>
</table>
</form>
</body>
</html>
---------------------------------------------------------
sendemail.asp
---------------------------------------------------------
<%Set objMail=Server.CreateObject("CDONTS.NewMail")
objMail.To=Request.Form("recipient")
objMail.From=Request.Form("email")
objMail.Subject="Bestilling"
objMail.Body="Navn: "&Request.Form("navn")&vbCrLf&vbCrLf&"Adresse: "&Request.Form("adresse")&vbCrLf&"Postnummer: "&Request.Form("postnummer")&vbCrLf&"By: "&Request.Form("by")&vbCrLf&"Tlf: "&Request.Form("telefon")&vbCrLf&vbCrLf&"Besked: "&Request.Form("besked")
objMail.Host="mailout.one.com"
objMail.Send
Set objMail=Nothing
Response.Redirect Request.Form("redirect")%>
---------------------------------------------------------