From d5ea7af4e90b74123affc2b345a0880ad49fbf8b Mon Sep 17 00:00:00 2001 From: Muhsinun Chowdhury Date: Tue, 3 Jan 2017 15:25:09 -0500 Subject: [PATCH 01/33] create Useful PHP.php --- Useful PHP.php | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Useful PHP.php diff --git a/Useful PHP.php b/Useful PHP.php new file mode 100644 index 0000000..b64f785 --- /dev/null +++ b/Useful PHP.php @@ -0,0 +1,7 @@ +Helpful PHP: + +Get username: getUsername();?> + +Check if player is admin: isSU()){?> INPUT CONTENT FOR ADMIN EYES ONLY HERE Then end admin content with: +OR instead of ending ALL content, you can use this: instead of this , input content for non-admins, and THEN put to end ALL content. +This is helpful to stop an error saying that, wait a minute, this isn't an admin... HALP! \ No newline at end of file From 7f1003d896919ba8b86f7eb0e30d2d10969c9243 Mon Sep 17 00:00:00 2001 From: Muhsinun Chowdhury Date: Tue, 3 Jan 2017 15:28:53 -0500 Subject: [PATCH 02/33] add config.inc.php to .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bcc0b7a..6d4a01f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea -vendor/ \ No newline at end of file +vendor/ +application/config/config.inc.php \ No newline at end of file From 7e31095761b5c8470abf0d206950d5bf51c7520c Mon Sep 17 00:00:00 2001 From: Muhsinun Chowdhury Date: Tue, 3 Jan 2017 15:33:12 -0500 Subject: [PATCH 03/33] test --- application/config/config.inc.php | 2 +- application/config/messages.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/config/config.inc.php b/application/config/config.inc.php index 8a351cc..22b1639 100644 --- a/application/config/config.inc.php +++ b/application/config/config.inc.php @@ -1,6 +1,6 @@ Date: Tue, 3 Jan 2017 15:33:49 -0500 Subject: [PATCH 04/33] reset file --- application/config/messages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/config/messages.php b/application/config/messages.php index f8ccbce..db238cc 100644 --- a/application/config/messages.php +++ b/application/config/messages.php @@ -1,6 +1,6 @@ Date: Tue, 3 Jan 2017 15:35:48 -0500 Subject: [PATCH 05/33] testing for errors --- application/config/config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/config/config.inc.php b/application/config/config.inc.php index 22b1639..0861a80 100644 --- a/application/config/config.inc.php +++ b/application/config/config.inc.php @@ -1,6 +1,6 @@ Date: Tue, 3 Jan 2017 15:38:07 -0500 Subject: [PATCH 06/33] testing .gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6d4a01f..b5d2eda 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .idea vendor/ -application/config/config.inc.php \ No newline at end of file +application/config/config.inc.php/ \ No newline at end of file From 3771f03d25c35f251cde1fef4bd57e23d23dea2a Mon Sep 17 00:00:00 2001 From: Muhsinun Chowdhury Date: Tue, 3 Jan 2017 15:38:42 -0500 Subject: [PATCH 07/33] testing .gitignore --- application/config/config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/config/config.inc.php b/application/config/config.inc.php index 0861a80..3c18b17 100644 --- a/application/config/config.inc.php +++ b/application/config/config.inc.php @@ -1,6 +1,6 @@ Date: Tue, 3 Jan 2017 15:40:23 -0500 Subject: [PATCH 08/33] fix .gitignore --- .gitignore | 2 +- application/config/config.inc.php | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 application/config/config.inc.php diff --git a/.gitignore b/.gitignore index b5d2eda..6d4a01f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .idea vendor/ -application/config/config.inc.php/ \ No newline at end of file +application/config/config.inc.php \ No newline at end of file diff --git a/application/config/config.inc.php b/application/config/config.inc.php deleted file mode 100644 index 3c18b17..0000000 --- a/application/config/config.inc.php +++ /dev/null @@ -1,15 +0,0 @@ - \ No newline at end of file From 263b5114cd0d927cc347f00d71e547ed928fa333 Mon Sep 17 00:00:00 2001 From: Muhsinun Chowdhury Date: Tue, 3 Jan 2017 15:45:55 -0500 Subject: [PATCH 09/33] still trying to fix .gitignore --- .gitignore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6d4a01f..bcc0b7a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ .idea -vendor/ -application/config/config.inc.php \ No newline at end of file +vendor/ \ No newline at end of file From 1394764d95667ab044cfbef5b53506c6b5af1f64 Mon Sep 17 00:00:00 2001 From: Muhsinun Chowdhury Date: Tue, 3 Jan 2017 15:46:01 -0500 Subject: [PATCH 10/33] still trying to fix .gitignore --- application/config/config.inc.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 application/config/config.inc.php diff --git a/application/config/config.inc.php b/application/config/config.inc.php new file mode 100644 index 0000000..9a59c59 --- /dev/null +++ b/application/config/config.inc.php @@ -0,0 +1,15 @@ + \ No newline at end of file From 8e87fe8d8fb1b30ed4f8c4fc90f2ffdddc9d22a1 Mon Sep 17 00:00:00 2001 From: Muhsinun Chowdhury Date: Tue, 3 Jan 2017 15:50:09 -0500 Subject: [PATCH 11/33] fix .gitignore --- application/config/config.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/config/config.inc.php b/application/config/config.inc.php index 9a59c59..843ea95 100644 --- a/application/config/config.inc.php +++ b/application/config/config.inc.php @@ -1,10 +1,9 @@ Date: Tue, 3 Jan 2017 15:59:28 -0500 Subject: [PATCH 12/33] add vendor/ to repo --- .gitignore | 3 +- vendor/autoload.php | 7 + vendor/composer/ClassLoader.php | 413 ++++++++++++++++++++++++ vendor/composer/autoload_classmap.php | 33 ++ vendor/composer/autoload_files.php | 11 + vendor/composer/autoload_namespaces.php | 9 + vendor/composer/autoload_psr4.php | 9 + vendor/composer/autoload_real.php | 55 ++++ 8 files changed, 538 insertions(+), 2 deletions(-) create mode 100644 vendor/autoload.php create mode 100644 vendor/composer/ClassLoader.php create mode 100644 vendor/composer/autoload_classmap.php create mode 100644 vendor/composer/autoload_files.php create mode 100644 vendor/composer/autoload_namespaces.php create mode 100644 vendor/composer/autoload_psr4.php create mode 100644 vendor/composer/autoload_real.php diff --git a/.gitignore b/.gitignore index bcc0b7a..723ef36 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -.idea -vendor/ \ No newline at end of file +.idea \ No newline at end of file diff --git a/vendor/autoload.php b/vendor/autoload.php new file mode 100644 index 0000000..8c062c1 --- /dev/null +++ b/vendor/autoload.php @@ -0,0 +1,7 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer\Autoload; + +/** + * ClassLoader implements a PSR-0 class loader + * + * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md + * + * $loader = new \Composer\Autoload\ClassLoader(); + * + * // register classes with namespaces + * $loader->add('Symfony\Component', __DIR__.'/component'); + * $loader->add('Symfony', __DIR__.'/framework'); + * + * // activate the autoloader + * $loader->register(); + * + * // to enable searching the include path (eg. for PEAR packages) + * $loader->setUseIncludePath(true); + * + * In this example, if you try to use a class in the Symfony\Component + * namespace or one of its children (Symfony\Component\Console for instance), + * the autoloader will first look for the class under the component/ + * directory, and it will then fallback to the framework/ directory if not + * found before giving up. + * + * This class is loosely based on the Symfony UniversalClassLoader. + * + * @author Fabien Potencier + * @author Jordi Boggiano + */ +class ClassLoader +{ + // PSR-4 + private $prefixLengthsPsr4 = array(); + private $prefixDirsPsr4 = array(); + private $fallbackDirsPsr4 = array(); + + // PSR-0 + private $prefixesPsr0 = array(); + private $fallbackDirsPsr0 = array(); + + private $useIncludePath = false; + private $classMap = array(); + + private $classMapAuthoritative = false; + + public function getPrefixes() + { + if (!empty($this->prefixesPsr0)) { + return call_user_func_array('array_merge', $this->prefixesPsr0); + } + + return array(); + } + + public function getPrefixesPsr4() + { + return $this->prefixDirsPsr4; + } + + public function getFallbackDirs() + { + return $this->fallbackDirsPsr0; + } + + public function getFallbackDirsPsr4() + { + return $this->fallbackDirsPsr4; + } + + public function getClassMap() + { + return $this->classMap; + } + + /** + * @param array $classMap Class to filename map + */ + public function addClassMap(array $classMap) + { + if ($this->classMap) { + $this->classMap = array_merge($this->classMap, $classMap); + } else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, either + * appending or prepending to the ones previously set for this prefix. + * + * @param string $prefix The prefix + * @param array|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories + */ + public function add($prefix, $paths, $prepend = false) + { + if (!$prefix) { + if ($prepend) { + $this->fallbackDirsPsr0 = array_merge( + (array) $paths, + $this->fallbackDirsPsr0 + ); + } else { + $this->fallbackDirsPsr0 = array_merge( + $this->fallbackDirsPsr0, + (array) $paths + ); + } + + return; + } + + $first = $prefix[0]; + if (!isset($this->prefixesPsr0[$first][$prefix])) { + $this->prefixesPsr0[$first][$prefix] = (array) $paths; + + return; + } + if ($prepend) { + $this->prefixesPsr0[$first][$prefix] = array_merge( + (array) $paths, + $this->prefixesPsr0[$first][$prefix] + ); + } else { + $this->prefixesPsr0[$first][$prefix] = array_merge( + $this->prefixesPsr0[$first][$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, either + * appending or prepending to the ones previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param array|string $paths The PSR-0 base directories + * @param bool $prepend Whether to prepend the directories + * + * @throws \InvalidArgumentException + */ + public function addPsr4($prefix, $paths, $prepend = false) + { + if (!$prefix) { + // Register directories for the root namespace. + if ($prepend) { + $this->fallbackDirsPsr4 = array_merge( + (array) $paths, + $this->fallbackDirsPsr4 + ); + } else { + $this->fallbackDirsPsr4 = array_merge( + $this->fallbackDirsPsr4, + (array) $paths + ); + } + } elseif (!isset($this->prefixDirsPsr4[$prefix])) { + // Register directories for a new namespace. + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } elseif ($prepend) { + // Prepend directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + (array) $paths, + $this->prefixDirsPsr4[$prefix] + ); + } else { + // Append directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + $this->prefixDirsPsr4[$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, + * replacing any others previously set for this prefix. + * + * @param string $prefix The prefix + * @param array|string $paths The PSR-0 base directories + */ + public function set($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr0 = (array) $paths; + } else { + $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, + * replacing any others previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param array|string $paths The PSR-4 base directories + * + * @throws \InvalidArgumentException + */ + public function setPsr4($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr4 = (array) $paths; + } else { + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + */ + public function setUseIncludePath($useIncludePath) + { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() + { + return $this->useIncludePath; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoritative + */ + public function setClassMapAuthoritative($classMapAuthoritative) + { + $this->classMapAuthoritative = $classMapAuthoritative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function isClassMapAuthoritative() + { + return $this->classMapAuthoritative; + } + + /** + * Registers this instance as an autoloader. + * + * @param bool $prepend Whether to prepend the autoloader or not + */ + public function register($prepend = false) + { + spl_autoload_register(array($this, 'loadClass'), true, $prepend); + } + + /** + * Unregisters this instance as an autoloader. + */ + public function unregister() + { + spl_autoload_unregister(array($this, 'loadClass')); + } + + /** + * Loads the given class or interface. + * + * @param string $class The name of the class + * @return bool|null True if loaded, null otherwise + */ + public function loadClass($class) + { + if ($file = $this->findFile($class)) { + includeFile($file); + + return true; + } + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class The name of the class + * + * @return string|false The path if found, false otherwise + */ + public function findFile($class) + { + // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731 + if ('\\' == $class[0]) { + $class = substr($class, 1); + } + + // class map lookup + if (isset($this->classMap[$class])) { + return $this->classMap[$class]; + } + if ($this->classMapAuthoritative) { + return false; + } + + $file = $this->findFileWithExtension($class, '.php'); + + // Search for Hack files if we are running on HHVM + if ($file === null && defined('HHVM_VERSION')) { + $file = $this->findFileWithExtension($class, '.hh'); + } + + if ($file === null) { + // Remember that this class does not exist. + return $this->classMap[$class] = false; + } + + return $file; + } + + private function findFileWithExtension($class, $ext) + { + // PSR-4 lookup + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; + + $first = $class[0]; + if (isset($this->prefixLengthsPsr4[$first])) { + foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) { + if (0 === strpos($class, $prefix)) { + foreach ($this->prefixDirsPsr4[$prefix] as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { + return $file; + } + } + } + } + } + + // PSR-4 fallback dirs + foreach ($this->fallbackDirsPsr4 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { + return $file; + } + } + + // PSR-0 lookup + if (false !== $pos = strrpos($class, '\\')) { + // namespaced class name + $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) + . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); + } else { + // PEAR-like class name + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; + } + + if (isset($this->prefixesPsr0[$first])) { + foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + } + } + } + + // PSR-0 fallback dirs + foreach ($this->fallbackDirsPsr0 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + + // PSR-0 include paths. + if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { + return $file; + } + } +} + +/** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + */ +function includeFile($file) +{ + include $file; +} diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php new file mode 100644 index 0000000..5a13549 --- /dev/null +++ b/vendor/composer/autoload_classmap.php @@ -0,0 +1,33 @@ + $baseDir . '/application/models/BaseModel.php', + 'AdminProfile' => $baseDir . '/application/models/admin_model.php', + 'BanEntry' => $baseDir . '/application/models/ban_model.php', + 'BaseController' => $baseDir . '/application/controller/BaseController.php', + 'BaseModel' => $baseDir . '/application/models/BaseModel.php', + 'CommentEntry' => $baseDir . '/application/models/comment_model.php', + 'KickEntry' => $baseDir . '/application/models/kick_model.php', + 'Message' => $baseDir . '/application/config/messages.php', + 'MuteEntry' => $baseDir . '/application/models/mute_model.php', + 'PlayerData' => $baseDir . '/application/models/profile_model.php', + 'PunishmentEntry' => $baseDir . '/application/models/BaseModel.php', + 'admin' => $baseDir . '/application/controller/admin_controller.php', + 'admin_model' => $baseDir . '/application/models/admin_model.php', + 'ban' => $baseDir . '/application/controller/ban_controller.php', + 'ban_model' => $baseDir . '/application/models/ban_model.php', + 'comment' => $baseDir . '/application/controller/comment_controller.php', + 'comment_model' => $baseDir . '/application/models/comment_model.php', + 'home' => $baseDir . '/application/controller/home_controller.php', + 'kick' => $baseDir . '/application/controller/kick_controller.php', + 'kick_model' => $baseDir . '/application/models/kick_model.php', + 'mute' => $baseDir . '/application/controller/mute_controller.php', + 'mute_model' => $baseDir . '/application/models/mute_model.php', + 'profile' => $baseDir . '/application/controller/profile.php', + 'profile_model' => $baseDir . '/application/models/profile_model.php', +); diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php new file mode 100644 index 0000000..c3c96d4 --- /dev/null +++ b/vendor/composer/autoload_files.php @@ -0,0 +1,11 @@ + $path) { + $loader->set($namespace, $path); + } + + $map = require __DIR__ . '/autoload_psr4.php'; + foreach ($map as $namespace => $path) { + $loader->setPsr4($namespace, $path); + } + + $classMap = require __DIR__ . '/autoload_classmap.php'; + if ($classMap) { + $loader->addClassMap($classMap); + } + + $loader->register(true); + + $includeFiles = require __DIR__ . '/autoload_files.php'; + foreach ($includeFiles as $file) { + composerRequire2ac8298874c9cb75c908e5931fae0c64($file); + } + + return $loader; + } +} + +function composerRequire2ac8298874c9cb75c908e5931fae0c64($file) +{ + require $file; +} From c50defa1a50a9385fe356ab5eb641aab8d5bfb5d Mon Sep 17 00:00:00 2001 From: Muhsinun Chowdhury Date: Tue, 3 Jan 2017 16:06:18 -0500 Subject: [PATCH 13/33] add custom files --- .gitignore | 3 +- .htaccess | 1 + READ ME.php | 7 + README.md | 14 - application/config/messages.php | 4 +- application/controller/BaseController.php | 89 +-- application/controller/admin_controller.php | 39 +- application/models/BaseModel.php | 2 +- application/models/admin_model.php | 36 +- .../views/_template/admin/navbarAddon.php | 7 +- application/views/_template/header.php | 109 +++- application/views/admin/changepassword.php | 23 - application/views/admin/login.php | 2 +- public/styles/base-stylesheet.css | 3 - res/themes/Bootstrap/css/bootstrap.min.css | 5 + res/themes/Bootstrap/css/custom.css | 150 +++++ res/themes/Bootstrap/css/font-awesome.min.css | 4 + res/themes/Bootstrap/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Bootstrap/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Bootstrap/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Bootstrap/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Bootstrap/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Bootstrap/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Bootstrap/js/bootstrap.min.js | 7 + res/themes/Cerulean/css/bootstrap.min.css | 7 + res/themes/Cerulean/css/custom.css | 150 +++++ res/themes/Cerulean/css/font-awesome.min.css | 4 + res/themes/Cerulean/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Cerulean/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Cerulean/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Cerulean/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Cerulean/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Cerulean/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Cerulean/js/bootstrap.min.js | 7 + res/themes/Cosmo/css/bootstrap.min.css | 7 + res/themes/Cosmo/css/custom.css | 150 +++++ res/themes/Cosmo/css/font-awesome.min.css | 4 + res/themes/Cosmo/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Cosmo/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Cosmo/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Cosmo/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Cosmo/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Cosmo/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Cosmo/js/bootstrap.min.js | 7 + res/themes/Cyborg/css/bootstrap.min.css | 7 + res/themes/Cyborg/css/custom.css | 150 +++++ res/themes/Cyborg/css/font-awesome.min.css | 4 + res/themes/Cyborg/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Cyborg/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Cyborg/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Cyborg/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Cyborg/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Cyborg/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Cyborg/js/bootstrap.min.js | 7 + res/themes/Darkly/css/bootstrap.min.css | 7 + res/themes/Darkly/css/custom.css | 150 +++++ res/themes/Darkly/css/font-awesome.min.css | 4 + res/themes/Darkly/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Darkly/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Darkly/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Darkly/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Darkly/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Darkly/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Darkly/js/bootstrap.min.js | 7 + res/themes/Flatly/css/bootstrap.min.css | 7 + res/themes/Flatly/css/custom.css | 150 +++++ res/themes/Flatly/css/font-awesome.min.css | 4 + res/themes/Flatly/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Flatly/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Flatly/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Flatly/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Flatly/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Flatly/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Flatly/js/bootstrap.min.js | 7 + res/themes/Journal/css/bootstrap.min.css | 7 + res/themes/Journal/css/custom.css | 150 +++++ res/themes/Journal/css/font-awesome.min.css | 4 + res/themes/Journal/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Journal/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Journal/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Journal/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Journal/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Journal/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Journal/js/bootstrap.min.js | 7 + res/themes/Lumen/css/bootstrap.min.css | 7 + res/themes/Lumen/css/custom.css | 150 +++++ res/themes/Lumen/css/font-awesome.min.css | 4 + res/themes/Lumen/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Lumen/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Lumen/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Lumen/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Lumen/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Lumen/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Lumen/js/bootstrap.min.js | 7 + res/themes/Paper/css/bootstrap.min.css | 7 + res/themes/Paper/css/custom.css | 157 +++++ res/themes/Paper/css/font-awesome.min.css | 4 + res/themes/Paper/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Paper/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Paper/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Paper/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Paper/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Paper/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Paper/js/bootstrap.min.js | 7 + res/themes/Readable/css/bootstrap.min.css | 7 + res/themes/Readable/css/custom.css | 150 +++++ res/themes/Readable/css/font-awesome.min.css | 4 + res/themes/Readable/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Readable/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Readable/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Readable/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Readable/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Readable/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Readable/js/bootstrap.min.js | 7 + res/themes/Sandstone/css/bootstrap.min.css | 7 + res/themes/Sandstone/css/custom.css | 150 +++++ res/themes/Sandstone/css/font-awesome.min.css | 4 + res/themes/Sandstone/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Sandstone/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Sandstone/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Sandstone/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Sandstone/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Sandstone/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Sandstone/js/bootstrap.min.js | 7 + res/themes/Simplex/css/bootstrap.min.css | 7 + res/themes/Simplex/css/custom.css | 150 +++++ res/themes/Simplex/css/font-awesome.min.css | 4 + res/themes/Simplex/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Simplex/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Simplex/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Simplex/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Simplex/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Simplex/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Simplex/js/bootstrap.min.js | 7 + res/themes/Slate/css/bootstrap.min.css | 7 + res/themes/Slate/css/custom.css | 150 +++++ res/themes/Slate/css/font-awesome.min.css | 4 + res/themes/Slate/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Slate/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Slate/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Slate/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Slate/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Slate/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Slate/js/bootstrap.min.js | 7 + res/themes/Spacelab/css/bootstrap.min.css | 7 + res/themes/Spacelab/css/custom.css | 150 +++++ res/themes/Spacelab/css/font-awesome.min.css | 4 + res/themes/Spacelab/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Spacelab/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Spacelab/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Spacelab/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Spacelab/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Spacelab/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Spacelab/js/bootstrap.min.js | 7 + res/themes/Superhero/css/bootstrap.min.css | 7 + res/themes/Superhero/css/custom.css | 150 +++++ res/themes/Superhero/css/font-awesome.min.css | 4 + res/themes/Superhero/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../Superhero/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../Superhero/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../Superhero/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Superhero/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Superhero/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Superhero/js/bootstrap.min.js | 7 + res/themes/United/css/bootstrap.min.css | 7 + res/themes/United/css/custom.css | 150 +++++ res/themes/United/css/font-awesome.min.css | 4 + res/themes/United/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../United/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../United/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ .../United/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../United/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../United/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/United/js/bootstrap.min.js | 7 + res/themes/Yeti/css/bootstrap.min.css | 7 + res/themes/Yeti/css/custom.css | 150 +++++ res/themes/Yeti/css/font-awesome.min.css | 4 + res/themes/Yeti/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes res/themes/Yeti/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes res/themes/Yeti/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++ res/themes/Yeti/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../Yeti/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../Yeti/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes .../fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20127 bytes .../fonts/glyphicons-halflings-regular.svg | 288 +++++++++ .../fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 45404 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23424 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 0 -> 18028 bytes res/themes/Yeti/js/bootstrap.min.js | 7 + 269 files changed, 17502 insertions(+), 199 deletions(-) create mode 100644 .htaccess create mode 100644 READ ME.php delete mode 100644 README.md delete mode 100644 application/views/admin/changepassword.php create mode 100644 res/themes/Bootstrap/css/bootstrap.min.css create mode 100644 res/themes/Bootstrap/css/custom.css create mode 100644 res/themes/Bootstrap/css/font-awesome.min.css create mode 100644 res/themes/Bootstrap/fonts/FontAwesome.otf create mode 100644 res/themes/Bootstrap/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Bootstrap/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Bootstrap/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Bootstrap/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Bootstrap/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Bootstrap/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Bootstrap/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Bootstrap/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Bootstrap/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Bootstrap/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Bootstrap/js/bootstrap.min.js create mode 100644 res/themes/Cerulean/css/bootstrap.min.css create mode 100644 res/themes/Cerulean/css/custom.css create mode 100644 res/themes/Cerulean/css/font-awesome.min.css create mode 100644 res/themes/Cerulean/fonts/FontAwesome.otf create mode 100644 res/themes/Cerulean/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Cerulean/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Cerulean/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Cerulean/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Cerulean/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Cerulean/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Cerulean/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Cerulean/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Cerulean/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Cerulean/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Cerulean/js/bootstrap.min.js create mode 100644 res/themes/Cosmo/css/bootstrap.min.css create mode 100644 res/themes/Cosmo/css/custom.css create mode 100644 res/themes/Cosmo/css/font-awesome.min.css create mode 100644 res/themes/Cosmo/fonts/FontAwesome.otf create mode 100644 res/themes/Cosmo/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Cosmo/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Cosmo/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Cosmo/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Cosmo/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Cosmo/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Cosmo/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Cosmo/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Cosmo/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Cosmo/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Cosmo/js/bootstrap.min.js create mode 100644 res/themes/Cyborg/css/bootstrap.min.css create mode 100644 res/themes/Cyborg/css/custom.css create mode 100644 res/themes/Cyborg/css/font-awesome.min.css create mode 100644 res/themes/Cyborg/fonts/FontAwesome.otf create mode 100644 res/themes/Cyborg/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Cyborg/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Cyborg/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Cyborg/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Cyborg/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Cyborg/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Cyborg/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Cyborg/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Cyborg/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Cyborg/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Cyborg/js/bootstrap.min.js create mode 100644 res/themes/Darkly/css/bootstrap.min.css create mode 100644 res/themes/Darkly/css/custom.css create mode 100644 res/themes/Darkly/css/font-awesome.min.css create mode 100644 res/themes/Darkly/fonts/FontAwesome.otf create mode 100644 res/themes/Darkly/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Darkly/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Darkly/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Darkly/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Darkly/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Darkly/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Darkly/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Darkly/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Darkly/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Darkly/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Darkly/js/bootstrap.min.js create mode 100644 res/themes/Flatly/css/bootstrap.min.css create mode 100644 res/themes/Flatly/css/custom.css create mode 100644 res/themes/Flatly/css/font-awesome.min.css create mode 100644 res/themes/Flatly/fonts/FontAwesome.otf create mode 100644 res/themes/Flatly/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Flatly/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Flatly/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Flatly/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Flatly/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Flatly/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Flatly/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Flatly/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Flatly/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Flatly/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Flatly/js/bootstrap.min.js create mode 100644 res/themes/Journal/css/bootstrap.min.css create mode 100644 res/themes/Journal/css/custom.css create mode 100644 res/themes/Journal/css/font-awesome.min.css create mode 100644 res/themes/Journal/fonts/FontAwesome.otf create mode 100644 res/themes/Journal/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Journal/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Journal/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Journal/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Journal/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Journal/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Journal/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Journal/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Journal/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Journal/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Journal/js/bootstrap.min.js create mode 100644 res/themes/Lumen/css/bootstrap.min.css create mode 100644 res/themes/Lumen/css/custom.css create mode 100644 res/themes/Lumen/css/font-awesome.min.css create mode 100644 res/themes/Lumen/fonts/FontAwesome.otf create mode 100644 res/themes/Lumen/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Lumen/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Lumen/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Lumen/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Lumen/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Lumen/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Lumen/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Lumen/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Lumen/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Lumen/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Lumen/js/bootstrap.min.js create mode 100644 res/themes/Paper/css/bootstrap.min.css create mode 100644 res/themes/Paper/css/custom.css create mode 100644 res/themes/Paper/css/font-awesome.min.css create mode 100644 res/themes/Paper/fonts/FontAwesome.otf create mode 100644 res/themes/Paper/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Paper/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Paper/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Paper/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Paper/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Paper/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Paper/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Paper/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Paper/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Paper/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Paper/js/bootstrap.min.js create mode 100644 res/themes/Readable/css/bootstrap.min.css create mode 100644 res/themes/Readable/css/custom.css create mode 100644 res/themes/Readable/css/font-awesome.min.css create mode 100644 res/themes/Readable/fonts/FontAwesome.otf create mode 100644 res/themes/Readable/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Readable/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Readable/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Readable/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Readable/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Readable/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Readable/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Readable/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Readable/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Readable/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Readable/js/bootstrap.min.js create mode 100644 res/themes/Sandstone/css/bootstrap.min.css create mode 100644 res/themes/Sandstone/css/custom.css create mode 100644 res/themes/Sandstone/css/font-awesome.min.css create mode 100644 res/themes/Sandstone/fonts/FontAwesome.otf create mode 100644 res/themes/Sandstone/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Sandstone/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Sandstone/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Sandstone/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Sandstone/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Sandstone/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Sandstone/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Sandstone/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Sandstone/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Sandstone/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Sandstone/js/bootstrap.min.js create mode 100644 res/themes/Simplex/css/bootstrap.min.css create mode 100644 res/themes/Simplex/css/custom.css create mode 100644 res/themes/Simplex/css/font-awesome.min.css create mode 100644 res/themes/Simplex/fonts/FontAwesome.otf create mode 100644 res/themes/Simplex/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Simplex/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Simplex/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Simplex/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Simplex/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Simplex/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Simplex/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Simplex/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Simplex/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Simplex/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Simplex/js/bootstrap.min.js create mode 100644 res/themes/Slate/css/bootstrap.min.css create mode 100644 res/themes/Slate/css/custom.css create mode 100644 res/themes/Slate/css/font-awesome.min.css create mode 100644 res/themes/Slate/fonts/FontAwesome.otf create mode 100644 res/themes/Slate/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Slate/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Slate/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Slate/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Slate/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Slate/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Slate/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Slate/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Slate/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Slate/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Slate/js/bootstrap.min.js create mode 100644 res/themes/Spacelab/css/bootstrap.min.css create mode 100644 res/themes/Spacelab/css/custom.css create mode 100644 res/themes/Spacelab/css/font-awesome.min.css create mode 100644 res/themes/Spacelab/fonts/FontAwesome.otf create mode 100644 res/themes/Spacelab/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Spacelab/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Spacelab/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Spacelab/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Spacelab/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Spacelab/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Spacelab/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Spacelab/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Spacelab/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Spacelab/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Spacelab/js/bootstrap.min.js create mode 100644 res/themes/Superhero/css/bootstrap.min.css create mode 100644 res/themes/Superhero/css/custom.css create mode 100644 res/themes/Superhero/css/font-awesome.min.css create mode 100644 res/themes/Superhero/fonts/FontAwesome.otf create mode 100644 res/themes/Superhero/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Superhero/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Superhero/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Superhero/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Superhero/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Superhero/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Superhero/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Superhero/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Superhero/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Superhero/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Superhero/js/bootstrap.min.js create mode 100644 res/themes/United/css/bootstrap.min.css create mode 100644 res/themes/United/css/custom.css create mode 100644 res/themes/United/css/font-awesome.min.css create mode 100644 res/themes/United/fonts/FontAwesome.otf create mode 100644 res/themes/United/fonts/fontawesome-webfont.eot create mode 100644 res/themes/United/fonts/fontawesome-webfont.svg create mode 100644 res/themes/United/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/United/fonts/fontawesome-webfont.woff create mode 100644 res/themes/United/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/United/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/United/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/United/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/United/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/United/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/United/js/bootstrap.min.js create mode 100644 res/themes/Yeti/css/bootstrap.min.css create mode 100644 res/themes/Yeti/css/custom.css create mode 100644 res/themes/Yeti/css/font-awesome.min.css create mode 100644 res/themes/Yeti/fonts/FontAwesome.otf create mode 100644 res/themes/Yeti/fonts/fontawesome-webfont.eot create mode 100644 res/themes/Yeti/fonts/fontawesome-webfont.svg create mode 100644 res/themes/Yeti/fonts/fontawesome-webfont.ttf create mode 100644 res/themes/Yeti/fonts/fontawesome-webfont.woff create mode 100644 res/themes/Yeti/fonts/fontawesome-webfont.woff2 create mode 100644 res/themes/Yeti/fonts/glyphicons-halflings-regular.eot create mode 100644 res/themes/Yeti/fonts/glyphicons-halflings-regular.svg create mode 100644 res/themes/Yeti/fonts/glyphicons-halflings-regular.ttf create mode 100644 res/themes/Yeti/fonts/glyphicons-halflings-regular.woff create mode 100644 res/themes/Yeti/fonts/glyphicons-halflings-regular.woff2 create mode 100644 res/themes/Yeti/js/bootstrap.min.js diff --git a/.gitignore b/.gitignore index 723ef36..bcc0b7a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.idea \ No newline at end of file +.idea +vendor/ \ No newline at end of file diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..5a928f6 --- /dev/null +++ b/.htaccess @@ -0,0 +1 @@ +Options -Indexes diff --git a/READ ME.php b/READ ME.php new file mode 100644 index 0000000..b64f785 --- /dev/null +++ b/READ ME.php @@ -0,0 +1,7 @@ +Helpful PHP: + +Get username: getUsername();?> + +Check if player is admin: isSU()){?> INPUT CONTENT FOR ADMIN EYES ONLY HERE Then end admin content with: +OR instead of ending ALL content, you can use this: instead of this , input content for non-admins, and THEN put to end ALL content. +This is helpful to stop an error saying that, wait a minute, this isn't an admin... HALP! \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index 9766d4e..0000000 --- a/README.md +++ /dev/null @@ -1,14 +0,0 @@ -BAT-WebInterface -================ - -This is a webinterface written in PHP for the BungeeAdminTools plugin, a bungeecord administration plugin. - -##How to deploy the webinterface : - The webinterface uses *Composer* (a dependency management system) and therefore asks a bit of work before being able to work.
So you have two solutions : - * for users : download packaged (plug and play) version of the webinterface here
- * for developers : once you cloned the repo, you should run the following commands : ```composer update``` and ```composer dump-autoload -o```. It should create a *vendor* directory in the root folder of the project and that's all you have to do to get an working application. - -##Links : -* WebInterface wiki : http://www.spigotmc.org/wiki/bungee-admin-tools-web-interface-documentation/ -* BAT plugin repository : https://github.com/alphartdev/BungeeAdminTools -* BAT page : http://www.spigotmc.org/resources/bungee-admin-tools.444/ diff --git a/application/config/messages.php b/application/config/messages.php index db238cc..3aaf06e 100644 --- a/application/config/messages.php +++ b/application/config/messages.php @@ -1,6 +1,6 @@ Ended"; // When a punisshment is ended const commentTypeWarning = "Warning"; // When a comment's type is an warning const commentTypeNote = "Note"; // When a comment's type is an note -const ipHidden = "Address IP hidden"; +const ipHidden = "IP address hidden"; } ?> \ No newline at end of file diff --git a/application/controller/BaseController.php b/application/controller/BaseController.php index 07d3408..e74cb7e 100644 --- a/application/controller/BaseController.php +++ b/application/controller/BaseController.php @@ -52,81 +52,28 @@ protected function getSortingColumn(){ } return $sortingColumn; } - - protected function generatePaginationView($currentPage, $totalPages) { - - if ($totalPages == 1) { - return ""; + + protected function generatePaginationView($currentPage, $totalPages){ + $display = "
    "; + if($currentPage == 1){ + $display .= "
  • 1
  • "; } - - $display = "
      "; - - $stack = array(); - - if ($totalPages <= 7) { - // Just display 5 Pagination Buttons - for ($i = 1; $i <= $totalPages; $i++) { - array_push($stack, $i); - } - } else { - - $stack = array(1, $totalPages); - - if ($currentPage == 1) { - // Add 5 following - for ($i = 1; $i <= 5; $i++){ - array_push($stack, ($currentPage+$i)); - } - } else if ($currentPage == $totalPages) { - // Add 5 previous - for ($i = 1; $i <= 5; $i++){ - array_push($stack, ($currentPage-$i)); - } - } else { - array_push($stack, ($currentPage)); - - $missing1 = 2; - $missing2 = 2; - - while (count($stack) < 7) { - for ($i = 1; $i <= $missing1; $i++ ){ - $pageToAdd = $currentPage - $i; - if (!in_array($pageToAdd, $stack) && $pageToAdd > 1) { - array_push($stack, $pageToAdd); - } else { - $missing2++; - } - } - - for ($i = 1; $i <= $missing2; $i++ ){ - $pageToAdd = $currentPage + $i; - if (!in_array($pageToAdd, $stack) && $pageToAdd < $totalPages) { - array_push($stack, $pageToAdd); - } else { - $missing1++; - } - } - } + else{ + $display .= "
    • 1
    • "; + if($currentPage == 2){ + $display .= "
    • 2
    • "; + }else{ + $display .= "
    • ...
    • "; + $display .= "
    • $currentPage
    • "; } } - - asort($stack); - - $lastval = 0; - foreach ($stack as &$val) { - if (($val - 1) != $lastval) { - $display .= "
    • ...
    • "; - } - - $lastval = $val; - if ($val == $currentPage) { - $display .= "
    • $val
    • "; - } else { - $display .= "
    • $val
    • "; - } + if($currentPage + 1 < $totalPages){ + $display .= "
    • ...
    • "; + } + if($currentPage != $totalPages){ + $display .= "
    • $totalPages
    • "; } - - $display .= "
    "; + $display .= "
"; return $display; } diff --git a/application/controller/admin_controller.php b/application/controller/admin_controller.php index 2aa9734..be0f53b 100644 --- a/application/controller/admin_controller.php +++ b/application/controller/admin_controller.php @@ -1,12 +1,12 @@ model = new admin_model(); } - + protected function index(){ if($this->isAdmin()){ $this->action = "index"; @@ -15,7 +15,7 @@ protected function index(){ $this->login(); } } - + // Login, logout pages protected function login(){ $this->action = "login"; @@ -39,33 +39,16 @@ protected function processlogin(){ } protected function logout(){ if(!$this->isAdmin()){return;} - + session_destroy(); $answer = new AJAXAnswer("You have successfully disconnected !", true, ""); echo $answer->getJSON(); } - - // User change password - protected function changepassword(){ - $this->action = "changepassword"; - echo $this->getView(array()); - } - - protected function updateaccount(){ - if(!$this->isAdmin()){$this->index();return;} - if(empty($_POST['password'])){ - $answer = new AJAXAnswer("Please fill in your new password !", false); - echo $answer->getJSON(); - return; - } - - echo $this->model->updateAccount($_SESSION['username'], $_POST['password']); - } - + // SuperUser features protected function manageaccounts(){ if(!$this->isSU()){$this->index();return;} - + echo $this->getView(array("users" => $this->model->listUsers())); } protected function createaccount(){ @@ -75,7 +58,7 @@ protected function createaccount(){ echo $answer->getJSON(); return; } - + echo $this->model->createAccount($_POST['user'], $_POST['password']); } protected function deleteaccount(){ @@ -90,7 +73,7 @@ protected function deleteaccount(){ echo $answer->getJSON(); return; } - + echo $this->model->removeAccount($_POST['user']); } protected function toggleSU(){ @@ -105,8 +88,8 @@ protected function toggleSU(){ echo $answer->getJSON(); return; } - + echo $this->model->toogleSU($_POST['user']); } - -} + +} \ No newline at end of file diff --git a/application/models/BaseModel.php b/application/models/BaseModel.php index ffeedc8..dfcbc01 100644 --- a/application/models/BaseModel.php +++ b/application/models/BaseModel.php @@ -5,7 +5,7 @@ abstract class BaseModel{ public function __construct(){ require("application/config/config.inc.php"); try{ - $this->database = new PDO('mysql:host='.$host.';port='.$port.';dbname='.$database, $user, $password); + $this->database = new PDO('mysql:host='.$host.';dbname='.$database, $user, $password); }catch(Exception $e) { die('An error occured connecting to the database. Please check your database login information: '.$e->getMessage()); diff --git a/application/models/admin_model.php b/application/models/admin_model.php index da8697b..40d2767 100644 --- a/application/models/admin_model.php +++ b/application/models/admin_model.php @@ -1,6 +1,6 @@ database->prepare("SELECT * FROM BAT_web WHERE user = :user;"); $query->execute(array("user" => $user)); @@ -15,7 +15,7 @@ public function checkCredentials($user, $pwd){ if($salt == null){ return false; } - + $hash = hash("sha512", $pwd . $salt); $query = $this->database->prepare("SELECT * FROM BAT_web WHERE user = :user AND password = :pwd;"); $query->execute(array("user" => $user, "pwd" => $hash)); @@ -25,13 +25,13 @@ public function checkCredentials($user, $pwd){ } return false; } - + public function createAccount($user, $password){ if($this->getSalt($user) != null){ $answer = new AJAXAnswer("Error: an account with this username already exists.", false); return $answer->getJSON(); } - + if(strlen($user) > 32){ $answer = new AJAXAnswer("Error: the username length must be 32 characters or less.", false); return $answer->getJSON(); @@ -40,7 +40,7 @@ public function createAccount($user, $password){ $answer = new AJAXAnswer("Error: the password must be 6 characters or longer", false); return $answer->getJSON(); } - + $salt = substr(md5(uniqid(rand(), true)), 0, 16); $hash = hash("sha512", $password . $salt); $query = $this->database->prepare("INSERT INTO BAT_web (user, password, salt) @@ -52,24 +52,6 @@ public function createAccount($user, $password){ $answer = new AJAXAnswer("Account successfully created!", true); return $answer->getJSON(); } - - public function updateAccount($user, $password){ - if(strlen($password) < 6){ - $answer = new AJAXAnswer("Error: the password must be 6 characters or longer", false); - return $answer->getJSON(); - } - - $salt = substr(md5(uniqid(rand(), true)), 0, 16); - $hash = hash("sha512", $password . $salt); - $query = $this->database->prepare("UPDATE BAT_web SET password = :pwd, salt = :salt WHERE user = :user;"); - $query->execute(array( - "user" => $user, - "pwd" => $hash, - "salt" => $salt)); - $answer = new AJAXAnswer("Password successfully updated", true); - return $answer->getJSON(); - } - public function removeAccount($user){ $query = $this->database->prepare("DELETE FROM BAT_web WHERE user = :user;"); $query->execute(array("user" => $user)); @@ -92,7 +74,7 @@ public function toogleSU($user){ return $answer->getJSON(); } } - + public function listUsers(){ $query = $this->database->prepare("SELECT * FROM BAT_web;"); $query->execute(); @@ -103,17 +85,17 @@ public function listUsers(){ } return $users; } - + } class AdminProfile{ private $username; private $superuser; - + public function __construct($username, $isSU){ $this->username = $username; $this->superuser = $isSU; } - + public function getData(){ return array( "username" => $this->username, diff --git a/application/views/_template/admin/navbarAddon.php b/application/views/_template/admin/navbarAddon.php index 0e93f9f..722760a 100644 --- a/application/views/_template/admin/navbarAddon.php +++ b/application/views/_template/admin/navbarAddon.php @@ -1,12 +1,11 @@
  • Hi, getUsername() ?> !
  • -
  • Panel
  • +
  • AdminCP
  • isSU()){?>
  • Accounts
  • -
  • Change password
  • -
  • Disconnect
  • +
  • Sign Out
  • - + \ No newline at end of file diff --git a/application/views/_template/header.php b/application/views/_template/header.php index b833184..18973f3 100644 --- a/application/views/_template/header.php +++ b/application/views/_template/header.php @@ -16,33 +16,94 @@ - - From 48f3fef39229335f8518639e73ffced254acf496 Mon Sep 17 00:00:00 2001 From: Muhsinun Chowdhury Date: Tue, 3 Jan 2017 17:07:57 -0500 Subject: [PATCH 15/33] Change look of index.php & remove remnant of old navbar --- Useful PHP.php | 1 + application/config/messages.php | 2 +- application/views/_template/header.php | 39 ++++++++++++++------------ application/views/home/index.php | 8 +++--- 4 files changed, 27 insertions(+), 23 deletions(-) diff --git a/Useful PHP.php b/Useful PHP.php index 58d0b76..3483aa3 100644 --- a/Useful PHP.php +++ b/Useful PHP.php @@ -14,3 +14,4 @@ Reads the ?p=PAGENAME +Get network name content from messages.php: \ No newline at end of file diff --git a/application/config/messages.php b/application/config/messages.php index 3aaf06e..6c6b553 100644 --- a/application/config/messages.php +++ b/application/config/messages.php @@ -1,6 +1,6 @@ - -<?php echo Message::network;?> punishment list - - - - - - - - - - - + + <?php echo Message::network;?> Infractions + + + + + + + + + + + + + + + + + + -