This repository contains a basic PHP Admin Panel for an Article Website. The Admin Panel is designed for managing user groups, users, and articles on the website.
The Admin Panel contains the following pages/sections:
- Login Page: Users can log in with their username and password.
- Home Page: The home page includes a sidebar or top bar navigation with the following items: Groups, Users, Articles, and Logout.
- Groups Page: Admin can add, edit, and delete a group. Each group has a Font Awesome icon, name, and description. This page has a table for existing groups and a form to add new groups or edit existing ones. Users can search for a group by name or description.
- Users Page: Admin can add, edit, and delete users. Each user has a name, email, mobile number, username, password, and a group (each user can belong to one group). This page has a table for existing users and a form to add new users or edit existing ones. Users can filter users by group and search for a user by name.
- Articles Page: This page is accessible only to Admins and Editors. An article has a title, summary, image, full article, and publishing date. This page has a table for existing articles and a form to add new articles. Articles cannot be edited.
- Clicking a group name on the Groups Page opens the Users Page filtered by that group to see its users.
The Admin Panel is built using the following technologies:
- PHP
- MySQL
- HTML
- CSS
- Bootstrap
- Font Awesome
The Admin Panel includes the following features:
- Remember Me field on Login Page
- My Profile Page of the Logged in User
- Hello message with the date of the user's last visit when logged in
- Soft Delete with a column called is_Deleted in every table that, if true, then the record is deleted without having to actually delete the record.
- Error log files that store all errors in the system in the following format: Date Time, User IP, Browser used, Exception Message, File Name that causes the exception, Line.
- Admins: can access all pages/sections
- Editors: can access only the Articles Page
- Using any chart library to add a curve between Group name on X axis and its users in Y Axis
This project is licensed under the MIT license.