\n"); $error_message = getLanguageText('ERRORMSG-ACCESS-DENIED'); include "form.messages.php"; return; } if (array_key_exists('naction',$_GET) && strlen($_GET['naction']) > 0) $naction = $_GET['naction']; if (array_key_exists('naction',$_POST) && strlen($_POST['naction']) > 0) $naction = $_POST['naction']; // // Process requests to send emails to parents // switch ($naction) { case "confirm": if ($school_num == 3 && $_SESSION['UserInfo']['type'] != 'SuperUser') { echo("

The email send is disabled on demo site

\n"); return; } include "email-parents-confirm.php"; break; case "send": include "email-batch-post.php"; break; default: include "email-parents-form.php"; break; } ?>