diff --git a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.css b/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.css
deleted file mode 100644
index 31be0e1..0000000
--- a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.css
+++ /dev/null
@@ -1,3 +0,0 @@
-td.customer_details {
- font-weight: bold;
-}
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.js b/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.js
deleted file mode 100644
index 803fd74..0000000
--- a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.js
+++ /dev/null
@@ -1,3 +0,0 @@
-function init_saimod_webcraft_billing_satelite() {
- $('#billingtab a').click(function (e) {e.preventDefault(); $(this).tab('show');});
-}
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.php b/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.php
deleted file mode 100644
index f6a9781..0000000
--- a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.php
+++ /dev/null
@@ -1,43 +0,0 @@
- '');
- if($project['status']){
- foreach($project['result'] as $row){
- $row['customer_company'] = $row['customer_company'] == "" ? $row['customer_company'] = "" : $row['customer_company'] .= " - ";
- $vars['content_project'] .= \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(),'saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite_content_project.tpl'), $row);}
- }
-
- $vars['content_billing'] = '';
- if($billing['status']){
- foreach($billing['result'] as $row){
- $row['pdf_link'] = './sai.php?sai_mod=saimod_webcraft_billing_satelite&action=getpdf&billid='.$row['ID'];
- $row['state'] = $row['payed_date'] == "0000-00-00 00:00:00" ? "important" : "success";
- $vars['content_billing'] .= \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(),'saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite_content_billing.tpl'), $row);}
- }
-
- if($customer['status']){
- $vars = array_merge($vars,$customer['result']);}
- return \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(),'saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.tpl'), $vars);}
-
- public static function sai_mod_saimod_webcraft_billing_satelite_action_getpdf($billid){
- $token = \SYSTEM\CONFIG\config::get(config_ids::WEBCRAFT_BILLING_TOKEN);
- header("Content-type: application/pdf");
- return file_get_contents('http://mojotrollz.eu/web/webcraft/api.php?call=billing&action=bill&token='.$token.'&ID='.$billid);}
-
- public static function html_li_menu(){return '
Rechnungen';}
- public static function right_public(){return false;}
- public static function right_right(){return \SYSTEM\SECURITY\Security::check(\SYSTEM\SECURITY\RIGHTS::SYS_SAI);}
- public static function sai_mod_saimod_webcraft_billing_satelite_flag_js(){
- return \SYSTEM\LOG\JsonResult::toString(
- array( \SYSTEM\WEBPATH(new PSAI(),'saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.js')));}
- public static function sai_mod_saimod_webcraft_billing_satelite_flag_css(){
- return \SYSTEM\LOG\JsonResult::toString(
- array( \SYSTEM\WEBPATH(new PSAI(),'saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.css')));}
-
-}
diff --git a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.tpl b/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.tpl
deleted file mode 100644
index 19c9124..0000000
--- a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite.tpl
+++ /dev/null
@@ -1,66 +0,0 @@
-Verwaltung
-
-
-
-
-
-
-
- | Rechnungsnummer |
- Projekt |
- Datum |
- PDF |
- Betrag |
- Bezahlt am |
-
- ${content_billing}
-
-
-
-
-
- | ID |
- Nutzer |
- Firma |
- seit |
- URL |
- Serverpfad |
- token |
-
- ${content_project}
-
-
-
-
-
- | Nutzer ID |
- ${ID} |
-
-
- | Firma |
- ${company} |
-
-
- | Vorname |
- ${name} |
-
-
- | Nachname |
- ${name_last} |
-
-
- | Addresse |
- ${address} |
-
-
- | Beigetreten |
- ${join} |
-
-
-
-
-
diff --git a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite_content_billing.tpl b/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite_content_billing.tpl
deleted file mode 100644
index db4cc28..0000000
--- a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite_content_billing.tpl
+++ /dev/null
@@ -1,8 +0,0 @@
-
- | ${ID} |
- ${project_name} |
- ${date} |
- PDF |
- ${balance} € |
- ${payed_date} |
-
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite_content_project.tpl b/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite_content_project.tpl
deleted file mode 100644
index e05372f..0000000
--- a/friseurteam/sai/saimod_webcraft_billing_satelite/saimod_webcraft_billing_satelite_content_project.tpl
+++ /dev/null
@@ -1,9 +0,0 @@
-
- | ${ID} |
- ${customer_company}${customer_name} ${customer_name_last} |
- ${name} |
- ${date} |
- ${url} |
- ${path} |
- ${token} |
-
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_billing_satelite/sql/webcraft_billing_satelite_api.sql b/friseurteam/sai/saimod_webcraft_billing_satelite/sql/webcraft_billing_satelite_api.sql
deleted file mode 100644
index c09bc4f..0000000
--- a/friseurteam/sai/saimod_webcraft_billing_satelite/sql/webcraft_billing_satelite_api.sql
+++ /dev/null
@@ -1,2 +0,0 @@
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5300, 42, 0, 0, 'saimod_webcraft_billing_satelite', 'action', NULL);
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5301, 42, 2, 5300, 'getpdf', 'billid', 'UINT');
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_gallery/autoload.inc.php b/friseurteam/sai/saimod_webcraft_gallery/autoload.inc.php
deleted file mode 100644
index 5935631..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/autoload.inc.php
+++ /dev/null
@@ -1,3 +0,0 @@
-next()){
- $img['active'] = $first ? 'active' : '';
- $first = false;
- $gallery_items .= \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(), 'saimod_webcraft_gallery/saimod_webraft_gallery_gallery_item.tpl'), $img);}
- return \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(), 'saimod_webcraft_gallery/saimod_webraft_gallery_gallery.tpl'),
- array('gallery' => $id, 'items' => $gallery_items));
- }
-
- public static function getGalleryGalleria($id){
- $gallery = \DBD\SAIMOD_WEBCRAFT_GALLERY_GALLERY_ID::QQ(array($id));
- $result = '';
- while($img = $gallery->next()){
- $result .= '
';}
- $result .= '';
- return $result;
- }
-
- public static function sai_mod_saimod_webcraft_gallery_action_addgalleryitem($gallery, $position, $heading, $description, $file_cat, $file_id){
- if(!\DBD\SAIMOD_WEBCRAFT_GALLERY_GALLERY_ITEM_ADD::QI(array($gallery, $position, $heading, $description, $file_cat, $file_id))){
- throw new SYSTEM\LOG\ERROR("Problem with adding Galleryitem!");}
- return \SYSTEM\LOG\JsonResult::ok();}
- public static function sai_mod_saimod_webcraft_gallery_action_delgalleryitem($id){
- if(!\DBD\SAIMOD_WEBCRAFT_GALLERY_GALLERY_ITEM_DELETE::QI(array($id))){
- throw new SYSTEM\LOG\ERROR("Problem with deleting Galleryitem!");}
- return \SYSTEM\LOG\JsonResult::ok();}
- public static function sai_mod_saimod_webcraft_gallery_action_chggalleryitem($id, $gallery, $position, $heading, $description, $file_cat, $file_id){
- if(!\DBD\SAIMOD_WEBCRAFT_GALLERY_GALLERY_ITEM_CHG::QI(array($gallery, $position, $heading, $description, $file_cat, $file_id, $id))){
- throw new SYSTEM\LOG\ERROR("Problem with changing Galleryitem!");}
- return \SYSTEM\LOG\JsonResult::ok();}
-
- public static function sai_mod_saimod_webcraft_gallery_action_addgallery(){
- $vars = array('file_cat_options' => self::select_options_cat(), 'file_id_options' => self::sai_mod_saimod_webcraft_gallery_action_select_options_id(array_keys(\SYSTEM\FILES\files::get())[0]));
- return \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(), 'saimod_webcraft_gallery/saimod_webcraft_gallery_add.tpl'),$vars);
- }
-
- private static function select_options_cat($cat = null){
- $result = '';
- $cats = \SYSTEM\FILES\files::get();
- foreach($cats as $name=>$path){
- $selected = $name == $cat ? 'selected' : '';
- $result .= \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(), 'saimod_webcraft_gallery/saimod_webcraft_gallery_file_option.tpl'), array('name' => $name, 'selected' => $selected));
- }
- return $result;
- }
-
- public static function sai_mod_saimod_webcraft_gallery_action_select_options_id($cat, $id = null){
- $result = '';
- $files = \SYSTEM\FILES\files::get($cat);
- foreach($files as $file){
- $selected = $file == $id ? 'selected' : '';
- $result .= \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(), 'saimod_webcraft_gallery/saimod_webcraft_gallery_file_option.tpl'), array('name' => $file, 'selected' => $selected));
- }
- return $result;
- }
-
- public static function sai_mod_saimod_webcraft_gallery_action_showgalleryitem($gallery,$id){
- $vars = \DBD\SAIMOD_WEBCRAFT_GALLERY_GALLERY_ITEM_ID::Q1(array($gallery,$id));
- $vars = array_merge($vars, array('file_cat_options' => self::select_options_cat($vars['file_cat']), 'file_id_options' => self::sai_mod_saimod_webcraft_gallery_action_select_options_id($vars['file_cat'],$vars['file_id'])));
- return \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(), 'saimod_webcraft_gallery/saimod_webcraft_gallery_show.tpl'),$vars);
- }
-
- public static function sai_mod_saimod_webcraft_gallery(){
- $galleries = DBD\SAIMOD_WEBCRAFT_GALLERY_GALLERIES::QQ();
- $vars = array('tabopts' => '', 'firsttab' => '');
- $first = true;
- while($gallery = $galleries->next()){
- $gallery['active'] = $first ? 'active' : '';
- if($first){$vars['firsttab'] = self::sai_mod_saimod_webcraft_gallery_action_tab($gallery['gallery']);}
- $first = false;
- $vars['tabopts'] .= \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(), 'saimod_webcraft_gallery/saimod_webcraft_gallery_tabopt.tpl'), $gallery);}
-
- return \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(), 'saimod_webcraft_gallery/saimod_webcraft_gallery_tabs.tpl'),$vars);
- }
-
- public static function sai_mod_saimod_webcraft_gallery_action_tab($name){
- $gallery = DBD\SAIMOD_WEBCRAFT_GALLERY_GALLERY_ID::QQ(array($name));
- $content = '';
- while($entry = $gallery->next()){
- $content .= \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(), 'saimod_webcraft_gallery/saimod_webcraft_gallery_tabentry.tpl'), $entry);}
- return \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PSAI(), 'saimod_webcraft_gallery/saimod_webcraft_gallery_tab.tpl'),
- array('content' => $content, 'gallery' => self::getGalleryBootstrap($name)));
- }
-
- public static function html_li_menu(){return 'Gallery';}
- public static function right_public(){return false;}
- public static function right_right(){return \SYSTEM\SECURITY\Security::check(\SYSTEM\SECURITY\RIGHTS::SYS_SAI);}
- public static function sai_mod_saimod_webcraft_gallery_flag_js(){
- return \SYSTEM\LOG\JsonResult::toString(
- array( \SYSTEM\WEBPATH(new PSAI(),'saimod_webcraft_gallery/saimod_webcraft_gallery.js')));}
- public static function sai_mod_saimod_webcraft_gallery_flag_css(){
- return \SYSTEM\LOG\JsonResult::toString(array());}
-
-}
diff --git a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_add.tpl b/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_add.tpl
deleted file mode 100644
index 6b4106f..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_add.tpl
+++ /dev/null
@@ -1,31 +0,0 @@
-Add Gallery Element
-
-
-
-
-
-
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_file_option.tpl b/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_file_option.tpl
deleted file mode 100644
index 63340a7..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_file_option.tpl
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_show.tpl b/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_show.tpl
deleted file mode 100644
index 3a47b86..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_show.tpl
+++ /dev/null
@@ -1,37 +0,0 @@
-Show Gallery Element
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tab.tpl b/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tab.tpl
deleted file mode 100644
index 47b8a7d..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tab.tpl
+++ /dev/null
@@ -1,20 +0,0 @@
-${gallery}
-
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tabentry.tpl b/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tabentry.tpl
deleted file mode 100644
index 449ad41..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tabentry.tpl
+++ /dev/null
@@ -1,8 +0,0 @@
-
- | ${ID} |
- ${gallery} |
- ${position} |
- ${heading} |
- ${description} |
- ./api.php?call=files&cat=${file_cat}&id=${file_id} |
-
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tabopt.tpl b/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tabopt.tpl
deleted file mode 100644
index 062063e..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tabopt.tpl
+++ /dev/null
@@ -1 +0,0 @@
-Gallery ${gallery}
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tabs.tpl b/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tabs.tpl
deleted file mode 100644
index c718641..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/saimod_webcraft_gallery_tabs.tpl
+++ /dev/null
@@ -1,10 +0,0 @@
-Gallery
-
-
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_gallery/saimod_webraft_gallery_gallery.tpl b/friseurteam/sai/saimod_webcraft_gallery/saimod_webraft_gallery_gallery.tpl
deleted file mode 100644
index 2f3b8ba..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/saimod_webraft_gallery_gallery.tpl
+++ /dev/null
@@ -1,5 +0,0 @@
-
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_gallery/saimod_webraft_gallery_gallery_item.tpl b/friseurteam/sai/saimod_webcraft_gallery/saimod_webraft_gallery_gallery_item.tpl
deleted file mode 100644
index 8e78282..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/saimod_webraft_gallery_gallery_item.tpl
+++ /dev/null
@@ -1,7 +0,0 @@
-
-

-
-
${heading}
-
${description}
-
-
\ No newline at end of file
diff --git a/friseurteam/sai/saimod_webcraft_gallery/sql/saimod_webcraft_gallery.sql b/friseurteam/sai/saimod_webcraft_gallery/sql/saimod_webcraft_gallery.sql
deleted file mode 100644
index e1d822a..0000000
--- a/friseurteam/sai/saimod_webcraft_gallery/sql/saimod_webcraft_gallery.sql
+++ /dev/null
@@ -1,26 +0,0 @@
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5000, 42, 0, 0, 'saimod_webcraft_gallery', 'action', NULL);
-
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5001, 42, 2, 5000, 'showgalleryitem', 'gallery', 'UINT0');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5002, 42, 2, 5000, 'showgalleryitem', 'id', 'UINT0');
-
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5005, 42, 2, 5000, 'addgalleryitem', 'gallery', 'UINT0');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5006, 42, 2, 5000, 'addgalleryitem', 'position', 'UINT0');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5007, 42, 2, 5000, 'addgalleryitem', 'heading', 'STRING');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5008, 42, 2, 5000, 'addgalleryitem', 'description', 'STRING');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5009, 42, 2, 5000, 'addgalleryitem', 'file_cat', 'STRING');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5010, 42, 2, 5000, 'addgalleryitem', 'file_id', 'STRING');
-
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5015, 42, 2, 5000, 'delgalleryitem', 'id', 'UINT0');
-
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5020, 42, 2, 5000, 'select_options_id', 'cat', 'STRING');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5021, 42, 3, 5000, 'select_options_id', 'id', 'STRING');
-
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5025, 42, 2, 5000, 'chggalleryitem', 'id', 'UINT0');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5026, 42, 2, 5000, 'chggalleryitem', 'gallery', 'UINT0');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5027, 42, 2, 5000, 'chggalleryitem', 'position', 'UINT0');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5028, 42, 2, 5000, 'chggalleryitem', 'heading', 'STRING');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5029, 42, 2, 5000, 'chggalleryitem', 'description', 'STRING');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5030, 42, 2, 5000, 'chggalleryitem', 'file_cat', 'STRING');
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5031, 42, 2, 5000, 'chggalleryitem', 'file_id', 'STRING');
-
-INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (5035, 42, 2, 5000, 'tab', 'name', 'UINT0');
\ No newline at end of file