| Server IP : 38.190.208.107 / Your IP : 216.73.217.1 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.2/wp-content/plugins/blocksy-companion-pro/freemius/templates/account/ |
Upload File : |
<?php
/**
* @package Freemius
* @copyright Copyright (c) 2016, Freemius, Inc.
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
* @since 1.2.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* @var array $VARS
* @var Freemius $fs
*/
$fs = freemius( $VARS['id'] );
/**
* @var FS_Payment[] $payments
*/
$payments = $VARS['payments'];
$slug = $fs->get_slug();
?>
<div class="postbox">
<div id="fs_payments">
<h3><span class="dashicons dashicons-paperclip"></span> <?php fs_esc_html_echo_inline( 'Payments', 'payments', $slug ) ?></h3>
<div class="inside">
<table class="widefat">
<thead>
<tr>
<th><?php fs_esc_html_echo_inline( 'ID', 'id', $slug ) ?></th>
<th><?php fs_esc_html_echo_inline( 'Date', 'date', $slug ) ?></th>
<th><?php fs_esc_html_echo_inline( 'Amount', 'amount', $slug ) ?></th>
<th><?php fs_esc_html_echo_inline( 'Invoice', 'invoice', $slug ) ?></th>
</tr>
</thead>
<tbody>
<?php $odd = true ?>
<?php foreach ( $payments as $payment ) : ?>
<tr<?php echo $odd ? ' class="alternate"' : '' ?>>
<td><?php echo $payment->id ?></td>
<td><?php echo date( 'M j, Y', strtotime( $payment->created ) ) ?></td>
<td><?php echo $payment->formatted_gross() ?></td>
<td><?php if (! $payment->is_migrated() ) : ?><a href="<?php echo $fs->_get_invoice_api_url( $payment->id ) ?>"
class="button button-small"
target="_blank" rel="noopener"><?php fs_esc_html_echo_inline( 'Invoice', 'invoice', $slug ) ?></a><?php endif ?></td>
</tr>
<?php $odd = ! $odd; endforeach ?>
</tbody>
</table>
</div>
</div>
</div>
<?php