Advertisement
pipidodo

Calorie Calculator instructions

Jun 23rd, 2021
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. Calorie Calculator allows you to input foods and activities and shows you a comprehensive list of what you are putting in your body. All based on USDA research.
  2.  
  3. Install index.php in the root directory and the other files in sub-directories as indicated.
  4.  
  5. NB in diets.js
  6. var isMe = (top == self);
  7. if (!isMe) top.location.href = '/index.php';
  8. /index.php should point to where index.php is located. i.e. ~/myprogram/index.php
  9.  
  10. None of the backgrounds or gifs are included. Roll your own.
  11.  
  12. The graph probably won't work anymore due to changes in PHP, but if you get it going I'd appreciate a copy of what you did.
  13.  
  14. I wrote this 15 years ago, so if you have comments, be gentle :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement