From d7f3313ff4514e38c9f53439cd1a1287e56e45f7 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 11 Nov 2018 17:19:26 +0100 Subject: reboot folder --- app/class/controllerhome.php | 66 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 app/class/controllerhome.php (limited to 'app/class/controllerhome.php') diff --git a/app/class/controllerhome.php b/app/class/controllerhome.php new file mode 100644 index 0000000..31d27c3 --- /dev/null +++ b/app/class/controllerhome.php @@ -0,0 +1,66 @@ +modelhome = new Modelhome; + } + + + + + public function desktop() + { + + $this->table2(); + } + + public function table2() + { + $table = $this->modelhome->getlister(); + $this->opt = $this->modelhome->optinit($table); + + $table2 = $this->modelhome->table2($table, $this->opt); + + $this->showtemplate('home', ['user' => $this->user, 'table2' => $table2, 'opt' =>$this->opt]); + + + } + + public function analyseall() + { + if($this->user->level() >= Modeluser::EDITOR) { + $scan = new Modelanalyse; + $scan->analyseall(); + $this->redirect('./'); + + } + } + + public function massedit() + { + echo '

Mass Edit

'; + + } + + + + + + + +} + + + + + + + + +?> \ No newline at end of file -- cgit v1.2.3