<?php

extRequire('phpmailer.ExtPhpMailer');
class Antenna extends RocketSledObject
{
    private $web_email_address;
    private $web_email_name;
    function Antenna($email, $from)
    {
        $this->web_email_address = $email;
        $this->web_email_name = $from;
    }
    public function emailSubmission($form_name, $mail_to, $form_data, $submission_no)
    {
        $email = new ExtPhpMailer();
        $email->Mailer = 'sendmail';
        $email->From = $this->web_email_address;
        $email->Sender = $this->web_email_address;
        $email->FromName = $this->web_email_name;
        $email->Subject = $form_name . ' Submission #' . $submission_no;
        $email->AddAddress($mail_to);
        $body = $form_name . ' Submission #' . $next_submission_no . "\r\n\r\n";
        $spam_message = 'You appear to be using this form to send SPAM emails. If this is not the case then please accept our apologies and contact the webmaster. We\'ll address the issue as soon as we can.';
        foreach ($form_data as $key => $val) {
            if (eregi("MIME-Version:", $val)) {
                die($spam_message);
            }
            if (eregi("Content-type:", $val)) {
                die($spam_message);
            }
            if (eregi("From:", $val)) {
<?php

extRequire('tcpdf.ExtTcpdf');
/**
 * @package blueprint
 */
class BpReport extends ExtTcpdf
{
    function BpReport()
    {
        $this->ExtTcpdf();
    }
}