HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/promic.komma-mediadesign.nl/wwwroot/app/views/partials/employeesList.php
<?php

// Contains all configuration for employees
include_once $_SERVER['DOCUMENT_ROOT'] . '/app/config/employees.php';

// Language variable should be set
if(isset($taalVar))
{
    $output = '';
    $count = 0;
    foreach($employees as $key => $employee)
    {
        $break = false;
        // First enter is after 3 employees
        if($count == 3) $break = true;
        if(($count-3) % 4 == 0) $break = true;

        $output .= '<li id="' . $key . '"';
        if($break) $output .= ' class="leftSide"';
        $output .= '>';
        if($count == 0) $output .= '<div class="shadowMiddle"></div>';
        if($break) $output .= '<div class="shadow"></div>';
        $output .= '<div class="content">';
        $output .= '<div class="up"></div>';
        $output .= '<div class="hover">';
        $output .= '<div class="citaat">&ldquo;' . $employee['quote'][$taalVar] . '&rdquo;</div>';
        $output .= '</div>';
        $output .= '</div>';
        $output .= '<div class="info">';
        $output .= '<span class="name">' . $employee['name'] . '</span>';
        $output .= '<span class="function">' . $employee['function'][$taalVar] . '</span>';
        $output .= '</div>';
        $output .= '</li>';

        $count++;
    }

    echo $output;

}