403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.217.73
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/tgnew/wp-content/plugins/lcs-google-dfp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tgnew/wp-content/plugins/lcs-google-dfp/lcs_google_dfp.php
<?php
/*
Plugin Name: LCS Google DFP
Description: Adds shortcodes for Google DFP advertisements.
Version: 1.0
Author: LatCom Systems
Author URI: http://www.latcomsystems.com/
*/
	add_shortcode( 'lcs_dfp_setup', 'lcs_dfp_setup' );
	add_shortcode( 'lcs_banner_ad', 'lcs_banner_ad' );
	add_shortcode( 'lcs_sidebar_ad', 'lcs_sidebar_ad' );
	
	function lcs_dfp_setup( $atts = null, $content = null ) {
		ob_start();
?>
		<script data-cfasync="false" async="async" src="https://www.googletagservices.com/tag/js/gpt.js"></script>
		<script type="text/javascript">
			var googletag = googletag || {};
			googletag.cmd = googletag.cmd || [];
			<?php /*
			(function() {
				var gads = document.createElement('script');
				gads.async = true;
				gads.type = 'text/javascript';
				var useSSL = 'https:' == document.location.protocol;
				gads.src = (useSSL ? 'https:' : 'http:') +
				  '//www.googletagservices.com/tag/js/gpt.js';
				var node = document.getElementsByTagName('script')[0];
				node.parentNode.insertBefore(gads, node);
			})();
			*/ ?>
		</script>
		
		<script type="text/javascript">
			googletag.cmd.push(function() {
				//googletag.defineSlot('/1197619/Thought-Gallery-300x250', [300, 250], 'div-gpt-ad-1470084732065-0').addService(googletag.pubads());
				//googletag.defineSlot('/1197619/ThoughtGallery728', [728, 90], 'div-gpt-ad-1470084732065-1').addService(googletag.pubads());
				//googletag.pubads().enableSingleRequest();
				//googletag.enableServices();
			});
		</script>
<?php
		$out = ob_get_clean();
		return $out;
	}

	function lcs_sidebar_ad( $atts = null, $content = null ) {
		ob_start();
?>
		<!-- /1197619/Thought-Gallery-300x250 -->
		<div id="div-gpt-ad-1470084732065-0" style="height:250px; width:300px;">
			<a target="_blank" href="http://greatcometbroadway.com/?gclid=CK23hMjNos4CFQEmhgod0wgBI"><img style="max-width:100%;" src="//thoughtgallery.org/wp-content/uploads/2016/08/groban.jpeg"  /></a>
			<script type="text/javascript">
				//googletag.cmd.push(function() { googletag.display('div-gpt-ad-1470084732065-0'); });
			</script>
		</div>
<?php
		$out = ob_get_clean();
		return $out;
	}

	function lcs_banner_ad( $atts = null, $content = null ) {
		ob_start();
?>
		<!-- /1197619/ThoughtGallery728 -->
		<div id="div-gpt-ad-1470084732065-1" style="height:auto; max-width:728px; width:100%;">
			<a target="_blank" href="http://www.cbs.com/shows/star-trek-discovery/"><img style="max-width:100%;" src="//thoughtgallery.org/wp-content/uploads/2016/08/topresponsive.jpg"  /></a>
			<script type="text/javascript">
				//googletag.cmd.push(function() { googletag.display('div-gpt-ad-1470084732065-1'); });
			</script>
			<?php /*
			<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
			<!-- TG Responsive -->
			<ins class="adsbygoogle"
				 style="display:block"
				 data-ad-client="ca-pub-1698808100546822"
				 data-ad-slot="6260760688"
				 data-ad-format="auto"></ins>
			<script>
				(adsbygoogle = window.adsbygoogle || []).push({});
			</script>
			*/ ?>
		</div>
<?php
		$out = ob_get_clean();
		return $out;
	}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit