AutoPulse v 1.0.1
 
Loading...
Searching...
No Matches
File List
Here is a list of all files with brief descriptions:
 approve-admin_rights.phpThis script handles the approval of a user request for admin rights by updating the value of admin column in users database
 authFailurePopUp.phpScript for dynamically constructing the error message interface and content according to the error context taken as a GET request parameter
 confirm-publish.phpThis script handles the approval of publishing of the particular insertion gived by website administrators. Upadates insertion status from "waiting" to "published"
 connection.phpThis file handles the default database connection. Is imported in all the scripts that require one
 decline-admin_rights.phpThis script handles the decline of user requests for admin rights by updating the value of admin column in users database
 delete_insertion.phpThis script handles the deletion of the particular insertion from the database by website admins or insertion owners
 editdata.phpForm for user data editing
 get_admin_rights_requests.phpThis script executes retrieving and displaying of the user requests for admin rights with options to aprrove or decline them
 get_insertions.phpThis script executes retrieving and displaying insertions to the user in various modes according to the parameters of GET request
 get_makes.phpThis script retrieves the unqiue values of the 'make' column of the 'models' table and sends them as .json response
 get_models.phpThis script retrieves the values of the 'model' column of the 'models' table according to 'make' parameter of the GET request and sends them back as .json response
 getDataErrorPopup.phpScript for dynamically constructing the error message interface and content according to the error context taken as a GET request parameter
 header.phpScript for dispaying the page header. Most of the buttons are displayed and available to user according to his authorization status ('user_id' and 'admin' parameters of $_SESSION)
 index.phpScript for displaying the main website page. Includes components. Displays error message pop-up in case of error context parameter set in GET request
 insertion.phpThis script handles retrieving of detailed data of the particular insertion from the database and displaying it as a separate page with some insertion management interface provided for the authorized users
 login.phpForm for user login
 myprofile.phpThis scripts handles displaying user his profile with some account managing interface
 process-accountDelete.phpThis script handles the deletion of the user account initiated by the user himself
 process-adminRightsRequest.phpThis script handles reflecting in the database the fact that the user has requested for the admin rights
 process-editdata.phpThis script provides validation of user editdata form inputs and updating user data in the database in case of successful validation
 process-login.phpThis script provides validation of user login form inputs, comparison of user authorization data from the input with the one set in the database for this user, and starting a session with set parameters of 'user_id' and 'admin'
 process-logout.phpThis script handles logout initiated by the user. Unsets and destroys session, clears cookies, redirects back to the main page
 process-publishInsertion.phpThis script provides validation of inputs of user publish-insertion form, including the attached files
 process-register.phpThis script provides validation of user registration form inputs, saving new user data to the database in case of successful validation and starting a session for the new user
 publish-insertion.phpForm for posting the insertion
 register.phpForm for user registration
 searchbar.phpThis script handles the display and behaviour of the searchbar for the user detailed search among the exisiting insertions by make and model