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/facebook.../admin
File: footer.php
<?php
[0] Fix | Delete
if( !defined('ABSPATH') ){ exit();}
[1] Fix | Delete
if(get_option('xyz_fbap_premium_version_ads')==1){?>
[2] Fix | Delete
<div id="xyz-wp-fbap-premium">
[3] Fix | Delete
[4] Fix | Delete
<div style="float: left; padding: 0 5px">
[5] Fix | Delete
<h2 style="vertical-align: middle;">
[6] Fix | Delete
<a target="_blank" href="https://xyzscripts.com/wordpress-plugins/social-media-auto-publish/features">
[7] Fix | Delete
<?php $fbap_smap_plugin="XYZ WP SMAP Premium";
[8] Fix | Delete
$fbap_smap_plugin_msg=sprintf(__('Fully Featured %s Plugin', 'facebook-auto-publish'),$fbap_smap_plugin);
[9] Fix | Delete
echo $fbap_smap_plugin_msg; ?> </a> - <?php _e('Just 39 USD','facebook-auto-publish'); ?>
[10] Fix | Delete
</h2>
[11] Fix | Delete
</div>
[12] Fix | Delete
<div class="xyz-fbap-buy-now">
[13] Fix | Delete
<a target="_blank" href="https://xyzscripts.com/members/product/purchase/XYZWPSMPPRE"><img
[14] Fix | Delete
src="<?php echo plugins_url("images/orange_buynow.png",XYZ_FBAP_PLUGIN_FILE); ?>">
[15] Fix | Delete
</a>
[16] Fix | Delete
</div>
[17] Fix | Delete
<div style="float: left; padding: 0 5px">
[18] Fix | Delete
<h2 style="vertical-align: middle;text-shadow: 1px 1px 1px #686868">
[19] Fix | Delete
( <a href="<?php echo admin_url('admin.php?page=facebook-auto-publish-about');?>"> <?php _e('Compare Features','facebook-auto-publish') ?> </a> )
[20] Fix | Delete
</h2>
[21] Fix | Delete
</div>
[22] Fix | Delete
</div>
[23] Fix | Delete
<?php }?>
[24] Fix | Delete
[25] Fix | Delete
<div style="clear: both;"></div>
[26] Fix | Delete
<div style="width: 100%">
[27] Fix | Delete
<div class="xyz_fbap_social_media">
[28] Fix | Delete
<h3 class="xyz_fbap_inner_head"> <?php _e('Follow Us','facebook-auto-publish') ?> </h3>
[29] Fix | Delete
<a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_home_fbook"></a>
[30] Fix | Delete
<a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_home_twitt"></a>
[31] Fix | Delete
<a style="margin-right:0px;" target="_blank" href="https://www.linkedin.com/company/xyzscripts" class="xyz_home_linkedin"></a>
[32] Fix | Delete
</div>
[33] Fix | Delete
[34] Fix | Delete
<div class="xyz_fbap_sugession">
[35] Fix | Delete
<h3 class="xyz_fbap_inner_head"> <?php _e('Support','facebook-auto-publish') ?> </h3>
[36] Fix | Delete
<p style="width:100%;"><a target="_blank" href="https://xyzscripts.com/donate/5" > <?php _e('Donate','facebook-auto-publish') ?> </a></p>
[37] Fix | Delete
<p style="width:100%;"><a target="_blank" href="https://xyzscripts.com/support/" > <?php _e('Contact Us','facebook-auto-publish') ?> </a></p>
[38] Fix | Delete
<p><a target="_blank" href="https://wordpress.org/support/plugin/facebook-auto-publish/reviews/" > <?php _e('Please Rate Us','facebook-auto-publish') ?>
[39] Fix | Delete
</a></p>
[40] Fix | Delete
<a target="_blank" href="https://wordpress.org/support/plugin/facebook-auto-publish/reviews/" ><span class="xyz_new_star"></span></a>
[41] Fix | Delete
[42] Fix | Delete
<p style="width:100%;"><a target="_blank" href="https://wordpress.org/support/plugin/facebook-auto-publish/" > <?php _e('Create a ticket at Wordpress forum','facebook-auto-publish') ?> </a></p>
[43] Fix | Delete
</div>
[44] Fix | Delete
<div class="xyz_fbap_new_subscribe">
[45] Fix | Delete
<h3 class="xyz_fbap_inner_head"> <?php _e('Stay tuned for our updates','facebook-auto-publish') ?> </h3>
[46] Fix | Delete
[47] Fix | Delete
<script language="javascript">
[48] Fix | Delete
function check_email(emailString)
[49] Fix | Delete
{
[50] Fix | Delete
var mailPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/;
[51] Fix | Delete
var matchArray = emailString.match(mailPattern);
[52] Fix | Delete
if (emailString.length == 0)
[53] Fix | Delete
return false;
[54] Fix | Delete
[55] Fix | Delete
if (matchArray == null) {
[56] Fix | Delete
return false;
[57] Fix | Delete
}else{
[58] Fix | Delete
return true;
[59] Fix | Delete
}
[60] Fix | Delete
}
[61] Fix | Delete
[62] Fix | Delete
[63] Fix | Delete
function verify_lists(form)
[64] Fix | Delete
{
[65] Fix | Delete
[66] Fix | Delete
var total=0;
[67] Fix | Delete
var checkBox=form['chk[]'];
[68] Fix | Delete
[69] Fix | Delete
if(checkBox.length){
[70] Fix | Delete
[71] Fix | Delete
for(var i=0;i<checkBox.length;i++){
[72] Fix | Delete
checkBox[i].checked?total++:null;
[73] Fix | Delete
}
[74] Fix | Delete
}else{
[75] Fix | Delete
[76] Fix | Delete
checkBox.checked?total++:null;
[77] Fix | Delete
[78] Fix | Delete
}
[79] Fix | Delete
if(total>0){
[80] Fix | Delete
return true;
[81] Fix | Delete
}else{
[82] Fix | Delete
return false;
[83] Fix | Delete
}
[84] Fix | Delete
[85] Fix | Delete
}
[86] Fix | Delete
[87] Fix | Delete
function verify_fields()
[88] Fix | Delete
{
[89] Fix | Delete
[90] Fix | Delete
if(check_email(document.email_subscription.email.value) == false){
[91] Fix | Delete
alert(xyz_script_fbap_var.alert1);
[92] Fix | Delete
document.email_subscription.email.select();
[93] Fix | Delete
return false;
[94] Fix | Delete
}else if(verify_lists(document.email_subscription)==false){
[95] Fix | Delete
alert(xyz_script_fbap_var.alert2);
[96] Fix | Delete
}
[97] Fix | Delete
else{
[98] Fix | Delete
document.email_subscription.submit();
[99] Fix | Delete
}
[100] Fix | Delete
[101] Fix | Delete
}
[102] Fix | Delete
</script>
[103] Fix | Delete
<?php global $current_user; wp_get_current_user(); ?>
[104] Fix | Delete
<form action="https://xyzscripts.com/newsletter/index.php?page=list/subscribe" method="post" name="email_subscription" id="email_subscription" target="_blank">
[105] Fix | Delete
<input type="hidden" name="fieldNameIds" value="1,">
[106] Fix | Delete
<input type="hidden" name="redirActive" value="https://xyzscripts.com/subscription/pending/XYZWPSMPPRE">
[107] Fix | Delete
<input type="hidden" name="redirPending" value="https://xyzscripts.com/subscription/active/XYZWPSMPPRE">
[108] Fix | Delete
<input type="hidden" name="mode" value="1">
[109] Fix | Delete
[110] Fix | Delete
<input class="xyz_fbap_name" type="text" placeholder="<?php _e('Name','facebook-auto-publish')?>" name="field1" value="<?php
[111] Fix | Delete
if ($current_user->user_firstname != "" || $current_user->user_lastname != "")
[112] Fix | Delete
{
[113] Fix | Delete
echo esc_html($current_user->user_firstname) . " " . esc_html($current_user->user_lastname);
[114] Fix | Delete
}
[115] Fix | Delete
else if (strcasecmp($current_user->display_name, 'admin')!=0 && strcasecmp($current_user->display_name , "administrator")!=0 )
[116] Fix | Delete
{
[117] Fix | Delete
echo esc_html($current_user->display_name);
[118] Fix | Delete
}
[119] Fix | Delete
else if (strcasecmp($current_user->user_login ,"admin")!=0 && strcasecmp($current_user->user_login , "administrator")!=0 )
[120] Fix | Delete
{
[121] Fix | Delete
echo esc_html($current_user->user_login);
[122] Fix | Delete
}
[123] Fix | Delete
?>" >
[124] Fix | Delete
<input class="xyz_fbap_email" name="email"
[125] Fix | Delete
type="text" placeholder="<?php _e('Email','facebook-auto-publish'); ?>" style="" value="<?php echo esc_html($current_user->user_email); ?>" />
[126] Fix | Delete
[127] Fix | Delete
<input id="xyz_fbap_submit_fbap" class="sbmt_btn" type="submit" value="<?php _e('Subscribe','facebook-auto-publish');?>" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
[128] Fix | Delete
[129] Fix | Delete
<input type="hidden" name="listName" value="7,1,"/>
[130] Fix | Delete
</form>
[131] Fix | Delete
</div>
[132] Fix | Delete
[133] Fix | Delete
<div class="xyz_fbap_inmotion">
[134] Fix | Delete
<a target="_blank" href="http://inmotion-hosting.evyy.net/c/1150074/260033/4222">
[135] Fix | Delete
<img src="<?php echo plugins_url()?>/facebook-auto-publish/images/xyz.png" class="xyz_fbap_inmotion_label"></a></div>
[136] Fix | Delete
</div>
[137] Fix | Delete
[138] Fix | Delete
<div style="clear: both;"></div>
[139] Fix | Delete
<div style="width: 100%">
[140] Fix | Delete
[141] Fix | Delete
<div class="xyz_fbap_our_plugins_new">
[142] Fix | Delete
<p class="xyz_fbap_plugin_head"> <?php _e('Our Plugins','facebook-auto-publish'); ?> : </p>
[143] Fix | Delete
[144] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/social-media-auto-publish/"><span>1</span>Social Media Auto Publish</a>
[145] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/facebook-auto-publish/"><span>2</span>WP2Social Auto Publish</a>
[146] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/twitter-auto-publish/"><span>3</span>WP Twitter Auto Publish</a>
[147] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/linkedin-auto-publish/"><span>4</span>WP to LinkedIn Auto Publish</a>
[148] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/insert-html-snippet/"><span>5</span>Insert HTML Snippet</a>
[149] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/insert-php-code-snippet/"><span>6</span>Insert PHP Code Snippet</a>
[150] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/contact-form-manager/"><span>7</span>Contact Form Manager</a>
[151] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/newsletter-manager/"><span>8</span>Newsletter Manager</a>
[152] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/lightbox-pop/"><span>9</span>Lightbox Pop</a>
[153] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/full-screen-popup/"><span>10</span>Full Screen Popup</a>
[154] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/popup-dialog-box/"><span>11</span>Popup Dialog Box</a>
[155] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/quick-bar/"><span>12</span>Quick Bar</a>
[156] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/quick-box-popup/"><span>13</span>Quick Box Popup</a>
[157] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/custom-field-manager/"><span>14</span> Custom Field Manager</a>
[158] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/wp-filter-posts/"><span>15</span> WP Filter Posts</a>
[159] Fix | Delete
<a target="_blank" href="https://wordpress.org/plugins/wp-gallery-manager/"><span>16</span> WP Gallery Manager</a>
[160] Fix | Delete
</div>
[161] Fix | Delete
</div>
[162] Fix | Delete
<div class="xyz_fbap_poweredBy">
[163] Fix | Delete
<?php _e('Powered by','facebook-auto-publish');?> <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
[164] Fix | Delete
</div>
[165] Fix | Delete
<div style="clear: both;"></div>
[166] Fix | Delete
<p style="clear: both;"></p>
[167] Fix | Delete
[168] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function