<?php
/**
 * @var array $SHARELIST
 */
?>

<!-- Begin Page Content -->
<div class="container-fluid">

    <!-- Page Heading -->
    <div class="d-sm-flex align-items-center justify-content-between mb-4">
        <h1>Megosztott fájlok adatai</h1>
    </div>
    <div>
        <table class="center">
            <ul>
                <tr>
                    <th style="padding-right:10px">Felhasználó</th>
                    <th style="padding-right:10px">Fájlnév</th>
                    <th style="padding-right:10px">TV</th>
                    <th style="padding-right:10px">Mettől</th>
                    <th style="padding-right:10px">Meddig</th>
                    <th style="padding-right:10px">Prioritás</th>
                    <th style="padding-right:10px">Max. prioritás</th>
                </tr>
                <?php
                foreach ($SHARELIST as $share){
                    print('<tr><td style="padding-right:10px">'.$share['shibboleth_id'].'</td><td style="padding-right:10px">'.$share['fajl_id'].'
                    </td><td style="padding-right:10px">'.$share['tv_id'].'</td><td style="padding-right:10px">'.$share['mettol'].'
                    </td><td style="padding-right:10px">'.$share['meddig'].'</td><td style="padding-right:10px">'.$share['prioritas'].'
                    </td><td style="padding-right:10px">'.$share['max_prioritas'].'</td></tr>');
                }
                ?>
            </ul>
        </table>

    </div>

</div>
