Старт

This commit is contained in:
2023-11-07 19:51:49 +06:00
commit 86542a157f
5002 changed files with 199551 additions and 0 deletions

22
site/main.php Normal file
View File

@ -0,0 +1,22 @@
<?php
$url=getURL();
$lng=cutBeforeFirst($url, '/');
if(getURL()=="" || getURL()=="/") {
include 'index_en.html'; //Основной зык английский и он будет на главной странице
}elseif (getURL()=='ru' || getURL()=='ru/'){
include 'about_ru.html';
}elseif (getURL()=='en/about.html'){
include 'about_en.html';
}elseif (getURL()=='ru/about.html'){
include 'about_ru.html';
}elseif(getURL()=="/ru/connecting-and-configuring-a-gps-tracker.html" || getURL()=="/en/connecting-and-configuring-a-gps-tracker.html"){
}else{
//echo 'Error URL: "'.getURL().'" not found in database!';
include '404.html';
}