NACH OBEN
RUB » IT.SERVICES » Support » F A Qs » FAQs

clearlist(); filemask('faq.*\.html.de'); ireaddir('/support/faqs'); sort_by_multifield("-kategorie","filename"); my $kat = ""; print "
\n"; $kat = ""; $diekat = ""; my @reihenfolge = ("Zugriffsberechtigung","Web (WWW)","Mail","Zoom","Zoom_Registrierung","Zoom_ErsteSchritte","Zoom_Technik","Zoom_Sonstiges","Software","Allgemeines","Backup","Allgemeines","Telekommunikation"); $count = 0; $erster = 0; foreach my $katrf (@reihenfolge) { if (substr($katrf,0,5) eq "Zoom_") { $dierf = substr($katrf,5,99); # print "

$dierf

\n"; } else { if ($kat eq "") { print "

$katrf

\n"; } } if (($kat eq "Zoom") && (substr($katrf,0,5) eq "Zoom_")) { $dierf = substr($katrf,5,99); print "

$dierf

\n"; } #if (($kat ne "") && ($kat eq $katrf)) { # print "
\n"; #} foreach my $file (@FILELIST) { my $url = $FILE_META_INFO{$file}->getValues('directory').'/'.$FILE_META_INFO{$file}->getValues('filename'); my $kategorie = $FILE_META_INFO{$file}->getValues('kategorie'); if ($kategorie eq "Web (WWW)") { $katname = "Web-WWW"; } else { $katname = $kategorie; } my $langteaser = $FILE_META_INFO{$file}->getValues('langteaser'); my $teaser = $FILE_META_INFO{$file}->getValues('teaser'); my $template = $FILE_META_INFO{$file}->getValues('template'); my $faqbild = $FILE_META_INFO{$file}->getValues('faqbild'); my $frage = $FILE_META_INFO{$file}->getValues('title'); my @frageworte = split ' ',$frage; my $mehr = $FILE_META_INFO{$file}->getValues('FLEXHISTORY_0'); my $treffer = ((($template eq "its_faqs") && ($kategorie eq $katrf) && ($kat eq "")) || (($template eq "its_faqs") && (substr($katrf,0,4) eq "Zoom") && (substr($katname,0,5) eq "Zoom_") && ($katrf eq $katname) && ($kat eq "Zoom")) || (($template eq "its_faqs") && ($kategorie eq $kat) && ($kat eq $katrf))); if ($kat ne "") { # print "
$url : $treffer : $kat : $katrf : $katname
\n"; } if ($treffer == 1) { if ($erster == 0) { print "
\n"; } $erster++; $count++; print "
\n"; print "
\n"; print "
\n"; print "
\n"; print " \n"; print " $frage\n"; print " \n"; print "
\n"; print "
\n"; print " FAQ-Link\n"; print "
\n"; print "
\n"; print "
\n"; print "
\n"; print "
\n"; print "

$teaser

$langteaser

\n"; if ($mehr ne "") { print "

Weiterlesen...

\n"; } print "
\n"; print "
\n"; print "
\n"; } # TREFFER } # FOREACH FILE if ($erster > 0) { print "
\n"; $erster = 0; } if (($kat ne "") && ($kat eq $katrf)) { print "
\n"; } if (($kat eq "") && ($katrf ne "Zoom") && ($katrf ne "Zoom_Registrierung") && ($katrf ne "Zoom_ErsteSchritte") && ($katrf ne "Zoom_Technik")) { print "
\n"; } } # FOREACH katrf