mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
37 lines
No EOL
878 B
PHP
37 lines
No EOL
878 B
PHP
<?php
|
|
require_once '../../videos/configuration.php';
|
|
|
|
if (User::isAdmin() && !empty($_REQUEST['users_id'])) {
|
|
$users_id = intval($_REQUEST['users_id']);
|
|
}
|
|
if (empty($users_id)) {
|
|
$users_id = User::getId();
|
|
}
|
|
if (empty($users_id)) {
|
|
forbiddenPage('Empty user ID');
|
|
}
|
|
|
|
$_page = new Page(array("Login History"));
|
|
?>
|
|
<div class="container-fluid">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading tabbable-line">
|
|
<?php
|
|
echo Video::getCreatorHTML($users_id);
|
|
?>
|
|
</div>
|
|
<div class="panel-body">
|
|
<?php
|
|
include '../../plugin/LoginControl/profileTabContent.php';
|
|
?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
$(document).ready(function() {
|
|
$('#loginHistory').addClass('in');
|
|
});
|
|
</script>
|
|
<?php
|
|
$_page->print();
|
|
?>
|