<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>来往邮件</title>
    <link href="/css/webht/bootstrap.min.css" rel="stylesheet">
    <link href="/css/nav/nav.css?v=20150723" rel="stylesheet">
    <script src="/min?f=/js/jquery.min.js,/js/bootstrap.min.js,/js/navigation.js"></script>
<!--[if lt IE 9]>
<script src="/js/respond.min.js" type="text/javascript"></script>
<![endif]-->

</head>
<body>

<div class="list-group">
  <?php foreach ($mailinfo as $v) { ?>
    <a href="<?php echo site_url('apps/partners/index/mail_detail/'.$v->MAI_SN); ?>" class="list-group-item" style="min-height:82px;">
      <h4 class="list-group-item-heading text-muted"><?php if($v->MAI_Direction==2 && $v->MOI_ReadState==0)echo '<span class="text-danger">•</span>'; ?><span class="text-primary" style="font-size:17px;"><?php echo str_replace('"', '', $v->MAI_From); ?></span> <span class="small pull-right"><small><?php echo $v->MAI_SendDate; ?></small></span></h4>
      <p class="list-group-item-text"><?php echo $v->MAI_Subject; ?></p>
    </a>
  <?php } ?>
</div>
</body>
</html>