source: branches/rsr.v5.1.1/web/app/out/dist/index.php @ 6

Last change on this file since 6 was 1, checked in by dj3c1t, 13 years ago

import initial

File size: 607 bytes
Line 
1<?php
2
3  $env->default_page = "2_colonnes";
4  $env->current_page = "";
5
6  $env->pages = array
7  ( "accueil" => "accueil",
8    "edito" => "edito",
9    "forum" => "forum",
10    "redirect" => "1_colonne",
11    "carte" => "carte",
12    "popup_info" => "popup"
13  );
14
15  $env->current_page = substr($env->e, 0, 4) == "set_" ? (substr($env->e, 0, 12) == "set_artiste_" ? "2_colonnes" : "admin") : $env->current_page;
16  $env->current_page = $env->pages[$env->e] ? $env->pages[$env->e] : ($env->current_page ? $env->current_page : $env->default_page);
17
18  require $env->out_file("layouts/".$env->current_page.".php");
19
20?>
Note: See TracBrowser for help on using the repository browser.