<?php if ( ! defined( 'ABSPATH' ) ) exit;
$settings = get_option('fmaoptions');
$path = str_replace('\\','/', ABSPATH);
$review_done = get_option('fma_hide_review_section');
<?php echo class_fma_admin_menus::shortcodeUpdateNotice();?>
<h3><?php _e('Advanced File Manager','file-manager-advanced')?>
<?php if(!class_exists('file_manager_advanced_shortcode')) { ?><a href="https://advancedfilemanager.com/pricing" class="button button-primary" target="_blank"><?php _e('Buy Shortcode Addon','file-manager-advanced')?></a><?php } ?> </h3>
<?php if ('done' != $review_done) { ?>
<div class="gb-fm-row review-block" id="fma_rate_us">
<img src="<?php echo plugins_url( 'images/rateme.png', __FILE__ );?>" class="fma_img_rate_me">
<?php _e('<strong>Advanced File Manager</strong>, we always support you and provide better features for you, please spend some seconds to review our plugin.','file-manager-advanced')?>
<a target="_blank" href="https://wordpress.org/support/plugin/file-manager-advanced/reviews/?filter=5" class="btn btn-review fma_review_link" title="Leave us a review" data-task="done"><?php _e('I love your plugin!','file-manager-advanced');?></a>
<a href="javascript:void(0)" class="btn fma_review_link" title="Remind me later" data-task="done"><?php _e('Not Now','file-manager-advanced');?></a>
<div id="file_manager_advanced"><center><img src="<?php echo plugins_url( 'images/wait.gif', __FILE__ );?>"></center></div>
<div style="width:100%; text-align:center;" class="description">
<a href="https://advancedfilemanager.com/documentation/" target="_blank"><?php _e('Documentation','file-manager-advanced')?></a> | <a href="https://advancedfilemanager.com/contact/" target="_blank"><?php _e('Support','file-manager-advanced')?></a> | <a href="https://advancedfilemanager.com/shortcodes/" target="_blank"><?php _e('Shortcodes','file-manager-advanced')?></a>
<span id="thankyou"><?php _e('Thank you for using <a href="https://wordpress.org/plugins/file-manager-advanced/">Advanced File Manager</a>. If you are happy then please ','file-manager-advanced')?>
<a href="https://wordpress.org/support/plugin/file-manager-advanced/reviews/?filter=5"><?php _e('Rate Us','file-manager-advanced')?> <img src="<?php echo plugins_url( 'images/5stars.png', __FILE__ );?>" style="width:100px; top: 11px; position: relative;"></a></span>
<?php if('done' != $review_done) { ?>
border: 1px dashed #0d5ed9;
.fma .review-block .message {
.fma .review-block .actions {
.fma .review-block .actions .btn-review {
background-color: #0d5ed9;
-webkit-transition-duration: .6s;
transition-duration: .6s;
.fma .review-block .actions a {
border: 1px solid #0d5ed9;
jQuery(document).ready(function(e) {
jQuery('#fma_rate_us').slideDown('slow');
jQuery('.fma_review_link').click(function() {
var fmaajaxurl = "<?php echo admin_url('admin-ajax.php');?>";
var task = jQuery(this).data('task');
var nonce = "<?php echo wp_create_nonce('afm_review'); ?>";
data : {action: "fma_review_ajax", 'task' : task, 'nonce' : nonce},
success: function(response) {
jQuery('#fma_rate_us').slideUp('slow');