092a8bc7ce
- Removed all backup/duplicate files - Removed test files from root - Consolidated documentation to /docs/ - Moved scripts to /scripts/ - Renamed f_* directories (removed prefix) - Organized icons and assets - Removed unused vendor directories - Cleaned up redundant config files
79 lines
3.9 KiB
PHP
79 lines
3.9 KiB
PHP
<?php
|
|
/*******************************************************************************************************************
|
|
| Software Name : EasyStream
|
|
| Software Description : High End YouTube Clone Script with Videos, Shorts, Streams, Images, Audio, Documents, Blogs
|
|
| Software Author : (c) Sami Ahmed
|
|
|*******************************************************************************************************************
|
|
|
|
|
|*******************************************************************************************************************
|
|
| This source file is subject to the EasyStream Proprietary License Agreement.
|
|
|
|
|
| By using this software, you acknowledge having read this Agreement and agree to be bound thereby.
|
|
|*******************************************************************************************************************
|
|
| Copyright (c) 2025 Sami Ahmed. All rights reserved.
|
|
|*******************************************************************************************************************/
|
|
|
|
defined('_ISVALID') or header('Location: /error');
|
|
|
|
/* footer pages array */
|
|
function footerPages()
|
|
{
|
|
global $language, $cfg;
|
|
|
|
$_fp = array(
|
|
"page-live" => array("link_name" => $language["footer.menu.item11"], //the link text/name
|
|
"page_name" => 'tpl_live.tpl', //load this template when link is clicked
|
|
"page_url" => '', //open this link instead (leave empty to load template)
|
|
"page_open" => 0), //open in new window
|
|
|
|
"page-partner" => array("link_name" => $language["footer.menu.item13"], //the link text/name
|
|
"page_name" => 'tpl_partner.tpl', //load this template when link is clicked
|
|
"page_url" => '', //open this link instead (leave empty to load template)
|
|
"page_open" => 0), //open in new window
|
|
|
|
"page-affiliate" => array("link_name" => $language["footer.menu.item12"], //the link text/name
|
|
"page_name" => 'tpl_affiliate.tpl', //load this template when link is clicked
|
|
"page_url" => '', //open this link instead (leave empty to load template)
|
|
"page_open" => 0), //open in new window
|
|
|
|
"page-about" => array("link_name" => $language["footer.menu.item2"],
|
|
"page_name" => 'tpl_about.tpl',
|
|
"page_url" => '',
|
|
"page_open" => 0),
|
|
|
|
"page-copyright" => array("link_name" => $language["footer.menu.item3"],
|
|
"page_name" => 'tpl_copyright.tpl',
|
|
"page_url" => '',
|
|
"page_open" => 0),
|
|
|
|
"page-dmca" => array("link_name" => $language["footer.menu.item14"],
|
|
"page_name" => 'tpl_dmca.tpl',
|
|
"page_url" => '',
|
|
"page_open" => 0),
|
|
|
|
"page-terms" => array("link_name" => $language["footer.menu.item6"],
|
|
"page_name" => 'tpl_terms.tpl',
|
|
"page_url" => '',
|
|
"page_open" => 0),
|
|
|
|
"page-privacy" => array("link_name" => $language["footer.menu.item7"],
|
|
"page_name" => 'tpl_privacy.tpl',
|
|
"page_url" => '',
|
|
"page_open" => 0),
|
|
);
|
|
|
|
if ($cfg["user_subscriptions"] == 0) {
|
|
unset($_fp["page-partner"]);
|
|
}
|
|
|
|
if ($cfg["live_module"] == 0) {
|
|
unset($_fp["page-live"]);
|
|
}
|
|
|
|
if ($cfg["affiliate_module"] == 0) {
|
|
unset($_fp["page-affiliate"]);
|
|
}
|
|
|
|
return $_fp;
|
|
}
|