Admin and DataVis Component Descriptions Michael Black Overview There are three main files that deal with the admin and datavis portion of the project: home.php, export.php, and view.php. All of these files are located within the admin/ directory on the web and are password protected using .htaccess and .htpasswd files. All the other php files that this portion of the project relies on are located within the common utility directory in the main directory of the webpage. home.php This is the main homepage of the admin and datavis site. It will allow the user to change the password, view the current election results, and download the current election results. It only relies on the DatabaseInterface.php file to retrieve the name of the election. export.php This file will allow the user to save the election as an excel spreadsheet. A window will popup asking the user to save the file. It relies on DatabaseInterface.php to retrieve election information. It also uses Constants.php in order to use the constants stored in that file. It only has one big function in which it loops through the results and places all the information in the excel spreadsheet. view.php This file allows the user to graphically view the current progress of an election. It also relies on DatabaseInterface.php and Constants.php to gather information about the election. It again has one large loop that goes through the current results and outputs html to create bar graphs for users to see. It will also have such information as time remaining for the election, number of votes submitted already, and number of users currently logged on.