diff --git a/check.php b/check.php new file mode 100644 index 000000000..a6a92dbbf --- /dev/null +++ b/check.php @@ -0,0 +1,140 @@ +'; + echo '
'; + echo '

'. $extension . '

'; + echo '
'; + echo '
'; + echo $extension . ' is loaded and ready to rock-n-roll! Good 2 Go!'; + echo '
'; + + else : + + echo '
'; + echo '
'; + echo '

'. $extension . '

'; + echo '
'; + echo '
'; + echo $extension . ' is NOT loaded! Please install it before proceeding'; + + if($extension == "PDO_SQLITE") : + + echo '
If you are on Windows, please uncomment this line in php.ini: ;extension=php_pdo_sqlite.dll'; + + endif; + + echo '
'; + + endif; + +} + +function getFilePermission($file) { + + if (file_exists($file)) : + + $length = strlen(decoct(fileperms($file)))-3; + + if($file{strlen($file)-1}=='/') : + + $name = "Folder"; + + else : + + $name = "File"; + + endif; + + if (is_writable($file)) : + + echo '
'; + echo '
'; + echo '

'. $file . 'Permissions: ' . substr(decoct(fileperms($file)),$length) . '

'; + echo '
'; + echo '
'; + echo $file . ' is writable and ready to rock-n-roll! Good 2 Go!'; + echo '
'; + + else : + + echo '
'; + echo '
'; + echo '

'. $file . '

'; + echo '
'; + echo '
'; + echo $file . ' is NOT writable! Please change the permissions to make it writtable by the PHP User.'; + echo '
'; + + endif; + + endif; +} + +$db = dirname(__DIR__, 1) . "/users.db"; +$folder = dirname(__DIR__, 1) . "/users/"; + +?> + + + + + + + + + + + + + Requirement Checker + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ +

Check Persmissions

+ + + +
+ +
+ + + + \ No newline at end of file diff --git a/css/style.css b/css/style.css index 043d4c213..041db0920 100644 --- a/css/style.css +++ b/css/style.css @@ -493,7 +493,7 @@ a.text-info:hover { } .gn-menu-main .navbar-right a { - padding: 0 20px !important; + padding: 0 10px 0 0 !important; font-size: 18px; } @@ -797,10 +797,12 @@ input.gn-search:focus { line-height: 56px; font-size: 24px; font-weight: 300; - width: 120px; + left: 56px; + right: 56px; position: absolute; - left: 50%; - margin-left: -60px; + /*left: 50%; + width: 100%; + margin-left: -60px;*/ top: 0; } @@ -1689,10 +1691,12 @@ body { .tabs-with-bg { background: #e7ebec; + border-radius: 6px; } .tabs-with-bg .nav-tabs { border-bottom: 0; + border-radius: 6px 6px 0 0; text-align: center; -webkit-box-shadow: 1px 0 1px -1px rgba(0, 0, 0, 0.2); box-shadow: 1px 0 1px -1px rgba(0, 0, 0, 0.2); @@ -4380,7 +4384,7 @@ body .ns-effect-loadingcircle { } .ultra-widget.blue-bg .w-used { - background-color: #4c9be8; + /*background-color: #4c9be8;*/ } .ultra-widget.yellow-bg .w-used { @@ -5966,7 +5970,7 @@ label { } .gn-menu-main .notifications > a:focus { - background-color: #4c9be8 !important; + /*background-color: #4c9be8 !important;*/ } .gn-menu-main .notifications ul { @@ -5983,7 +5987,7 @@ label { .no-touch .gn-menu-main a:hover, .no-touch .gn-search-item:hover { - background: #4c9be8; + /*background: #4c9be8;*/ color: #fff; } diff --git a/index.php b/index.php index 2b4479370..668e8d685 100644 --- a/index.php +++ b/index.php @@ -134,6 +134,8 @@ function registration_callback($username, $email, $userdir) endif; +$userpic = md5( strtolower( trim( $USER->email ) ) ); + ?> @@ -422,10 +424,10 @@ function registration_callback($username, $email, $userdir) authenticated) : ?> - + authenticated) : ?> - + @@ -444,6 +446,16 @@ function registration_callback($username, $email, $userdir)