diff --git a/mojotrollz/page/autoload.inc b/mojotrollz/page/autoload.inc
index a407e41..fac800f 100644
--- a/mojotrollz/page/autoload.inc
+++ b/mojotrollz/page/autoload.inc
@@ -19,6 +19,7 @@
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/user_menu','');
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/user_shop_menu','');
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/user_nexus_menu','');
+\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/user_nexus_menu_sub','');
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/user_achievements_menu','');
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/user_achievements_menu_sub','');
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/user_achievements_content','');
diff --git a/mojotrollz/page/page_mojotrollz.php b/mojotrollz/page/page_mojotrollz.php
index ee439b1..edc0071 100644
--- a/mojotrollz/page/page_mojotrollz.php
+++ b/mojotrollz/page/page_mojotrollz.php
@@ -54,6 +54,10 @@ class page_mojotrollz extends \SYSTEM\API\api_default {
if(!\SYSTEM\SECURITY\Security::isLoggedIn()){
throw new ERROR("You need to be logged in to view this ressource.");}
return new user_nexus_menu();}
+ public static function page_user_nexus_menu_sub($menu){
+ if(!\SYSTEM\SECURITY\Security::isLoggedIn()){
+ throw new ERROR("You need to be logged in to view this ressource.");}
+ return new user_nexus_menu_sub($menu);}
public static function page_user_shop_menu(){
if(!\SYSTEM\SECURITY\Security::isLoggedIn()){
throw new ERROR("You need to be logged in to view this ressource.");}
diff --git a/mojotrollz/page/user_nexus_menu/js/user_nexus_menu.js b/mojotrollz/page/user_nexus_menu/js/user_nexus_menu.js
new file mode 100644
index 0000000..90d4722
--- /dev/null
+++ b/mojotrollz/page/user_nexus_menu/js/user_nexus_menu.js
@@ -0,0 +1,38 @@
+function init_user_nexus_menu(){
+ $("#btn_nexus_menu_start").click(function(){
+ if($('#nexus_content_start').html() === ''){
+ sys.load('user_nexus_menu_sub_1');
+ } else {
+ $('#nexus_content_start').html('');
+ }
+ });
+ $("#btn_nexus_menu_characters").click(function(){
+ if($('#nexus_content_characters').html() === ''){
+ sys.load('user_nexus_menu_sub_2');
+ } else {
+ $('#nexus_content_characters').html('');
+ }
+ });
+ $("#btn_nexus_menu_friendlist").click(function(){
+ if($('#nexus_content_friendlist').html() === ''){
+ sys.load('user_nexus_menu_sub_3');
+ } else {
+ $('#nexus_content_friendlist').html('');
+ }
+ });
+ $("#btn_nexus_menu_guilds").click(function(){
+ if($('#nexus_content_guilds').html() === ''){
+ sys.load('user_nexus_menu_sub_4');
+ } else {
+ $('#nexus_content_guilds').html('');
+ }
+ });
+ $("#btn_nexus_menu_topics").click(function(){
+ if($('#nexus_content_topics').html() === ''){
+ sys.load('user_nexus_menu_sub_5');
+ } else {
+ $('#nexus_content_topics').html('');
+ }
+ });
+
+}
\ No newline at end of file
diff --git a/mojotrollz/page/user_nexus_menu/tpl/js/user_nexus_menu.js b/mojotrollz/page/user_nexus_menu/tpl/js/user_nexus_menu.js
deleted file mode 100644
index 9357cd2..0000000
--- a/mojotrollz/page/user_nexus_menu/tpl/js/user_nexus_menu.js
+++ /dev/null
@@ -1,3 +0,0 @@
-function init_user_nexus_menu(){
-
-}
\ No newline at end of file
diff --git a/mojotrollz/page/user_nexus_menu/tpl/user_nexus_menu.tpl b/mojotrollz/page/user_nexus_menu/tpl/user_nexus_menu.tpl
index 690b84b..bfd474a 100644
--- a/mojotrollz/page/user_nexus_menu/tpl/user_nexus_menu.tpl
+++ b/mojotrollz/page/user_nexus_menu/tpl/user_nexus_menu.tpl
@@ -1,6 +1,8 @@
+
+
diff --git a/mojotrollz/page/user_nexus_menu_sub/js/user_nexus_menu_sub.js b/mojotrollz/page/user_nexus_menu_sub/js/user_nexus_menu_sub.js
new file mode 100644
index 0000000..6ee5238
--- /dev/null
+++ b/mojotrollz/page/user_nexus_menu_sub/js/user_nexus_menu_sub.js
@@ -0,0 +1,9 @@
+function init_user_nexus_menu_sub(){
+ $(".btn_nexus_menu").click(function(){
+ $('#nexus_list').load('./?page=user_nexus_content&menu=' + $(this).attr('menu') + '&filter=' + $(this).attr('filter'), function(){
+
+ });
+
+ });
+
+}
diff --git a/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub.tpl b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub.tpl
new file mode 100644
index 0000000..cd9a0ca
--- /dev/null
+++ b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub.tpl
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_characters.tpl b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_characters.tpl
new file mode 100644
index 0000000..23be9d4
--- /dev/null
+++ b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_characters.tpl
@@ -0,0 +1,21 @@
+
+
+
diff --git a/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_friendlist.tpl b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_friendlist.tpl
new file mode 100644
index 0000000..cdbee14
--- /dev/null
+++ b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_friendlist.tpl
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_guilds.tpl b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_guilds.tpl
new file mode 100644
index 0000000..bf2d16b
--- /dev/null
+++ b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_guilds.tpl
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_start.tpl b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_start.tpl
new file mode 100644
index 0000000..7f2679f
--- /dev/null
+++ b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_start.tpl
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_topics.tpl b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_topics.tpl
new file mode 100644
index 0000000..c4480c8
--- /dev/null
+++ b/mojotrollz/page/user_nexus_menu_sub/tpl/user_nexus_menu_sub_topics.tpl
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/mojotrollz/page/user_nexus_menu_sub/user_nexus_menu_sub.php b/mojotrollz/page/user_nexus_menu_sub/user_nexus_menu_sub.php
new file mode 100644
index 0000000..542018d
--- /dev/null
+++ b/mojotrollz/page/user_nexus_menu_sub/user_nexus_menu_sub.php
@@ -0,0 +1,30 @@
+menu = $menu;
+ }
+
+ public static function js(){
+ return array( \SYSTEM\WEBPATH(new PPAGE(),'user_nexus_menu_sub/js/user_nexus_menu_sub.js'),
+ \SYSTEM\WEBPATH(new PAPI(),'database/js/wow.js'));}
+
+ public static function css (){
+ return array();}
+
+ public function html(){
+ switch ($this->menu){
+ case 1:
+ return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_nexus_menu_sub/tpl/user_nexus_menu_sub_start.tpl'), array());
+ case 2:
+ return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_nexus_menu_sub/tpl/user_nexus_menu_sub_characters.tpl'), array());
+ case 3:
+ return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_nexus_menu_sub/tpl/user_nexus_menu_sub_friendlist.tpl'), array());
+ case 4:
+ return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_nexus_menu_sub/tpl/user_nexus_menu_sub_guilds.tpl'), array());
+ case 5:
+ return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'user_nexus_menu_sub/tpl/user_nexus_menu_sub_topics.tpl'), array());
+ }
+
+ }
+}
\ No newline at end of file