Find Jobs
Hire Freelancers

56519 Threat Meter

N/A

Completed
Posted about 19 years ago

N/A

Paid on delivery
I need a PHP script that works like this: . On our forums page there will be a "threat indicator" similiar to the one on the Department of Homeland Security: [login to view URL] Our image would calculate the current threat condition based on a table of votes which gets reset each day (calulations are based on the current days results with each day starting out as GREEN). Depending on the current vote average, an image would be displayed which reflects the current "threat condition". There would be five conditions that match the conditions outlined on the Dept of Homeland Security website. (Our graphic should have a transparent background and not the background used on the link above). . This image will be clickable by forum members to bring up a popup dialog which will allow the user to "vote" on the condition of the page for the day. Prompted with 5 selections, a radio button would be used that the user could choose from to indicate what they feel the threat condition should be. Because we only want members voting, we would want to pass the userid between scripts. This can be done with a $userid variable which we would set in our forums and could be used to call the popup script so that the userid can be included on the vote record. . When submitted, the script would post the selection to a table which holds the USERID of the user making the submission and the condition they voted for (and the date). The popup would close and refresh the page displayed. Users who vote more than once would have their previous vote changed so that only one vote per user is considered (users are allowed to change their vote). . I would like to be able to call the image script to be able to display the threat condition for a previous date - so that I could show the threat condition for, say, the last five days. I am looking for someone to write the script which would display the current threat condition as a dynamic image displayed on each page load (and the condition for a specific date in the past), provide the graphics for each condition, write the script for the popup box which would allow a user to vote and record that vote and provide the HTML to include on the page which displays this image and lanuches the popup when clicked on.
Project ID: 1805380

About the project

1 proposal
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
The graphics sizes?
$69 USD in 4 days
5.0 (17 reviews)
3.7
3.7

About the client

Flag of
5.0
1
Member since Mar 2, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.