You can download the completed project here:
You will find a database.sql file in the zip. I had to change your database to meet the requirements. You will want to recreate the database with:
DROP SCHEMA customers;
CREATE DATABASE customers;
Then paste run the code from database.sql
Now that your database is recreated, the new functionality will work.
As per the requirements, you can sign up for any of the three account types. When you sign up for an account, a cookie is set. If you then click on "Login", you are automatically logged in.
The site relies on a session variable and each account type has access to specific pages. If you attempt to access pages without being logged into the correct account type, you will be thrown back to the index page.
I altered almost every file that is currently in use.
As a side note, I do not know if your course endorses the use of third-party WYSIWYG web site editors. But it is appears that you have used one. Or if you received this code form your insturctor, then he used one.
Many of the items used in the HTML are no longer in use in the real world. Some are highly discouraged, others are unacceptable in modern development. For instance, the font tag is no longer used. It hasn't been used in web development for quite some time. Also, using absolute position for everything in a web page is considered bad form to put it mildly.
The most elegant and extravagent web page layouts can be achieved with some simple CSS and just a few lines of HTML. In this case, the Index page is currently 160 lines long. Written with modern techniques, with the layout entirely controlled by CSS, this would less than 50 liens of HTML.
If you have an interest in doing this type of work after school, I would recommend (to any student) reading up on CSS/CSS3 as much as possible and practicing with it and playing around with it. The W3C offers a great tutorial here
As you go through each item on the left, you will see "Try It Yourself" buttons that allow you to play with and modify the code so that you become comfortable with it.
In any case, let me know if you have any questions. I'm here to help.
Please remember to rate my answer. Thank you so much!