getId();
if ($liveLink->getType() == 'logged_only' && !User::isLogged()) {
die('Link for logged only');
}
$uuid = $_GET['link'];
$t['id'] = $uuid;
$t['users_id'] = $liveLink->getUsers_id();
$t['title'] = $liveLink->getTitle();
$t['link'] = $liveLink->getLink();
$t['description'] = $liveLink->getDescription();
AVideoPlugin::getModeLiveLink($liveLink->getId());
$toTime = strtotime($liveLink->getStart_date());
} else {
$isLiveLink = uniqid();
$uuid = $isLiveLink;
$t = LiveLinks::decodeDinamicVideoLink();
$toTime = time();
}
if (empty($t['users_id'])) {
die('Link not found');
}
if ($toTime > time()) {
$message = "{$t['title']}
{$t['description']}";
$image = User::getPhoto($t['users_id']);
$bgImage = LiveLinks::getImage($t['id']);
$title = $t['title'];
countDownPage($toTime, $message, $image, $bgImage, $title);
}
$u = new User($t['users_id']);
$user_id = $u->getBdId();
$subscribe = Subscribe::getButton($user_id);
$name = $u->getNameIdentificationBd();
$name = "{$name} " . User::getEmailVerifiedIcon($user_id) . "";
$video = array();
$video['creator'] = '
' . $subscribe . '