recheck.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. <script type="text/javascript">
  2. function bx_antispam_recheck(sTest, sChain) {
  3. $('#bx-antispam-recheck-table tr:not(.uridns)').css({display: 'dnsbl' != sChain ? 'none' : 'table-row'});
  4. $('#bx-antispam-recheck-table tr.uridns').css({display: 'dnsbl' == sChain ? 'none' : 'table-row'});
  5. $('#bx-antispam-recheck-table .bx-antispam-check-status').each(function () {
  6. $(this).html('');
  7. });
  8. $('#bx-antispam-recheck-table .bx-antispam-check-status').each(function () {
  9. var m = $(this).attr('id').match(/(\d+)$/);
  10. if (m && m[1]) {
  11. var iId = m[1];
  12. var eStatus = this;
  13. $(this).html(_t('_sys_loading'));
  14. $.post('__url_recheck_item__', {id: iId, test: sTest, chain: sChain}, function (sRet) {
  15. $(eStatus).html(sRet);
  16. });
  17. }
  18. });
  19. return false;
  20. }
  21. </script>
  22. <div class="">
  23. __form__
  24. <table style="width:100%;" id="bx-antispam-recheck-table" class="bx-def-margin-top">
  25. <bx_repeat:items>
  26. <tr class="__chain__">
  27. <td id="bx-antispam-check-status-__id__">__chain_title__</td>
  28. <td><a target="_blank" href="__url__">__zonedomain__</a></td>
  29. <td><span class="bx-antispam-check-status" id="bx-antispam-check-status-__id__"></span></td>
  30. </tr>
  31. </bx_repeat:items>
  32. </table>
  33. </div>