Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wordpres.../includes/admin/views
File: admin-analytics-page.php
<?php add_thickbox(); ?>
[0] Fix | Delete
[1] Fix | Delete
<div class="wrap">
[2] Fix | Delete
[3] Fix | Delete
<h1><?php esc_html_e( 'WeCreativez WhatsApp Support - Analytics', 'wc-wws' ) ?></h1>
[4] Fix | Delete
[5] Fix | Delete
<?php do_action( 'wws_admin_notifications' ); ?>
[6] Fix | Delete
[7] Fix | Delete
<hr>
[8] Fix | Delete
[9] Fix | Delete
<h3><?php esc_html_e( 'Total Clicks Analytics', 'wc-wws' ) ?></h3>
[10] Fix | Delete
[11] Fix | Delete
<div class="flex-grid flex-grid-3">
[12] Fix | Delete
<div class="col">
[13] Fix | Delete
<div class="wws-admin-card filled wws-total-click-analytics">
[14] Fix | Delete
<h1><?php echo esc_html( $total_clicks ) ?></h1>
[15] Fix | Delete
<p><?php echo WWS_Icons::get( 'mouse-pointer' ); ?> <?php echo esc_html_e( 'Total Clicks', 'wc-wws' ) ?></p>
[16] Fix | Delete
</div>
[17] Fix | Delete
</div>
[18] Fix | Delete
<div class="col">
[19] Fix | Delete
<div class="wws-admin-card filled wws-total-click-analytics">
[20] Fix | Delete
<h1><?php echo esc_html( $total_clicks_by_desktop ) ?></h1>
[21] Fix | Delete
<p><?php echo WWS_Icons::get( 'desktop' ); ?> <?php echo esc_html_e( 'Total Clicks By Desktop/ Laptop', 'wc-wws' ) ?></p>
[22] Fix | Delete
</div>
[23] Fix | Delete
</div>
[24] Fix | Delete
<div class="col">
[25] Fix | Delete
<div class="wws-admin-card filled wws-total-click-analytics">
[26] Fix | Delete
<h1><?php echo esc_html( $total_clicks_by_mobile ) ?></h1>
[27] Fix | Delete
<p><?php echo WWS_Icons::get( 'mobile' ); ?> <?php echo esc_html_e( 'Total Clicks By Mobile', 'wc-wws' ) ?></p>
[28] Fix | Delete
</div>
[29] Fix | Delete
</div>
[30] Fix | Delete
</div>
[31] Fix | Delete
[32] Fix | Delete
<hr>
[33] Fix | Delete
[34] Fix | Delete
<!-- Current month click chart -->
[35] Fix | Delete
<div class="flex-grid flex-grid-1">
[36] Fix | Delete
<div class="col">
[37] Fix | Delete
<h3><?php esc_html_e( 'Current Month Click Analytics', 'wc-wws' ); ?></h3>
[38] Fix | Delete
<div class="wws-admin-card filled">
[39] Fix | Delete
<div class="wws-month-chart"></div>
[40] Fix | Delete
</div>
[41] Fix | Delete
</div>
[42] Fix | Delete
</div>
[43] Fix | Delete
[44] Fix | Delete
<hr>
[45] Fix | Delete
[46] Fix | Delete
<!-- Top 10 click analytics -->
[47] Fix | Delete
<h3><?php esc_html_e( 'Top 10 Click Analytics', 'wc-wws' ); ?></h3>
[48] Fix | Delete
<div class="flex-grid flex-grid-1 wws-top-10-click-analytics">
[49] Fix | Delete
<div class="col">
[50] Fix | Delete
<div class="wws-admin-card filled">
[51] Fix | Delete
<p><strong><?php esc_html_e( 'Top 10 IP Address', 'wc-wws' ); ?></strong></p>
[52] Fix | Delete
<?php WWS_Analytics::the_top_ten_ip_address(); ?>
[53] Fix | Delete
</div>
[54] Fix | Delete
</div>
[55] Fix | Delete
<div class="col">
[56] Fix | Delete
<div class="wws-admin-card filled">
[57] Fix | Delete
<p><strong><?php esc_html_e( 'Top 10 Referral Links', 'wc-wws' ); ?></strong></p>
[58] Fix | Delete
<?php WWS_Analytics::the_top_ten_referral_links(); ?>
[59] Fix | Delete
</div>
[60] Fix | Delete
</div>
[61] Fix | Delete
<div class="col">
[62] Fix | Delete
<div class="wws-admin-card filled">
[63] Fix | Delete
<p><strong><?php esc_html_e( 'Top 10 Operating Systems', 'wc-wws' ); ?></strong></p>
[64] Fix | Delete
<?php WWS_Analytics::the_top_ten_operating_systems(); ?>
[65] Fix | Delete
</div>
[66] Fix | Delete
</div>
[67] Fix | Delete
<div class="col">
[68] Fix | Delete
<div class="wws-admin-card filled">
[69] Fix | Delete
<p><strong><?php esc_html_e( 'Top 10 Browsers', 'wc-wws' ); ?></strong></p>
[70] Fix | Delete
<?php WWS_Analytics::the_top_ten_browsers(); ?>
[71] Fix | Delete
</div>
[72] Fix | Delete
</div>
[73] Fix | Delete
</div>
[74] Fix | Delete
[75] Fix | Delete
<p>&nbsp;</p>
[76] Fix | Delete
<hr>
[77] Fix | Delete
[78] Fix | Delete
<h3><?php esc_html_e( 'Complete Analytics', 'wc-wws' ); ?></h3>
[79] Fix | Delete
[80] Fix | Delete
<?php
[81] Fix | Delete
$table = new WWS_Admin_Analytics_Table;
[82] Fix | Delete
$table->prepare_items();
[83] Fix | Delete
?>
[84] Fix | Delete
<form method="post" action="#">
[85] Fix | Delete
<?php $table->search_box( 'Search', 'wc-wws' ); ?>
[86] Fix | Delete
</form>
[87] Fix | Delete
<div>
[88] Fix | Delete
<?php $table->display(); ?>
[89] Fix | Delete
</div>
[90] Fix | Delete
[91] Fix | Delete
<p>&nbsp;</p>
[92] Fix | Delete
<hr>
[93] Fix | Delete
[94] Fix | Delete
<h3><?php esc_html_e( 'Analytics Actions', 'wc-wws' ); ?></h3>
[95] Fix | Delete
<div class="flex-grid flex-grid-1">
[96] Fix | Delete
<div class="col">
[97] Fix | Delete
<div class="wws-admin-card filled">
[98] Fix | Delete
<a href="<?php echo wp_nonce_url( '?wws_delete_complete_analytics=1' ); ?>" class="button button-secondary" onclick="return confirm('<?php esc_html_e( 'Are you sure?', 'wc-wws' ) ?>')">
[99] Fix | Delete
<?php esc_html_e( 'Delete Complete Analytics', 'wc-wws' ) ?>
[100] Fix | Delete
</a>
[101] Fix | Delete
<a href="<?php echo wp_nonce_url( '?wws_action=export_analytics_csv' ); ?>" class="button button-secondary">
[102] Fix | Delete
<?php esc_html_e( 'Export Analytics CSV', 'wc-wws' ); ?>
[103] Fix | Delete
</a>
[104] Fix | Delete
</div>
[105] Fix | Delete
</div>
[106] Fix | Delete
</div>
[107] Fix | Delete
[108] Fix | Delete
<hr>
[109] Fix | Delete
[110] Fix | Delete
<div>
[111] Fix | Delete
<p><?php wp_kses_post( _e( '<strong>N/A</strong> means not applicable for the selected layout.', 'wc-wws' ) )?></p>
[112] Fix | Delete
</div>
[113] Fix | Delete
[114] Fix | Delete
</div>
[115] Fix | Delete
[116] Fix | Delete
<script>
[117] Fix | Delete
jQuery( document ).ready( function() {
[118] Fix | Delete
new Chartist.Line( '.wws-month-chart', {
[119] Fix | Delete
labels: [ <?php echo "'" . implode( "', '", $current_month_analytics['labels'] ) . "'"; ?> ],
[120] Fix | Delete
series: [
[121] Fix | Delete
[ <?php echo implode( ',', $current_month_analytics['days'] ); ?> ]
[122] Fix | Delete
]
[123] Fix | Delete
}, {
[124] Fix | Delete
low: 0,
[125] Fix | Delete
showArea: true,
[126] Fix | Delete
height: 300,
[127] Fix | Delete
seriesBarDistance: 100,
[128] Fix | Delete
axisY: {
[129] Fix | Delete
low: 1.2,
[130] Fix | Delete
referenceValue: 3,
[131] Fix | Delete
scaleMinSpace: 40
[132] Fix | Delete
},
[133] Fix | Delete
plugins: [
[134] Fix | Delete
Chartist.plugins.ctPointLabels( {
[135] Fix | Delete
labelClass: 'wws-chart-points',
[136] Fix | Delete
textAnchor: 'middle',
[137] Fix | Delete
labelInterpolationFnc: function( value ) {
[138] Fix | Delete
return value ? value : '';
[139] Fix | Delete
}
[140] Fix | Delete
} )
[141] Fix | Delete
]
[142] Fix | Delete
} );
[143] Fix | Delete
} );
[144] Fix | Delete
</script>
[145] Fix | Delete
[146] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function