diff --git a/lib/system b/lib/system
index 59af1d3..45543a4 160000
--- a/lib/system
+++ b/lib/system
@@ -1 +1 @@
-Subproject commit 59af1d3bb32e507fc51a3aaedabb764e5d6aca2b
+Subproject commit 45543a45b8bd0f6277edf66b66bf88e8dc29f086
diff --git a/neopolimatrix/api/api_neopolimatrix.php b/neopolimatrix/api/api_neopolimatrix.php
index 5f974d9..8f3054f 100644
--- a/neopolimatrix/api/api_neopolimatrix.php
+++ b/neopolimatrix/api/api_neopolimatrix.php
@@ -1,6 +1,2 @@
id, $val, $c_ID, \SYSTEM\SECURITY\Security::getUser()->id, $val));}
-}
diff --git a/neopolimatrix/api/elements/elements.php b/neopolimatrix/api/elements/elements.php
deleted file mode 100644
index 49f19b8..0000000
--- a/neopolimatrix/api/elements/elements.php
+++ /dev/null
@@ -1,12 +0,0 @@
-next()){
- $result[] = array( 0 => $row['day'],
- 'match' => $row['class_match'] > 0 ? round($row['class_match'] / ($row['class_match']+$row['class_mismatch']),2) : 0,
- 'mismatch' => $row['class_match'] > 0 ? round($row['class_mismatch'] / ($row['class_match']+$row['class_mismatch']),2) : 0);
- }
- return $returnasjson ? SYSTEM\LOG\JsonResult::toString($result) : $result;
- }
-
- public static function graph_bt_to_user_overall_by_time ($timespan = 84600,$returnasjson = true){
- $result = array();
- $res = \DBD\UVOTE_DATA_GRAPH_BT_TO_USER_OVERALL_BY_TIME::QQ(array($timespan, \SYSTEM\SECURITY\Security::getUser()->id, \SYSTEM\SECURITY\Security::getUser()->id));
- while ($row = $res->next()){
- $result[] = array( 0 => $row['day'],
- 'class_match' => $row['class_match'] / ($row['class_match']+$row['class_mismatch']+1),
- 'class_mismatch' => $row['class_mismatch'] / ($row['class_match']+$row['class_mismatch']+1));
- }
- return $returnasjson ? SYSTEM\LOG\JsonResult::toString($result) : $result;
- }
-
-}
diff --git a/neopolimatrix/api/elements/should_be_in_backend.php b/neopolimatrix/api/elements/should_be_in_backend.php
deleted file mode 100644
index d382206..0000000
--- a/neopolimatrix/api/elements/should_be_in_backend.php
+++ /dev/null
@@ -1,13 +0,0 @@
-registerFolder(dirname(__FILE__).'/tbl/definitions/','DBD\DEFINITIONS');
-//$autoload->registerFolder(dirname(__FILE__).'/tbl/data/','DBD\DATA');
-//$autoload->registerFolder(dirname(__FILE__).'/tbl/data_processed/','DBD\DATA_PROCESSED');
\ No newline at end of file
+\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/tbl/','DBD');
\ No newline at end of file
diff --git a/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST.php b/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST.php
deleted file mode 100644
index 4118301..0000000
--- a/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST.php
+++ /dev/null
@@ -1,9 +0,0 @@
-article_id = $id;}
+ $this->id = $id;}
public static function js(){
return array( \SYSTEM\WEBPATH(new PPAGE(),'default_article/js/default_article.js'));}
public function html(){
$vars = array();
- $element = elements::getText($this->article_id);
- $element['title'] = $element['id'];
- $element['published'] = date_format(new DateTime($element['timestamp']), 'H:i d-m-Y');
- $element['ago'] = \SYSTEM\time::time_ago_string(strtotime($element['timestamp']));
+ $element = \SYSTEM\PAGE\text::get_adv($this->id);
+ $element['published'] = date_format(new DateTime($element['time_create']), 'H:i d-m-Y');
+ $element['ago'] = \SYSTEM\time::time_ago_string(strtotime($element['time_create']));
$vars['text'] = SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_article/tpl/element.tpl'), $element);
$vars = array_merge($vars, \SYSTEM\PAGE\text::tag('time'));
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_article/tpl/default_article.tpl'), $vars);
diff --git a/neopolimatrix/page/default_article/tpl/element.tpl b/neopolimatrix/page/default_article/tpl/element.tpl
index 9afd05e..9d8a419 100644
--- a/neopolimatrix/page/default_article/tpl/element.tpl
+++ b/neopolimatrix/page/default_article/tpl/element.tpl
@@ -1,15 +1,17 @@
-
-
Author: ${author}
+ +Author: ${author_name}
${ago}
-Veröffentlicht: ${published}
Author: ${author}
- -${ago}
- - -Veröffentlicht: ${published}
-Author: ${author_name}
+ +${ago}
+ + +Veröffentlicht: ${published}
+