PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/productjuly1video/chappellemusicology.click/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/productjuly1video/chappellemusicology.click/api.php

<?php
// +------------------------------------------------------------------------+
// | @author Deen Doughouz (DoughouzForest)
// | @author_url 1: http://www.playtubescript.com
// | @author_url 2: http://codecanyon.net/user/doughouzforest
// | @author_email: wowondersocial@gmail.com   
// +------------------------------------------------------------------------+
// | PlayTube - The Ultimate Video Sharing Platform
// | Copyright (c) 2017 PlayTube. All rights reserved.
// +------------------------------------------------------------------------+


header_remove('Server');
header("Content-type: application/json");
require('assets/init.php');

$api_versions      = array('1.0');
$response_data     = array();
$api_version       = (!empty($_GET['v']) && in_array($_GET['v'],$api_versions)) ? PT_Secure($_GET['v']) : '';
$api               = "app_api/v$api_version/api-v$api_version.php"; 

if (empty($_POST['server_key']) || $_POST['server_key'] != $pt->config->server_key) {
	$response_data       = array(
        'api_status'     => '404',
        'errors'         => array(
            'error_id'   => '1',
            'error_text' => 'Wrong server key'
        )
    );

    echo json_encode($response_data, JSON_PRETTY_PRINT);
    exit();
}


if (!file_exists($api)) {
    $response_data       = array(
        'api_status'     => '404',
        'errors'         => array(
            'error_id'   => '1',
            'error_text' => 'Error: 404 API Version Not Found'
        )
    );

    echo json_encode($response_data, JSON_PRETTY_PRINT);
    exit();
}



$type          = (!empty($_GET['type'])) ? PT_Secure($_GET['type']) : '';
$applications  = array('phone');
$application   = (!empty($_GET['platform']) && in_array($_GET['platform'], $applications)) ? PT_Secure($_GET['platform']) : 'phone';
require_once   "$api";


echo json_encode($response_data, JSON_PRETTY_PRINT);
exit();

$db->disconnect();
unset($pt);
?>