| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 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.8/wp-content/plugins/fluentform/app/Views/receipt/ |
Upload File : |
<?php
defined('ABSPATH') or die;
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template variables in view files
/** @var Array $subscriptions */
/** @var Array $config */
?>
<div class="ff_subscriptions">
<?php
foreach ($subscriptions as $subscription): ?>
<div class="ff_subscription">
<div class="ff_subscription_header">
<div class="ff_pay_info">
<div class="ff_form_name"><span class="ff_sub_id">#<?php echo esc_html($subscription->id); ?></span> <?php echo fluentform_sanitize_html($subscription->title); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></div>
<div class="ff_sub_name"><?php echo esc_html($subscription->plan_name); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<span class="ff_sub_input_name">(<?php echo fluentform_sanitize_html($subscription->item_name); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>)</span>
</div>
<div class="head_payment_amount">
<span class="pay_amount"><?php echo fluentform_sanitize_html($subscription->formatted_recurring_amount); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Formatted amount contains decoded currency symbols ?></span>
<span>/<?php echo esc_html($subscription->billing_interval); ?></span>
<span class="ff_pay_status_badge ff_pay_status_<?php echo esc_attr($subscription->status); ?>">
<?php echo esc_html($subscription->status); ?>
</span>
<?php if ($subscription->billing_text): ?>
<p class="ff_billing_text"><?php echo fluentform_sanitize_html($subscription->billing_text); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></p>
<?php endif; ?>
</div>
</div>
<div class="ff_plan_info">
<p class="ff_billing_dates">
<span class="ff_sub_start"><?php esc_html_e('Started:', 'fluentform') ?> <?php echo esc_html($subscription->starting_date_formated); ?></span>
</p>
<div class="ff_payment_count_btn">
<button data-subscription_id="<?php echo esc_attr($subscription->id); ?>" class="ff_show_payments"><?php esc_html_e('View Payments', 'fluentform'); ?>
</button>
<?php if($subscription->can_cancel): ?>
<button data-submission_id="<?php echo esc_attr($subscription->submission_id); ?>" data-subscription_id="<?php echo esc_attr($subscription->id); ?>" class="ff_cancel_subscription"><?php esc_html_e('Cancel', 'fluentform'); ?>
</button>
<?php endif; ?>
</div>
</div>
</div>
<?php if($subscription->can_cancel): ?>
<div style="display: none;" class="ff_sub_cancel_confirmation">
<h4><?php echo esc_html($config['sub_cancel_confirm_heading']); ?></h4>
<div class="sub_cancel_btns">
<button class="ff_confirm_subscription_cancel"><?php echo esc_html($config['sub_cancel_confirm_btn']); ?></button>
<button class="ff_cancel_close"><?php echo esc_html($config['sub_cancel_close']); ?></button>
<p class="ff_sub_message_notices"></p>
</div>
</div>
<?php endif; ?>
<div class="ff_subscription_payments"></div>
</div>
<?php endforeach; ?>
</div>