BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

email-history.twig 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <div class="thin">
  2. <div class="header">
  3. <h2><a href="user.php?id={{ user.id }}">{{ user.username }}</a> &rsaquo; Email history</h2>
  4. </div>
  5. <table>
  6. <tr><th colspan="3">Email History</th></tr>
  7. <tr>
  8. <th>Address</th>
  9. <th>Registered since</th>
  10. <th>Registered from</th>
  11. </tr>
  12. {% for i in user.emailHistory %}
  13. <tr class="row{{ cycle(['a', 'b'], loop.index0) }}">
  14. <td>{{ i.0 }}</td>
  15. <td>{{ i.1 }}</td>
  16. <td>{{ i.2 }}
  17. <a href="user.php?action=search&amp;ip_history=on&amp;ip={{ i.0 }}" class="brackets tooltip" title="Shared with other users?">S</a>
  18. <a href="https://whatismyipaddress.com/ip/{{ i.0 }}" class="brackets tooltip" title="Search WIMIA.com">WI</a>
  19. </td>
  20. </tr>
  21. {% endfor %}
  22. </table>
  23. {% for r in user.emailDuplicateHistory %}
  24. {% if loop.first %}
  25. <br />
  26. <div class="header">
  27. <h3>Duplicate email addresses used</h3>
  28. </div>
  29. <table>
  30. <tr>
  31. <th>Username</th>
  32. <th>Email</th>
  33. <th>Registered since</th>
  34. <th>Registered from</th>
  35. <th>Enabled</th>
  36. <th>Donor</th>
  37. <th>Warned until</th>
  38. </tr>
  39. {% endif %}
  40. <tr class="row{{ cycle(['a', 'b'], loop.index0) }}">
  41. <td><a href="userhistory.php?action=email&userid={{ r.user_id }}">{{ r.user.username }}</a></td>
  42. <td>{{ r.user.email }}</td>
  43. <td>{{ r.created }}</td>
  44. <td>{{ r.ipv4 }}
  45. <a href="user.php?action=search&amp;ip_history=on&amp;ip={{ r.ipv4 }}" class="brackets tooltip" title="Shared with other users?">S</a>
  46. <a href="https://whatismyipaddress.com/ip/{{ r.ipv4 }}" class="brackets tooltip" title="Search WIMIA.com">WI</a>
  47. </td>
  48. <td>{{ r.user.isEnabled ? 'yes' : 'no' }}</td>
  49. <td>{{ r.user.isDonor ? 'yes' : 'no' }}</td>
  50. <td>{{ r.user.isWarned ? r.user.endWarningDate(0) : 'no' }}</td>
  51. </tr>
  52. {% if loop.last %}
  53. </table>
  54. <br />
  55. {% endif %}
  56. {% endfor %}
  57. <br />
  58. </div>