403Webshell
Server IP : 23.111.136.34  /  Your IP : 216.73.216.136
Web Server : Apache
System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : meusitei ( 1072)
PHP Version : 5.6.40
Disable Function : show_source, system, shell_exec, passthru, proc_open
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/meusitei/public_html/central/ajuda/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/meusitei/public_html/central/ajuda/article.php
<?php

/******************************************************************************
* Category <category.php>
*
*	This file is used when the client wants to view a category
*
* Author: Michael McMullen <michael.mcmullen@tutelagesystems.com>
******************************************************************************/

require_once '../System/configuration.php';

class CategoryPage extends MasterTemplate
{
	
	var $template					= '_article.html';
	var $output 					= array();
	// Processing Variables
	var $article_id				= 0;
	
	function CategoryPage()
	{
		// Call the Master Template Constructor
		parent::__construct();
		
		// Fill in Variables
		$this->article_id = intval($_GET['article_id']);
		
		// Add a Crumb
		$this->AddBreadCrumb('Welcome', 'index.php');
		
		// Find Selected Category
		$this->output['article'] = $this->GetArticle($this->article_id);
		
		// If we found the Category, add a bread crumb
		if(!empty($this->output['article']))
		{
			// Fill in SEO
			$this->SetSEO($this->output['article']['article_name'], $this->output['article']['article_text'], array($this->output['article']['article_name']));
			
			$this->AddBreadCrumb($this->output['article']['category']['category_name'], $this->output['webRoot'] .'/category.php?category_id='. $this->output['article']['article_category_id']);
			$this->AddBreadCrumb($this->output['article']['article_name'], null);
		}
		
		// Render the Template
		$this->RenderTemplate();
	}
	
	// Renders the index template (called from master)
	function outputBody()
	{
		$body = new HTML_Template_Flexy($this->config['flexy']);
		$body->compile($this->template);
		$body->outputObject($this);
	}
}

new CategoryPage();

Youez - 2016 - github.com/yon3zu
LinuXploit