HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/tubeshemale.com/public_html/includes/mailbox_2019/inbox.php
<div class="mail-box-col col -full">
    <?php include($basepath . '/includes/mailbox_2019/template.nav.php'); ?>

    <div class="row">

        <div class="mailbox-content-col col -full">
            <form action="" method="post">
                <table class="mail-list">
                    <tr>
                        <th><?php echo _t("From") ?></th>
                        <th><?php echo _t("Subject") ?></th>
                        <th><?php echo _t("Received") ?></th>
                        <th width="50"><div align="center"><?php echo _t("Action") ?></div></th>
                    </tr>
                    <?php
                    if (is_array($inbox)) {
                        $i = 1;
                        foreach ($inbox as $mail) {
                            $username = dbQuery("SELECT username FROM users WHERE record_num = '" . $mail['from_user'] . "'", false);
                            $linkUser = generateUrl('user', $username[0]['username'], $mail['from_user']);
                            ?>
                            <tr class="<?php echo ($mail['recipient_read'] == 0) ? "new" : "read"; ?>">
                                <td>
                                    <?php if ($mail['from_user'] == 0) { ?>
                                        <?php echo _t("Admin"); ?>
                                    <?php } else { ?>
                                        <a href="<?php echo $linkUser; ?>"><?php echo htmlentities($username[0]['username']); ?></a>
                                    <?php } ?>
                                </td>
                                <td>
                                    <a href="<?php echo $basehttp; ?>/mailbox/read/<?php echo $mail['record_num']; ?>">
                                        <?php echo $mail['subject'] !== '' ? htmlentities($mail['subject']) : _t("No Subject"); ?>
                                    </a>
                                </td>
                                <td>
                                    <?php echo date("m/d/Y H:i A", strtotime($mail['date_sent'])); ?>
                                </td>
                                <td align="center">
                                    <div class="checkbox">
                                        <label>
                                            <input type="checkbox" name="list[]" value="<?php echo $mail['record_num']; ?>" />
                                            <span class="sub-label"></span>
                                        </label>
                                    </div>
                                </td>
                            </tr>
                            <?php
                        }
                    } else {
                        ?>
                        <tr><td colspan="4"><?php echo _t("Your inbox is empty") ?>.</td></tr>
                    <?php } ?>
                </table>
                <input type="submit" class="btn btn-default" name="delete" value="<?php echo _t("Delete messages") ?>" />
            </form>
        </div>


    </div>

    <div class="row">

        <nav class="pagination-col col pagination">
            <?php include($basepath . '/includes/inc.pagination.php'); ?>
        </nav>


    </div>
</div>