View file 2/3020.ru/users/profile/section/index.php

File size: 262B
<?php
  
//Вызов страниц
$dir = ROOT.'/users/profile/'.DIRECT::F_GET('path').'/content/';
$get = DIRECT::F_GET('section').'.php';

IF (DIRECT::E_FILE($dir.$get) == TRUE){
  
  REQUIRE ($dir.$get);
  
}ELSE{
  
  REQUIRE ($dir.'index.php');
  
}
  
?>