| Server IP : 68.183.124.220 / Your IP : 216.73.217.137 Web Server : Apache/2.4.18 (Ubuntu) System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : gavin ( 1000) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/wp-content/plugins/wp-statistics/includes/templates/ |
Upload File : |
<div id="poststuff" class="wp-statistics-plugins">
<div id="post-body" class="metabox-holder">
<div class="wp-list-table widefat widefat plugin-install">
<div id="the-list">
<?php foreach ( $plugins->items as $plugin ) : ?>
<div class="plugin-card">
<?php if ( $plugin->is_feature and $plugin->featured_label ) : ?>
<div class="cover-ribbon">
<div class="cover-ribbon-inside"><?php echo $plugin->featured_label; ?></div>
</div>
<?php endif; ?>
<div class="plugin-card-top">
<div class="name column-name">
<h3>
<a target="_blank" href="<?php echo $plugin->url; ?>" class="thickbox open-plugin-details-modal">
<?php echo $plugin->name; ?>
<img src="<?php echo $plugin->icon; ?>" class="plugin-icon" alt="">
</a>
</h3>
</div>
<div class="desc column-description">
<p><?php echo wp_trim_words( $plugin->description, 15 ); ?></p>
</div>
</div>
<div class="plugin-card-bottom">
<div class="column-downloaded">
<strong><?php _e( 'Version:', 'wp-statistics' ); ?></strong><?php echo ' ' .
$plugin->version; ?>
<p><strong><?php _e( 'Status:', 'wp-statistics' ); ?></strong>
<?php
if ( is_plugin_active( $plugin->slug . '/' . $plugin->slug . '.php' ) ) {
_e( 'Active', 'wp-statistics' );
} else if ( file_exists(
WP_PLUGIN_DIR . '/' . $plugin->slug . '/' . $plugin->slug . '.php'
) ) {
_e( 'Inactive', 'wp-statistics' );
} else {
_e( 'Not installed', 'wp-statistics' );
}
?>
</p>
</div>
<div class="column-compatibility">
<?php if ( is_plugin_active( $plugin->slug . '/' . $plugin->slug . '.php' ) ) { ?>
<a href="<?php echo WP_Statistics_Admin_Pages::admin_url( 'plugins', array( 'action' => 'deactivate', 'plugin' => $plugin->slug ) ); ?>" class="button"><?php _e( 'Deactivate Add-On', 'wp-statistics' ); ?></a>
<?php } else { ?><?php if ( file_exists(
WP_PLUGIN_DIR . '/' . $plugin->slug . '/' . $plugin->slug . '.php'
) ) { ?>
<a href="<?php echo WP_Statistics_Admin_Pages::admin_url( 'plugins', array( 'action' => 'activate', 'plugin' => $plugin->slug ) ); ?>" class="button"><?php _e( 'Activate Add-On', 'wp-statistics' ); ?></a>
<?php } else { ?>
<div class="column-price">
<strong>$<?php echo $plugin->price; ?></strong>
</div>
<a target="_blank" href="<?php echo $plugin->url; ?>" class="button-primary"><?php _e( 'Buy Add-On', 'wp-statistics' ); ?></a>
<?php } ?><?php } ?>
</div>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
</div>
</div>