403Webshell
Server IP : 192.64.118.117  /  Your IP : 18.188.48.106
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/mobilecreationz.com/wp-content/plugins/wptubeskin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/mobilecreationz.com/wp-content/plugins/wptubeskin//index.php
<?php
/*
Plugin Name: WP Tube Skin
Plugin URI: http://tubesk.in
Description: Customize any Youtube Video with these Stylish and Modern Video Skins.
Version: 1.5
Author: CunWare
Author URI: http://cunware.com
*/
if ( ! defined( 'ABSPATH' ) )
	die( "Can't load this file directly" );
	
include('functions.php');

class MyGallery
{
	function __construct() {
		add_action( 'admin_init', array( $this, 'action_admin_init' ) );
	}
	function action_admin_init() {
		if ( current_user_can( 'edit_posts' ) && current_user_can( 'edit_pages' ) ) {
			add_filter( 'mce_buttons', array( $this, 'filter_mce_button' ) );
			add_filter( 'mce_external_plugins', array( $this, 'filter_mce_plugin' ) );
		}
	}
	function filter_mce_button( $buttons ) {
		array_push( $buttons, '|', 'youtube_skin_button' );
		return $buttons;
	}
	function filter_mce_plugin( $plugins ) {
		$plugins['youtube_skin'] = plugin_dir_url( __FILE__ ) . 'js/wpawsm_plugin.js';
		return $plugins;
	}
}
$mygallery = new MyGallery();
function awsmvid_shortcode( $atts, $content = null ) {
	
	$skinSize 	= $atts['size'];
	$skinNum 	= $atts['skins'];
	$youtubeUrl = $content;
	$playerHide = $atts['hide'];
	$autoPlay 	= $atts['play'];
	
	$iframe1 = skinsAttributes(
				$skinSize, 
				$skinNum, 
				$youtubeUrl, 
				$playerHide, 
				$autoPlay
				);
				
	return $iframe1;
	
}
add_shortcode( 'awsmvid', 'awsmvid_shortcode' );
wp_register_style( 'wp_awsm_style', WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)) . 'css/style.css');
wp_enqueue_style('wp_awsm_style');

wp_register_script('myscript', WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)) . 'js/my_script.js');
wp_enqueue_script('myscript');
?>

Youez - 2016 - github.com/yon3zu
LinuXploit