403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/yme/wp-content/themes/oceanwp/woocommerce/checkout/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/yme/wp-content/themes/oceanwp/woocommerce/checkout/checkout-timeline.php
<?php
/**
 * Multi-step checkout timeline template.
 *
 * @package OceanWP WordPress theme
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

// Vars.
$i = 0;

$enable_login_reminder = 'yes' === get_option( 'woocommerce_enable_checkout_login_reminder', 'yes' ) ? true : false;
$is_logged_in          = is_user_logged_in();
$show_login_step       = ! $is_logged_in && $enable_login_reminder;

// Style.
$style = get_theme_mod( 'ocean_woo_multi_step_checkout_timeline_style', 'arrow' );
$style = $style ? $style : 'arrow';

// Define classes.
$classes = array( 'owp-woo-checkout-timeline', 'clr' );

// Style.
$classes[] = $style;

// If login.
if ( $show_login_step ) {
	$classes[] = 'step-4';
}

// Turn classes into string.
$classes = implode( ' ', $classes ); ?>

<ul id="owp-checkout-timeline" class="<?php echo esc_attr( $classes ); ?>">

	<?php if ( $show_login_step ) { ?>
		<li id="timeline-0" data-step="0" class="timeline login <?php echo ! $is_logged_in ? 'active' : ''; ?>">
			<div class="timeline-wrapper">
				<span class="timeline-step"><?php echo $i = $i + 1 ?>.</span>
				<span class="timeline-label"><?php esc_html_e( 'Login', 'oceanwp' ); ?></span>
			</div>
		</li>
	<?php } ?>

	<li id="timeline-1" data-step="1" class="timeline billing <?php echo ! $show_login_step ? 'active' : ''; ?>">
		<div class="timeline-wrapper">
			<span class="timeline-step"><?php echo $i = $i + 1 ?>.</span>
			<span class="timeline-label"><?php esc_html_e( 'Billing', 'oceanwp' ); ?></span>
		</div>
	</li>

	<li id="timeline-2" data-step="2" class="timeline shipping" >
		<div class="timeline-wrapper">
			<span class="timeline-step"><?php echo $i = $i + 1 ?>.</span>
			<span class="timeline-label"><?php esc_html_e( 'Shipping', 'oceanwp' ); ?></span>
		</div>
	</li>

	<li id="timeline-3" data-step="3" class="timeline payment">
		<div class="timeline-wrapper">
			<span class="timeline-step"><?php echo $i = $i + 1 ?>.</span>
			<span class="timeline-label"><?php esc_html_e( 'Payment Info', 'oceanwp' ); ?></span>
		</div>
	</li>

</ul>

Youez - 2016 - github.com/yon3zu
LinuXploit