<table width="100%" class="ap-table">
 <tr>
    <td><h3><?php _e('Login Logs','login-sidebar-widget');?> </h3></td>
    <td align="right"><a href="<?php echo $empty_log_url;?>" class="page-title-action"><?php _e('Clear Login Log','login-sidebar-widget');?></a></td>
 </tr>
 
 <tr>
    <td colspan="2">
      <div style="height:500px; overflow-y:scroll;">
        <table width="100%" border="0" cellpadding="10" cellspacing="0">
         <tr style="background-color:#0073aa; color:#ffffff;">
            <td width="30%"><strong><?php _e('IP','login-sidebar-widget');?></strong></td>
            <td width="30%"><strong><?php _e('Message','login-sidebar-widget');?></strong></td>
            <td width="20%"><strong><?php _e('Time','login-sidebar-widget');?></strong></td>
            <td width="20%"><strong><?php _e('Status','login-sidebar-widget');?></strong></td>
          </tr>
          <?php 
          $cnt = 1;
          foreach ( $data as $d ) { ?>
          <tr style="background-color:<?php echo $cnt%2 == 0?'#F1F1F1':'#FFFFFF';?>;">
            <td><?php echo $d['ip'];?></td>
            <td><?php echo $d['msg'];?></td>
            <td><?php echo $d['l_added'];?></td>
            <td><?php echo $d['l_status'];?></td>
          </tr>
          <?php $cnt++; } ?>
        </table>
     </div>
      <table width="100%">
         <tr>
            <td><p><?php $ap->paginate();?></p></td>
          </tr>
      </table>
    </td>
 </tr>
</table>
<table width="100%" class="ap-table">
    <tr>
    <td>
    Use <strong><a href="https://www.aviplugins.com/fb-login-widget-pro/" target="_blank">PRO</a></strong> version that has added security with <strong>Blocking IP</strong> after 5 wrong login attempts. <strong>Blocked IPs</strong> can be <strong>Whitelisted</strong> from admin panel or the <strong>Block</strong> gets automatically removed after <strong>1 Day</strong>.
    </td>
  </tr>
</table>