diff --git a/css/install.css b/css/install.css new file mode 100644 index 00000000..c98cfd6e --- /dev/null +++ b/css/install.css @@ -0,0 +1,67 @@ +body, html{ + height: 100%; + background-repeat: no-repeat; +} + +.main{ + margin-top: 70px; +} + +h1.title { + font-size: 50px; + font-family: 'Passion One', cursive; + font-weight: 400; +} + +hr{ + width: 10%; + /*color: #fff;*/ +} + +.form-group{ + margin-bottom: 15px; +} + +label{ + margin-bottom: 15px; +} + +input, +input::-webkit-input-placeholder { + font-size: 11px; + padding-top: 3px; +} + +.main-login{ + /*background-color: #fff;*/ + /* shadows and rounded borders */ + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; + -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); + -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); + box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); + +} + +.main-center{ + margin-top: 30px; + margin: 0 auto; + max-width: 330px; + padding: 40px 40px; + +} + +.login-button{ + margin-top: 5px; +} + +.login-register{ + font-size: 11px; + text-align: center; +} + + +.terms{ + max-height: 200px; overflow: auto; +} diff --git a/css/join.css b/css/join.css new file mode 100644 index 00000000..76822f61 --- /dev/null +++ b/css/join.css @@ -0,0 +1,67 @@ + body, html{ + height: 100%; + background-repeat: no-repeat; +} + +.main{ + margin-top: 70px; +} + +h1.title { + font-size: 50px; + font-family: 'Passion One', cursive; + font-weight: 400; +} + +hr{ + width: 10%; + /*color: #fff;*/ +} + +.form-group{ + margin-bottom: 15px; +} + +label{ + margin-bottom: 15px; +} + +input, +input::-webkit-input-placeholder { + font-size: 11px; + padding-top: 3px; +} + +.main-login{ + /*background-color: #fff;*/ + /* shadows and rounded borders */ + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; + -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); + -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); + box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); + +} + +.main-center{ + margin-top: 30px; + margin: 0 auto; + max-width: 330px; + padding: 40px 40px; + +} + +.login-button{ + margin-top: 5px; +} + +.login-register{ + font-size: 11px; + text-align: center; +} + + +.terms{ + max-height: 200px; overflow: auto; +} diff --git a/f_func/func.php b/f_func/func.php index 0dc98f67..5f740afa 100644 --- a/f_func/func.php +++ b/f_func/func.php @@ -15,7 +15,7 @@ function CustomHeader() { header('Pragma: no-cache'); // header('Cache-Control: public'); // header('Pragma: public'); - header('Content-Type: text/html; charset=utf-8'); +// header('Content-Type: text/html; charset=utf-8'); } //define(CURPATH, 'f_async'); //define(FILE, substr(strrchr(__FILE__, "\\"), 1)); @@ -26,6 +26,22 @@ function getmicrotime() { return $microtimestmp[0] + $microtimestmp[1]; } +function logErrorByCustomHandler(int $errno , string $errstr, string $errfile, int $errline, array $errcontext){ + if (!(error_reporting() & $errno)) { + // This error code is not included in error_reporting, so let it fall + // through to the standard PHP error handler + return false; + } + + $date = date("Ymd_His"); + + file_put_contents(__DIR__.'/../d_log/err_log.txt',"$date, $errno, $errstr, $errfile, $errline\n"); + + /* Don't execute PHP internal error handler */ + return true; +} +set_error_handler("logErrorByCustomHandler"); + function Error($msg) { AppendToFile(ROOT.'/d_log/err.txt', $msg."\n"); exit(1); diff --git a/f_install/install.php b/f_install/install.php index 095cf537..bb531c39 100644 --- a/f_install/install.php +++ b/f_install/install.php @@ -1,18 +1,126 @@ - - -
- -