 <div class="card">
  <div class="card-body">
    <div class="email-wrapper">
      <div class="email-sidebar">
        <div class="email-sidebar-content">
          <?php require_once 'mailBoxMenu.php'; ?>
        </div>
      </div>
      <div class="email-content">
        <div class="">
          <div class="email-list">
            <?php
              $allContactAsk->execute(array(
                'status' => 0
              ));
              while ($allContactCheck=$allContactAsk->fetch(PDO::FETCH_ASSOC)){
             ?>
              <div class="d-md-flex align-items-center email-message px-3 py-1">
                <div class="d-flex align-items-center email-actions">
                  <a style="margin-right:10px;" class="btn btn-sm btn-danger" href="system/operation.php?log_id=<?php echo $allContactCheck['log_id']; ?>&mailBoxDelete=success"><i class="fas fa-trash"></i></a>
                  <a href="index.php?page=mailBoxRead&log_id=<?php echo $allContactCheck['log_id'] ?>">
                    <p class="mb-0"><b><?php echo $allContactCheck['namesurname']; ?></b>
                  </a>
                  </p>
                </div>
                <div class="">
                  <a href="index.php?page=mailBoxRead&log_id=<?php echo $allContactCheck['log_id'] ?>">
                    <p class="mb-0"><?php echo $allContactCheck['subject']; ?></p>
                  </a>
                </div>
                <div class="ml-auto">
                  <p class="mb-0 email-time"><?php echo addAgo($allContactCheck['dates']); ?></p>
                </div>
              </div>
            <?php } ?>
          </div>
        </div>
      </div>
    </div>

  </div>
</div>
