26 lines
877 B
PHP
26 lines
877 B
PHP
<?php
|
|
$ValidAccess = 2010;
|
|
include "include/globals.php";
|
|
|
|
$query = "SELECT * FROM schools WHERE record_num = 18415";
|
|
$results = db_query($query);
|
|
$school = db_fetch_assoc($results);
|
|
|
|
$school_record = $school;
|
|
$school_name = $school['school_name'];
|
|
$school_num = $school['record_num'];
|
|
$subject = $school['email_reminder_title'];
|
|
$default_language = $school['default_language'];
|
|
$date_format = $school['date_format'];
|
|
$url = $school['url'];
|
|
$schoolID = $school['default_url_code'];
|
|
|
|
$email_from = setReplyAddress($school['reply_email']);
|
|
if (strlen($email_from) == 0) $email_from = setReplyAddress($school['support_email']);
|
|
echo("$email_from\n");
|
|
$volunteer_from = setReplyAddress($school['volunteer_reminder_email'],"volunteer");
|
|
if (strlen($volunteer_from) == 0) $volunteer_from = $email_from;
|
|
echo("$volunteer_from\n");
|
|
|
|
?>
|