mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update page builder
This commit is contained in:
parent
a08af28ae1
commit
8341712d58
49 changed files with 2141 additions and 2740 deletions
|
@ -189,20 +189,12 @@ switch ($_GET['page']) {
|
||||||
$includeBody = $global['systemRootPath'] . 'view/charts_body.php';
|
$includeBody = $global['systemRootPath'] . 'view/charts_body.php';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
<!DOCTYPE html>
|
$_page = new Page(array('Administration'));
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<?php
|
|
||||||
echo getHTMLTitle(__("Administration"));
|
|
||||||
?>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
if (!empty($includeHead) && file_exists($includeHead)) {
|
if (!empty($includeHead) && file_exists($includeHead)) {
|
||||||
echo "<!-- Include $includeHead -->";
|
$_page->setIncludeInHead(array($includeHead));
|
||||||
include $includeHead;
|
|
||||||
echo "<!-- END Include $includeHead -->";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
|
@ -231,12 +223,6 @@ switch ($_GET['page']) {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
?>
|
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<br>
|
<br>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -346,13 +332,7 @@ switch ($_GET['page']) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
include_once $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('.adminOptionsForm').submit(function(e) {
|
$('.adminOptionsForm').submit(function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
@ -370,16 +350,20 @@ switch ($_GET['page']) {
|
||||||
modal.showPleaseWait();
|
modal.showPleaseWait();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: webSiteRootURL + 'objects/pluginSwitch.json.php',
|
url: webSiteRootURL + 'objects/pluginSwitch.json.php',
|
||||||
data: {"uuid": $(this).attr('uuid'), "name": $(this).attr('name'), "dir": $(this).attr('name'), "enable": $(this).is(":checked")},
|
data: {
|
||||||
|
"uuid": $(this).attr('uuid'),
|
||||||
|
"name": $(this).attr('name'),
|
||||||
|
"dir": $(this).attr('name'),
|
||||||
|
"enable": $(this).is(":checked")
|
||||||
|
},
|
||||||
type: 'post',
|
type: 'post',
|
||||||
success: function(response) {
|
success: function(response) {
|
||||||
modal.hidePleaseWait();
|
modal.hidePleaseWait();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
<?php
|
||||||
</html>
|
$_page->print();
|
||||||
|
?>
|
|
@ -14,6 +14,7 @@ class Page
|
||||||
private $includeFooter = true;
|
private $includeFooter = true;
|
||||||
private $includeBGAnimation = false;
|
private $includeBGAnimation = false;
|
||||||
private $includeInHead = array();
|
private $includeInHead = array();
|
||||||
|
private $includeInBody = array();
|
||||||
private $includeInFooter = array();
|
private $includeInFooter = array();
|
||||||
|
|
||||||
public function __construct($title, $bodyClass = '', $loadBasicCSSAndJS = false)
|
public function __construct($title, $bodyClass = '', $loadBasicCSSAndJS = false)
|
||||||
|
@ -92,6 +93,11 @@ class Page
|
||||||
$this->includeInHead = $includeInHead;
|
$this->includeInHead = $includeInHead;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setIncludeInBody(array $includeInBody)
|
||||||
|
{
|
||||||
|
$this->includeInBody = $includeInBody;
|
||||||
|
}
|
||||||
|
|
||||||
public function setIncludeInFooter(array $includeInFooter)
|
public function setIncludeInFooter(array $includeInFooter)
|
||||||
{
|
{
|
||||||
$this->includeInFooter = $includeInFooter;
|
$this->includeInFooter = $includeInFooter;
|
||||||
|
@ -117,7 +123,16 @@ class Page
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
include $global['systemRootPath'] . 'view/include/head.php';
|
||||||
if (!empty($this->includeInHead)) {
|
if (!empty($this->includeInHead)) {
|
||||||
foreach ($this->includeInHead as $value) {
|
foreach ($this->includeInHead as $value) {
|
||||||
include $global['systemRootPath'] . $value;
|
if(!empty($value)){
|
||||||
|
if(!file_exists($value)){
|
||||||
|
$value = $global['systemRootPath'] . $value;
|
||||||
|
}
|
||||||
|
if(file_exists($value)){
|
||||||
|
include $value;
|
||||||
|
}else{
|
||||||
|
echo "<!-- Page::includeInHead not found {$value} -->";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!empty($this->extraStyles)) {
|
if (!empty($this->extraStyles)) {
|
||||||
|
@ -157,7 +172,16 @@ class Page
|
||||||
}
|
}
|
||||||
if (!empty($this->includeInFooter)) {
|
if (!empty($this->includeInFooter)) {
|
||||||
foreach ($this->includeInFooter as $value) {
|
foreach ($this->includeInFooter as $value) {
|
||||||
include $global['systemRootPath'] . $value;
|
if(!empty($value)){
|
||||||
|
if(!file_exists($value)){
|
||||||
|
$value = $global['systemRootPath'] . $value;
|
||||||
|
}
|
||||||
|
if(file_exists($value)){
|
||||||
|
include $value;
|
||||||
|
}else{
|
||||||
|
echo "<!-- Page::includeInFooter not found {$value} -->";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!empty($this->extraScripts)) {
|
if (!empty($this->extraScripts)) {
|
||||||
|
@ -181,6 +205,20 @@ class Page
|
||||||
$this->getNavBar();
|
$this->getNavBar();
|
||||||
//echo '<div id="_avideoPageContentLoading" class="progress"><div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%"><span class="sr-only">Loading...</span></div></div>';
|
//echo '<div id="_avideoPageContentLoading" class="progress"><div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%"><span class="sr-only">Loading...</span></div></div>';
|
||||||
//echo '<div id="_avideoPageContent">';
|
//echo '<div id="_avideoPageContent">';
|
||||||
|
if (!empty($this->includeInBody)) {
|
||||||
|
foreach ($this->includeInBody as $value) {
|
||||||
|
if(!empty($value)){
|
||||||
|
if(!file_exists($value)){
|
||||||
|
$value = $global['systemRootPath'] . $value;
|
||||||
|
}
|
||||||
|
if(file_exists($value)){
|
||||||
|
include $value;
|
||||||
|
}else{
|
||||||
|
echo "<!-- Page::includeInBody not found {$value} -->";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
echo $this->bodyContent;
|
echo $this->bodyContent;
|
||||||
//echo '</div>';
|
//echo '</div>';
|
||||||
$this->getFooter();
|
$this->getFooter();
|
||||||
|
@ -207,4 +245,30 @@ class Page
|
||||||
include $global['systemRootPath'] . 'objects/include_end.php';
|
include $global['systemRootPath'] . 'objects/include_end.php';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function printEditorIndex($plugin, $classname)
|
||||||
|
{
|
||||||
|
$this->loadBasicCSSAndJS();
|
||||||
|
$this->setIncludeInHead(array("plugin/{$plugin}/View/{$classname}/index_head.php"));
|
||||||
|
$this->setIncludeInBody(array("plugin/{$plugin}/View/{$classname}/index_body.php"));
|
||||||
|
$this->print();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function printEditorIndexFromFile($file)
|
||||||
|
{
|
||||||
|
global $config, $global;
|
||||||
|
$file = str_replace($global['systemRootPath'], '', $file);
|
||||||
|
$title = str_replace('/index.php', '', $file);
|
||||||
|
$parts = explode('/View/', $title);
|
||||||
|
$title = $parts[1];
|
||||||
|
$title = ucwords(str_replace('_', ' ', $title));
|
||||||
|
$this->setTitle($title);
|
||||||
|
$head = str_replace('index.php', 'index_head.php', $file);
|
||||||
|
$body = str_replace('index.php', 'index_body.php', $file);
|
||||||
|
//var_dump($title, $file, $head, $body);exit;
|
||||||
|
$this->loadBasicCSSAndJS();
|
||||||
|
$this->setIncludeInHead(array($head));
|
||||||
|
$this->setIncludeInBody(array($body));
|
||||||
|
$this->print();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5482,6 +5482,10 @@ function getHTMLTitle($titleArray)
|
||||||
{
|
{
|
||||||
global $config, $global;
|
global $config, $global;
|
||||||
|
|
||||||
|
if(!empty($_REQUEST['catName'])){
|
||||||
|
$cat = Category::getCategoryByName($_REQUEST['catName']);
|
||||||
|
$titleArray[] = $cat['name'];
|
||||||
|
}
|
||||||
if (!is_array($titleArray)) {
|
if (!is_array($titleArray)) {
|
||||||
$titleArray = [];
|
$titleArray = [];
|
||||||
}
|
}
|
||||||
|
|
|
@ -222,6 +222,7 @@ function createEmailMessageFromTemplate($message)
|
||||||
|
|
||||||
global $global, $config;
|
global $global, $config;
|
||||||
$text = file_get_contents("{$global['systemRootPath']}view/include/emailTemplate.html");
|
$text = file_get_contents("{$global['systemRootPath']}view/include/emailTemplate.html");
|
||||||
|
$config = new AVideoConf();
|
||||||
$siteTitle = $config->getWebSiteTitle();
|
$siteTitle = $config->getWebSiteTitle();
|
||||||
$logo = "<img src=\"" . getURL($config->getLogo()) . "\" alt=\"{$siteTitle}\"/>";
|
$logo = "<img src=\"" . getURL($config->getLogo()) . "\" alt=\"{$siteTitle}\"/>";
|
||||||
|
|
||||||
|
|
|
@ -7,24 +7,8 @@ if (!User::isAdmin()) {
|
||||||
forbiddenPage("You can not do this");
|
forbiddenPage("You can not do this");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
$_page = new Page(array('VAST'));
|
||||||
|
$_page->setIncludeInHead(array('plugin/AD_Server/index_head.php'));
|
||||||
|
$_page->setIncludeInBody(array('plugin/AD_Server/index_body.php'));
|
||||||
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<?php
|
|
||||||
echo getHTMLTitle(__("VAST"));
|
|
||||||
?>
|
|
||||||
<?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>
|
|
||||||
|
|
|
@ -1,28 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
global $global, $config;
|
global $global, $config;
|
||||||
if (!isset($global['systemRootPath'])) {
|
if (!isset($global['systemRootPath'])) {
|
||||||
require_once '../../videos/configuration.php';
|
require_once '../../../../videos/configuration.php';
|
||||||
}
|
}
|
||||||
if (!User::isAdmin()) {
|
if (!User::isAdmin()) {
|
||||||
forbiddenPage("Must be admin");
|
forbiddenPage("Must be admin");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: CustomizeUser</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/CustomizeUser/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/CustomizeUser/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: CustomizeUser</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/CustomizeUser/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/CustomizeUser/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -7,22 +7,6 @@ if (!User::isAdmin()) {
|
||||||
forbiddenPage("Must be admin");
|
forbiddenPage("Must be admin");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: CustomizeUser</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/CustomizeUser/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/CustomizeUser/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,7 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Live") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Live/view/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Live/view/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,8 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array('Live Restream'));
|
||||||
|
$_page->setIncludeInHead(array('plugin/Live/view/Live_restreams_logs/index_head.phpp'));
|
||||||
|
$_page->setIncludeInBody(array('plugin/Live/view/Live_restreams_logs/index_body.php'));
|
||||||
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: Live</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Live/view/Live_restreams_logs/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Live/view/Live_restreams_logs/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,7 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: Live</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Live/view/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Live/view/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Live") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Live/view/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Live/view/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -7,23 +7,6 @@ if (!User::isAdmin()) {
|
||||||
forbiddenPage("You can not do this");
|
forbiddenPage("You can not do this");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Login Control") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/LoginControl/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/LoginControl/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Meet") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Meet/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Meet/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -7,23 +7,6 @@ if (!User::isAdmin()) {
|
||||||
forbiddenPage("You can not do this");
|
forbiddenPage("You can not do this");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Meet") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Meet/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Meet/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Meet") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Meet/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Meet/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -7,23 +7,6 @@ if (!User::isAdmin()) {
|
||||||
forbiddenPage("You can not do this");
|
forbiddenPage("You can not do this");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: PayPalYPT</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/PayPalYPT/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/PayPalYPT/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Permissions") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Permissions/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Permissions/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("PlayLists") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/PlayLists/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/PlayLists/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: Scheduler</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Scheduler/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Scheduler/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: Scheduler</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Scheduler/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Scheduler/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -7,23 +7,6 @@ if (!User::isAdmin()) {
|
||||||
forbiddenPage("You can not do this");
|
forbiddenPage("You can not do this");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: Scheduler</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Scheduler/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/Scheduler/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: UserNotifications</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/UserNotifications/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/UserNotifications/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -1,20 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
require_once '../../../videos/configuration.php';
|
require_once '../../../videos/configuration.php';
|
||||||
AVideoPlugin::loadPlugin("UserNotifications");
|
AVideoPlugin::loadPlugin("UserNotifications");
|
||||||
?>
|
$_page = new Page(array('UserNotifications'));
|
||||||
<!DOCTYPE html>
|
$_page->loadBasicCSSAndJS();
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: UserNotifications</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
?>
|
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.css"/>
|
|
||||||
<link href="<?php echo $global['webSiteRootURL']; ?>view/js/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css"/>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
?>
|
?>
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
|
@ -37,10 +25,6 @@ AVideoPlugin::loadPlugin("UserNotifications");
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
<script src="<?php echo $global['webSiteRootURL']; ?>js/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
|
|
||||||
<?php
|
<?php
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: VideoTags</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/VideoTags/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/VideoTags/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -1,20 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
require_once '../../../videos/configuration.php';
|
require_once '../../../videos/configuration.php';
|
||||||
AVideoPlugin::loadPlugin("VideoTags");
|
AVideoPlugin::loadPlugin("VideoTags");
|
||||||
?>
|
$_page = new Page(array('VideoTags'));
|
||||||
<!DOCTYPE html>
|
$_page->loadBasicCSSAndJS();
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: VideoTags</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
?>
|
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.css"/>
|
|
||||||
<link href="<?php echo $global['webSiteRootURL']; ?>view/js/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css"/>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
?>
|
?>
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
|
@ -37,10 +25,6 @@ AVideoPlugin::loadPlugin("VideoTags");
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
<script src="<?php echo $global['webSiteRootURL']; ?>js/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
|
|
||||||
<?php
|
<?php
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -7,21 +7,8 @@ if (!User::isAdmin()) {
|
||||||
forbiddenPage("You can not do this");
|
forbiddenPage("You can not do this");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
$_page = new Page(array('Tags'));
|
||||||
?>
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Tags") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/VideoTags/index_body.php';
|
include $global['systemRootPath'] . 'plugin/VideoTags/index_body.php';
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,22 +8,6 @@ if (!User::isAdmin()) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->printEditorIndexFromFile(__FILE__);
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: VideosStatistics</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/VideosStatistics/View/{$classname}/index_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'plugin/VideosStatistics/View/{$classname}/index_body.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -1,20 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
require_once '../../../videos/configuration.php';
|
require_once '../../../videos/configuration.php';
|
||||||
AVideoPlugin::loadPlugin("VideosStatistics");
|
AVideoPlugin::loadPlugin("VideosStatistics");
|
||||||
?>
|
$_page = new Page(array('VideosStatistics'));
|
||||||
<!DOCTYPE html>
|
$_page->loadBasicCSSAndJS();
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: VideosStatistics</title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
?>
|
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.css"/>
|
|
||||||
<link href="<?php echo $global['webSiteRootURL']; ?>view/js/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css"/>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
?>
|
?>
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
|
@ -37,10 +25,6 @@ AVideoPlugin::loadPlugin("VideosStatistics");
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="<?php echo $global['webSiteRootURL']; ?>view/css/DataTables/datatables.min.js"></script>
|
|
||||||
<script src="<?php echo $global['webSiteRootURL']; ?>js/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
|
|
||||||
<?php
|
<?php
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -11,20 +11,7 @@ $myBalance = $myWallet->getBalance(User::getId());
|
||||||
$planTitle = 'Test payment ' . date('Y-m-d h:i:s');
|
$planTitle = 'Test payment ' . date('Y-m-d h:i:s');
|
||||||
$_GET['plans_id'] = -1;
|
$_GET['plans_id'] = -1;
|
||||||
|
|
||||||
?>
|
$_page = new Page(array('Payment tests'));
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title><?php echo $config->getWebSiteTitle(); ?> :: Show Plans</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-fluid">
|
<div class="container-fluid">
|
||||||
|
|
||||||
|
@ -176,9 +163,7 @@ $_GET['plans_id'] = -1;
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -13,19 +13,7 @@ if (!empty($paypal)) {
|
||||||
$options = _json_decode($obj->addFundsOptions);
|
$options = _json_decode($obj->addFundsOptions);
|
||||||
//unset($_SESSION['addFunds_Success']);
|
//unset($_SESSION['addFunds_Success']);
|
||||||
//unset($_SESSION['addFunds_Fail']);
|
//unset($_SESSION['addFunds_Fail']);
|
||||||
?>
|
$_page = new Page(array('Add Funds'));
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Add Funds") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></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="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -82,16 +70,11 @@ $options = _json_decode($obj->addFundsOptions);
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<?php
|
||||||
</body>
|
$_page->print();
|
||||||
</html>
|
?>
|
|
@ -10,19 +10,7 @@ if (!User::isAdmin()) {
|
||||||
|
|
||||||
$plugin = AVideoPlugin::loadPluginIfEnabled("YPTWallet");
|
$plugin = AVideoPlugin::loadPluginIfEnabled("YPTWallet");
|
||||||
$obj = $plugin->getDataObject();
|
$obj = $plugin->getDataObject();
|
||||||
?>
|
$_page = new Page(array('Support Author'));
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Support Author") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></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="container">
|
||||||
|
@ -71,9 +59,6 @@ $obj = $plugin->getDataObject();
|
||||||
</div><!-- /.modal-content -->
|
</div><!-- /.modal-content -->
|
||||||
</div><!-- /.modal-dialog -->
|
</div><!-- /.modal-dialog -->
|
||||||
</div><!-- /.modal -->
|
</div><!-- /.modal -->
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
@ -101,8 +86,7 @@ $obj = $plugin->getDataObject();
|
||||||
return row.user + photo;
|
return row.user + photo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).on("loaded.rs.jquery.bootgrid", function ()
|
}).on("loaded.rs.jquery.bootgrid", function() {
|
||||||
{
|
|
||||||
/* Executes after data is loaded and rendered */
|
/* Executes after data is loaded and rendered */
|
||||||
grid.find(".command-edit").on("click", function(e) {
|
grid.find(".command-edit").on("click", function(e) {
|
||||||
var row_index = $(this).closest('tr').index();
|
var row_index = $(this).closest('tr').index();
|
||||||
|
@ -147,7 +131,7 @@ $obj = $plugin->getDataObject();
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
<?php
|
||||||
</html>
|
$_page->print();
|
||||||
|
?>
|
|
@ -12,26 +12,11 @@ $walletDataObject = $plugin->getDataObject();
|
||||||
|
|
||||||
$wallet = new Wallet(0);
|
$wallet = new Wallet(0);
|
||||||
$wallet->setUsers_id(User::getId());
|
$wallet->setUsers_id(User::getId());
|
||||||
|
$_page = new Page(array('Configuration'));
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Configuration") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
?>
|
|
||||||
<br>
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<?php echo AVideoPlugin::getWalletConfigurationHTML(User::getId(), $wallet, $walletDataObject); ?>
|
<?php echo AVideoPlugin::getWalletConfigurationHTML(User::getId(), $wallet, $walletDataObject); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -14,19 +14,7 @@ if (!empty($_GET['users_id'])) {
|
||||||
} else {
|
} else {
|
||||||
$users_id = User::getId();
|
$users_id = User::getId();
|
||||||
}
|
}
|
||||||
?>
|
$_page = new Page(array('History'));
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("History") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></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="container">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
|
@ -50,13 +38,10 @@ if (!empty($_GET['users_id'])) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (AVideoPlugin::isEnabledByName('MonetizeUsers')) {
|
if (AVideoPlugin::isEnabledByName('MonetizeUsers')) {
|
||||||
include $global['systemRootPath'] . 'plugin/MonetizeUsers/View/report.php';
|
include $global['systemRootPath'] . 'plugin/MonetizeUsers/View/report.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
?>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
@ -142,6 +127,7 @@ if (User::isAdmin()) {
|
||||||
<?php
|
<?php
|
||||||
if (User::isAdmin()) {
|
if (User::isAdmin()) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
function setStatus(status, wallet_log_id) {
|
function setStatus(status, wallet_log_id) {
|
||||||
modal.showPleaseWait();
|
modal.showPleaseWait();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
@ -167,7 +153,7 @@ if (User::isAdmin()) {
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
<?php
|
||||||
</html>
|
$_page->print();
|
||||||
|
?>
|
|
@ -10,19 +10,7 @@ if (!User::isLogged()) {
|
||||||
$plugin = AVideoPlugin::loadPluginIfEnabled("YPTWallet");
|
$plugin = AVideoPlugin::loadPluginIfEnabled("YPTWallet");
|
||||||
$obj = $plugin->getDataObject();
|
$obj = $plugin->getDataObject();
|
||||||
$options = _json_decode($obj->addFundsOptions);
|
$options = _json_decode($obj->addFundsOptions);
|
||||||
?>
|
$_page = new Page(array('Add Funds'));
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Add Funds") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></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="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -83,11 +71,6 @@ $options = _json_decode($obj->addFundsOptions);
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#manualAddFundsPageButton').click(function() {
|
$('#manualAddFundsPageButton').click(function() {
|
||||||
|
@ -116,6 +99,6 @@ $options = _json_decode($obj->addFundsOptions);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<?php
|
||||||
</body>
|
$_page->print();
|
||||||
</html>
|
?>
|
|
@ -10,18 +10,7 @@ if (!User::isLogged()) {
|
||||||
$plugin = AVideoPlugin::loadPluginIfEnabled("YPTWallet");
|
$plugin = AVideoPlugin::loadPluginIfEnabled("YPTWallet");
|
||||||
$obj = $plugin->getDataObject();
|
$obj = $plugin->getDataObject();
|
||||||
$options = _json_decode($obj->withdrawFundsOptions);
|
$options = _json_decode($obj->withdrawFundsOptions);
|
||||||
?>
|
$_page = new Page(array('Withdraw Funds'));
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Withdraw Funds") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></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="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -91,9 +80,6 @@ $options = _json_decode($obj->withdrawFundsOptions);
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#manualWithdrawFundsPageButton').click(function() {
|
$('#manualWithdrawFundsPageButton').click(function() {
|
||||||
|
@ -122,6 +108,6 @@ $options = _json_decode($obj->withdrawFundsOptions);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<?php
|
||||||
</body>
|
$_page->print();
|
||||||
</html>
|
?>
|
|
@ -7,19 +7,8 @@ if (!User::isAdmin()) {
|
||||||
forbiddenPage("You can not do this");
|
forbiddenPage("You can not do this");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Pending Requests") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
$_page = new Page(array('Pending Requests'));
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
?>
|
?>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
|
@ -45,10 +34,6 @@ if (!User::isAdmin()) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
@ -98,6 +83,7 @@ if (!User::isAdmin()) {
|
||||||
createTimer('.pendingTimers');
|
createTimer('.pendingTimers');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function setStatus(status, wallet_log_id) {
|
function setStatus(status, wallet_log_id) {
|
||||||
modal.showPleaseWait();
|
modal.showPleaseWait();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
@ -120,7 +106,7 @@ if (!User::isAdmin()) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
<?php
|
||||||
</html>
|
$_page->print();
|
||||||
|
?>
|
|
@ -2,7 +2,7 @@
|
||||||
$isFirstPage = 1;
|
$isFirstPage = 1;
|
||||||
global $global, $config;
|
global $global, $config;
|
||||||
if (!isset($global['systemRootPath'])) {
|
if (!isset($global['systemRootPath'])) {
|
||||||
require_once '../videos/configuration.php';
|
require_once __DIR__ . '/../../../videos/configuration.php';
|
||||||
}
|
}
|
||||||
require_once $global['systemRootPath'] . 'objects/video.php';
|
require_once $global['systemRootPath'] . 'objects/video.php';
|
||||||
require_once $global['systemRootPath'] . 'objects/category.php';
|
require_once $global['systemRootPath'] . 'objects/category.php';
|
||||||
|
@ -11,23 +11,9 @@ if(AVideoPlugin::isEnabledByName('PlayLists')){
|
||||||
PlayLists::loadScripts();
|
PlayLists::loadScripts();
|
||||||
}
|
}
|
||||||
$obj = AVideoPlugin::getObjectData("YouPHPFlix2");
|
$obj = AVideoPlugin::getObjectData("YouPHPFlix2");
|
||||||
|
$_page = new Page(array(''));
|
||||||
|
$_page->setIncludeInHead(array('plugin/YouPHPFlix2/view/modeFlixHead.php'));
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<script>
|
|
||||||
var webSiteRootURL = '<?php echo $global['webSiteRootURL']; ?>';
|
|
||||||
</script>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'plugin/YouPHPFlix2/view/modeFlixHead.php';
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
?>
|
|
||||||
|
|
||||||
<title><?php if(!empty($_REQUEST['catName'])){echo $_REQUEST['catName'].' - ';}; echo $config->getWebSiteTitle(); ?></title>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>" style="overflow-x: hidden;">
|
|
||||||
<?php include $global['systemRootPath'] . 'view/include/navbar.php'; ?>
|
|
||||||
|
|
||||||
<div class="container-fluid nopadding flickity-area" id="mainContainer" style="display:none;">
|
<div class="container-fluid nopadding flickity-area" id="mainContainer" style="display:none;">
|
||||||
<?php
|
<?php
|
||||||
include $global['systemRootPath'] . 'plugin/YouPHPFlix2/view/modeFlixBody.php';
|
include $global['systemRootPath'] . 'plugin/YouPHPFlix2/view/modeFlixBody.php';
|
||||||
|
@ -37,6 +23,6 @@ $obj = AVideoPlugin::getObjectData("YouPHPFlix2");
|
||||||
<?php
|
<?php
|
||||||
include $global['systemRootPath'] . 'plugin/YouPHPFlix2/view/modeFlixFooter.php';
|
include $global['systemRootPath'] . 'plugin/YouPHPFlix2/view/modeFlixFooter.php';
|
||||||
?>
|
?>
|
||||||
|
<?php
|
||||||
</body>
|
$_page->print();
|
||||||
</html>
|
?>
|
|
@ -4,21 +4,8 @@ global $global, $config;
|
||||||
if (!isset($global['systemRootPath'])) {
|
if (!isset($global['systemRootPath'])) {
|
||||||
require_once '../videos/configuration.php';
|
require_once '../videos/configuration.php';
|
||||||
}
|
}
|
||||||
?>
|
$_page = new Page(array('Dashboard'));
|
||||||
<!DOCTYPE html>
|
$_page->setIncludeInHead(array('view/charts_head.php'));
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Dashboard") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'view/charts_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'view/charts_body.php';
|
include $global['systemRootPath'] . 'view/charts_body.php';
|
||||||
include_once $global['systemRootPath'] . 'view/include/footer.php';
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -41,10 +41,6 @@
|
||||||
<?php echo AVideoPlugin::getChartContent(); ?>
|
<?php echo AVideoPlugin::getChartContent(); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" src="<?php echo getURL('view/css/DataTables/datatables.min.js'); ?>"></script>
|
|
||||||
<?php
|
|
||||||
include_once $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
<?php if (!empty($_GET['jump'])) { ?>
|
<?php if (!empty($_GET['jump'])) { ?>
|
||||||
|
|
|
@ -11,30 +11,8 @@ if (!User::isAdmin()) {
|
||||||
forbiddenPage('');
|
forbiddenPage('');
|
||||||
}
|
}
|
||||||
|
|
||||||
//var_dump($config);exit;
|
$_page = new Page(array('Configuration'));
|
||||||
?>
|
$_page->setIncludeInHead(array('view/configurations_head.php'));
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Configuration") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'view/configurations_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
?>
|
|
||||||
<div class="container-fluid">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/configurations_body.php';
|
include $global['systemRootPath'] . 'view/configurations_body.php';
|
||||||
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
if (User::isAdmin()) {
|
if (User::isAdmin()) {
|
||||||
?>
|
?>
|
||||||
|
<div class="container-fluid">
|
||||||
<form class="form-compact form-horizontal" id="updateConfigForm" onsubmit="">
|
<form class="form-compact form-horizontal" id="updateConfigForm" onsubmit="">
|
||||||
<div class="panel panel-default ">
|
<div class="panel panel-default ">
|
||||||
<div class="panel-heading tabbable-line">
|
<div class="panel-heading tabbable-line">
|
||||||
|
@ -653,7 +653,7 @@ if (User::isAdmin()) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
<script>
|
<script>
|
||||||
var logoCrop;
|
var logoCrop;
|
||||||
var logoSmallCrop;
|
var logoSmallCrop;
|
||||||
|
|
|
@ -9,22 +9,9 @@ if (!Category::canCreateCategory()) {
|
||||||
header("Location: {$global['webSiteRootURL']}?error=" . __("You can not manage categories"));
|
header("Location: {$global['webSiteRootURL']}?error=" . __("You can not manage categories"));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
?>
|
$_page = new Page(array('Categories'));
|
||||||
<!DOCTYPE html>
|
$_page->setIncludeInHead(array('view/managerCategories_head.php'));
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Categories") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
|
|
||||||
include $global['systemRootPath'] . 'view/managerCategories_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'view/managerCategories_body.php';
|
include $global['systemRootPath'] . 'view/managerCategories_body.php';
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php'; ?>
|
$_page->print();
|
||||||
</body>
|
?>
|
||||||
</html>
|
|
||||||
|
|
|
@ -7,22 +7,8 @@ if (!User::isAdmin()) {
|
||||||
gotToLoginAndComeBackHere(__("You can not manage plugins"));
|
gotToLoginAndComeBackHere(__("You can not manage plugins"));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
?>
|
$_page = new Page(array('Plugins'));
|
||||||
<!DOCTYPE html>
|
$_page->setIncludeInHead(array('view/managerPlugins_head.php'));
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Plugins") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'view/managerPlugins_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'view/managerPlugins_body.php';
|
include $global['systemRootPath'] . 'view/managerPlugins_body.php';
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -8,27 +8,8 @@ if (!Permissions::canAdminUsers()) {
|
||||||
header("Location: {$global['webSiteRootURL']}?error=" . __("You can not manage users"));
|
header("Location: {$global['webSiteRootURL']}?error=" . __("You can not manage users"));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
?>
|
$_page = new Page(array('Users'));
|
||||||
<!DOCTYPE html>
|
$_page->setIncludeInHead(array('view/managerUsers_head.php'));
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("Users") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'view/managerUsers_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
?>
|
|
||||||
<div class="container-fluid">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/managerUsers_body.php';
|
include $global['systemRootPath'] . 'view/managerUsers_body.php';
|
||||||
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -7,29 +7,8 @@ require_once $global['systemRootPath'] . 'objects/user.php';
|
||||||
if (!Permissions::canAdminUserGroups()) {
|
if (!Permissions::canAdminUserGroups()) {
|
||||||
forbiddenPage(__("You can not manage do this"));
|
forbiddenPage(__("You can not manage do this"));
|
||||||
}
|
}
|
||||||
?>
|
$_page = new Page(array('User Groups'));
|
||||||
<!DOCTYPE html>
|
$_page->setIncludeInHead(array('view/managerUsersGroups_head.php'));
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
|
||||||
<head>
|
|
||||||
<title><?php echo __("UserGroups") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'view/managerUsersGroups_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
?>
|
|
||||||
<div class="container-fluid">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/managerUsersGroups_body.php';
|
include $global['systemRootPath'] . 'view/managerUsersGroups_body.php';
|
||||||
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
|
||||||
?>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<div class="container-fluid">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
|
@ -74,8 +75,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
|
||||||
|
|
||||||
|
<script>
|
||||||
function pluginPermissionsBtn(plugins_id) {
|
function pluginPermissionsBtn(plugins_id) {
|
||||||
modal.showPleaseWait();
|
modal.showPleaseWait();
|
||||||
$('#groupFormModal').modal('hide');
|
$('#groupFormModal').modal('hide');
|
||||||
|
@ -102,8 +103,7 @@
|
||||||
ajax: true,
|
ajax: true,
|
||||||
url: "<?php echo $global['webSiteRootURL'] . "objects/usersGroups.json.php"; ?>",
|
url: "<?php echo $global['webSiteRootURL'] . "objects/usersGroups.json.php"; ?>",
|
||||||
formatters: {
|
formatters: {
|
||||||
"commands": function (column, row)
|
"commands": function(column, row) {
|
||||||
{
|
|
||||||
var editBtn = '<button type="button" class="btn btn-xs btn-default command-edit" data-row-id="' + row.id + '" data-toggle="tooltip" data-placement="left" title="<?php echo __('Edit'); ?>"><i class="fa-solid fa-pen-to-square"></i></button>'
|
var editBtn = '<button type="button" class="btn btn-xs btn-default command-edit" data-row-id="' + row.id + '" data-toggle="tooltip" data-placement="left" title="<?php echo __('Edit'); ?>"><i class="fa-solid fa-pen-to-square"></i></button>'
|
||||||
var deleteBtn = '<button type="button" class="btn btn-default btn-xs command-delete" data-row-id="' + row.id + ' data-toggle="tooltip" data-placement="left" title="<?php echo __('Delete'); ?>""><i class="fa fa-trash"></i></button>';
|
var deleteBtn = '<button type="button" class="btn btn-default btn-xs command-delete" data-row-id="' + row.id + ' data-toggle="tooltip" data-placement="left" title="<?php echo __('Delete'); ?>""><i class="fa fa-trash"></i></button>';
|
||||||
return editBtn + deleteBtn;
|
return editBtn + deleteBtn;
|
||||||
|
@ -162,7 +162,9 @@
|
||||||
modal.showPleaseWait();
|
modal.showPleaseWait();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: webSiteRootURL + 'objects/userGroupsDelete.json.php',
|
url: webSiteRootURL + 'objects/userGroupsDelete.json.php',
|
||||||
data: {"id": row.id},
|
data: {
|
||||||
|
"id": row.id
|
||||||
|
},
|
||||||
type: 'post',
|
type: 'post',
|
||||||
success: function(response) {
|
success: function(response) {
|
||||||
if (response.status === "1") {
|
if (response.status === "1") {
|
||||||
|
@ -214,5 +216,4 @@
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
|
@ -16,6 +16,7 @@ foreach ($userGroups as $value) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<link href="<?php echo getURL('node_modules/flickity/dist/flickity.min.css'); ?>" rel="stylesheet" type="text/css" />
|
<link href="<?php echo getURL('node_modules/flickity/dist/flickity.min.css'); ?>" rel="stylesheet" type="text/css" />
|
||||||
|
<div class="container-fluid">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading tabbable-line">
|
<div class="panel-heading tabbable-line">
|
||||||
<div class="btn-group pull-right">
|
<div class="btn-group pull-right">
|
||||||
|
@ -346,7 +347,7 @@ foreach ($userGroups as $value) {
|
||||||
</div><!-- /.modal-content -->
|
</div><!-- /.modal-content -->
|
||||||
</div><!-- /.modal-dialog -->
|
</div><!-- /.modal-dialog -->
|
||||||
</div><!-- /.modal -->
|
</div><!-- /.modal -->
|
||||||
|
</div>
|
||||||
<script src="<?php echo getURL('node_modules/flickity/dist/flickity.pkgd.min.js'); ?>" type="text/javascript"></script>
|
<script src="<?php echo getURL('node_modules/flickity/dist/flickity.pkgd.min.js'); ?>" type="text/javascript"></script>
|
||||||
<script src="<?php echo getURL('node_modules/flickity-bg-lazyload/bg-lazyload.js'); ?>" type="text/javascript"></script>
|
<script src="<?php echo getURL('node_modules/flickity-bg-lazyload/bg-lazyload.js'); ?>" type="text/javascript"></script>
|
||||||
|
|
||||||
|
|
|
@ -19,24 +19,9 @@ if (!empty($_GET['iframe'])) {
|
||||||
$_GET['noNavbar'] = 1;
|
$_GET['noNavbar'] = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
$_page = new Page(array('Videos'));
|
||||||
<!DOCTYPE html>
|
$_page->loadBasicCSSAndJS();
|
||||||
<html lang="<?php echo getLanguage(); ?>">
|
$_page->setIncludeInHead(array('view/managerVideos_head.php'));
|
||||||
<head>
|
|
||||||
<title><?php echo __("Audio and Video") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?></title>
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/head.php';
|
|
||||||
include $global['systemRootPath'] . 'view/managerVideos_head.php';
|
|
||||||
?>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body class="<?php echo $global['bodyClass']; ?>">
|
|
||||||
<?php
|
|
||||||
include $global['systemRootPath'] . 'view/include/navbar.php';
|
|
||||||
include $global['systemRootPath'] . 'view/managerVideos_body.php';
|
include $global['systemRootPath'] . 'view/managerVideos_body.php';
|
||||||
include $global['systemRootPath'] . 'view/include/footer.php';
|
$_page->print();
|
||||||
?>
|
?>
|
||||||
<script src="<?php echo getCDN(); ?>view/js/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
Add table
Add a link
Reference in a new issue