1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
Daniel 2022-01-25 14:04:18 -03:00
parent 8d544776ae
commit a47b5ffc3d
3 changed files with 4 additions and 3 deletions

View file

@ -9,7 +9,7 @@ if (!is_numeric($toTime)) {
<!DOCTYPE html>
<html lang="en">
<head>
<title>Coming Soon 1</title>
<title><?php echo htmlentities($title); ?></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

View file

@ -7676,7 +7676,7 @@ function isIPPrivate($ip)
return false;
}
function countDownPage($toTime, $message, $image, $bgImage)
function countDownPage($toTime, $message, $image, $bgImage, $title)
{
global $global;
include $global['systemRootPath'] . 'objects/functionCountDownPage.php';

View file

@ -47,7 +47,8 @@ if ($toTime > time()) {
$message = "<strong>{$t['title']}</strong><br>{$t['description']}";
$image = User::getPhoto($t['users_id']);
$bgImage = LiveLinks::getImage($t['id']);
countDownPage($toTime, $message, $image, $bgImage);
$title = $t['title'];
countDownPage($toTime, $message, $image, $bgImage, $title);
}
$u = new User($t['users_id']);