2015-08-02 04:47:45 +02:00
|
|
|
<?php defined('BLUDIT') or die('Bludit CMS.');
|
|
|
|
|
|
|
|
// ============================================================================
|
|
|
|
// Check role
|
|
|
|
// ============================================================================
|
|
|
|
|
|
|
|
if($Login->role()!=='admin') {
|
|
|
|
Alert::set($Language->g('you-do-not-have-sufficient-permissions'));
|
2017-06-05 22:36:09 +02:00
|
|
|
Redirect::page('dashboard');
|
2015-08-02 04:47:45 +02:00
|
|
|
}
|
|
|
|
|
2015-08-03 02:49:12 +02:00
|
|
|
// ============================================================================
|
|
|
|
// Main after POST
|
|
|
|
// ============================================================================
|
|
|
|
|
2015-08-02 04:47:45 +02:00
|
|
|
// ============================================================================
|
|
|
|
// POST Method
|
|
|
|
// ============================================================================
|
|
|
|
|
|
|
|
// ============================================================================
|
2015-08-03 02:49:12 +02:00
|
|
|
// Main after POST
|
2015-08-02 04:47:45 +02:00
|
|
|
// ============================================================================
|
2015-08-02 06:40:24 +02:00
|
|
|
|
2016-01-16 15:01:29 +01:00
|
|
|
$themes = buildThemes();
|