403Webshell
Server IP : 104.26.4.103  /  Your IP : 216.73.216.4
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : arabianexpress ( 1872)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v9321/buzzbitesv3/public_html/wp-content/plugins/trx_addons/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/buzzbitesv3/public_html/wp-content/plugins/trx_addons/templates/tpl.login-popup.php
<?php
/**
 * The template to display login popup
 *
 * @package ThemeREX Addons
 * @since v1.6
 */

$args = get_query_var('trx_addons_args_login_popup');

 // Prepare popup
$trx_addons_login_via_socials = trx_addons_get_option( 'login_via_socials' );
if ( ! empty( $trx_addons_login_via_socials ) ) {
	$trx_addons_login_via_socials = do_shortcode( apply_filters( 'trx_addons_filter_login_via_socials', $trx_addons_login_via_socials ) );
}
$styles_allowed = apply_filters( 'trx_addons_filter_allow_sc_styles_in_elementor', false, 'sc_layouts_login' );
$trx_addons_form_style = apply_filters( 'trx_addons_filter_login_fields_style', $styles_allowed ? 'default' : 'iconed' );	//trx_addons_get_option( 'input_hover', 'default' );
?>
<div id="trx_addons_login_popup" class="trx_addons_popup mfp-hide">
	<div class="trx_addons_tabs">
		<ul class="trx_addons_tabs_titles"><?php // Attention! No CR or LF between tab titles!
			// Login tab
			?><li class="trx_addons_tabs_title trx_addons_tabs_title_login">
				<a href="<?php echo esc_url(trx_addons_get_hash_link('#trx_addons_login_content')); ?>">
					<i class="trx_addons_tabs_title_icon <?php
						if ( ! empty( $args['tab_login_image'] ) ) {
							$icon_type = trx_addons_get_file_ext( $args['tab_login_image'] ) == 'svg' ? 'svg' : 'images';
						} else {
							$icon_type = 'icons';
							$icon = ! empty( $args['tab_login_icon'] ) && ! trx_addons_is_off( $args['tab_login_icon'] ) ? $args['tab_login_icon'] : 'trx_addons_icon-lock-open';
						}
						echo ' sc_icon_type_' . esc_attr( $icon_type ) . ( $icon_type == 'icons' ? ' ' . esc_attr( $icon ) : '' );
					?>"><?php
						if ( ! empty( $args['tab_login_image'] ) ) {
							if ( $icon_type == 'svg' ) {
								?><span class="trx_addons_tabs_title_icon_svg"><?php
									trx_addons_show_layout( trx_addons_get_svg_from_file( $args['tab_login_image'] ) );
								?></span><?php
							} else {
								?><img src="<?php echo esc_url( trx_addons_get_attachment_url( $args['tab_login_image'], apply_filters('trx_addons_filter_thumb_size', trx_addons_get_thumb_size( 'tiny' ), 'sc_layouts_login' ) ) ); ?>"
										alt="<?php esc_attr_e( 'Logout icon', 'trx_addons' ); ?>"
										class="trx_addons_tabs_title_icon_image"><?php
							}
						}
					?></i>
					<?php esc_html_e('Login', 'trx_addons'); ?>
				</a>
			</li><?php
			// Register tab
			?><li class="trx_addons_tabs_title trx_addons_tabs_title_register"<?php
					if ( (int) get_option('users_can_register') == 0 ) {
						echo ' data-disabled="true"';
					}
					?>>
				<a href="<?php echo esc_url(trx_addons_get_hash_link('#trx_addons_register_content')); ?>">
					<i class="trx_addons_tabs_title_icon <?php
						if ( ! empty( $args['tab_register_image'] ) ) {
							$icon_type = trx_addons_get_file_ext( $args['tab_register_image'] ) == 'svg' ? 'svg' : 'images';
						} else {
							$icon_type = 'icons';
							$icon = ! empty( $args['tab_register_icon'] ) && ! trx_addons_is_off( $args['tab_register_icon'] ) ? $args['tab_register_icon'] : 'trx_addons_icon-user-plus';
						}
						echo ' sc_icon_type_' . esc_attr( $icon_type ) . ( $icon_type == 'icons' ? ' ' . esc_attr( $icon ) : '' );
					?>"><?php
						if ( ! empty( $args['tab_register_image'] ) ) {
							if ( $icon_type == 'svg' ) {
								?><span class="trx_addons_tabs_title_icon_svg"><?php
									trx_addons_show_layout( trx_addons_get_svg_from_file( $args['tab_register_image'] ) );
								?></span><?php
							} else {
								?><img src="<?php echo esc_url( trx_addons_get_attachment_url( $args['tab_register_image'], apply_filters('trx_addons_filter_thumb_size', trx_addons_get_thumb_size( 'tiny' ), 'sc_layouts_login' ) ) ); ?>"
										alt="<?php esc_attr_e( 'Register icon', 'trx_addons' ); ?>"
										class="trx_addons_tabs_title_icon_image"><?php
							}
						}
					?></i>
					<?php esc_html_e('Register', 'trx_addons'); ?>
				</a>
			</li><?php
		?></ul><?php
		
		// Login form
		?>
		<div id="trx_addons_login_content" class="trx_addons_tabs_content trx_addons_login_content">
			<div<?php if (!empty($trx_addons_login_via_socials)) echo ' class="trx_addons_left_side"'; ?>>
				<div class="trx_addons_popup_form_wrap trx_addons_popup_form_wrap_login">
					<form class="trx_addons_popup_form trx_addons_popup_form_login <?php
						if ($trx_addons_form_style != 'default') echo 'sc_input_hover_' . esc_attr($trx_addons_form_style);
					?>" action="<?php echo esc_url( trx_addons_add_to_url( wp_login_url(), array( 'rnd' => mt_rand() ) ) ); ?>" method="post" name="trx_addons_login_form">
						<input type="hidden" id="login_redirect_to" name="redirect_to" value="<?php echo esc_url( trx_addons_add_to_url( trx_addons_get_current_url(), array( 'rnd' => mt_rand() ) ) ); ?>">
						<div class="trx_addons_popup_form_field trx_addons_popup_form_field_login">
							<?php
							trx_addons_get_template_part(TRX_ADDONS_PLUGIN_SHORTCODES . 'form/tpl.form-field.php',
															'trx_addons_args_sc_form_field',
															array(
																'style'       => $trx_addons_form_style,
																'field_name'  => 'log',
																'field_type'  => 'text',
																'field_req'   => true,
																'field_icon'  => ! empty( $args['field_login_icon'] ) && ! trx_addons_is_off( $args['field_login_icon'] ) ? $args['field_login_icon'] : 'trx_addons_icon-user-alt',
																'field_title' => esc_html__('Username', 'trx_addons'),
																'field_placeholder' => esc_html__('Username', 'trx_addons')
																)
														);
							?>
						</div>
						<div class="trx_addons_popup_form_field trx_addons_popup_form_field_password">
							<?php
							trx_addons_get_template_part(TRX_ADDONS_PLUGIN_SHORTCODES . 'form/tpl.form-field.php',
															'trx_addons_args_sc_form_field',
															array(
																'style'       => $trx_addons_form_style,
																'field_name'  => 'pwd',
																'field_type'  => 'password',
																'field_req'   => true,
																'field_icon'  => ! empty( $args['field_password_icon'] ) && ! trx_addons_is_off( $args['field_password_icon'] ) ? $args['field_password_icon'] : 'trx_addons_icon-lock',
																'field_title' => esc_html__('Password', 'trx_addons'),
																'field_placeholder' => esc_html__('Password', 'trx_addons')
																)
														);
							?>
						</div>
						<div class="trx_addons_popup_form_field trx_addons_popup_form_field_remember">
							<a href="<?php echo esc_url(wp_lostpassword_url(get_permalink())); ?>" class="trx_addons_popup_form_field_forgot_password"><?php esc_html_e('Forgot password?', 'trx_addons'); ?></a>
							<input type="checkbox" value="forever" id="rememberme" name="rememberme"><label for="rememberme"> <?php esc_html_e('Remember me', 'trx_addons'); ?></label>
						</div>
						<div class="trx_addons_popup_form_field trx_addons_popup_form_field_submit">
							<input type="submit" class="submit_button" value="<?php esc_attr_e('Login', 'trx_addons'); ?>">
						</div>
						<div class="trx_addons_message_box sc_form_result"></div>
					</form>
				</div>
			</div>
			<?php if (!empty($trx_addons_login_via_socials)) { ?>
				<div class="trx_addons_right_side">
					<div class="trx_addons_login_socials_title"><?php esc_html_e('or you can login using your favorite social profile!', 'trx_addons'); ?></div>
					<div class="trx_addons_login_socials_list">
						<?php trx_addons_show_layout($trx_addons_login_via_socials); ?>
					</div>
				</div>
			<?php } ?>
		</div><?php
		
		// Registration form
		if ( (int) get_option('users_can_register') > 0 ) {
			?>
			<div id="trx_addons_register_content" class="trx_addons_tabs_content">
				<div class="trx_addons_popup_form_wrap trx_addons_popup_form_wrap_register">
					<form class="trx_addons_popup_form trx_addons_popup_form_register <?php
						if ( $trx_addons_form_style != 'default') echo 'sc_input_hover_' . esc_attr($trx_addons_form_style);
					?>" action="<?php echo esc_url( trx_addons_add_to_url( wp_login_url(), array( 'rnd' => mt_rand() ) ) ); ?>" method="post" name="trx_addons_login_form">
						<input type="hidden" id="register_redirect_to" name="redirect_to" value="<?php echo esc_url( trx_addons_add_to_url( trx_addons_get_current_url(), array( 'rnd' => mt_rand() ) ) ); ?>">
						<div class="trx_addons_popup_form_field trx_addons_popup_form_field_login">
							<?php
							trx_addons_get_template_part(TRX_ADDONS_PLUGIN_SHORTCODES . 'form/tpl.form-field.php',
															'trx_addons_args_sc_form_field',
															array(
																'style'       => $trx_addons_form_style,
																'field_name'  => 'log',
																'field_type'  => 'text',
																'field_req'   => true,
																'field_icon'  => ! empty( $args['field_login_icon'] ) && ! trx_addons_is_off( $args['field_login_icon'] ) ? $args['field_login_icon'] : 'trx_addons_icon-user-alt',
																'field_title' => esc_html__('Username', 'trx_addons'),
																'field_placeholder' => esc_html__('Username', 'trx_addons')
																)
														);
							?>
						</div>
						<div class="trx_addons_popup_form_field trx_addons_popup_form_field_email">
							<?php
							trx_addons_get_template_part(TRX_ADDONS_PLUGIN_SHORTCODES . 'form/tpl.form-field.php',
															'trx_addons_args_sc_form_field',
															array(
																'style'       => $trx_addons_form_style,
																'field_name'  => 'email',
																'field_type'  => 'text',
																'field_req'   => true,
																'field_icon'  => ! empty( $args['field_email_icon'] ) && ! trx_addons_is_off( $args['field_email_icon'] ) ? $args['field_email_icon'] : 'trx_addons_icon-mail',
																'field_title' => esc_html__('E-mail', 'trx_addons'),
																'field_placeholder' => esc_html__('E-mail', 'trx_addons')
																)
														);
							?>
						</div>
						<div class="trx_addons_popup_form_field trx_addons_popup_form_field_password">
							<?php
							trx_addons_get_template_part(TRX_ADDONS_PLUGIN_SHORTCODES . 'form/tpl.form-field.php',
															'trx_addons_args_sc_form_field',
															array(
																'style'       => $trx_addons_form_style,
																'field_name'  => 'pwd',
																'field_type'  => 'password',
																'field_req'   => true,
																'field_icon'  => ! empty( $args['field_password_icon'] ) && ! trx_addons_is_off( $args['field_password_icon'] ) ? $args['field_password_icon'] : 'trx_addons_icon-lock',
																'field_title' => esc_html__('Password', 'trx_addons'),
																'field_placeholder' => esc_html__('Password', 'trx_addons')
																)
														);
							?>
						</div>
						<div class="trx_addons_popup_form_field trx_addons_popup_form_field_password">
							<?php
							trx_addons_get_template_part(TRX_ADDONS_PLUGIN_SHORTCODES . 'form/tpl.form-field.php',
															'trx_addons_args_sc_form_field',
															array(
																'style'       => $trx_addons_form_style,
																'field_name'  => 'pwd2',
																'field_type'  => 'password',
																'field_req'   => true,
																'field_icon'  => ! empty( $args['field_password_icon'] ) && ! trx_addons_is_off( $args['field_password_icon'] ) ? $args['field_password_icon'] : 'trx_addons_icon-lock',
																'field_title' => esc_html__('Confirm Password', 'trx_addons'),
																'field_placeholder' => esc_html__('Confirm Password', 'trx_addons')
																)
														);
							?>
						</div>
						<?php
						$trx_addons_privacy = trx_addons_get_privacy_text();
						if (!empty($trx_addons_privacy)) {
							?><div class="trx_addons_popup_form_field trx_addons_popup_form_field_agree">
								<input type="checkbox" value="1" id="i_agree_privacy_policy_registration" name="i_agree_privacy_policy"><label for="i_agree_privacy_policy_registration"> <?php echo wp_kses($trx_addons_privacy, 'trx_addons_kses_content'); ?></label>
							</div><?php
						}
						?>
						<div class="trx_addons_popup_form_field trx_addons_popup_form_field_submit">
							<input type="submit" class="submit_button" value="<?php esc_attr_e('Sign Up', 'trx_addons'); ?>"<?php
								if ( false && !empty($trx_addons_privacy) ) {
									?> disabled="disabled"<?php
								}
							?>>
						</div>
						<div class="trx_addons_message_box sc_form_result"></div>
					</form>
				</div>
			</div>
			<?php
		}
		?>
	</div>
	<?php
	if ( apply_filters( 'trx_addons_filter_allow_sc_styles_in_elementor', false , 'sc_layouts_login' ) && trx_addons_is_preview('elementor') ) {
		?>
		<button class="mfp-close"><span class="mfp-close-icon"></span></button>
		<?php
	}
	?>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit