diff --git a/App/Models/Access.php b/App/Models/Access.php index a5dcb74..bbc0b3c 100644 --- a/App/Models/Access.php +++ b/App/Models/Access.php @@ -14,7 +14,6 @@ class Access extends \Core\Model 'full_name varchar(50) NOT NULL', 'registered_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP', 'privilege tinyint(1) NOT NULL DEFAULT 0', - 'status tinyint(1) NOT NULL DEFAULT 0', 'max_user int(1) NOT NULL DEFAULT 5', 'PRIMARY KEY (id)' ] diff --git a/App/Models/Post.php b/App/Models/Post.php index 52814f2..c1b0e9f 100644 --- a/App/Models/Post.php +++ b/App/Models/Post.php @@ -12,7 +12,7 @@ class Post extends \Core\Model 'category int(3) NOT NULL', 'created_at timestamp NOT NULL DEFAULT "00-00-00 00:00:00"', 'valid_at timestamp NOT NULL DEFAULT "00-00-00 00:00:00"', - 'expired_at timestamp NOT NULL', + 'expired_at timestamp NOT NULL DEFAULT "00-00-00 00:00:00"', 'creator int(3) NOT NULL', 'edited_at timestamp', 'editor int(3)', diff --git a/App/Views/base.html b/App/Views/base.html index 8696b67..c94eca9 100644 --- a/App/Views/base.html +++ b/App/Views/base.html @@ -24,7 +24,7 @@ padding-right: .6em; } - .flex>h1 { + .flex>h1, .flex>span { padding: 0; } @@ -163,6 +163,12 @@ .pengumuman { width: 100%; } + + #info span { + width: 98%; + padding: .7em 0; + margin: 0; + }
diff --git a/public/index.php b/public/index.php index 34953ce..65c294f 100644 --- a/public/index.php +++ b/public/index.php @@ -13,15 +13,13 @@ set_exception_handler("Core\Error::exceptionHandler"); if (Core\Session::exists('info')) { echo ' -