aboutsummaryrefslogtreecommitdiff
path: root/admin/Application/Views
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Application/Views')
-rw-r--r--admin/Application/Views/Adminboxes/main.php25
-rw-r--r--admin/Application/Views/Admindeletion/main.php25
-rw-r--r--admin/Application/Views/Adminhardware/ask.php53
-rw-r--r--admin/Application/Views/Adminhardware/main.php25
-rw-r--r--admin/Application/Views/Adminhistory/main.php25
-rw-r--r--admin/Application/Views/Adminissues/main.php36
-rw-r--r--admin/Application/Views/Adminmessages/main.php35
-rw-r--r--admin/Application/Views/Adminnews/main.php35
-rwxr-xr-xadmin/Application/Views/Adminparams/form.php25
-rwxr-xr-xadmin/Application/Views/Adminpassword/form.php9
-rw-r--r--admin/Application/Views/Adminregusers/associate.php54
-rw-r--r--admin/Application/Views/Adminregusers/main.php25
-rw-r--r--admin/Application/Views/Admintalk/main.php25
-rw-r--r--admin/Application/Views/Adminusers/associate.php54
-rwxr-xr-xadmin/Application/Views/Adminusers/forceout.php29
-rwxr-xr-xadmin/Application/Views/Adminusers/login.php45
-rwxr-xr-xadmin/Application/Views/Adminusers/logout.php29
-rw-r--r--admin/Application/Views/Adminusers/main.php25
-rwxr-xr-xadmin/Application/Views/footer_back.php27
-rwxr-xr-xadmin/Application/Views/header_back.php94
-rwxr-xr-xadmin/Application/Views/panel.php55
21 files changed, 755 insertions, 0 deletions
diff --git a/admin/Application/Views/Adminboxes/main.php b/admin/Application/Views/Adminboxes/main.php
new file mode 100644
index 0000000..7d71709
--- /dev/null
+++ b/admin/Application/Views/Adminboxes/main.php
@@ -0,0 +1,25 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/Admindeletion/main.php b/admin/Application/Views/Admindeletion/main.php
new file mode 100644
index 0000000..7d71709
--- /dev/null
+++ b/admin/Application/Views/Admindeletion/main.php
@@ -0,0 +1,25 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/Adminhardware/ask.php b/admin/Application/Views/Adminhardware/ask.php
new file mode 100644
index 0000000..1368dca
--- /dev/null
+++ b/admin/Application/Views/Adminhardware/ask.php
@@ -0,0 +1,53 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<div class='mainMenu'>
+ <?php echo $menu;?>
+</div>
+
+<div class="ask_for_deletion_external">
+
+ <?php foreach ($table as $row) { ?>
+ <div class="ask_for_deletion_internal">
+ <div class="ask_for_deletion_item">
+ <b>id hardware to delete</b>: <?php echo $row['deletion']['id_hard'];?>
+ </div>
+ <div class="ask_for_deletion_item">
+ <b>requested by</b>: <?php echo getUserName($row['deletion']['created_by']);?>
+ </div>
+ <div class="ask_for_deletion_item">
+ <b>at</b>: <?php echo smartDate($row['deletion']['creation_date']);?>
+ </div>
+ <div class="ask_for_deletion_item">
+ <b>why</b>: <?php echo $row['deletion']['object'];?>
+ </div>
+ <div class="ask_for_deletion_item">
+ <b>hardware duplicated</b>: <?php echo $row['deletion']['id_duplicate'];?>
+ </div>
+ <div class="ask_for_deletion_item">
+ <b>message</b>: <?php echo $row['deletion']['message'];?>
+ </div>
+ </div>
+ <?php } ?>
+</div> \ No newline at end of file
diff --git a/admin/Application/Views/Adminhardware/main.php b/admin/Application/Views/Adminhardware/main.php
new file mode 100644
index 0000000..7d71709
--- /dev/null
+++ b/admin/Application/Views/Adminhardware/main.php
@@ -0,0 +1,25 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/Adminhistory/main.php b/admin/Application/Views/Adminhistory/main.php
new file mode 100644
index 0000000..7d71709
--- /dev/null
+++ b/admin/Application/Views/Adminhistory/main.php
@@ -0,0 +1,25 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/Adminissues/main.php b/admin/Application/Views/Adminissues/main.php
new file mode 100644
index 0000000..1df2110
--- /dev/null
+++ b/admin/Application/Views/Adminissues/main.php
@@ -0,0 +1,36 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+ <script>
+
+ $(document).ready(function() {
+
+ $("#bb_code").markItUp(mySettings);
+ $("#bb_code_notice").markItUp(mySettings);
+
+ });
+
+ </script>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/Adminmessages/main.php b/admin/Application/Views/Adminmessages/main.php
new file mode 100644
index 0000000..0ce6983
--- /dev/null
+++ b/admin/Application/Views/Adminmessages/main.php
@@ -0,0 +1,35 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+ <script>
+
+ $(document).ready(function() {
+
+ $("#bb_code").markItUp(mySettings);
+
+ });
+
+ </script>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/Adminnews/main.php b/admin/Application/Views/Adminnews/main.php
new file mode 100644
index 0000000..5b603f2
--- /dev/null
+++ b/admin/Application/Views/Adminnews/main.php
@@ -0,0 +1,35 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<script>
+
+ $(document).ready(function() {
+
+ $("#bb_code").markItUp(mySettings);
+
+ });
+
+</script>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/Adminparams/form.php b/admin/Application/Views/Adminparams/form.php
new file mode 100755
index 0000000..7d71709
--- /dev/null
+++ b/admin/Application/Views/Adminparams/form.php
@@ -0,0 +1,25 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/Adminpassword/form.php b/admin/Application/Views/Adminpassword/form.php
new file mode 100755
index 0000000..640b6e5
--- /dev/null
+++ b/admin/Application/Views/Adminpassword/form.php
@@ -0,0 +1,9 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<div class='mainMenu'>
+ <?php echo $menĂ¹;?>
+</div>
+
+<?php echo $notice;?>
+
+<?php echo $form;?> \ No newline at end of file
diff --git a/admin/Application/Views/Adminregusers/associate.php b/admin/Application/Views/Adminregusers/associate.php
new file mode 100644
index 0000000..9350d3a
--- /dev/null
+++ b/admin/Application/Views/Adminregusers/associate.php
@@ -0,0 +1,54 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<div class='mainMenu'>
+ <?php echo $menu;?>
+</div>
+
+<?php echo $notice;?>
+
+<div class='groupsList'>
+ Associate the user <b><?php echo $user;?></b> to some groups:<br /><br />
+ <form action = '<?php echo $action;?>' method = 'POST'>
+
+ <select name='boxIdentifier'>
+ <?php foreach ($groups as $name => $value) {?>
+ <option value='<?php echo $value;?>'><?php echo $name;?></option>
+ <?php } ?>
+ </select>
+ <input type='submit' name='associateAction' value='associate'>
+ <input type='submit' name='dissociateAction' value='dissociate'>
+ <input type='hidden' name='id_user' value='<?php echo (int)$_POST['id_user'];?>'>
+ </form>
+</div>
+
+<br /><hr>
+<div class='groupsList'>
+ The user <b><?php echo $user;?></b> is inserted inside the following Groups:
+ <ul>
+ <?php foreach ($groupsUser as $g) {?>
+ <li><?php echo $g['reggroups']['name'];?></li>
+ <?php } ?>
+ </ul>
+</div> \ No newline at end of file
diff --git a/admin/Application/Views/Adminregusers/main.php b/admin/Application/Views/Adminregusers/main.php
new file mode 100644
index 0000000..7d71709
--- /dev/null
+++ b/admin/Application/Views/Adminregusers/main.php
@@ -0,0 +1,25 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/Admintalk/main.php b/admin/Application/Views/Admintalk/main.php
new file mode 100644
index 0000000..7d71709
--- /dev/null
+++ b/admin/Application/Views/Admintalk/main.php
@@ -0,0 +1,25 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/Adminusers/associate.php b/admin/Application/Views/Adminusers/associate.php
new file mode 100644
index 0000000..b0f6672
--- /dev/null
+++ b/admin/Application/Views/Adminusers/associate.php
@@ -0,0 +1,54 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<div class='mainMenu'>
+ <?php echo $menu;?>
+</div>
+
+<?php echo $notice;?>
+
+<div class='groupsList'>
+ Associate the user <b><?php echo $user;?></b> to some groups:<br /><br />
+ <form action = '<?php echo $action;?>' method = 'POST'>
+
+ <select name='boxIdentifier'>
+ <?php foreach ($groups as $name => $value) {?>
+ <option value='<?php echo $value;?>'><?php echo $name;?></option>
+ <?php } ?>
+ </select>
+ <input type='submit' name='associateAction' value='associate'>
+ <input type='submit' name='dissociateAction' value='dissociate'>
+ <input type='hidden' name='id_user' value='<?php echo (int)$_POST['id_user'];?>'>
+ </form>
+</div>
+
+<br /><hr>
+<div class='groupsList'>
+ The user <b><?php echo $user;?></b> is inserted inside the following Groups:
+ <ul>
+ <?php foreach ($groupsUser as $g) {?>
+ <li><?php echo $g['admingroups']['name'];?></li>
+ <?php } ?>
+ </ul>
+</div> \ No newline at end of file
diff --git a/admin/Application/Views/Adminusers/forceout.php b/admin/Application/Views/Adminusers/forceout.php
new file mode 100755
index 0000000..f4b901d
--- /dev/null
+++ b/admin/Application/Views/Adminusers/forceout.php
@@ -0,0 +1,29 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<div class='mainMenu'>
+ <?php echo $menĂ¹;?>
+</div>
+
+<?php echo $notice;?>
diff --git a/admin/Application/Views/Adminusers/login.php b/admin/Application/Views/Adminusers/login.php
new file mode 100755
index 0000000..c005f35
--- /dev/null
+++ b/admin/Application/Views/Adminusers/login.php
@@ -0,0 +1,45 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<?php echo $notice; ?>
+
+<div class="login_box">
+ <form action = '<?php echo $action;?>' method = 'POST'>
+
+ <table>
+ <tr>
+ <td>Username</td>
+ <td><input type='text' name='username'></td>
+ </tr>
+ <tr>
+ <td>Password</td>
+ <td><input type='password' name='password'></td>
+ </tr>
+ <tr>
+ <td><input type = 'submit' value = 'login'></td>
+ </tr>
+ </table>
+
+ </form>
+</div>
diff --git a/admin/Application/Views/Adminusers/logout.php b/admin/Application/Views/Adminusers/logout.php
new file mode 100755
index 0000000..81ec4db
--- /dev/null
+++ b/admin/Application/Views/Adminusers/logout.php
@@ -0,0 +1,29 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<div class="logout_box">
+ <div><?php echo $notice;?></div>
+
+ <div><a href="<?php echo $login;?>">login</a></div>
+</div> \ No newline at end of file
diff --git a/admin/Application/Views/Adminusers/main.php b/admin/Application/Views/Adminusers/main.php
new file mode 100644
index 0000000..7d71709
--- /dev/null
+++ b/admin/Application/Views/Adminusers/main.php
@@ -0,0 +1,25 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<?php echo $scaffold;?> \ No newline at end of file
diff --git a/admin/Application/Views/footer_back.php b/admin/Application/Views/footer_back.php
new file mode 100755
index 0000000..fa9269c
--- /dev/null
+++ b/admin/Application/Views/footer_back.php
@@ -0,0 +1,27 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+</div> <!--container-->
+</body>
+</html>
diff --git a/admin/Application/Views/header_back.php b/admin/Application/Views/header_back.php
new file mode 100755
index 0000000..862847d
--- /dev/null
+++ b/admin/Application/Views/header_back.php
@@ -0,0 +1,94 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+<head>
+
+ <title>Admin</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/scaffold.css';?>"></style>
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/mainmenu.css';?>"></style>
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/popupmenu.css';?>"></style>
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/form.css';?>"></style>
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/pagelist.css';?>"></style>
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/files.css';?>"></style>
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/login.css';?>"></style>
+
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrlSrc.'/Public/Css/panel.css';?>"></style>
+
+ <!--[if IE]>
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl?>/Public/Css/explorer.css">
+ <![endif] -->
+
+ <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/jquery/jquery-1.4.2.min.js"></script>
+
+ <!--markitup-->
+ <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/markitup/jquery.markitup.js"></script>
+ <script type="text/javascript" src="<?php echo $this->baseUrl;?>/Public/Js/markitup/sets/bbcode/set.js"></script>
+
+ <!-- markItUp! skin -->
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Js/markitup/skins/simple/style.css" />
+ <!-- markItUp! toolbar skin -->
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl;?>/Public/Js/markitup/sets/bbcode/style.css" />
+
+ <style type='text/css'>
+
+ div#container{
+ text-align: left;
+ margin:0px;
+ }
+
+ .ask_for_deletion_internal
+ {
+ margin:10px;
+ background:#B0E0E6;
+ padding:10px;
+ }
+ .ask_for_deletion_item
+ {
+ font:normal 15px/1.3 sans-serif,arial,Verdana;
+ margin:5px;
+ }
+ </style>
+
+ <script>
+
+ $(document).ready(function(){
+
+ $(".delForm form").click(function () {
+ if (window.confirm("do you really want to delete this record?")) {
+ return true;
+ }
+ return false;
+ });
+
+ });
+
+ </script>
+
+</head>
+
+<body>
+
+<div id="container">
+
diff --git a/admin/Application/Views/panel.php b/admin/Application/Views/panel.php
new file mode 100755
index 0000000..1fff0b6
--- /dev/null
+++ b/admin/Application/Views/panel.php
@@ -0,0 +1,55 @@
+<?php if (!defined('EG')) die('Direct access not allowed!'); ?>
+
+<?php
+
+// h-admin, a web software to build a community of people that want to share their hardware information.
+// Copyright (C) 2010 Antonio Gallo (h-admin-copyright.txt)
+//
+// This file is part of h-admin
+//
+// h-admin is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// h-admin is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with h-admin. If not, see <http://www.gnu.org/licenses/>.
+
+?>
+
+<div class="mainPanel">
+
+ <div class='mainMenu'>
+ <div class='logoutButton'>
+ <a href ="<?php echo Url::getRoot('adminusers/logout');?>">LOGOUT</a>
+ </div>
+ </div>
+
+ <div class='usersLoggedList'>
+ Users logged:
+ <?php foreach ($logged as $user) {?>
+ <b><?php echo $user.' ';?></b>
+ <?php } ?>
+ </div>
+
+ <ul class='panelApplicationList'>
+ <li><a href="<?php echo Url::getRoot('adminusers/main/1/undef/'.$token);?>">Admin users</a></li>
+ <li><a href="<?php echo Url::getRoot('adminpassword/form/'.$token);?>">Password</a></li>
+ <li><a href="<?php echo Url::getRoot('adminhardware/main/1/undef/undef/undef/'.$token);?>">Hardware</a></li>
+ <li><a href="<?php echo Url::getRoot('admindeletion/main/1/undef/'.$token);?>">Ask for deletion</a></li>
+ <li><a href="<?php echo Url::getRoot('adminissues/main/1/undef/undef/undef/undef/'.$token);?>">Issues</a></li>
+ <li><a href="<?php echo Url::getRoot('adminmessages/main/1/undef/no/'.$token);?>">Messages to Issues</a></li>
+ <li><a href="<?php echo Url::getRoot('admintalk/main/1/'.$token);?>">Talk</a></li>
+ <li><a href="<?php echo Url::getRoot('adminregusers/main/1/undef/undef/undef/'.$token);?>">Registered users</a></li>
+ <li><a href="<?php echo Url::getRoot('adminparams/form/'.$token);?>">Parameters</a></li>
+ <li><a href="<?php echo Url::getRoot('adminnews/main/1/'.$token);?>">News</a></li>
+ <li><a href="<?php echo Url::getRoot('adminboxes/main/1/'.$token);?>">Boxes</a></li>
+ <li><a href="<?php echo Url::getRoot('adminhistory/main/1/undef/undef/undef/'.$token);?>">Moderators' actions history</a></li>
+ </ul>
+
+</div> \ No newline at end of file