mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 12:00:06 +02:00
28 lines
911 B
PHP
28 lines
911 B
PHP
<?php
|
|
global $global, $config;
|
|
if (!isset($global['systemRootPath'])) {
|
|
require_once '../../videos/configuration.php';
|
|
}
|
|
if (!User::isAdmin()) {
|
|
header("Location: {$global['webSiteRootURL']}?error=" . __("You can not do this"));
|
|
exit;
|
|
}
|
|
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="<?php echo $_SESSION['language']; ?>">
|
|
<head>
|
|
<title><?php echo $config->getWebSiteTitle(); ?> :: VAST</title>
|
|
<?php
|
|
include $global['systemRootPath'] . 'view/include/head.php';
|
|
include $global['systemRootPath'] . 'plugin/AD_Server/index_head.php';
|
|
?>
|
|
</head>
|
|
<body class="<?php echo $global['bodyClass']; ?>">
|
|
<?php
|
|
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
include $global['systemRootPath'] . 'plugin/AD_Server/index_body.php';
|
|
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
?>
|
|
</body>
|
|
</html>
|