DV Unit CMS:2010 Fall User Manual

User's Manual
By Bethany Ross

Overview
The project is for the Domestic Violence Unit of the Manchester Police. It is used to help keep track of defendants’ progress in the required counseling. It keeps track of when notifications were sent to the defendants, the defendant’s counselor and the type of counseling that the defendant is (or needs to be) enrolled in. Currently the division is using an Excel spreadsheet to keep track of the information.



Architecture
The architecture for the project is Model/View/Controller. The model subsystem is the SQL database which stores all the data. The view subsystem is the actual program itself where you can view the information. The control subsystem is the buttons which can manipulate the data. The program view uses php, html and CSS coding. The CSS file maintains the look of the program throughout all of the pages.

Index Page
The index page displays the name of the program at the top (DV Unit CMS). On this home page the only option is log in by clicking the text that displays “log in” which then brings the user to the log in page.



Login Page
The login page displays the text “Please enter your username and password to log in”. There are two text boxes that the user must fill in (username and password). Then the user must click "login" to have access to the information in the program. The information that is available to the user will be based upon the user’s privileges.



Home Page
Once the user logs in to the program the home page is displayed. On the home page near the top lists all the pages that are available to the user. Under that is the form to add a person record. When the user fills in the fields and clicks the ADD RECORD, the record is added to the database. When the user clicks the FILE CASE, the page changes to the prosecutor's page and the information is saved. When the user clicks CANCEL, the information that was added in the record erases. About halfway down the page is the function to search through the records in the database. The user can search through the records based on the following fields; First Name, Last Name, Address, City, State and Zip. Below the search feature is a printout list of all the people currently in the database.



Prosecutor's Page
The prosecutor’s page allows the user to add a case to the database. The user adds a case using the add a case form. When the user fills in the fields and clicks ADD CASE, the case is added to the database. When the user clicks FILE PROGRAM the user is directed to the Counselor's Page. When the user clicks CANCEL, the information that was entered in the fields gets erased. On the bottom half of the page is the search feature and below that is a printout of all the case that a prosecutor has. Each of the cases has an update button that when pressed the information in the database is placed in the add a case form and the user can change the information. Once the information is changed in the fields the user clicks ADD CASE to save the changed information.



Counselor's Page
The counselor’s page allows the user to a program to the person. The user adds a program using the add a program form. When the user fills in the fields and clicks ADD PROGRAM, the program is added to the database. When the user clicks FILE ANOTHER PROGRAM the page reloads so the user is able to create a new program. When the user clicks CANCEL, the information that was entered in the fields gets erased. This page also contains the search feature which allows the user to search through the cases. Under the search feature is a display of the cases sorted by the counselor’s name. Each case has an update button which when clicked the information from the database is placed in the add a program form and the user can change the information. Once the information is changed in the fields the user clicks ADD PROGRAM to save the changed information.



Users Page
The users page allows the admin to add users to the program. The top of the page displays the add a user form. When the user fills in the fields and clicks ADD USER the user is added to the database. When the user clicks CANCEL, the information that was entered in the fields gets erased. Under the form is the search feature to search through the users of the program. Under the search feature is the display of the current user profiles. Each user profile has an update button to the right. When the update button is clicked the information from the database is placed in the add a user form and the user can change the information. Once the information is updated in the fields the user clicks ADD USER to save the changed information.



Logout Page
The logout page is accessed by clicking “Log out” near the top of any page. Once that is pressed it logs the user out of the program and brings the user back to the log in page.