Fix File
•
/
home
/
sportsfe...
/
httpdocs
/
wp-conte...
/
plugins
/
facebook...
/
admin
•
File:
admin-notices.php
•
Content:
<?php if( !defined('ABSPATH') ){ exit();} function wp_fbap_admin_notice() { add_thickbox(); $sharelink_text_array_fb = array ( "I use WP2Social Auto Publish wordpress plugin from @xyzscripts and you should too.", "WP2Social Auto Publish wordpress plugin from @xyzscripts is awesome", "Thanks @xyzscripts for developing such a wonderful Facebook auto publishing wordpress plugin", "I was looking for a Facebook publishing plugin and I found this. Thanks @xyzscripts", "Its very easy to use WP2Social Auto Publish wordpress plugin from @xyzscripts", "I installed WP2Social Auto Publish from @xyzscripts,it works flawlessly", "WP2Social Auto Publish wordpress plugin that i use works terrific", "I am using WP2Social Auto Publish wordpress plugin from @xyzscripts and I like it", "The WP2Social Auto Publish plugin from @xyzscripts is simple and works fine", "I've been using this Facebook plugin for a while now and it is really good", "WP2Social Auto Publish wordpress plugin is a fantastic plugin", "WP2Social Auto Publish wordpress plugin is easy to use and works great. Thank you!", "Good and flexible WP2Social Auto Publish plugin especially for beginners", "The best Facebook Auto publish wordpress plugin I have used ! THANKS @xyzscripts", ); $sharelink_text_fb = array_rand($sharelink_text_array_fb, 1); $sharelink_text_fb = $sharelink_text_array_fb[$sharelink_text_fb]; $xyz_fbap_link = admin_url('admin.php?page=facebook-auto-publish-settings&fbap_blink=en'); $xyz_fbap_link = wp_nonce_url($xyz_fbap_link,'fbap-blk'); $xyz_fbap_notice = admin_url('admin.php?page=facebook-auto-publish-settings&fbap_notice=hide'); $xyz_fbap_notice = wp_nonce_url($xyz_fbap_notice,'fbap-shw'); echo ' <script type="text/javascript"> function xyz_fbap_shareon_tckbox(){ tb_show("Share on","#TB_inline?width=500&height=75&inlineId=show_share_icons_fb&class=thickbox"); } </script> <div id="fbap_notice_td" class="error" style="color: #666666;margin-left: 2px; padding: 5px;line-height:16px;">'?> <p><?php $fbap_url="https://wordpress.org/plugins/facebook-auto-publish/"; $fbap_xyz_url="https://xyzscripts.com/"; $fbap_wp="WP2Social Auto Publish"; $fbap_xyz_com="xyzscripts.com"; $fbap_thanks_msg=sprintf( __('Thank you for using <a href="%s" target="_blank"> %s </a> plugin from <a href="%s" target="_blank"> %s </a>. Would you consider supporting us with the continued development of the plugin using any of the below methods?','facebook-auto-publish'),$fbap_url,$fbap_wp,$fbap_xyz_url,$fbap_xyz_com); echo $fbap_thanks_msg; ?></p> <p> <a href="https://wordpress.org/support/plugin/facebook-auto-publish/reviews" class="button xyz_rate_btn" target="_blank"><?php _e('Rate it 5★\'s on wordpress','facebook-auto-publish'); ?> </a> <?php if(get_option('xyz_credit_link')=="0") ?> <a href="<?php echo $xyz_fbap_link; ?>" class="button xyz_backlink_btn xyz_blink"> <?php _e('Enable Backlink','facebook-auto-publish'); ?> </a> <a class="button xyz_share_btn" onclick=xyz_fbap_shareon_tckbox();> <?php _e('Share on','facebook-auto-publish'); ?> </a> <a href="https://xyzscripts.com/donate/5" class="button xyz_donate_btn" target="_blank"> <?php _e('Donate','facebook-auto-publish'); ?> </a> <a href="<?php echo $xyz_fbap_notice; ?>" class="button xyz_show_btn"> <?php _e('Don\'t Show This Again','facebook-auto-publish'); ?> </a> </p> <div id="show_share_icons_fb" style="display: none;"> <a class="button" style="background-color:#3b5998;color:white;margin-right:4px;margin-left:100px;margin-top: 25px;" href="http://www.facebook.com/sharer/sharer.php?u=https://xyzscripts.com/wordpress-plugins/Facebook-auto-publish/" target="_blank"> <?php _e('Facebook','facebook-auto-publish'); ?> </a> <a class="button" style="background-color:#00aced;color:white;margin-right:4px;margin-left:20px;margin-top: 25px;" href="http://Twitter.com/share?url=https://xyzscripts.com/wordpress-plugins/Facebook-auto-publish/&text='.$sharelink_text_fb.'" target="_blank"> <?php _e('Twitter','facebook-auto-publish'); ?> </a> <a class="button" style="background-color:#007bb6;color:white;margin-right:4px;margin-left:20px;margin-top: 25px;" href="http://www.linkedin.com/shareArticle?mini=true&url=https://xyzscripts.com/wordpress-plugins/Facebook-auto-publish/" target="_blank"> <?php _e('LinkedIn','facebook-auto-publish'); ?> </a> </div> <?php echo '</div>'; } $fbap_installed_date = get_option('fbap_installed_date'); if ($fbap_installed_date=="") { $fbap_installed_date = time(); } if($fbap_installed_date < ( time() - (20*24*60*60) )) { if (get_option('xyz_fbap_dnt_shw_notice') != "hide") { add_action('admin_notices', 'wp_fbap_admin_notice'); } }
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List