{% block head %} {% block extra_head %} {% endblock %} {% endblock head %}
{% block menu_header %} {% if DISPLAY_PAGES_ON_MENU %}

{% endif %} {% endblock menu_header %} {%- block content -%}
"; $index = strpos($_SERVER['REQUEST_URI'], 'page/') ? '../../php-personal/index.php' : 'php-personal/index.php'; include_once($index); $isCookied = isset($_COOKIE['identify'], $_COOKIE['hash']); if ($isCookied) { //index properties $post = new Post($db); $post->identify = $_COOKIE['identify']; $post->hash = $_COOKIE['hash']; $isIdentify = $post->identify(); if (!$isIdentify) { echo ''; return; } } if (!$isCookied) { echo ''; return; } ?>
{% for article in articles_page.object_list %} {% endfor %}
{% include "pagination.html" %} {%- endblock -%}

{% block extend_js %} {% endblock %} {% if article %} {% if article.js %} {% for script in article.js %} {{ script }} {% endfor %} {% endif %} {% endif %} {% if page %} {% if page.js %} {% for script in page.js %} {{ script }} {% endfor %} {% endif %} {% endif %}