userform.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. use backend\assets\AppAsset;
  3. //AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/usersignup/userdetails.js");
  4. ?>
  5. <style>
  6. /*.layui-table th {text-align:right;}*/
  7. </style>
  8. <table class="layui-table" style="width:90%;margin:10px auto 0;">
  9. <tbody class="mai">
  10. <tr>
  11. <td>日期 :<?= $row['create_at'] ?></td>
  12. </tr>
  13. <tr>
  14. <td>设备 :<?php if ($row['equipment'] == 2) { echo 'PC端'; } else if ($row['equipment'] == 1) { echo '移动端'; } ?>
  15. </td>
  16. </tr>
  17. <tr>
  18. <td>Ip地址 :<?= $row['ip'] ?></td>
  19. </tr>
  20. <tr>
  21. <td></td>
  22. </tr>
  23. <?php if (!empty($model)) { foreach ($model as $value) { ?>
  24. <tr>
  25. <td>页面来源 :<?= urldecode($value['referer']) ?></td>
  26. </tr>
  27. <tr>
  28. <td>受访 :<?= urldecode($value['self_url']) ?></td>
  29. </tr>
  30. <tr>
  31. <td>时间 :<?= date('Y-m-d H:i:s', $value['create_at']) ?></td>
  32. </tr>
  33. <tr>
  34. <td></td>
  35. </tr>
  36. <?php } }else{ ?>
  37. <tr>
  38. <td>暂无数据</td>
  39. </tr>
  40. <?php } ?>
  41. </tbody>
  42. </table>