//internal info: server version
$MAGICSMOKEVERSION="0.1 alpha";
//load DB drivers
-include('./inc/db.php');
-include('./inc/db_mysql.php');
+include('./inc/db/db.php');
+include('./inc/db/db_mysql.php');
include('./config.php');
-include('./inc/db_scheme.php');
+include('./inc/db/db_scheme.php');
//try to connect
$db->tryConnect();
//move on in loader_nonadmin.php (or admin.php)
if(!$db->canUseDb())
die("Database is not correctly configured. Giving up.");
//load class-files
-include('./inc/event.php');
-include('./inc/room.php');
-include("./inc/random.php");
-include("./inc/order.php");
-include("./inc/ticket.php");
-include("./inc/cart.php");
-include('./inc/error.php');
-include('./inc/language_manager.php');
-include('./inc/parser.php');
-include('./inc/config_manager.php');
-include('./inc/customer.php');
+include('./inc/classes/event.php');
+include('./inc/classes/room.php');
+include("./inc/classes/random.php");
+include("./inc/classes/order.php");
+include("./inc/classes/ticket.php");
+include("./inc/classes/cart.php");
+include('./inc/classes/error.php');
+include('./inc/classes/language_manager.php');
+include('./inc/classes/parser.php');
+include('./inc/classes/config_manager.php');
+include('./inc/classes/customer.php');
//load hash lib
include("./inc/cauth_".$HashLib.".php");
include('inc/global_variables.php');
//include process script
-include('inc/submit.php');
+include('inc/rendering/submit.php');
//include display scripts
-include('inc/event_listing.php');
-include('inc/cart_listing.php');
-include('inc/order_listing.php');
+include('inc/rendering/event_listing.php');
+include('inc/rendering/cart_listing.php');
+include('inc/rendering/order_listing.php');
//set common basics
$mode="index";