!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/home/cp949260/public_html/phbcoop.com/vendor/rs-plugin/php/vimeo/   drwxr-xr-x
Free 235.23 GB of 981.82 GB (23.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     class-vimeo.php (1.7 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 

/**
 * Vimeo
 *
 * with help of the API this class delivers all kind of Images/Videos from Vimeo
 *
 * @package    socialstreams
 * @subpackage socialstreams/vimeo
 * @author     ThemePunch <info@themepunch.com>
 */

class TP_vimeo {
    
/**
     * Stream Array
     *
     * @since    1.0.0
     * @access   private
     * @var      array    $stream    Stream Data Array
     */
    
private $stream;

    
/**
     * Get Vimeo User Videos
     *
     * @since    1.0.0
     */
    
public function get_vimeo_videos($type,$value){
        
//call the API and decode the response
        
if($type=="user"){
            
$url "https://vimeo.com/api/v2/".$value."/videos.json";
        }
        else{
            
$url "https://vimeo.com/api/v2/".$type."/".$value."/videos.json";
        }
        
        
$rsp json_decode(file_get_contents($url));
        
        return 
$rsp;
    }

    
/**
     * Prepare output array $stream for Vimeo videos
     *
     * @since    1.0.0
     * @param    string    $videos     Vimeo Output Data
     */
    
private function vimeo_output_array($videos,$count){
        foreach (
$videos as $video) {
            if(
$count-- == 0) break;

            
$stream = array();

            
$image_url = @array(
                
'thumbnail_small'     =>     array($video->thumbnail_small),
                
'thumbnail_medium'     =>     array($video->thumbnail_medium),
                
'thumbnail_large'     =>     array($video->thumbnail_large),
            );

            
$stream['custom-image-url'] = $image_url//image for entry
            
$stream['custom-type'] = 'vimeo'//image, vimeo, youtube, soundcloud, html
            
$stream['custom-vimeo'] = $video->id;
            
$stream['post_url'] = $video->url;
            
$stream['post_link'] = $video->url;
            
$stream['title'] = $video->title;
            
$stream['content'] = $video->description;
            
$stream['date_modified'] = $video->upload_date;
            
$stream['author_name'] = $video->user_name;
            
            
$this->stream[] = $stream;
        }
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0111 ]--