baseportal | |||
English - Deutsch | "Es gibt keine dummen Fragen - jeder hat einmal angefangen" | ||
|
Ausgewählter Eintrag: | Zur Liste |
|
Alle Einträge zum Thema: | Zur Liste |
sub all_out { my($pos)=shift; # 1. Parameter = Position des ausgewaehlten Eintrags my $allpos=""; my $alink="#eingabe";
{ ($Name, $EMail, $WWW, $Titel, $Text, $Datum)=(@_, time) if @_>0;
$Datum=datum($Datum, "lang"); # datumsfeld in schönes datum wandeln $EMail="EMail: <a href=\"mailto:$EMail\">$EMail</a>" if $EMail ne ""; # EMail-Ausgabe, nur wenn EMail-Feld einen Inhalt hat $WWW="WWW: <a href=\"http://$WWW\" target=\"_blank\">$WWW</a>" if $WWW ne ""; # WWW-Ausgabe, nur wenn WWW-Feld einen Inhalt hat $Titel=substr($Text, 0, 50)."..." if $Titel eq ""; # Wenn kein Titel, nimmt er die ersten 50 Zeichen des Textes als Titel $Name=convert_html($Name); $Titel=convert_html($Titel); # keine html-tags erlaubt $allpos.="$Pos#";
$Text="<b>$Text</b>";
$Text="<b>$Text</b>";
$Text=convert_links($Text);
out $ca.$Text;
out "<table cellspacing=0 cellpadding=0 border=0 bgcolor=e0e0e0 width=90%><tr><td><font face=arial,helvetica size=2>" if $pos ne "" && $pos==$Pos; out <<EOF; <table width=90%><tr><td><font face=arial size=2>Beitrag von <b>$Name</b> am $Datum<br> $EMail $WWW <h4>$Titel</h4> <p><ul><br> EOF
my $ca="<p><table width=90% cellpadding=10><tr><td bgcolor=f0f0f0><font size=3><code>"; my $ce="</code></td></tr></table>"; my $flag=0; my $nx=""; $Text=convert_links($Text); foreach $x (split "\n", $Text)
{ if($flag==0) { $flag=2 if $x=~ s/^: //; $flag=3 if $x=~ /^((\s*)<|\$|\{|\}|(out|get|put|mod|if|else)(\s|$|\(?))/; out $ca if($flag>1); $x=~ s/^(\s+)/" " x length($1)/ge; } elsif($flag>0) { $flag=-1 if $flag==2 && !($x=~ s/^: //); $flag=-1 if $flag==4 && !($x=~ /^((\s*)<|\$|\{|\}|(out|get|put|mod|if|else)(\s|$|\(?))/); if($flag==3 && !($x=~ /^((\s*)<|\$|\{|\}|(out|get|put|mod|if|else)(\s|$|\(?))/)) { $nx="$x<br>"; $flag=4; next; }
if($flag==-1) { out $ce; $flag=0; } } out "$nx$x<br>"; $nx=""; } out $ce if $flag>0; out "</ul></td></tr></table>";
if($pos==$Pos && $Pos ne "") { out "<p>"; } else { $alink="$mylinkr&Pos=$Pos";
out "<table cellspacing=0 cellpadding=0 border=0 bgcolor=e0e0e0 width=90%><tr><td><font face=arial,helvetica size=2>" if $pos ne "" && $pos==$Pos; out <<EOF; <table width=90%><tr><td><font face=arial size=2>Beitrag von <b>$Name</b> am $Datum<br> $EMail $WWW <h4>$Titel</h4> <p><ul><br> EOF
my $ce="</code></td></tr></table>"; my $flag=0; my $nx="";
# hier wurde alles mögliche rausgeschmissen
if($pos==$Pos && $Pos ne "") { out "<p>"; } else { $alink="$mylinkr&Pos=$Pos";
Liste der Einträge von 59101 bis 59251: | Einklappen | Zur Eingabe |
Neueste Einträge << 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | Neuere Einträge < | Zur Eingabe | > Ältere Einträge | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 >> Älteste Einträge |
© baseportal.de. Alle Rechte vorbehalten. Nutzungsbedingungen |