meraproject/content/admin/blocks/content.php

16 lines
484 B
PHP
Raw Permalink Normal View History

<?
use ms\ms\structure\ePages as Pages;
if(IF_AUTH){
include_once(dirname(__FILE__).'/../jade/index.php');
} else {
switch (Site::$URL[0]){
case Pages::REG : include_once(dirname(__FILE__).'/../jade/profile/reg.php'); break;
case Pages::REMIND : include_once(dirname(__FILE__).'/../jade/profile/remind.php'); break;
case Pages::AUTH :
default : include_once(dirname(__FILE__).'/../jade/profile/auth.php'); break;
}
}