1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
Oinktube/view/userChannelArtUpload.php
2024-04-02 13:44:59 -03:00

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();
?>