HEX
Server: Apache
System: Linux top 5.8.11-1.el7.elrepo.x86_64 #1 SMP Tue Sep 22 18:18:35 EDT 2020 x86_64
User: www (1000)
PHP: 7.4.33
Disabled: 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
Upload Files
File: /www/wwwroot/www.018111.cn/wp-content/plugins/wp-user-manager/templates/stripe/account/invoices.php
<?php
/**
 * The Template for the Account page invoices section
 *
 * This template can be overridden by copying it to yourtheme/wpum/stripe/account/invoices.php
 *
 * @version 2.9.0
 */

?>

<div class="wpum-form" style="margin-top: 2rem;">
	<h3><?php esc_html_e( 'Invoices', 'wp-user-manager' ); ?></h3>
	<?php if ( empty( $data->invoices ) ) : ?>
		<p><?php esc_html_e( 'You don\'t have any invoices yet.', 'wp-user-manager' ); ?> </p>
	<?php else : ?>
		<table class="table mb-0">
			<tbody>
			<?php
			foreach ( $data->invoices as $invoice ) :
				if ( $invoice->total <= 0 ) {
					continue;
				}
				?>
				<tr>
					<td class="">
						<?php echo mysql2date( apply_filters( 'wpum_stripe_invoice_date_format', 'F j, Y' ), $invoice->created_at ); // phpcs:ignore ?>
					</td>
					<td class="">
						<?php echo \WPUserManager\Stripe\Stripe::currencySymbol( $invoice->currency ); ?><?php echo number_format( $invoice->total ); ; // phpcs:ignore ?>
					</td>
					<td class="text-right">
						<a href="<?php echo esc_url( get_permalink( wpum_get_core_page_id( 'account' ) ) . '/billing/?invoice_id=' . $invoice->id ); ?>">
							<?php esc_html_e( 'Download', 'wp-user-manager' ); ?>
						</a>
					</td>
				</tr>
			<?php endforeach; ?>
			</tbody>
		</table>
	<?php endif; ?>
</div>