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 :  /Old Sites/Engineering/V1/iimec/wp-content/themes/annotum-base/misc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/Engineering/V1/iimec/wp-content/themes/annotum-base/misc/callouts.php
<?php
/**
 * @package anno
 * This file is part of the Annotum theme for WordPress
 * Built on the Carrington theme framework <http://carringtontheme.com>
 *
 * Copyright 2008-2011 Crowd Favorite, Ltd. All rights reserved. <http://crowdfavorite.com>
 * Released under the GPL license
 * http://www.opensource.org/licenses/gpl-license.php
 */
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }

$opts = get_option('anno_callouts');
if(!$opts) {
	return;
}
$callouts = array();
// We only want options that have things in them...
$callouts = array();
if (!empty($opts) && is_array($opts)) {
	foreach ($opts as $arr) {
		foreach ($arr as $value) {
			if (!$value) { continue; }
			$callouts[] = $arr;
			break;
		}
	}
}
$num = count($callouts);
if ($num > 0) :
?>
<div class="callouts callouts-<?php echo $num; ?>x">
	<ul class="clearfix">
		<?php
		$i = 0;
		foreach ($callouts as $callout):
			$li_class = ($i == 0 ? ' class="first-child"' : '');
			$url = esc_url($callout['url']);
			$title = esc_attr($callout['title']);
			$content = $callout['content'];
			?>
			<li<?php echo $li_class; ?>>
				<section class="callout-item">
					<?php if ($title): ?>
						<?php if ($url): ?>
							<h1 class="title"><a href="<?php echo $url ?>"><?php echo $title; ?></a></h1>
						<?php else: ?>
							<h1 class="title"><?php echo $title; ?></h1>
						<?php endif ?>
					<?php endif ?>
					<div class="content">
						<?php echo $content; ?>
					</div><!-- .content -->
				</section>
			</li>
		<?php
			$i++;
		endforeach ?>
	</ul>
</div>
<?php
endif; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit