forked from WWBN/AVideo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserChannelArtUpload.php
43 lines (38 loc) · 1.08 KB
/
userChannelArtUpload.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?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;
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo __("Channel Art"); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>
</head>
<body class="<?php echo $global['bodyClass']; ?>">
<?php
include $global['systemRootPath'] . 'view/include/navbar.php';
?>
<div class="container">
<br>
<?php
include $global['systemRootPath'] . 'view/userChannelArtUploadInclude.php';
?>
</div><!--/.container-->
<?php
include $global['systemRootPath'] . 'view/include/footer.php';
?>
</body>
</html>