diff --git a/classes/ArrayUtils.php b/classes/ArrayUtils.php
deleted file mode 100644
index 3e08580..0000000
--- a/classes/ArrayUtils.php
+++ /dev/null
@@ -1,21 +0,0 @@
- $value) {
- if (is_object($value)) {
- $object[$key] = self::object2array($value);
- }
- }
-
- return $object;
- }
-
-}
-
-?>
diff --git a/classes/Buffer.php b/classes/Buffer.php
deleted file mode 100644
index 6d8bd60..0000000
--- a/classes/Buffer.php
+++ /dev/null
@@ -1,20 +0,0 @@
-
diff --git a/classes/Config.php b/classes/Config.php
deleted file mode 100755
index 8310287..0000000
--- a/classes/Config.php
+++ /dev/null
@@ -1,70 +0,0 @@
-
diff --git a/classes/Controller.php b/classes/Controller.php
deleted file mode 100644
index d5a4f14..0000000
--- a/classes/Controller.php
+++ /dev/null
@@ -1,111 +0,0 @@
-assign('admin', Config::get('sections', 'admin'));
- }
-
- // Pass all of our controller values to Smarty
- $smarty->assign('navigation', $navigation);
- $smarty->assign('section', $section);
- $smarty->assign('action', $action);
- $smarty->assign('template', $template);
-
- if (isset($_SESSION)) {
- $smarty->assign('session', $_SESSION);
- }
-
- // Load it up!
- header('Content-type: text/html; charset=UTF-8');
- // @todo path is hardcoded case i am teh suckage
- $smarty->display(isset($_REQUEST['ajax']) ? '/var/www/josh/common/smarty/templates/ajax.tpl' : 'index.tpl');
- }
-
-}
-
-?>
diff --git a/classes/DB.php b/classes/DB.php
deleted file mode 100755
index 97154ef..0000000
--- a/classes/DB.php
+++ /dev/null
@@ -1,226 +0,0 @@
- $value) {
- $columnValues[$key] = $value == null ? 'NULL' : "'" . mysql_real_escape_string(stripslashes($value), self::$connection) . "'";
- }
-
- self::execute("
- INSERT INTO {$table} (
- " . implode(array_keys($columnValues), ', ') . "
- ) VALUES (
- " . implode($columnValues, ", ") . "
- );
- ");
-
- return mysql_insert_id(self::$connection);
- }
- else {
- Error::addError('No data was specified');
- }
- }
- else {
- Error::addError('No database table was specified');
- }
-
- return false;
- }
-
- public static function update($table, $columnValues, $conditions) {
- if (!is_resource(self::$connection)) {
- self::open();
- }
-
- if (trim($table) != '') {
- // @todo Check that the table exists, and possibly check that the columns exist as well
-
- $fields = $where = null;
- if (is_array($columnValues)) {
- foreach ($columnValues as $key => $value) {
- $fields .= ($fields ? ', ' : null) . $key . " = '" . mysql_real_escape_string(stripslashes($value), self::$connection) . "'";
- }
-
- if (is_array($conditions)) {
- foreach ($conditions as $key => $value) {
- $where = ($where == null) ? 'WHERE ' : ' AND ';
-
- if ($value == null) {
- $where .= $key . ' IS NULL';
- }
- else {
- $where .= $key . " = '" . mysql_real_escape_string(stripslashes($value), self::$connection) . "'";
- }
- }
-
- $sql = 'UPDATE ' . $table . ' SET ' . $fields . $where;
- if (self::execute($sql)) {
- return true;
- }
- }
- else {
- Error::addError('No conditions were specified');
- }
- }
- else {
- Error::addError('No data was specified');
- }
- }
- else {
- Error::addError('No database table was specified');
- }
-
- return false;
- }
-
- public static function delete($table, $columnValues, $conditions) {
-
- }
-
-}
-
-?>
diff --git a/classes/Error.php b/classes/Error.php
deleted file mode 100644
index c4aa548..0000000
--- a/classes/Error.php
+++ /dev/null
@@ -1,67 +0,0 @@
-";
- }
- }
-
- if (self::getWarning()) {
- foreach (self::getWarning() as $error) {
- echo "{$warning}
";
- }
- }
-
- self::$errors = self::$warnings = null;
- return true;
- }
-
- return false;
- }
-
-}
-
-?>
diff --git a/classes/Form.php b/classes/Form.php
deleted file mode 100644
index 6fcedfc..0000000
--- a/classes/Form.php
+++ /dev/null
@@ -1,28 +0,0 @@
-
-