HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/crm/install/suite_install/AdvancedOpenEvents.php
<?php

function install_aoe() {
    require_once('modules/Administration/Administration.php');
    require_once('modules/EmailTemplates/EmailTemplate.php');

    $emailTemp = new EmailTemplate();
    //$emailTemp->id = '7b618b3d-913b-6d2d-6bfb-519f7948a271';
    $emailTemp->date_entered = '2013-05-24 14:31:45';
    $emailTemp->date_modified = '2013-05-30 14:37:12';
    $emailTemp->name = 'Event Invite Template';
    $emailTemp->description = 'Default event invite template.';
    $emailTemp->published = 'off';
    $emailTemp->subject = "You have been invited to \$fp_events_name";
    $emailTemp->body = "Dear \$contact_name,\r\nYou have been invited to \$fp_events_name on \$fp_events_date_start to \$fp_events_date_end\r\n\$fp_events_description\r\nYours Sincerely,\r\n";
    $emailTemp->body_html = "\n<p>Dear \$contact_name,</p>\n<p>You have been invited to \$fp_events_name on \$fp_events_date_start to \$fp_events_date_end</p>\n<p>\$fp_events_description</p>\n<p>If you would like to accept this invititation please click accept.</p>\n<p> \$fp_events_link or \$fp_events_link_declined</p>\n<p>Yours Sincerely,</p>\n";
    $emailTemp->type = 'email';
    $emailTemp->save();
}