403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/templates/Honeygrid/source/boxes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/templates/Honeygrid/source/boxes/megadropdown.php
<?php
/* --------------------------------------------------------------
  megadropdown.php 2016-03-16
  Gambio GmbH
  http://www.gambio.de
  Copyright (c) 2016 Gambio GmbH
  Released under the GNU General Public License (Version 2)
  [http://www.gnu.org/licenses/gpl-2.0.html]
  --------------------------------------------------------------
 */

$categoryId = $this->category_id;
if($this->category_id === null && is_string($this->c_path))
{
	$categoryId = array_pop(explode('_', $this->c_path));
}

// Categories Top
/** @var CategoriesMenuBoxContentView $coo_content_view */
$coo_content_view = MainFactory::create_object('CategoriesMenuBoxContentView');
$coo_content_view->set_content_template('boxes/box_categories_top.html');
$coo_content_view->set_tree_depth(gm_get_conf('CATEGORY_TOP_SHOW_LEVEL'));
$coo_content_view->setCategoryId($categoryId);
$coo_content_view->setCPath($this->c_path);
$t_html = $coo_content_view->get_html();
$this->set_content_data('CATEGORIES_TOP', $t_html);

// Megadropdowns
$coo_content_view = MainFactory::create_object('CategoriesMenuBoxContentView');
$coo_content_view->set_content_template('module/megadropdown.html');
$coo_content_view->set_tree_depth(1);
$coo_content_view->setCategoryId($categoryId);
$coo_content_view->setCPath($this->c_path);

/** @var CategoriesAgent $coo_categories_agent */
$coo_categories_agent = MainFactory::create_object('CategoriesAgent', array(), true);
$t_categories_info_array = $coo_categories_agent->get_categories_info_tree(0, $_SESSION['languages_id'], 0);

$t_html = '';

for($i = 0; $i < sizeof($t_categories_info_array); $i++)
{
	$t_categories_id = $t_categories_info_array[$i]['data']['id'];
	$coo_content_view->setCurrentCategoryId($t_categories_id);
	$t_html .= $coo_content_view->get_html();
}

$this->set_content_data('CATEGORIES_DROPDOWN', $t_html);

Youez - 2016 - github.com/yon3zu
LinuXploit