Sample plugins/demos:
http://jsfiddle.net/rdpuxajo/2/
An image-map, with clickable areas:
https://www.w3schools.com/tags/tag_map.asp
https://www.w3schools.com/TAgs/tag_area.asp
https://www.w3schools.com/TAgs/att_area_coords.asp
Steps to run:
- Dump trees.sql
- run http://localhost/TreePlantation/index.php
- run http://localhost/TreePlantation/forbidden_area.php
Tasks Completed:
- Place trees.
- Store tree location data in database.
- Take username and email as input.
- Select type of tree to place.
- Hover on tree shows person name, email and tree type.
- Form to take coordinates input of forbidden area.
- Store forbidden area data in database.
- Restrict area.
- Users signup with username, email and password.
- Users login with username and password to place trees.
- Create an admin.
- Admin can assign 'admin' role to other users.
- Admin can upload/remove tree icons.
- Admin can delete users and ultimately their trees.
- Only admin can mark forbidden area.
- Admin can remove any tree but user can only remove own tree.