forked from WWBN/AVideo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforbiddenPage.php
63 lines (63 loc) · 2.44 KB
/
forbiddenPage.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
require_once dirname(__FILE__) . '/../videos/configuration.php';
$config = new Configuration();
$global['isForbidden'] = true;
?>
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['language']; ?>">
<head>
<title><?php echo __("Forbidden") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';
?>
</head>
<body>
<?php
if(!isEmbed()){
include $global['systemRootPath'] . 'view/include/navbar.php';
}
CustomizeUser::autoIncludeBGAnimationFile();
?>
<div class="container">
<?php
include $global['systemRootPath'] . 'view/img/image403.php';
if (!empty($unlockPassword)) {
?>
<form method="post" action="#">
<div class="row">
<div class="col-sm-8">
<?php
$value = '';
if (!empty($_REQUEST['unlockPassword'])) {
$value = $_REQUEST['unlockPassword'];
}
echo getInputPassword('unlockPassword', 'class="form-control" value="' . $value . '"', __('Unlock Password'));
?>
</div>
<div class="col-sm-4">
<button class="btn btn-success btn-block" type="submit"><i class="fas fa-lock-open"></i> <?php echo __('Unlock'); ?></button>
</div>
<div class="col-sm-12">
<?php
if (!empty($_REQUEST['unlockPassword'])) {
?>
<div class="alert alert-danger">
<?php
echo __('Invalid password');
?>
</div>
<?php
}
?>
</div>
</div>
</form>
<?php
}
?>
</div>
<?php
include $global['systemRootPath'] . 'view/include/footer.php';
?>
</body>
</html>