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

Dir : /home/trave494/productjuly1video/famousdimensions.click/ajax/
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/famousdimensions.click/ajax/check-video-status.php

<?php
$id = 0;
$data = array('status' => 400);
if (!empty($_GET['id']) && is_numeric($_GET['id'])) {
	$id = PT_Secure($_GET['id']);
	$video = $db->where('id', $id)->getOne(T_VIDEOS);

	if ($video->converted != 1) {
		if ($pt->config->queue_count > 0) {
			$video_in_queue = $db->where('video_id',$video->id)->getOne(T_QUEUE);
			$process_queue = $db->getValue(T_QUEUE,'video_id',$pt->config->queue_count);
			if ($pt->config->queue_count == 1) {
		        if ($process_queue == $video->id && $video_in_queue->processing == 1) {
		            $db->where('video_id', $video->id);
		            $db->update(T_QUEUE, array(
		                'processing' => 2
		            ));
					$data = array('status' => 200);
		        }
		    }
			elseif ($pt->config->queue_count > 1) {
				if (in_array($video->id, $process_queue) && $video_in_queue->processing == 1) {
					$db->where('video_id', $video->id);
		            $db->update(T_QUEUE, array(
		                'processing' => 2
		            ));
					$data = array('status' => 200);
				}
			}
		}
			
	}else{
		$data = array('status' => 200);
	}
}