Commit Graph

184 Commits

Author SHA1 Message Date
71fb5e4933 - Added database validation
- Added valid date for posts
- Fix passing data to htmls conflicts
2017-09-06 10:40:05 +07:00
57dc4ca0b9 Added admin privilages 2017-09-05 14:03:55 +07:00
a4db3c8391 Fixing PDO fetching 2017-09-05 13:37:16 +07:00
f8f4398007 Added login function 2017-09-05 13:36:19 +07:00
47d455063f - Code design
- Passing data from users table
2017-09-05 11:30:11 +07:00
1381593163 Added function to deactivate post 2017-09-05 10:53:03 +07:00
61060dd393 Function edit works successfuly 2017-09-05 10:24:44 +07:00
c64064321e - Function to store and get worked good
- Token works great
- Session works great
2017-09-05 10:01:27 +07:00
45dbe24da7 Adding token and current timestamp to html. 2017-09-05 08:54:32 +07:00
06c4e2a74e Added input handler, redirector, session handler, and token handler. 2017-09-04 16:25:11 +07:00
e1d70ed8f4 Receive data from database and pass to html using twig 2017-09-04 16:20:27 +07:00
aa60edbbf0 Create function to pass data to html through twig 2017-09-04 15:35:11 +07:00
424737117a Configure html files with twig 2017-09-04 15:05:54 +07:00
e7b5eec29d Create conditions if no id is given. 2017-09-04 14:47:30 +07:00
a2a5289f66 Modify html pages 2017-09-04 14:46:51 +07:00
287bd4beab Fixing render path 2017-09-04 14:33:03 +07:00
7fa99eb6d8 Registering twig to project 2017-09-04 14:08:36 +07:00
81510beb10 Change autoload engine from spl to composer 2017-09-04 11:17:30 +07:00
10ff7818d0 Fix errors while test route 2017-09-04 11:05:10 +07:00
bfdd632adf Fix errors in the router 2017-09-04 11:02:25 +07:00
128d337383 Fix router option in the Router test case. 2017-09-04 10:40:40 +07:00
62430ff905 - Methods that are same (e.g. entry(), update(), delete(), etc.) defined in the parent.
- Added function when entry multiple rows (in this case is when putting
categories).
- Do test.
2017-09-04 10:37:25 +07:00
58264e39db Modify route options and do test 2017-08-31 15:58:06 +07:00
836a4d8995 Modify Model set functions to abstract, create Access interactions, do test. 2017-08-31 15:54:50 +07:00
031a188f5b Make a better database interactions 2017-08-31 15:09:43 +07:00
a075e1c36e Modify Model become abstract, create database interactions and do test. 2017-08-31 14:53:17 +07:00
5ca179fac7 Modify Model.php 2017-08-31 13:31:52 +07:00
1235bd4148 Create database connection using configuration then do a test 2017-08-31 13:21:38 +07:00
f56503a4d4 Fix the errors while testing router, and create new method login() on Home controller 2017-08-31 10:39:31 +07:00
6666d674a6 Modify router to accept variables and do test 2017-08-31 10:21:55 +07:00
d51baaf2c2 Modify form objects in login.html and edit_pengumuman.html, also create new html new_pengumuman.html 2017-08-31 10:12:06 +07:00
9a94e5b250 Create Controllers Home and Posts 2017-08-31 09:57:27 +07:00
ffea1b6b6c Create Core/Router and public/index then test the Router 2017-08-31 08:59:49 +07:00
6b5fe0eadf Create html files:
+ login
+ pengumuman
+ edit pengumuman
2017-08-28 15:45:07 +07:00