Edit File by line
/home/barbar84/www/wp-conte.../plugins/minioran.../views
File: reports.php
<?php
[0] Fix | Delete
[1] Fix | Delete
echo'<div class="mo_wpns_divided_layout">
[2] Fix | Delete
<div class="mo_wpns_setting_layout">';
[3] Fix | Delete
[4] Fix | Delete
echo' <div>
[5] Fix | Delete
[6] Fix | Delete
<form name="f" method="post" action="" id="manualblockipform" >
[7] Fix | Delete
<input type="hidden" name="option" value="mo_wpns_manual_clear" />
[8] Fix | Delete
<input type="hidden" name="nonce" value='.wp_create_nonce('mo_wpns_report').' />
[9] Fix | Delete
<table>
[10] Fix | Delete
<tr>
[11] Fix | Delete
<td style="width: 100%">
[12] Fix | Delete
<h2>
[13] Fix | Delete
Login Transactions Report
[14] Fix | Delete
</h2>
[15] Fix | Delete
</td>
[16] Fix | Delete
<td>
[17] Fix | Delete
<input type="submit"" class="button button-primary button-large" value="Clear Login Reports" />
[18] Fix | Delete
</td>
[19] Fix | Delete
</tr>
[20] Fix | Delete
</table>
[21] Fix | Delete
<br>
[22] Fix | Delete
</form>
[23] Fix | Delete
</div>
[24] Fix | Delete
[25] Fix | Delete
<div class="mo_wpns_setting_layout hidden">
[26] Fix | Delete
<div style="float:right;margin-top:10px">
[27] Fix | Delete
<input type="submit" name="printcsv" style="width:100px;" value="Print PDF" class="button button-success button-large">
[28] Fix | Delete
<input type="submit" name="printpdf" style="width:100px;" value="Print CSV" class="button button-success button-large">
[29] Fix | Delete
</div>
[30] Fix | Delete
<h3>Advanced Report</h3>
[31] Fix | Delete
[32] Fix | Delete
<form id="mo_wpns_advanced_reports" method="post" action="">
[33] Fix | Delete
<input type="hidden" name="option" value="mo_wpns_advanced_reports">
[34] Fix | Delete
<table style="width:100%">
[35] Fix | Delete
<tr>
[36] Fix | Delete
<td width="33%">WordPress Username : <input class="mo_wpns_table_textbox" type="text" name="username" required="" placeholder="Search by username" value=""></td>
[37] Fix | Delete
<td width="33%">IP Address :<input class="mo_wpns_table_textbox" type="text" name="ip" required="" placeholder="Search by IP" value=""></td>
[38] Fix | Delete
<td width="33%">Status : <select name="status" style="width:100%;">
[39] Fix | Delete
<option value="success" selected="">Success</option>
[40] Fix | Delete
<option value="failed">Failed</option>
[41] Fix | Delete
</select>
[42] Fix | Delete
</td>
[43] Fix | Delete
</tr>
[44] Fix | Delete
<tr><td><br></td></tr>
[45] Fix | Delete
<tr>
[46] Fix | Delete
<td width="33%">User Action : <select name="action" style="width:100%;">
[47] Fix | Delete
<option value="login" selected="">User Login</option>
[48] Fix | Delete
<option value="register">User Registeration</option>
[49] Fix | Delete
</select>
[50] Fix | Delete
</td>
[51] Fix | Delete
<td width="33%">From Date : <input class="mo_wpns_table_textbox" type="date" name="fromdate"></td>
[52] Fix | Delete
<td width="33%">To Date :<input class="mo_wpns_table_textbox" type="date" name="todate"></td>
[53] Fix | Delete
</tr>
[54] Fix | Delete
</table>
[55] Fix | Delete
<br><input type="submit" name="Search" style="width:100px;" value="Search" class="button button-primary button-large">
[56] Fix | Delete
</form>
[57] Fix | Delete
<br>
[58] Fix | Delete
</div>
[59] Fix | Delete
[60] Fix | Delete
<table id="login_reports" class="display" cellspacing="0" width="100%">
[61] Fix | Delete
<thead>
[62] Fix | Delete
<tr>
[63] Fix | Delete
<th>IP Address</th>
[64] Fix | Delete
<th>Username</th>
[65] Fix | Delete
<th>Status</th>
[66] Fix | Delete
<th>TimeStamp</th>
[67] Fix | Delete
</tr>
[68] Fix | Delete
</thead>
[69] Fix | Delete
<tbody>';
[70] Fix | Delete
[71] Fix | Delete
mo_mmp_showLoginTransactions($logintranscations);
[72] Fix | Delete
[73] Fix | Delete
echo' </tbody>
[74] Fix | Delete
</table>
[75] Fix | Delete
</div>
[76] Fix | Delete
<div class="mo_wpns_setting_layout">
[77] Fix | Delete
<div>
[78] Fix | Delete
[79] Fix | Delete
<form name="f" method="post" action="" id="manualblockipforms" >
[80] Fix | Delete
<input type="hidden" name="mo_wpns_manual_errorclear" value="mo_wpns_manual_errorclear" />
[81] Fix | Delete
<input type="hidden" name="nonce" value='.wp_create_nonce('mo_wpns_report').' />
[82] Fix | Delete
<table>
[83] Fix | Delete
<tr>
[84] Fix | Delete
<td style="width: 100%">
[85] Fix | Delete
<h2>
[86] Fix | Delete
Error Report
[87] Fix | Delete
</h2>
[88] Fix | Delete
</td>
[89] Fix | Delete
<td>
[90] Fix | Delete
<input type="submit"" class="button button-primary button-large" value=" Clear Error Reports" />
[91] Fix | Delete
</td>
[92] Fix | Delete
</tr>
[93] Fix | Delete
</table>
[94] Fix | Delete
<br>
[95] Fix | Delete
</form>
[96] Fix | Delete
</div>
[97] Fix | Delete
<table id="error_reports" class="display" cellspacing="0" width="100%">
[98] Fix | Delete
<thead>
[99] Fix | Delete
<tr>
[100] Fix | Delete
<th>IP Address</th>
[101] Fix | Delete
<th>Username</th>
[102] Fix | Delete
<th>URL</th>
[103] Fix | Delete
<th>Error Type</th>
[104] Fix | Delete
<th>TimeStamp</th>
[105] Fix | Delete
</tr>
[106] Fix | Delete
</thead>
[107] Fix | Delete
<tbody>';
[108] Fix | Delete
[109] Fix | Delete
mo_mmp_showErrorTransactions($errortranscations);
[110] Fix | Delete
[111] Fix | Delete
echo' </tbody>
[112] Fix | Delete
</table>
[113] Fix | Delete
</div>
[114] Fix | Delete
</div>
[115] Fix | Delete
<script>
[116] Fix | Delete
jQuery(document).ready(function() {
[117] Fix | Delete
$("#login_reports").DataTable({
[118] Fix | Delete
"order": [[ 3, "desc" ]]
[119] Fix | Delete
});
[120] Fix | Delete
$("#error_reports").DataTable({
[121] Fix | Delete
"order": [[ 4, "desc" ]]
[122] Fix | Delete
});
[123] Fix | Delete
} );
[124] Fix | Delete
</script>';
[125] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function