403Webshell
Server IP : 38.190.208.107  /  Your IP : 216.73.216.187
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.9/wp-content/themes/woodmart/woocommerce/myaccount/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/wp.9/wp-content/themes/woodmart/woocommerce/myaccount/form-login.php
<?php
/**
 * Login Form
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/myaccount/form-login.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see     https://docs.woocommerce.com/document/template-structure/
 * @package WooCommerce/Templates
 * @version 9.9.0
 */

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

$tabs         = woodmart_get_opt( 'login_tabs' ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
$reg_text     = woodmart_get_opt( 'reg_text' );
$login_text   = woodmart_get_opt( 'login_text' );
$account_link = get_permalink( get_option( 'woocommerce_myaccount_page_id' ) );

$class = 'wd-registration-page';

if ( $tabs && get_option( 'woocommerce_enable_myaccount_registration' ) === 'yes' ) {
	woodmart_enqueue_js_script( 'login-tabs' );
	$class .= ' wd-register-tabs';
}

if ( get_option( 'woocommerce_enable_myaccount_registration' ) !== 'yes' ) {
	$class .= ' wd-no-registration';
}

if ( $login_text && $reg_text ) {
	$class .= ' with-login-reg-info';
}

if ( isset( $_GET['action'] ) && 'register' === $_GET['action'] && $tabs ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
	$class .= ' active-register';
}

// WC 3.5.0
if ( function_exists( 'WC' ) && version_compare( WC()->version, '3.5.0', '<' ) ) {
	wc_print_notices();
}

woodmart_enqueue_inline_style( 'woo-mod-login-form' );
woodmart_enqueue_inline_style( 'woo-page-login-register' );

do_action( 'woocommerce_before_customer_login_form' ); ?>

<div class="<?php echo esc_attr( $class ); ?>">

<?php if ( get_option( 'woocommerce_enable_myaccount_registration' ) === 'yes' ) : ?>

<div class="wd-grid-f-col" id="customer_login">

	<div class="wd-col col-login">

<?php endif; ?>

		<h2 class="wd-login-title"><?php esc_html_e( 'Login', 'woocommerce' ); ?></h2>

		<?php woodmart_login_form( true, add_query_arg( 'action', 'login', $account_link ) ); ?>

<?php if ( get_option( 'woocommerce_enable_myaccount_registration' ) === 'yes' ) : ?>

	</div>

	<div class="wd-col col-register">

		<h2 class="wd-login-title"><?php esc_html_e( 'Register', 'woocommerce' ); ?></h2>

		<?php woodmart_register_form(); ?>

	</div>

	<?php if ( $tabs ) : ?>
		<div class="wd-col col-register-text">

			<p class="title wd-login-divider"><span><?php esc_html_e( 'Or', 'woodmart' ); ?></span></p>

			<?php
				$reg_title   = woodmart_get_opt( 'reg_title' ) ? woodmart_get_opt( 'reg_title' ) : esc_html__( 'Register', 'woocommerce' );
				$login_title = woodmart_get_opt( 'login_title' ) ? woodmart_get_opt( 'login_title' ) : esc_html__( 'Login', 'woocommerce' );

				$title = $reg_title; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited

			if ( isset( $_GET['action'] ) && 'register' === $_GET['action'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
				$title = $login_title; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
			}
			?>

			<?php if ( $login_text || $reg_text ) : ?>
				<h2 class="wd-login-title"><?php echo esc_html( $title ); ?></h2>
			<?php endif ?>

			<?php if ( $login_text ) : ?>
				<div class="login-info"><?php echo do_shortcode( $login_text ); ?></div>
			<?php endif ?>

			<?php if ( $reg_text ) : ?>
				<div class="registration-info"><?php echo do_shortcode( $reg_text ); ?></div>
			<?php endif ?>

			<?php
				$button_text = esc_html__( 'Register', 'woocommerce' );

			if ( isset( $_GET['action'] ) && 'register' === $_GET['action'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
				$button_text = esc_html__( 'Login', 'woocommerce' );
			}
			?>

			<a href="#" rel="nofollow noopener" class="btn btn-default wd-switch-to-register" data-login="<?php esc_html_e( 'Login', 'woocommerce' ); ?>" data-login-title="<?php echo esc_attr( $login_title ); ?>" data-reg-title="<?php echo esc_attr( $reg_title ); ?>" data-register="<?php esc_html_e( 'Register', 'woocommerce' ); ?>"><?php echo esc_html( $button_text ); ?></a>

		</div>
	<?php endif ?>

</div>
<?php endif; ?>

</div>

<?php do_action( 'woocommerce_after_customer_login_form' ); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit