#!/usr/bin/perl $app = 'moja.cgi'; use CGI; $query = new CGI; # use CGI::Carp qw(fatalsToBrowser); require("/httpd/htdocs/site.cfg"); require("/httpd/htdocs/katalog/dir.pm"); &vars; print $query->header(-type=>'text/html',-charset=>'iso-8859-2'); &get_files; &return_html("Dodaj strone do: $path"); #&debug; &start_table; &give_last_added; &searcher; &close_menu; if ($cmd eq "") { &ask; } elsif ($cmd eq "dig") { &dig; } elsif ($cmd eq "ask") { &ask; } elsif ($cmd eq "add") { &add; } elsif ($cmd eq "read") { &read; } &close_all; exit; sub add { open(NBASE,">>$path_dir/Nowe/newdata.txt") || die "Software error: $!"; print NBASE "$time|$link|$name|$desc|$lang|$path|$show|$mail\n"; close(NBASE); &humantime; print<  Witryna: