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/clone/wp-conte.../plugins/popup-bu.../public/views
File: popupOpeningCounter.php
<?php
[0] Fix | Delete
/* Exit if accessed directly */
[1] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[2] Fix | Delete
exit;
[3] Fix | Delete
}
[4] Fix | Delete
$popupId = $popupTypeObj->getOptionValue('sgpb-post-id');
[5] Fix | Delete
$count = $popupTypeObj->getPopupOpeningCountById($popupId);
[6] Fix | Delete
$counterReset = 'SGPBBackend.resetCount('.$popupId.', false)';
[7] Fix | Delete
?>
[8] Fix | Delete
<div class="sgpb-wrapper sgpb-popup-opening-analytics-container">
[9] Fix | Delete
<div class="subForm sgpb-padding-20 sgpb-bg-black__opacity-02">
[10] Fix | Delete
<div class="formItem">
[11] Fix | Delete
<span class="formItem__title sgpb-margin-right-20"><?php esc_html_e('Disable popup counting', 'popup-builder')?>:</span>
[12] Fix | Delete
<div class="sgpb-onOffSwitch">
[13] Fix | Delete
<input id="sgpb-popup-counting-disabled" class="sgpb-onOffSwitch-checkbox" name="sgpb-popup-counting-disabled" type="checkbox" <?php echo esc_attr($popupTypeObj->getOptionValue('sgpb-popup-counting-disabled'));?>>
[14] Fix | Delete
<label class="sgpb-onOffSwitch__label" for="sgpb-popup-counting-disabled">
[15] Fix | Delete
<span class="sgpb-onOffSwitch-inner"></span>
[16] Fix | Delete
<span class="sgpb-onOffSwitch-switch"></span>
[17] Fix | Delete
</label>
[18] Fix | Delete
</div>
[19] Fix | Delete
</div>
[20] Fix | Delete
<div class="formItem">
[21] Fix | Delete
<span class="subFormItem__title"><?php esc_html_e('Views', 'popup-builder'); ?>: </span>
[22] Fix | Delete
<span class="subFormItem__title sgpb-popup-opening-analytics-option-value-span"> <?php echo esc_html($count); ?></span>
[23] Fix | Delete
</div>
[24] Fix | Delete
<div class="formItem">
[25] Fix | Delete
<input onclick="SGPBBackend.resetCount(<?php echo esc_html($popupId); ?>, false)" type="button" class="button sgpb-reset-count-btn" value="<?php esc_html_e('Reset', 'popup-builder'); ?>" <?php echo esc_attr(($popupId && $count != 0) ? '' : ' disabled') ; ?>>
[26] Fix | Delete
</div>
[27] Fix | Delete
</div>
[28] Fix | Delete
</div>
[29] Fix | Delete
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function