-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
39 lines (34 loc) · 1.37 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?
ini_set("display_errors",1);
error_reporting(E_ALL);
if(!empty($_GET['q'])) $url = $_GET['q']; else $url = '';
$url = rtrim($url, '/');
if(isset($url)){
$path = explode('/',$url);
} else $path =('');
require 'phpmailer/PHPMailerAutoload.php';
if ($path[0]=='') {require 'html/index.html';}
else if($path[0]=='service-envelop-set') {
require 'html/service-envelop-set.html';}
else if($path[0]=='service-exterior-antirain') {
require 'html/service-exterior-antirain.html';}
else if($path[0]=='service-exterior-ceramics') {
require 'html/service-exterior-ceramics.html';}
else if($path[0]=='service-exterior-glass') {
require 'html/service-exterior-glass.html';}
else if($path[0]=='service-exterior-rims') {
require 'html/service-exterior-rims.html';}
else if($path[0]=='service-hood-save-dry') {
require 'html/service-hood-save-dry.html';}
else if($path[0]=='service-hood-dry-wash') {
require 'html/service-hood-dry-wash.html';}
else if($path[0]=='service-interior-cleaning') {
require 'html/service-interior-cleaning.html';}
else if($path[0]=='service-interior-polish') {
require 'html/service-interior-polish.html';}
else if($path[0]=='service-interior-skin-care') {
require 'html/service-interior-skin-care.html';}
else if($path[0]=='service-interior-skin-save') {
require 'html/service-interior-skin-save.html';}
else require 'html/404.html';
?>