
                            <div class="form form-profile aif" style='width:auto'>

                                <?php
                                if (empty($inactive_users)) : ?>

                                <p>There are currently no Inactive Users on the platform.</p>

                                <?php
                                else : ?>

                                <table class="admintable" id="projects_table" style="width:100%; overflow:hidden;">
                                    <tr><th>Img</th><th>Name</th><th>Email</th><th>Reg Date</th><th>Actions</th></tr>

                                    <?php
                                    foreach ($inactive_users as $user) : ?>
                                        <tr data-uid="<?= $user['id'] ?>">
                                            <td style="text-align:center;"><img src="<?= $user['image'] ?>" alt="<?= $user['name'] ?> profile picture" style="width: 64px; height: 64px" /></td>
                                            <td><?= $user['name'] ?></td>
                                            <td><?= $user['email'] ?></td>
                                            <td style="text-align:center;"><?= date("Y-m-d h:i:s A", strtotime($user['reg_date'])) ?></td>
                                            <td style="text-align:center;"><a href='/admin/activateUser' class='btn btn-green activate-user'>Approve &raquo;</a></td>
                                        </tr>
                                    <?php
                                    endforeach; ?>

                                </table>

                                <?php
                                endif; ?>

                            </div>