* -------------------------- * Require/Include Files * ------------------------- */ require_once '../../class_ajax_request/classAjax.php'; include_once '../../application/functions.php'; include_once '../../application/DataConfig.php'; /* * ---------------------- * Instance Class * ---------------------- */ $obj = new AjaxRequest(); $infoUser = $obj->infoUserLive($_SESSION['authenticated']); $response = $obj->getInteractions(' U.status = "active" && I.id ' . $query . ' ' . $offset . ' ', 'LIMIT ' . $postnumbers, $_SESSION['authenticated']); $countPosts = count($response); if ($countPosts != 0) { foreach ($response as $key) { $_idUser = $key['user_id']; //============ VERIFIED if ($key['type_account'] == '1') { $verified = ' <i class="fa fa-check-circle verified verified-min showTooltip" title="' . $_SESSION["LANG"]["verified"] . '" data-toggle="tooltip" data-placement="right"></i>'; } else { $verified = null; } switch ($key['type']) { case 1: $action = $_SESSION['LANG']['followed_you']; $icoDefault = '<i class="glyphicon glyphicon-plus size-icon-popover ico-btn-followed"></i><i class="icon-user3 myicon-right ico-btn-followed"></i>';