Mario348
Neues Mitglied
Und wie kriege ich das mit den Überschriften in Ordnung?
HTML / XHTML / XML / WML Validator
Zudem habe ich ich bei allen Rubriken Links hinzugefügt, es werden jedoch nicht alle angezeigt:
HTML / XHTML / XML / WML Validator
Zudem habe ich ich bei allen Rubriken Links hinzugefügt, es werden jedoch nicht alle angezeigt:
Code:
<!-- Start Code dw-Formgenerator --><script language="JavaScript" type="text/javascript">
<!--
function reload_init() {
if ( document.getElementById('refresh_image_2')) {
document.getElementById('refresh_image_2').onclick = reload_image;
document.getElementById('refresh_image_2').style.display = '';
if (document.getElementById('refresh_image_1')) {
document.getElementById('refresh_image_1').onclick = reload_image;
}
}
}
function reload_image() {
if (!ds) {ds=1;}
var hsh=new Date();
document.getElementById('refresh_image_1').src = 'http://www.dw-formmailer.de/image.php?ds=' + ds + '&z='+ hsh;
}
function VerifyEmailAddress(EmailAddress) {
if (window.RegExp) {
var reg1str = "(@.*@)|(\\.\\.)|(@\\.)|(\\.@)|(^\\.)";
var reg2str = "^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,4}|[0-9]{1,4})(\\]?)$";
var reg1 = new RegExp(reg1str);
var reg2 = new RegExp(reg2str);
if (!reg1.test(EmailAddress) && reg2.test(EmailAddress)) {
return true
}else {
return false
}
}else {
if (EmailAddress.indexOf("@") >= 0) {
return true
}else {
return false
}
}
}
function rest(a,b,c,d) {
var keyCode = d.keyCode ? d.keyCode : d.which ? d.which : d.charCode;
if (keyCode == 38 || keyCode == 40)
return;
r = (b - a.value.length);
if (r < 0)
r = 0;
if ( (e = document.getElementById(c)) != null)
e.innerHTML = r;
if (a.value.length > b) {
a.value = a.value.substr(0,b);
}
}
function check_form(f) {
if (f.elements['anrede'].selectedIndex==0) {
alert("Bitte alle Pflichtfelder ausfüllen! \n(Anrede)");
f.elements['anrede'].focus();
return false;
}
if (f.elements['absender_vorname'].value == '') {
alert("Bitte alle Pflichtfelder ausfüllen! \n(Vorname)");
f.elements['absender_vorname'].focus();
return false;
}
if (f.elements['absender_nachname'].value == '') {
alert("Bitte alle Pflichtfelder ausfüllen! \n(Nachname)");
f.elements['absender_nachname'].focus();
return false;
}
if (f.elements['absender_mail'].value=='') {
alert("Bitte alle Pflichtfelder ausfüllen! \n(E-Mail)");
f.elements['absender_mail'].focus();
return false;
}else {
if (!VerifyEmailAddress(f.elements['absender_mail'].value)) {
alert("Bitte geben Sie eine gültige E-Mail Adresse ein!");
f.elements['absender_mail'].focus();
return false;
}
}
if (f.elements['betreff'].selectedIndex==0) {
alert("Bitte alle Pflichtfelder ausfüllen! \n(Betreff)");
f.elements['betreff'].focus();
return false;
}
if (f.elements['kommentar'].value == '') {
alert("Bitte alle Pflichtfelder ausfüllen! \n(Ihr Kommentar)");
f.elements['kommentar'].focus();
return false;
}
if (f.elements['captcha_code_number'].value == '') {
alert("Bitte alle Pflichtfelder ausfüllen! \n(Sicherheitscode eingeben!)");
f.elements['captcha_code_number'].focus();
return false;
}
if (navigator.appName=="Microsoft Internet Explorer") {
for (i=0;i<f.length;i++) {
var e=f.elements[i];
if (e.type == 'submit' || e.type == 'reset')
e.disabled=true;
}
}
return true;
}
</script>
<form name="dwmailer" action="http://www.dw-formmailer.de/cgi-bin/dwmailer/dwmailer.pl" enctype="multipart/form-data" method="post" onsubmit="return check_form(this);">
<input name="pflicht" value="anrede,absender_vorname,absender_nachname,betreff,kommentar" type="hidden">
<input name="empfaenger_mail" value="[email protected]" type="hidden">
<input name="language" value="de" type="hidden"><input name="page_background_color" value="#FFFFFF" type="hidden">
<input type="hidden" name="email_template_url" value="http://www.arudc.ch/template.txt">
<input name="page_font_color" value="#000000" type="hidden"><table class="table" border="0" cellpadding="3" cellspacing="1">
<tbody>
<tr>
<td colspan="2" class="head" align="left" height="17" width="100%">
<span class="font-big">Kontaktformular
</span>
</td>
</tr>
<tr>
<td class="main" colspan="2" height="16" width="100%"><span class="font-small">Bitte füllen Sie alle mit
</span>
<span style="color: rgb(255, 0, 0);">*
</span>
<span class="font-small"> markierten Felder aus. (Pflichtfelder)
</span>
</td>
</tr>
<tr>
<td class="main" width="30%"><div class="align">Anrede<span style="color: rgb(255, 0, 0);">*
</span>
</div>
</td>
<td class="main">
<select class="select" name="anrede">
<option value="">Bitte auswählen
</option>
<option value="Herr">Herr
</option><option value="Frau">Frau
</option>
</select>
</td>
</tr>
<tr>
<td class="main" width="30%"><div class="align">Vorname<span style="color: rgb(255, 0, 0);">*
</span>
</div>
</td>
<td class="main"><input class="input" name="absender_vorname" size="20" maxlength="100" type="text">
</td>
</tr>
<tr>
<td class="main" width="30%"><div class="align">Nachname<span style="color: rgb(255, 0, 0);">*
</span>
</div>
</td>
<td class="main"><input class="input" name="absender_nachname" size="20" maxlength="100" type="text">
</td>
</tr>
<tr>
<td class="main" width="30%"><div class="align">E-Mail<span style="color: rgb(255, 0, 0);">*
</span>
</div>
</td>
<input name="html_template_url" value="http://www.arudc.ch/thankyou.html" type="hidden">
<input name="error_url" value="http://www.arudc.ch/error.html" type="hidden">
<td class="main">
<input class="input" name="absender_mail" size="20" maxlength="100" type="text">
</td>
</tr>
<tr>
<td class="main" width="30%">
<div class="align">Betreff<span style="color: rgb(255, 0, 0);">*
</span>
</div>
</td>
<td class="main">
<select class="select" name="betreff">
<option value="Bitte auswählen">Bitte auswählen</option>
<option value="Lob">Lob</option>
<option value="Kritik">Kritik</option>
<option value="Diverses">Diverses</option>
<option value="Newcomer-Bands">Newcomer-Bands</option></select>
</td>
</tr>
<tr>
<td class="main" width="30%"><div class="align">Ihr Kommentar
<span style="color: rgb(255, 0, 0);">*
</span>
</div>
</td>
<td class="main">(Restzeichen: <span id="count_1">2500</span>)
<br>
<textarea class="textarea" name="kommentar" id="kommentar" cols="50" rows="20" onkeydown="rest(this,2500,'count_1',event)" onkeyup="rest(this,2500,'count_1',event)" onchange="rest(this,2500,'count_1',event)"></textarea>
</td>
</tr>
<tr>
<td class="main" align="right">
<a name="cp">
</a>
<img id="refresh_image_1" src="http://www.dw-formmailer.de/image.php?ds=2" alt="" border="0" height="50" width="150">
</td>
<td class="main"><input class="input" name="captcha_code_number" size="5" maxlength="5" type="text"> Sicherheitscode eingeben!
<br>
<span id="refresh_image_2" style="display: none;"><a href="#cp">Grafik neu laden
</a>
</span>
</td>
</tr>
<tr>
<td class="foot" colspan="2" align="center" height="25" width="100%"><input class="button" value="Abschicken" type="submit">
</td>
</tr>
</tbody>
</table>
</form>
<script language="JavaScript" type="text/javascript">var ds='2';reload_init();</script>
Dateiversand 1: <input type="file" name="datei_upload">
<br>
Dateiversand 2: <input type="file" name="datei_upload_2">
<br>
Dateiversand 3: <input type="file" name="datei_upload_3">
<br>
Dateiversand 4: <input type="file" name="datei_upload_4">
<br>
Dateiversand 5: <input type="file" name="datei_upload_5">
<br>
<br>
Die maximal zulässige Dateigrösse Beträgt 15kB!
<br>
<br>
Folgende Dateitypen sind erlaubt:
<br>
*.jpg, *.gif, *.png, *.zip, *.exe, *.mp3, *.pdf,
<br>
*.html, *.htm, *.php, *.php3, *.php4, *.pl, *.cgi,
<br>
*.wav, *.rar, *.ace, *.txt, *.dll, *.reg, *.cab,
<br>
*.bat, *.tar, *.doc, *.jpeg, *.cdr, *.eps, *.psd
<div id="footer">
©Mario Bienz
</div>
Zuletzt bearbeitet: