</div>
</div>
</div>
<? } ?>
</div>
</div>
<?
$posts_count = ceil( count(get_posts( array(
'post_type' => 'page',
'meta_key' => 'регистрация_открыта',
'meta_value' => 0,
'numberposts' => -1
) ) ) / 3 );
$pages = kama_paginate_links_data( array(
'total' => $posts_count,
'current' => 1,
'url_base' => '?paged={pagenum}',
'first_url' => '',
'mid_size' => 2,
'end_size' => 1,
'show_all' => false,
'a_text_patt' => '%s',
'is_prev_next' => false,
'prev_text' => '« Previous',
'next_text' => 'Next »',
) );
$count_pages = count( $pages );
if ( $pages ) {
?>
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
| Key | Value |
| SERVER_SOFTWARE | nginx/1.26.1 |
| REQUEST_URI | /events/ |
| USER | mclouds_ru_usr |
| HOME | /var/www/mclouds_ru_usr/data |
| HTTP_REFERER | https://mclouds.ru/events |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| HTTP_X_FORWARDED_PORT | 443 |
| HTTP_X_FORWARDED_HOST | mclouds.ru |
| HTTP_X_FORWARDED_PROTO | https |
| HTTP_X_FORWARDED_FOR | 216.73.216.188, 216.73.216.188 |
| HTTP_X_REAL_IP | 216.73.216.188, 216.73.216.188 |
| HTTP_HOST | mclouds.ru |
| HTTP_CONNECTION | upgrade |
| SCRIPT_FILENAME | /var/www/mclouds_ru_usr/data/www/mclouds.ru/index.php |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | mclouds.ru |
| SERVER_PORT | 443 |
| SERVER_ADDR | 192.168.100.98 |
| REMOTE_PORT | |
| REMOTE_ADDR | 216.73.216.188 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /var/www/mclouds_ru_usr/data/www/mclouds.ru |
| DOCUMENT_URI | /index.php |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1762005846.5167 |
| REQUEST_TIME | 1762005846 |
| argv | Array ( ) |
| argc | 0 |
| Key | Value |
| USER | mclouds_ru_usr |
| HOME | /var/www/mclouds_ru_usr/data |
| HTTP_REFERER | https://mclouds.ru/events |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| HTTP_X_FORWARDED_PORT | 443 |
| HTTP_X_FORWARDED_HOST | mclouds.ru |
| HTTP_X_FORWARDED_PROTO | https |
| HTTP_X_FORWARDED_FOR | 216.73.216.188, 216.73.216.188 |
| HTTP_X_REAL_IP | 216.73.216.188, 216.73.216.188 |
| HTTP_HOST | mclouds.ru |
| HTTP_CONNECTION | upgrade |
| SCRIPT_FILENAME | /var/www/mclouds_ru_usr/data/www/mclouds.ru/index.php |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | mclouds.ru |
| SERVER_PORT | 443 |
| SERVER_ADDR | 192.168.100.98 |
| REMOTE_PORT | |
| REMOTE_ADDR | 216.73.216.188 |
| SERVER_SOFTWARE | nginx/1.26.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /var/www/mclouds_ru_usr/data/www/mclouds.ru |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /events/ |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1762005846.5167 |
| REQUEST_TIME | 1762005846 |
| argv | Array ( ) |
| argc | 0 |