<?php

if (empty($_SESSION['user_id'])) {
 $access_denied_msg = "<br> You dont have access to this notification";
 return;
} else {
 $$class->user_id = $ino_user->ino_user_id;
 $$class->username = $ino_user->username;
 $uprofile_i = $$class->findBy_userId();
 if (!empty($uprofile_i)) {
  foreach ($$class->field_a as $k => $v) {
   if (property_exists($uprofile_i, $v)) {
    $$class->$v = $uprofile_i->$v;
   }
  }
 }
}
?>