TrackIt

These are some scripts I wrote when I just barely got into Fitness and Health. I wrote a site on a hidden domain here, reformation.blaenkdenum.com, but it’s now gone because I use Calorie Count instead. I warn you, it is ugly and hackish, but it worked for me. I’m putting it up for the sake of archiving but I highly recommend no one uses it, you can use it to learn off of it in the sense of getting an idea of how to write such a thing, but don’t learn off of it to get ‘good programming practices’ because this is nothing close to it, I promise.

It was simply a web interface in which you would input a short summary of what you did on a work out, the duration, estimate of calories burned, some other useless things and then it would insert the entry into the database. You would then be able to see a list of entries sorted by date and stuff. The entries were separated by week, and at the end of each week you were able to do a weekly report in which you would summarize how the week went and you could input the weight (Back when I thought weight was a way to measure progress, but it isn’t) and some other stuff.

It’s the first thing that I built on my own from scratch, and that’s completely apparent haha. Usually I just do hackish modifications to things like Wordpress, my Pastebin, etc., and that’s probably what influenced how badly written this is.

By the way, I didn’t write the things inside the folders admin, calendar, and css as well as class.db.php. This was some code donated by a kind person on IRC when I was trying to implement a calendar feature into it so I could write work out schedules on certain days.

You’ll have to create a table as so:


CREATE TABLE exercise (exid INT NOT NULL AUTO_INCREMENT, PRIMARY KEY(exid), minutes INT, date VARCHAR(20), description VARCHAR(100), calsburned INT)

Also remember to configure it by editing config.php.

Download TrackIt here

0 Responses to “TrackIt”


  1. No Comments

Leave a Reply