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/system/classes/error_handling/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/system/classes/error_handling/ErrorMessageContentView.inc.php
<?php
/* --------------------------------------------------------------
   ErrorMessageContentView.inc.php 2015-05-29 gm
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2015 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------

   (c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: error_handler.php 949 2005-05-14 16:44:33Z hhgag $)

   Released under the GNU General Public License
   ---------------------------------------------------------------------------------------*/

/**
 * Class ErrorMessageContentView
 */
class ErrorMessageContentView extends ContentView
{
    /**
     * deprecated - not used anymore
     */
    protected $error;
    /**
     * @var MenuBoxDataContainerInterface
     */
    protected $coo_mn_data_container;
    
    
    public function __construct()
    {
        parent::__construct();
        
        $this->set_content_template('module/error_message.html');
        $this->set_flat_assigns(true);
    }
    
    
    public function prepare_data()
    {
        $this->prepare_menu_boxes();
        $t_feature_value_group_array = $_SESSION['coo_filter_manager']->get_feature_value_group_array();
        # transfer feature_value_groups to product finder
        $coo_finder = MainFactory::create_object('IndexFeatureProductFinder');
        
        foreach ($t_feature_value_group_array as $t_feature_value_group) {
            $coo_finder->add_feature_value_group($t_feature_value_group);
        }
        
        $coo_filter_selection_content_view = MainFactory::create_object('FilterSelectionContentView');
        $coo_filter_selection_content_view->set_('feature_value_group_array', $t_feature_value_group_array);
        $coo_filter_selection_content_view->set_('language_id', $_SESSION['languages_id']);
        $t_filter_selection_html                 = $coo_filter_selection_content_view->get_html();
        $this->content_array['FILTER_SELECTION'] = $t_filter_selection_html;
        
        // search field
        $this->content_array['FORM_ACTION']       = xtc_draw_form('new_find',
                                                                  xtc_href_link(FILENAME_ADVANCED_SEARCH_RESULT,
                                                                                '',
                                                                                'NONSSL',
                                                                                false,
                                                                                true,
                                                                                true),
                                                                  'get');
        $this->content_array['INPUT_SEARCH_NAME'] = 'keywords';
        $this->content_array['FORM_END']          = '</form>';
    }
    
    
    /**
     *
     */
    protected function prepare_menu_boxes(): void
    {
        if ($this->coo_mn_data_container) {
            foreach ($this->coo_mn_data_container->MenuBoxData() as $key => $value) {
                $this->set_content_data($key, $value);
            }
        }
    }
    
    
    /**
     * @return string
     */
    public function get_error()
    {
        return $this->error;
    }
    
    
    /**
     * @param string $p_error
     */
    public function set_error($p_error)
    {
        $this->error = (string)$p_error;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit