mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
26 lines
No EOL
742 B
PHP
26 lines
No EOL
742 B
PHP
<?php
|
|
require_once '../../../videos/configuration.php';
|
|
require_once $global['systemRootPath'] . 'objects/user.php';
|
|
require_once $global['systemRootPath'] . 'objects/functions.php';
|
|
|
|
if (!User::isLogged()) {
|
|
header("Location: {$global['webSiteRootURL']}");
|
|
}
|
|
|
|
$plugin = AVideoPlugin::loadPluginIfEnabled("YPTWallet");
|
|
$walletDataObject = $plugin->getDataObject();
|
|
|
|
$wallet = new Wallet(0);
|
|
$wallet->setUsers_id(User::getId());
|
|
$_page = new Page(array('Configuration'));
|
|
?>
|
|
<div class="container">
|
|
<div class="panel panel-default">
|
|
<div class="panel-body">
|
|
<?php echo AVideoPlugin::getWalletConfigurationHTML(User::getId(), $wallet, $walletDataObject); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php
|
|
$_page->print();
|
|
?>
|