diff --git a/application/controllers/Items.php b/application/controllers/Items.php index 9692515..e3aec19 100644 --- a/application/controllers/Items.php +++ b/application/controllers/Items.php @@ -13,6 +13,7 @@ public function __construct(){ parent::__construct(); $this->genlib->checkLogin(); + $this->genlib->superOnly(); $this->load->model(['item']); } @@ -393,4 +394,4 @@ public function delete(){ //set final output $this->output->set_content_type('application/json')->set_output(json_encode($json)); } -} \ No newline at end of file +} diff --git a/application/views/main.php b/application/views/main.php index 0544473..5b6ded0 100644 --- a/application/views/main.php +++ b/application/views/main.php @@ -1,82 +1,84 @@ - - <?= $pageTitle ?> - - - - - - - - - - - - - - - + + <?= $pageTitle ?> + + + + + + + + + + + + + + + + + + - - - + - - - - + - - - + + - - -
-
- - + +
- -
- -
- + +
+
+
+
- + - -