<?php require_once 'config.php'; require_once 'class/rating.php'; require_once 'functions/functions.php'; $user_id = $_SESSION['userinfo']->id != '' ? $_SESSION['userinfo']->id : 0; $renderObj = new rating(); $lead_list = $renderObj->get_all_lead($user_id); if ($lead_list == 0) { header('Location: profile.php?chk=1'); } $request_list = $renderObj->get_user_request_details($user_id, '0'); require_once 'header.php'; ?> <div id="error_container"><div class="error-red"><div class="close_alert_rateme"></div></div></div> <div class="overlay" id="overlay_rateme"></div> <div class="mid-col-12"> <div class="mid-col-4"> <div class="mid-col-top relative"> <div class="gallery-wrap"> <div class="gallery clearfix"> <?php $i = 0; foreach ($lead_list as $user) { $profile_pic = $user['google_picture_link'] != '' ? $user['google_picture_link'] . "?sz=100" : "images/user.png"; $i++; ?> <div class="gallery__item" id="manager_<?php echo $user['manager_id']; ?> ">