Msg.phtml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>短信内容详情</title>
  6. </head>
  7. <body>
  8. <div class="message-container">
  9. <div class="message-details">
  10. 当前接收号码:(+1)<?php echo $this->num;?>【仅展示最新5条短信,如果没有显示,请刷新几次】
  11. <?php
  12. foreach ($this->result as $item) {
  13. ?>
  14. <div style="text-align:left;border-bottom:2px solid #fff;padding:5px;margin-top:20px">
  15. <div class="title">
  16. <span style="padding:2px;display:inline-block;height:20px;line-height:18px;background:#449d44;color:#fff;border-radius:5px;text-align:center">
  17. <?php echo $item['date']; ?></span>
  18. <span style="padding:2px;display:inline-block;height:20px;line-height:18px;background:#fe4365;color:#fff;border-radius:5px;text-align:center">
  19. <span>来自:</span><span><?php echo $item['fromName']; ?></span>
  20. </span>
  21. </div>
  22. <div class="conters">
  23. 短信内容:
  24. <span style="margin-top:5px;padding:5px;display:inline-block;background:#3fb8af;color:#fff;border-radius:5px;text-align:left">
  25. <?php echo $item['content']; ?>
  26. </span>
  27. </div>
  28. </div>
  29. <hr>
  30. <?php
  31. }
  32. ?>
  33. </div>
  34. </div>
  35. </body>
  36. </html>