function remove_notfication_email($e_id)
 {
     $get_noti = $this->get_email_notifications();
     if (chk_result_if_empty($get_noti) > 0) {
         $res_noti = fetch_data($get_noti);
         $old_data = unserialize($res_noti['option_value']);
         $old_data['user' . $e_id] = "";
         $sql = run_query("update `sia-options` set `option_value` = '" . serialize($old_data) . "' where id='" . $res_noti['id'] . "'");
     }
     return "Deleted";
 }
					Whenever there is a new request arrives in the App all the users in below list who has status "ON" will receive email notification.
				</p>
				
				<table class='table table-bordered table-striped js-dataTable-full'>
					<thead>
						<tr class='column-provider'>
							<th>Name</th>
							<th>Email</th>
							<th>status</th>
							<th>Action</th>
						</tr>
					</thead>
					<tbody>
						<?php 
$rs = $sia_obj->get_email_notifications();
if (chk_result_if_empty($rs) > 0) {
    $result = fetch_data($rs);
    $notification_details = unserialize($result['option_value']);
    for ($j = 0; $j < count($notification_details); $j++) {
        if (!empty($notification_details['user' . $j])) {
            $notification_id = $result['id'];
            if (isset($notification_details['user' . $j][0])) {
                $name = $notification_details['user' . $j][0];
            } else {
                $name = "";
            }
            if (isset($notification_details['user' . $j][1])) {
                $email = $notification_details['user' . $j][1];
            } else {
                $email = "";
            }
    <div class="row items-push">
        <div class="col-sm-7">
            <h1 class="page-heading">
                Dashboard
            </h1>
        </div>
    </div>
</div>
<div class="content">
	<?php 
$invitees = $sia_obj->get_invities();
//if(chk_result_if_empty($invitees) > 0){//slacknew_sharkz_in//$conn = new PDO("mysql:host=localhost;dbname=slack_sharkz_in", "slack_sharkz_in", "2ZZNdWKUMEn9NJus");
?>
	<a href="sia-invitees.php">
		<div class="dashboard-block">
			<div class="dashboard-block-title">
				Total Invitees
			</div>
			<div class="dashboard-block-content">
				<?php 
echo chk_result_if_empty($invitees);
?>
			</div>
		</div>
	</a>
	<?php 
//}
?>
</div>
<?php 
require "sia-footer.php";