Added sidebar to all five main pages: 'List of patients', 'Patient', 'Pain Information', 'Medicine Information' and 'Pain Management Information'.
Added missing mysqli_close statement at the end.
1. Used an online library for OpenID login. 2. Created login_check.php checks if logged in user should be allowed in system. 3. Removed mysql connection code to a seperate file. 4. Added lib/login_check.php and lib/mysql_connect.php to all delete/edit/view files.
1. Cannot add medicine to new Pain until after Pain row was added. 2. Fixed spelling error in pain_management.
1. Added the ability to logout. 2. When a patient is deleted, all it's corresponding data from Pain, PainManagement and Medicine is deleted. 3. Added a confirm before the delete patient was processed. 4. Fixed bug in view_all_pain_management.
follow up