1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
|
<head>
<script language="JavaScript1.2">
function checkForm() {
res = true;
reg = new RegExp('^([a-zA-Z0-9\\-\\.\\_]+)'+ //Name
'(\\@)'+ //@-Zeichen
'([a-zA-Z0-9\\-\\.]+)'+ //Domain
'(\\.)'+ //Punkt
'([a-zA-Z]{2,4})$'); //TLD
//alle felder von der Adresse pr�fen...
if (document.adress.name.value == "") {
res = false;
}
if(reg.test(document.adress.email.value) == false){
res = false;
}
if (document.adress.hofname.value == "") {
res = false;
}
if (document.adress.hofadresse.value == "") {
res = false;
}
if (document.adress.bannerurl.value == "") {
res = false;
}
if (document.adress.beschreibung.value == "") {
res = false;
}
//noch die restlichen formularfelder abfragen
if(res == false){
alert('Bitte füll das Formular vollständig aus!\n(Gebe außerdem eine \ugültige eMail-Adresse an)');
}
return res;
}
</script>
</head>
<div align="center">
<div class="chap"><b>P A R T N E R W E R D E N</b></div>
Du möchtest also gerne Partner von RV Sitschju werden? Gerne kannst du eine Partnerschaft beantragen. Dazu füllst du einfach
das Formular am Ende dieser Seite aus und wartest auf meine Rückantwort.
<p>
Vorher solltest du aber noch ein paar Punkte beachten:
<p>
<table border="0" width="80%">
<tr>
<td>
<div align="left">
<li>dein Hof sollte legal sein</li>
<li>du musst bereit sein gemeinsame Aktivitäten zu veranstalten</li>
<li>du solltest RV Sitschju auch wirklich verlinken</li>
</div>
</td>
</tr>
</table>
<p>
<img src="Grafiken/Banner.jpg">
<br>
<textarea style='width:80%; height:50;'><a href="http://sitschju.si.funpic.de/Index.php" target="_blank"><img src="http://sitschju.si.funpic.de/Grafiken/Banner.jpg"></a></textarea>
<br>
Um meinen Banner auf deine Homepage zu stellen, kannst du einfach den obenstehenden Code auf deine Homepage kopieren.
<p>
<?php
if (isset($_GET['send'])) {
$name = $_POST['name'];
$email = $_POST['email'];
$hofname = $_POST['hofname'];
$hofadresse = $_POST['hofadresse'];
$bannerurl = $_POST['bannerurl'];
$beschreibung = $_POST['beschreibung'];
$text = "Name: $Name
eMail: $email
Hofname: $hofname
Hofadresse: $hofadresse
BannerURL: $bannerurl
Beschreibung: $beschreibung";
mail("RV.Sitschju@web.de",Partneranfrage,$text,"Partneranfrage von
$hofname/$name");
echo "<i>Deine Partneranfrage wurde erfolgreich abgeschickt!<br>Ich
werde sie so schnell wie möglich bearbeiten und dir
antworten.</i><br>";
}
else { ?>
<form action="<?php echo $_SERVER["PHP_SELF"] . "?send=yes"?>" method="post" name="adress">
<table width="80%" border="1">
<tr>
<td class="tadunkel" colspan="2" height="25"><b>Formular</b></td>
</tr>
<tr>
<td class="tahell" width="50%"><b>Name</b></td>
<td class="tahell" width="50%"><input type="text" name="name" style='width: 225;'></td>
</tr>
<tr>
<td class="tahell" width="50%"><b>eMail</b></td>
<td class="tahell" width="50%"><input type="text" name="email" value="@" style='width: 225;'></td>
</tr>
<tr>
<td class="tahell" width="50%"><b>Hofname</b></td>
<td class="tahell" width="50%"><input type="text" name="hofname" style='width: 225;'></td>
</tr>
<tr>
<td class="tahell" width="50%"><b>Hofadresse</b></td>
<td class="tahell" width="50%"><input type="text" name="hofadresse" value="http://" style='width: 225;'></td>
</tr>
<tr>
<td class="tahell" width="50%"><b>Banner URL</b></td>
<td class="tahell" width="50%"><input type="text" name="bannerurl" style='width: 225;'></td>
</tr>
<tr>
<td class="tahell" width="50%"><b>Beschreibung des Hofes</b></td>
<td class="tahell" width="50%"><textarea name="beschreibung" style='width: 225;'></textarea></td>
</tr>
<tr>
<td colspan="2" class="tahell"><input type="submit" value="Anfragen" onclick="javascript: return checkForm()" style='width: 225; text-align: center;'>
</tr>
</table>
</form>
<?php
}
?>
<p>
<a href="javascript:%20history.back(-2)" target="_self">_back</a> |