Your IP : 216.73.216.228


Current Path : /proc/thread-self/root/proc/thread-self/root/home/digilove/.cagefs/tmp/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/home/digilove/.cagefs/tmp/phpNuAsML

home/digilove/public_html/components/com_marketplace/views/follow/view.html.php000064400000003562152346101020024200 0ustar00<?php
/**
 * Marketplace - Component Marketplace 
 * ******************************************************************
 *
 * PHP version 7.0
 *
 * @category   Component
 * @package    Joomla
 * @author     WebKul software private limited <support@webkul.com>
 * @copyright  2010 WebKul software private limited
 * @license    http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @version    GIT:5.2
 * @filesource http://store.webkul.com
 * @link       Technical Support:  webkul.uvdesk.com
 * ******************************************************************
 */
// no direct access
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.view');
if (!class_exists('MarketplaceHelper')) {
    include JPATH_ADMINISTRATOR."components/com_marketplace/helpers.marketplace.php";
}
/**
 * MarketplaceViewFollow class of JViewLegacy
 * 
 * @category Component
 * @package  Joomla
 * @author   WebKul software private limited <support@webkul.com>
 * @license  http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @link     Technical Support:  webkul.uvdesk.com
 */
class MarketplaceViewFollow extends JViewLegacy
{
    /**
     * This is display function 
     *
     * @param [type] $tpl var
     * 
     * @return void
     */
    public function display($tpl = null)
    {
        global $option;
        $jinput=JFactory::getApplication()->input;
        $method=$jinput->getMethod();
        $sel_id=$jinput->get('sel_id', 0, 'INT');
        if (!$sel_id) {
            $sel_id=$jinput->get('seller_id', 0, 'INT');
        }
        $uid=JFactory::getUser()->id;
        $isseller=MarketplaceHelper::checkseller($sel_id);
        if ($sel_id && isset($isseller)) {
            parent::display($tpl);
        } else {
            JFactory::getApplication()->enqueueMessage(
                JText::_('SOMETHING_IS_WRONG'),
                'error'
            );
        }
    }
}
home/digilove/public_html/components/com_weblinks/views/category/view.html.php000064400000005125152351356370024056 0ustar00<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_weblinks
 *
 * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * HTML View class for the WebLinks component
 *
 * @since  1.5
 */
class WeblinksViewCategory extends JViewCategory
{
	/**
	 * Execute and display a template script.
	 *
	 * @param   string  $tpl  The name of the template file to parse; automatically searches through the template paths.
	 *
	 * @return  mixed  A string if successful, otherwise a Error object.
	 */
	public function display($tpl = null)
	{
		parent::commonCategoryDisplay();

		// Prepare the data.
		// Compute the weblink slug & link url.
		foreach ($this->items as $item)
		{
			$item->slug = $item->alias ? ($item->id . ':' . $item->alias) : $item->id;

			if ($item->params->get('count_clicks', $this->params->get('count_clicks')) == 1)
			{
				$item->link = JRoute::_('index.php?option=com_weblinks&task=weblink.go&id=' . $item->id);
			}
			else
			{
				$item->link = $item->url;
			}

			$temp = new JRegistry;
			$temp->loadString($item->params);
			$item->params = clone($this->params);
			$item->params->merge($temp);
		}

		return parent::display($tpl);
	}

	/**
	 * Prepares the document
	 *
	 * @return  void
	 */
	protected function prepareDocument()
	{
		parent::prepareDocument();

		$app		= JFactory::getApplication();
		$menus		= $app->getMenu();
		$pathway	= $app->getPathway();
		$title 		= null;

		// Because the application sets a default page title,
		// we need to get it from the menu item itself
		$menu = $menus->getActive();

		if ($menu)
		{
			$this->params->def('page_heading', $this->params->get('page_title', $menu->title));
		}
		else
		{
			$this->params->def('page_heading', JText::_('COM_WEBLINKS_DEFAULT_PAGE_TITLE'));
		}

		$id = (int) @$menu->query['id'];

		if ($menu && ($menu->query['option'] != 'com_weblinks' || $id != $this->category->id))
		{
			$this->params->set('page_subheading', $this->category->title);
			$path = array(array('title' => $this->category->title, 'link' => ''));
			$category = $this->category->getParent();

			while (($menu->query['option'] != 'com_weblinks' || $id != $category->id) && $category->id > 1)
			{
				$path[] = array('title' => $category->title, 'link' => WeblinksHelperRoute::getCategoryRoute($category->id));
				$category = $category->getParent();
			}

			$path = array_reverse($path);

			foreach ($path as $item)
			{
				$pathway->addItem($item['title'], $item['link']);
			}
		}

		parent::addFeed();
	}
}
home/digilove/public_html/components/com_marketplace/views/login/view.html.php000064400000002246152351601300024006 0ustar00<?php
/**
 * Marketplace - Component Marketplace 
 * ******************************************************************
 *
 * PHP version 7.0
 *
 * @category   Component
 * @package    Joomla
 * @author     WebKul software private limited <support@webkul.com>
 * @copyright  2010 WebKul software private limited
 * @license    http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @version    GIT:5.2
 * @filesource http://store.webkul.com
 * @link       Technical Support:  webkul.uvdesk.com
 * ******************************************************************
 */
// no direct access
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.view');
/**
 * MarketplaceViewLogin class
 * 
 * @category Component
 * @package  Joomla
 * @author   WebKul software private limited <support@webkul.com>
 * @license  http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @link     Technical Support:  webkul.uvdesk.com
 */
class MarketplaceViewLogin extends JViewLegacy
{
    /**
     * This is display function
     *
     * @param [type] $tpl var
     * 
     * @return void
     */
    public function display($tpl = null)
    {
        parent::display($tpl);
    }
}
home/digilove/public_html/components/com_marketplace/views/sellerprofile/view.html.php000064400000005256152351774120025564 0ustar00