You could of course do what you described. I think the easiest thing would be to add an option in the admincp to set the max and current value, and you wouldn't need to read or write a file (but of course that would mean logging in to the admincp to change the value). As for drawing the bar, I think there are a number of progress bar mods that you could look at, and I'm sure if you googled progress bar you'd find the html for just about any look you wanted. I remember looking at on that was just an image that get's stretched based on the percentage, so it was all done with html.
|