Her koden til din kontakt side. Klar være en php fil!
<html><!-- InstanceBegin template="/Templates/kontakt.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="doctitle" -->
<title>BAD OG FLISER</title>
<!-- InstanceEndEditable --><style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: normal;
font-size: 11px;
color: #000000;
}
body {
background-image: url(grafik/bg_grey.jpg);
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
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_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
nbArr[nbArr.length] = img;
}
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down") {
nbArr = document[grpName];
if (nbArr)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
nbArr[nbArr.length] = img;
} }
}
//-->
</script>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style1 {font-size: 10px}
.style12 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
.style2 {font-size: 11px; }
.style4 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-style: normal; line-height: 15px; font-weight: normal; color: #000000; text-decoration: none; }
a:link {
color: #990000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #990000;
}
a:hover {
text-decoration: none;
color: #666666;
}
a:active {
text-decoration: none;
color: #990000;
}
-->
</style>
<script language="JavaScript" 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_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];}
}
function YY_checkform() { //v4.66
//copyright (c)1998,2002 Yaromat.com
var args = YY_checkform.arguments; var myDot=true; var myV=''; var myErr='';var addErr=false;var myReq;
for (var i=1; i<args.length;i=i+4){
if (args[i+1].charAt(0)=='#'){myReq=true; args[i+1]=args[i+1].substring(1);}else{myReq=false}
var myObj = MM_findObj(args[i].replace(/\[\d+\]/ig,""));
myV=myObj.value;
if (myObj.type=='text'||myObj.type=='password'||myObj.type=='hidden'){
if (myReq&&myObj.value.length==0){addErr=true}
if ((myV.length>0)&&(args[i+2]==1)){ //fromto
var myMa=args[i+1].split('_');if(isNaN(myV)||myV<myMa[0]/1||myV > myMa[1]/1){addErr=true}
} else if ((myV.length>0)&&(args[i+2]==2)){
var rx=new RegExp("^[\\w\.=-]+@[\\w\\.-]+\\.[a-z]{2,4}$");if(!rx.test(myV))addErr=true;
} else if ((myV.length>0)&&(args[i+2]==3)){ // date
var myMa=args[i+1].split("#"); var myAt=myV.match(myMa[0]);
if(myAt){
var myD=(myAt[myMa[1]])?myAt[myMa[1]]:1; var myM=myAt[myMa[2]]-1; var myY=myAt[myMa[3]];
var myDate=new Date(myY,myM,myD);
if(myDate.getFullYear()!=myY||myDate.getDate()!=myD||myDate.getMonth()!=myM){addErr=true};
}else{addErr=true}
} else if ((myV.length>0)&&(args[i+2]==4)){ // time
var myMa=args[i+1].split("#"); var myAt=myV.match(myMa[0]);if(!myAt){addErr=true}
} else if (myV.length>0&&args[i+2]==5){ // check this 2
var myObj1 = MM_findObj(args[i+1].replace(/\[\d+\]/ig,""));
if(myObj1.length)myObj1=myObj1[args[i+1].replace(/(.*\[)|(\].*)/ig,"")];
if(!myObj1.checked){addErr=true}
} else if (myV.length>0&&args[i+2]==6){ // the same
var myObj1 = MM_findObj(args[i+1]);
if(myV!=myObj1.value){addErr=true}
}
} else
if (!myObj.type&&myObj.length>0&&myObj[0].type=='radio'){
var myTest = args[i].match(/(.*)\[(\d+)\].*/i);
var myObj1=(myObj.length>1)?myObj[myTest[2]]:myObj;
if (args[i+2]==1&&myObj1&&myObj1.checked&&MM_findObj(args[i+1]).value.length/1==0){addErr=true}
if (args[i+2]==2){
var myDot=false;
for(var j=0;j<myObj.length;j++){myDot=myDot||myObj[j].checked}
if(!myDot){myErr+='* ' +args[i+3]+'\n'}
}
} else if (myObj.type=='checkbox'){
if(args[i+2]==1&&myObj.checked==false){addErr=true}
if(args[i+2]==2&&myObj.checked&&MM_findObj(args[i+1]).value.length/1==0){addErr=true}
} else if (myObj.type=='select-one'||myObj.type=='select-multiple'){
if(args[i+2]==1&&myObj.selectedIndex/1==0){addErr=true}
}else if (myObj.type=='textarea'){
if(myV.length<args[i+1]){addErr=true}
}
if (addErr){myErr+='* '+args[i+3]+'\n'; addErr=false}
}
if (myErr!=''){alert('The required information is incomplete or contains errors:\t\t\t\t\t\n\n'+myErr)}
document.MM_returnValue = (myErr=='');
}
//-->
</script>
<!-- InstanceEndEditable -->
</head>
<body onLoad="MM_preloadImages('grafik/forside_over.jpg','grafik/fliser_over.jpg','grafik/natursten_over.jpg','grafik/vvs_moebler_over.jpg','grafik/bordplade_over.jpg','grafik/kontakt_over.jpg','grafik/kort_over.jpg')">
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<th scope="col"><table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<th colspan="3" scope="col"><img src="grafik/top.jpg" width="800" height="118"></th>
</tr>
<tr>
<th colspan="3" scope="row"><table width="698" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="index.php" target="_top" onClick="MM_nbGroup('down','group1','forside','grafik/forside_over.jpg',1)" onMouseOver="MM_nbGroup('over','forside','grafik/forside_over.jpg','grafik/forside_over.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="grafik/forside.jpg" alt="" name="forside" width="81" height="26" border="0" onload=""></a></td>
<td><a href="fliser.htm" target="_top" onClick="MM_nbGroup('down','group1','fliser','grafik/fliser_over.jpg',1)" onMouseOver="MM_nbGroup('over','fliser','grafik/fliser_over.jpg','grafik/fliser_over.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="grafik/fliser.jpg" alt="" name="fliser" width="80" height="26" border="0" onload=""></a></td>
<td><a href="natursten.php" target="_top" onClick="MM_nbGroup('down','group1','natursten','grafik/natursten_over.jpg',1)" onMouseOver="MM_nbGroup('over','natursten','grafik/natursten_over.jpg','grafik/natursten_over.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="grafik/natursten.jpg" alt="" name="natursten" width="81" height="26" border="0" onload=""></a></td>
<td><a href="vvs.php" target="_top" onClick="MM_nbGroup('down','group1','vvs_moebler','grafik/vvs_moebler_over.jpg',1)" onMouseOver="MM_nbGroup('over','vvs_moebler','grafik/vvs_moebler_over.jpg','grafik/vvs_moebler_over.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="grafik/vvs_moebler.jpg" alt="" name="vvs_moebler" width="111" height="26" border="0" onload=""></a></td>
<td><a href="bordplade.htm" target="_top" onClick="MM_nbGroup('down','group1','bordplade','grafik/bordplade_over.jpg',1)" onMouseOver="MM_nbGroup('over','bordplade','grafik/bordplade_over.jpg','grafik/bordplade_over.jpg',1)" onMouseOut="MM_nbGroup('out')"><img src="grafik/bordplade.jpg" alt="" name="bordplade" width="97" height="26" border="0" onload=""></a></td>
<td><a href="kontakt.php" target="_top" onClick="MM_nbGroup('down','group1','kontakt','grafik/kontakt_over.jpg',1)" onMouseOver="MM_nbGroup('over','kontakt','grafik/kontakt_over.jpg','grafik/kontakt_over.jpg',1)" onMouseOut="MM_nbGroup('out')"><img name="kontakt" src="grafik/kontakt.jpg" border="0" alt="" onLoad=""></a></td>
</tr>
</table></th>
</tr>
<tr bgcolor="#FFFFFF">
<th colspan="3" scope="row"> </th>
</tr>
<tr bgcolor="#FFFFFF">
<th colspan="3" scope="row"> </th>
</tr>
<tr bgcolor="#FFFFFF">
<th width="52" height="161" align="center" valign="top" scope="row"><!-- InstanceBeginEditable name="billede" --><!-- InstanceEndEditable --></th>
<td width="644" valign="top"><!-- InstanceBeginEditable name="indhold" -->
<table width="91%" height="508" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="left" valign="top">
<th width="33%" height="122" scope="col"><p><strong>Kontakt information: </strong></p>
<p>BAD OG FLISER<br>
Trollesmindealle 12B<br>
3400 Hillerød</p>
<p>Telefon. 48 24 04 28<br>
Fax. 48 26 96 98<br>
E-mail: badogfliser@info.dk</p>
<p>CVR-nr.: 26057361</p></th>
<th width="7%" scope="col"><span class="style1"><span class="style2"></span></span></th>
<th width="60%" scope="col"><p><strong>Åbningstider:</strong></p>
<div align="left" class="style2">
<table width="47%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"><div align="left">Ma-To:</div></th>
<th scope="col"><div align="left">10.00-17.30</div></th>
</tr>
<tr>
<th scope="row"><div align="left">Fre:</div></th>
<td><div align="left">10.00-18.00</div></td>
</tr>
<tr>
<th scope="row"><div align="left">Lø:</div></th>
<td>9.00-14.00 </td>
</tr>
<tr>
<th scope="row"><div align="left"></div></th>
<td><div align="left"></div></td>
</tr>
</table>
</div></th>
</tr>
<tr align="left" valign="top">
<th height="13" scope="row"><span class="style2">-----------------------------------</span></th>
<td> </td>
<td><div align="left" class="style2"> ---------------------------------------------------------------</div></td>
</tr>
<tr align="left" valign="top">
<th scope="row"><p><a href="
http://www.degulesider.dk/vbw/kort/resultat.do;jsessionid=armLLyVb19G_?phone=&level=&h=&roadcode=&typhoonLevel=&name=&poi=&save=&r=&alt=&floorAndPosition=&houseNumberPart=&y=&temaids=&munId=&b2=&x=&streetId=&placeIndex=&addressFields=&backServlet=/vbw/kort/index.jsp;jsessionid=armLLyVb19G_&g=trollesmindealle+12b&z=&b=&Image511.x=0&Image511.y=0" target="_blank">Klik på kortet til at finde vejen:</a></p>
<p><a href="
http://www.degulesider.dk/vbw/kort/resultat.do;jsessionid=armLLyVb19G_?phone=&level=&h=&roadcode=&typhoonLevel=&name=&poi=&save=&r=&alt=&floorAndPosition=&houseNumberPart=&y=&temaids=&munId=&b2=&x=&streetId=&placeIndex=&addressFields=&backServlet=/vbw/kort/index.jsp;jsessionid=armLLyVb19G_&g=trollesmindealle+12b&z=&b=&Image511.x=0&Image511.y=0" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','grafik/kort_over.jpg',1)"><img src="grafik/kort.jpg" name="Image10" width="85" height="85" border="0"></a></p></th>
<td> </td>
<td><form action="tak.php" method="post" name="kontakt" class="style2" id="kontakt" onSubmit="YY_checkform('kontakt','navn','#q','0','Indtast venligst dit navn','email','#S','2','indtast venligst en gyldig email adresse','besked','10','1','Skriv venligst en besked');return document.MM_returnValue">
<div align="left">
<table width="326" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><p class="style11 ">Kontakt os endelig hvis der er spørgsmål, eller hvis du ønsker at blive ringet op. <br>
<br>
</p></td>
</tr>
<tr>
<td> </td>
<td align="center"> </td>
<td> </td>
</tr>
<tr>
<td width="102"><span class="style11 "> Navn</span></td>
<td align="center" width="22"><span class="style11 ">:</span></td>
<td width="162"><input name="navn" class="style10 "" value="" size="22 type="text></td>
</tr>
<tr>
<td> </td>
<td align="center"> </td>
<td> </td>
</tr>
<tr>
<td><span class="style11 ">Email</span></td>
<td align="center" width="22"><span class="style11 ">:</span></td>
<td><input name="email" type="text" class="style10 " value="" size="22"></td>
</tr>
<tr>
<td colspan="3"><span class="style11 ">Skriv din besked nedenfor:</span></td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="3"><textarea name="besked" cols="40" rows="6" class="style4"></textarea>
</td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="3"><span class="style12">
<input name="send" type="submit" value="Send Form">
<input name="slet" type="reset" value="Slet Form">
</span></td>
</tr>
</table>
<br>
</div>
</form></td>
</tr>
</table>
<!-- InstanceEndEditable --></td>
<td width="104" align="left" valign="bottom"><div align="right">
<p> </p>
<p><img src="grafik/bg_hjorne.jpg" width="104" height="197"></p>
</div>
</td>
</tr>
<tr>
<th colspan="3" scope="row"><img src="grafik/bund.jpg" width="800" height="23"></th>
</tr>
</table></th>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>