💿Files

File location

To load the page quickly and simplify the work on the project, the site is divided into blocks

The your_website/assets/ directory contains an online players page, ladderbox, registration and site blocks that you can edit yourself.

Since everything is divided into parts, we can safely swap the site's container blocks in places. Just go to the main directory of the site and open the file index.php

Example:

<?php include('config.php'); ?> <?php require "assets/head.php"; ?> <?php require "assets/header.php"; ?> <?php require "assets/info.php"; ?> <?php require "assets/categories.php"; ?> <?php require "assets/announce.php"; ?> <?php require "assets/defence.php"; ?> <?php require "assets/latest-free-news.php"; ?> <?php require "assets/footer.php"; ?> <?php require "assets/end.php"; ?>

We change the rows for ourselves in places

<?php include('config.php'); ?> <?php require "assets/head.php"; ?> <?php require "assets/header.php"; ?> <?php require "assets/info.php"; ?> <?php require "assets/categories.php"; ?> <?php require "assets/announce.php"; ?> <?php require "assets/latest-free-news.php"; ?> <?php require "assets/defence.php"; ?> <?php require "assets/footer.php"; ?> <?php require "assets/end.php"; ?>

Ready! In this example, we have swapped the news output block from the forum with the defense block

Last updated