forked from WWBN/AVideo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.php
76 lines (66 loc) · 3.25 KB
/
about.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
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
global $global, $config;
if(!isset($global['systemRootPath'])){
require_once '../videos/configuration.php';
}
?>
<!DOCTYPE html>
<html lang="<?php echo $config->getLanguage(); ?>">
<head>
<title><?php echo $config->getWebSiteTitle(); ?> :: <?php echo __("About"); ?></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">
<div class="bgWhite">
<?php
$custom = "";
if (AVideoPlugin::isEnabled("c4fe1b83-8f5a-4d1b-b912-172c608bf9e3")) {
require_once $global['systemRootPath'] . 'plugin/Customize/Objects/ExtraConfig.php';
$ec = new ExtraConfig();
$custom = $ec->getAbout();
}
if(empty($custom)){
?>
<h1><?php echo __("I would humbly like to thank God for giving me the necessary knowledge, motivation, resources and idea to be able to execute this project. Without God's permission this would never be possible."); ?></h1>
<blockquote class="blockquote">
<h1><?php echo __("For of Him, and through Him, and to Him, are all things: to whom be glory for ever. Amen."); ?></h1>
<footer class="blockquote-footer">Apostle Paul in <cite title="Source Title">Romans 11:36</cite></footer>
</blockquote>
<div class="btn-group btn-group-justified">
<a href="https://www.avideo.com/" class="btn btn-success">Main Site</a>
<a href="https://demo.avideo.com/" class="btn btn-danger">Demo Site</a>
<a href="https://tutorials.avideo.com/" class="btn btn-primary">Tutorials Site</a>
<a href="https://github.com/WWBN/AVideo/issues" class="btn btn-warning">Issues and requests Site</a>
</div>
<span class="label label-success"><?php printf(__("You are running AVideo version %s!"), $config->getVersion()); ?></span>
<span class="label label-success">
<?php printf(__("You can upload max of %s!"), get_max_file_size()); ?>
</span>
<span class="label label-success">
<?php printf(__("You can storage %s minutes of videos!"), (empty($global['videoStorageLimitMinutes']) ? "unlimited" : $global['videoStorageLimitMinutes'])); ?>
</span>
<span class="label label-success">
<?php printf(__("You have %s minutes of videos!"), number_format(getSecondsTotalVideosLength() / 6, 2)); ?>
</span>
<?php
}else{
echo $custom;
}
?>
</div>
</div><!--/.container-->
<?php
include $global['systemRootPath'] . 'view/include/footer.php';
?>
<script>
$(document).ready(function () {
});
</script>
</body>
</html>