HEX
Server: LiteSpeed
System: Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User: swifizcd (1555)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //home/swifizcd/shoppers-joy.com.ng/wp-content/plugins/formidable/stripe/views/lists/tabs.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}

$tabs = array(
	'payments' => array(
		'url'   => admin_url( 'admin.php?page=formidable-payments' ),
		'label' => __( 'Payments', 'formidable' ),
	),
	'coupons'  => array(
		'url'   => admin_url( 'admin.php?page=formidable-payments&action=coupons' ),
		'label' => __( 'Coupons', 'formidable' ),
	),
);
?>

<div class="frm-payments-tabs">
	<div class="frm-payments-tab-filler"></div>
	<?php foreach ( $tabs as $tab_key => $details ) : ?>
		<?php
		$is_active = $tab_key === $active_tab;
		$classes   = 'frm-payments-tab';

		if ( $is_active ) {
			$classes .= ' frm-active';
		}
		?>
		<div class="<?php echo esc_attr( $classes ); ?>">
			<?php if ( $is_active ) : ?>
				<?php echo esc_html( $details['label'] ); ?>
			<?php else : ?>
				<a href="<?php echo esc_url( $details['url'] ); ?>">
					<?php echo esc_html( $details['label'] ); ?>
				</a>
			<?php endif; ?>
		</div>
		<div class="frm-payments-tab-filler"></div>	
	<?php endforeach; ?>
</div>