#!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); require "./cookie.lib"; &get_input; $filename = $in{'file'}; $fullpath = "../content/" . $filename . ".html"; @titlearray = split (/\//,$filename); $dir_name = $titlearray[0]; $title = pop @titlearray; $title =~ s/-/ /g; $title1 = pop @titlearray; $title1 =~ s/-/ /g; $title2 = pop @titlearray; $title2 =~ s/-/ /g; $title3 = pop @titlearray; $title3 =~ s/-/ /g; $keyword_str = "$title, "; if($title1 ne "") { $keyword_str .= "$title1, "; } if($title2 ne "") { $keyword_str .= "$title2, "; } if($title3 ne "") { $keyword_str .= "$title3, "; } print "Content-type: text/html\n\n"; #
$u_dir_name |
\n";
if ($heir[0] eq "Education") { print qq~New!!!
~; }
print qq~