#!/Perl/bin/perl require "cgi-lib.pl"; require "common.pl"; require "cookie.lib"; &initial; $file=$input{'file'}; $update=$input{'update'}; $filetype=$input{'filetype'}; $user=$input{'user'}; $li=rindex($file,$s); $what=substr($file,$s); $usercall=0; if ($filetype eq "U") { $what=$user; $file=$idspath . $s . "M_" . $user; } if (($filetype eq "P") || ($filetype eq "D")) { $what=$user; $file=$idspath . $s . $filetype . "_" . $user; $usercall=1; } print &PrintHeader; if ($filetype eq "U") { if (! $user) { &bad("No player selected!"); exit; } } if ($usercall) { if (! $user) { &bad("No user selected!"); exit; } } &comm("File $file"); &print_skel; sub do_content { if (($update) || ($filetype eq "M")) { print "
"; } } exit;