403Webshell
Server IP : 173.209.174.21  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : nodor ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/thelittlebigshow/wp-content/plugins/robo-gallery/includes/extensions/stats/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/thelittlebigshow/wp-content/plugins/robo-gallery/includes/extensions/stats/stats.class.php
<?php
/*
*      Robo Gallery     
*      Version: 1.0
*      By Robosoft
*
*      Contact: https://robosoft.co/robogallery/ 
*      Created: 2015
*      Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php
*
*      Copyright (c) 2014-2019, Robosoft. All rights reserved.
*      Available only in  https://robosoft.co/robogallery/ 
*/

if ( ! defined( 'WPINC' ) ) exit;

class ROBO_GALLERY_STATS{

    protected $postType;
    protected $assetsUri;

    public function __construct($postType){
        $this->postType = $postType;
        $this->assetsUri = plugin_dir_url(__FILE__);
        add_action('admin_footer', array($this, 'script'));
    }

    public function script(){ 
        if ( 
        		rbs_gallery_get_current_post_type() == ROBO_GALLERY_TYPE_POST && 
        		rbs_gallery_is_edit_page('list') 
        ) {
        	?>
			<script type="text/javascript">
				(function ($, undefined){

					$(document).ready(function() {
				        $(".wp-admin.edit-php.post-type-robo_gallery_table .wrap .page-title-action:last").
				        	after("<a href='edit.php?post_type=robo_gallery_table&page=robo-gallery-stats' id='rbs_stats_button' class='page-title-action'><?php _e('Statistics Gallery', 'robo-gallery'); ?></a>");
				    });
					
				}(jQuery));
			</script>
        	<?php
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit