mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
29 lines
No EOL
611 B
PHP
29 lines
No EOL
611 B
PHP
<?php
|
|
global $global, $config;
|
|
if (!isset($global['systemRootPath'])) {
|
|
require_once '../videos/configuration.php';
|
|
}
|
|
|
|
if (!User::isLogged()) {
|
|
gotToLoginAndComeBackHere('');
|
|
}
|
|
|
|
$channelArtRelativePath = User::getBackgroundURLFromUserID(User::getId());
|
|
|
|
$finalWidth = 2560;
|
|
$finalHeight = 1440;
|
|
|
|
$screenWidth = 1024;
|
|
$screenHeight = 576;
|
|
|
|
$factorW = $screenWidth / $finalWidth;
|
|
$_page = new Page(array('Channel Art'));
|
|
?>
|
|
<div class="container">
|
|
<?php
|
|
include $global['systemRootPath'] . 'view/userChannelArtUploadInclude.php';
|
|
?>
|
|
</div>
|
|
<?php
|
|
$_page->print();
|
|
?>
|