HEX
Server: LiteSpeed
System: Linux dune179.sitesanctuary.org 5.14.0-427.40.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 16 07:08:17 EDT 2024 x86_64
User: h278792 (1076)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/h278792/www/wp-content/themes/ecademy/wp-events-manager/shortcodes/forgot-password.php
<?php
/**
 * The Template for displaying shortcode forgot password.
 *
 * Override this template by copying it to ecademy/ecademy/shortcodes/forgot-password.php
 *
 * @author        EnvyTheme, leehld
 * @package       ecademy/Template
 * @version       2.1.7
 */

/**
 * Prevent loading this file directly
 */
defined( 'ABSPATH' ) || exit();
wpems_print_notices();

?>
<?php if ( empty ( $_REQUEST['checkemail'] ) ) : ?>

    <form name="forgot-password" class="forgot-password event-auth-form" action="" method="post">

        <p class="form-row event_auth_forgot_password_message message">
            <?php _e( 'لطفا نام کاربری یا آدرس ایمیل خود را وارد نمایید. لینکی برای ایجاد رمز عبور جدید از طریق ایمیل دریافت خواهید کرد.', 'ecademy' ) ?>
        </p>
        <p class="form-row required">
            <label for="user_login" ><?php _e( 'نام کاربری یا ایمیل:', 'ecademy' ) ?>
                <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( !empty( $_POST['user_login'] ) ? sanitize_text_field($_POST['user_login']) : '' ); ?>" size="20" /></label>
        </p>
    <?php
    /**
     * Fires inside the lostpassword form tags, before the hidden fields.
     *
     * @since 2.1.0
     */
    do_action( 'tp_event_forgot_password_form' );
    ?>
        <input type="hidden" name="redirect_to" value="<?php echo esc_attr( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); ?>" />
        <p class="form-row submit">
            <input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e( 'دریافت رمز جدید', 'ecademy' ); ?>" />
        </p>

    </form>

    <div class="event_auth_lost_pass_footer">
        <a href="<?php echo esc_attr( wpems_login_url() ) ?>">
            <?php _e( 'ورود', 'ecademy' ); ?>
        </a> |
        <?php if ( !is_user_logged_in() ) : ?>

            <a href="<?php echo esc_attr( wpems_register_url() ) ?>">
                <?php _e( 'ایجاد کاربر جدید', 'ecademy' ); ?>
            </a>

        <?php endif; ?>
    </div>

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

<?php endif; ?>