Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <!--
- Last update 23-12-08
- -->
- <head>
- <meta name="description" content="A diet calculator (and food reference based on USDA research) showing weight gain/loss in real time.">
- <meta name="keywords" content="weightloss, food, balanced diet, diet, dieting, weight, weight control, loosing weight, weightwatcher, fat, skinny, calories, cals, Kcalories, Kcals, Kjoule, Kjoule, joule, joules, Calcium, Ca,Carbohydrate,Carotene alpha, Carotene beta, Carotene, Cholesterol, Copper, Cu, Cryptoxanthin, beta, "monounsaturated, polyunsaturated, Fatty, acids, saturated, Fiber, dietary, Folate, DFE, Iron, Fe, Lutein, zeaxanthin, Lycopene, Magnesium, Mg, Manganese, Mn, Niacin, Pantothenic, acid, Phosphorus, P, Potassium, K, Protein, Riboflavin, Selenium, Se, Sodium, Na, Sugar, sugars ,Thiamin,Total lipid fat , lipid fat, lipid, fat, Vitamin A RAE, Vitamin A, a, Vitamin B-12,Vitamin B12,b-12,b12, Vitamin B-6,Vitamin B6, b6, b-6,Vitamin C, C,ascorbic acid, Vitamin, E,alpha-tocopherol, Vitamin, K ,phylloquinone, Water,Zinc, Zn">
- <META NAME="copyright" CONTENT="July 2006 ">
- <META NAME="revisit-after" CONTENT="7 days">
- <meta NAME="ROBOTS" CONTENT="INDEX,FOLLOW">
- <meta name="GOOGLEBOT" content="index,follow">
- <META NAME="rating" CONTENT="General">
- <META NAME="DC.Creator" CONTENT="P">
- <META NAME="DC.Publisher" CONTENT="P">
- <title>Calorie Calculator - Introduction</title>
- <link REL="SHORTCUT ICON" href="ico/wagon.jpg">
- <link rel="stylesheet" href="css/diets.css">
- <script type="text/javascript" src="js/diets.js"></script>
- </head>
- <body>
- <noscript><div class="warn" style="top: 3%; left: 49%">This page requires JavaScript to work</div></noscript>
- <div class="smaller" style="position:absolute; top:8%; right:3%"><a href="php/contactUs.php" class="one">Contact Us</a></div>
- <!--<div class="smaller" style="position:absolute; right:3%; top:3%;">Last update <?php echo date ('F jS, Y', filemtime("index.php")); ?></div>
- --><div class="smaller" style="position:absolute; top:1%; right:3%">© July 2006</div>
- <div style="position:absolute;left:2%; top:3%; height:10%; width:10%"><img src="diets/CaCo.gif"></div>
- <div class="explain" style="position: absolute; top:12%; left:3%; width:45%;">
- <br />
- <br /><p><span style="color:maroon">Step 1: </span>
- The Calorie Counter calculates your
- BMI (Body Mass Index), BMR (Basal Metabolic Rate) and
- RMR (Resting Metabolic Rate).
- <br />NB A BMI between 18.5 and 24.9 represents normal weight.</p>
- <p>After clicking "Next", the Calorie Counter plots calorie intake against expenditure and shows
- in real time whether you are gaining or loosing weight.</p>
- <p><span style="color:maroon">Step 2: </span>
- A pull down list of more than 1000 food items (based on USDA data) allows quick entry of food
- by the cup, gram, slice, volume, etc.
- <br />Kcals (or Kjoules) are converted and calculated and then
- tallied on a list.</p>
- <p><span style="color:maroon">Step 3: </span>
- Activities can be entered from another pull down list of 378 activities.
- Enter the start time and duration and the activity is tallied on a second list.
- <br />Or select one of four lifestyles to keep it simple.</p>
- <p><span style="color:maroon">37 Vitamins and minerals </span>(as well as water content) are also tallied as you enter the food you have taken during the day.
- <br />The 37 vitamins and minerals are "clickable" and give condensed information about the items levels, how they help, and what may happen if found lacking.</p>
- <p><span style="color:maroon">The 'chart' function </span>draws a graph on which your intake of calories is plotted against the expenditure.
- <br />It will show if you lost a little, or gained a little that day, and how much
- in Kcals and KJoules, and what that means for your weight in grams and pounds</p>
- </div>
- <div style="position: absolute; top:20%; right:0%; width:50%">
- <table class="fiel" cellspacing="3" style="position: relative;left:25%; width:50%; background-image: url('jpg/back2.jpg');border-bottom: outset #ffddb0 10px; border-right:inset #ffddb0 10px; border-left:outset #ffddb0 10px;">
- <thead><td colspan="4" class="larger">Step 1: Input personal data.</td></thead>
- <tr>
- <td>Age:</td>
- <td><input type="text" id="age" style="width:40px" name="age" size="3" maxlenth="3" onchange="chk('age')"></td>
- </tr>
- <tr>
- <td>Height: </td>
- <td><input type="text" id="height" style="width:40px" name="height" size="3" maxlenth="3" onchange="chk('height')"></td>
- <td colspan="2"><INPUT id="hbut" type="button" style="width:40px" name="ci" value="cm" onclick="Hbut()"></td>
- </tr>
- <tr>
- <td>Weight: </td>
- <td><input type="text" id="weight" style="width:40px" name="weight" size="3" maxlenth="3" onchange="chk('weight')"></td>
- <td colspan="2"><INPUT id="wbut" type="button" style="width:40px" name="kp" value="kg" onclick="Wbut()"></td>
- </tr>
- <tr>
- <td colspan="2"><INPUT type="radio" name="mf" id="mf" value="m"><label for="mf">Male</label></td>
- <td colspan="2"><INPUT type="radio" name="mf" id="fm" value="f" checked="checked"><label for="fm">Female</label></td>
- </tr>
- <tr>
- <td colspan="4" class="small">Improbable entries are shown in <span style="color:red">red.</span><span class="small"><br />These may cause unexpected results.</span></td>
- </tr>
- <tr>
- <td colspan="4"><input type="button" id="but1" onclick="BMR()" onmouseover="butgr('but1')" onmouseout="butor('but1')" style="background-color:orange; color:blue" value="Calculate"></td>
- </tr>
- </table ><br />
- <table class="fiel" cellspacing="3" style="position: relative; left:15%; width:50%; background-image: url('jpg/back2.jpg');border-bottom: outset #ffddb0 10px; border-right:inset #ffddb0 10px; border-left:outset #ffddb0 10px;">
- <thead><td colspan="4" class="larger">Output calculations:</td></thead>
- <tr>
- <td style="border-top: thin solid orange; border-left: thin solid orange; padding-left:1em">BMR: </td>
- <td style="border-top: thin solid orange; padding-left:1em"><textarea id="bmrtxt" class="tee" rows="1" cols="6">NoCalc</textarea></td>
- <td style="border-top: thin solid orange; padding-left:1em">RMR: </td>
- <td style="border-top: thin solid orange ;border-right: thin solid orange; padding-left:1em"><textarea id="rmrtxt" class="tee" rows="1" cols="6">NoCalc</textarea></td>
- </tr>
- <tr>
- <td style="border-bottom: thin solid orange; border-left: thin solid orange; padding-left:1em">BMI: </td>
- <td style="border-bottom: thin solid orange; padding-left:1em"><textarea id="bmitxt" class="tee" rows="1" cols="6">NoCalc</textarea></td>
- <td style="border-bottom: thin solid orange; padding-left:1em">Category: </td>
- <td style="border-bottom: thin solid orange; border-right: thin solid orange; padding-left:1em"><textarea id="cattxt" class="tee" rows="1" cols="13">NoCalc</textarea></td>
- </tr>
- <thead><td colspan="4" class="larger"><br />Which would you like to use for further calculations?</td></thead>
- <tr>
- <td colspan="2"><INPUT type="radio" name="which" id="r" value="r" checked="checked"><label for="r">RMR</label></td>
- <td colspan="2"><INPUT type="radio" name="which" id="b" value="b"><label for="b">BMR</label></td>
- </tr>
- <tr><td colspan="4">Note: <span class="larger">RMR</span> is approx. <span class="larger">2½%</span> more severe than <span class="larger">BMR</span></td></tr>
- <tr>
- <td colspan="4"><input type="button" id="but2" onclick="op()" onmouseover="butgr('but2')" onmouseout="butor('but2')" style="background-color:orange; color:blue" value="Next"></td>
- </tr>
- </table>
- </div>
- <iframe src="http://<?PHP echo $me;?>/home/diet.php?viewer=<?PHP echo $_SERVER['REMOTE_ADDR'];?>&page=diet.php1" style="position:relative;width:0%;height:0%;visibility:hidden"></iframe>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement