<div class="dpic"> <div id='datepicker'></div> </div> <input type="hidden" id="datepicker_val" name="date_send_on" /> </div> </form> <!-- ============================= SEND OFFERZ TO TEAM ENDS =========================== --> </div> </div> </div> </div> <!-----end-accordian-5--------> <?php $get_all_offers = get_all_offers($client_id); $count_offers = count($get_all_offers); if ($count_offers > 0) { // print_r($get_all_offers); die; foreach ($get_all_offers as $team_data) { $count_members = count(@$team_data['invites']); $team_id = $team_data['id']; $editable_text = $team_data['editable_text']; $not_editable_text = $team_data['not_editable_text']; ?> <div class="panel panel-default" id="listing_offers_div"> <div class="panel-heading bottom_accordion"> <div class="row"> <div class="col-md-2 col-sm-2">
<?php include 'inc/db_connection.php'; include 'inc/functions.php'; $user_id = 5; $sql = "SELECT * FROM clients WHERE id='{$user_id}' LIMIT 1"; $result = $conn->query($sql); if ($result->num_rows > 0) { $row = $result->fetch_assoc(); // print_r($row); } $offset = 2; $get_all_offers = get_all_offers($user_id, $offset); $count_offers = count($get_all_offers); if ($count_offers > 0) { // print_r($get_all_offers); die; foreach ($get_all_offers as $team_data) { $count_members = count(@$team_data['invites']); $team_id = $team_data['id']; $editable_text = $team_data['editable_text']; $not_editable_text = $team_data['not_editable_text']; ?> <div class="panel panel-default"> <div class="panel-heading bottom_accordion"> <div class="row"> <div class="col-md-2 col-sm-2"> <img alt="" width="80" height="70" class="img-responsive f_c" src="<?php echo SITE_URL; ?>