#!/usr/bin/perl
# Copyright 2001-2008 Leslie Richardson
# This file is part of Open Admin for Schools.
# Open Admin for Schools is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
my %lex = ('Please enter a Subject-Section code!' =>
'Please enter a Subject-Section code!',
'Single Subject Enrollment' => 'Single Subject Enrollment',
'Main' => 'Main',
'Report Card' => 'Report Card',
'Subject not found' => 'Subject not found',
'Continue' => 'Continue',
'Students' => 'Students',
'Select' => 'Select',
'Error' => 'Error',
);
use DBI;
use CGI;
eval require "../../etc/admin.conf";
if ( $@ ) {
print $lex{Error}. " $@
\n";
die $lex{Error}. " $@\n";
}
my $q = new CGI;
print $q->header;
my %arr = $q->Vars;
print "$doctype\n