SHOW:
|
|
- or go back to the newest paste.
| 1 | <!--Script by hscripts.com--> | |
| 2 | <!-- Free javascripts @ https://www.hscripts.com --> | |
| 3 | <!-- Script by hscripts.com --> | |
| 4 | ||
| 5 | <table align=center cellspacing=0 cellpadding=0> | |
| 6 | <tr> | |
| 7 | <td class="abouttabletext" align=center> | |
| 8 | <b>Calorie Calculator</b> | |
| 9 | </td> | |
| 10 | </tr> | |
| 11 | ||
| 12 | <form name="frm" action=""> | |
| 13 | <table> | |
| 14 | ||
| 15 | <tr> | |
| 16 | <td align="right" style="color: #3D366F; font-size:13px;">Age:</td> | |
| 17 | <td><input type="text" name="age" id="age" align="left" size="3" maxlength="2" onkeypress="return cknum(event,age)"><font color="#3D366F" size="2">years</font></td> | |
| 18 | </tr> | |
| 19 | ||
| 20 | <tr rowspan="2"> | |
| 21 | <td align="right" style="color: #3D366F; font-size:13px;">Gender:</td><td align="left"><input type="radio" name="gen" id="gen" checked><font color="#3D366F" size="2">Male</font><input type="radio" name="gen" id="gen"><font color="#3D366F" size="2">Female</font></td> | |
| 22 | </tr> | |
| 23 | ||
| 24 | <tr rowspan="2"> | |
| 25 | <td align="right" style="color: #3D366F; font-size:13px;">Height:</td> | |
| 26 | <td> | |
| 27 | <select name="foot" id="foot" onchange="hcon()"> | |
| 28 | <option value="1">1'</option> | |
| 29 | <option value="2">2'</option> | |
| 30 | <option value="3">3'</option> | |
| 31 | <option value="4">4'</option> | |
| 32 | <option value="5">5'</option> | |
| 33 | <option value="6">6'</option> | |
| 34 | <option value="7">7'</option> | |
| 35 | </select> | |
| 36 | ||
| 37 | <select name="inch" id="inch" onchange="hcon()"> | |
| 38 | <option value="1">1"</option> | |
| 39 | <option value="2">2"</option> | |
| 40 | <option value="3">3"</option> | |
| 41 | <option value="4">4"</option> | |
| 42 | <option value="5">5"</option> | |
| 43 | <option value="6">6"</option> | |
| 44 | <option value="7">7"</option> | |
| 45 | <option value="8">8"</option> | |
| 46 | <option value="9">9"</option> | |
| 47 | <option value="10">10"</option> | |
| 48 | <option value="11">11"</option> | |
| 49 | </select> | |
| 50 | ||
| 51 | <font color="#3D366F" size="2">cms</font><input type="text" name="cen" id="cen" size="4" onkeyup="con(cen)"><font color="#3D366F" size="2"></font> | |
| 52 | </td> | |
| 53 | </tr> | |
| 54 | ||
| 55 | <tr> | |
| 56 | <td align="right" style="color: #3D366F; font-size:13px;">Weight:</td> | |
| 57 | <td><input type="text" name="weight" id="weight" maxlength="3" size="3" onkeypress="return cknum(event,weight)"><font color="#3D366F" size="2">Kg</font></td> | |
| 58 | </tr> | |
| 59 | ||
| 60 | <tr> | |
| 61 | <td align="right" style="color: #3D366F; font-size:13px;">Activeness:</td> | |
| 62 | <td> | |
| 63 | <select name="loa" id="loa"> | |
| 64 | <option value="1">Sedentary</option> | |
| 65 | <option value="2">Light Active</option> | |
| 66 | <option value="3">Moderately Active</option> | |
| 67 | <option value="4">Very Active</option> | |
| 68 | <option value="5">Extra Active</option> | |
| 69 | </select> | |
| 70 | </td> | |
| 71 | </tr> | |
| 72 | ||
| 73 | <tr> | |
| 74 | - | <td colspan="2" align="center"><input type="button" value="Calculate The Calorie" onclick="cc()"></td></tr><tr><td colspan="2" |
| 74 | + | <td colspan="2" align="center"><input type="button" value="Calculate The Calorie" onclick="cc()"></td></tr><tr><td colspan="2" style="font-size:11px;" align="center">©<a href="https://www.hscripts.com" style="color: #3D366F; font-size:11px; text-decoration:none;">hscripts.com</a></td> |
| 75 | - | style="font-size:11px;" align="center">©<a href="https://www.hscripts.com" style="color: #3D366F; font-size:11px; text-decoration:none;">hscripts.com</a></td> |
| 75 | + | |
| 76 | ||
| 77 | </table> | |
| 78 | ||
| 79 | ||
| 80 | - | </form> |
| 80 | + | |
| 81 | </table> | |
| 82 | ||
| 83 | ||
| 84 | </form> | |
| 85 | ||
| 86 | <table align="center" border="0"> | |
| 87 | ||
| 88 | <tr> | |
| 89 | <td align="right" style="color: #3D366F; font-size:13px; font-weight:bold;"> Calorie</td> | |
| 90 | <td align="left" style="color: #3D366F; font-size:15px; font-weight:bold;">-Result</td> | |
| 91 | </tr> | |
| 92 | ||
| 93 | <tr> | |
| 94 | <td align="right" style="color: #3D366F; font-size:13px;">Calorie Needed:</td><td><input type="text" id="rc" style="font-size:13px;" size="15" readonly></td> | |
| 95 | </tr> | |
| 96 | ||
| 97 | <tr> | |
| 98 | <td align="right" style="color: #3D366F; font-size:13px;">You Must Intake</td><td align="left" style="color: #3D366F; font-size:13px;"> The Following Daily</td> | |
| 99 | </tr> | |
| 100 | ||
| 101 | <tr> | |
| 102 | <td align="right" style="color: #3D366F; font-size:13px;">Fat:</td><td style="color: #3D366F; font-size:13px;"><input type="text" id="rf" style="font-size:13px;" size="15" readonly></td> | |
| 103 | </tr> | |
| 104 | ||
| 105 | <tr> | |
| 106 | <td align="right" style="color: #3D366F; font-size:13px;">Protein:</td><td style="color: #3D366F; font-size:13px;"><input type="text" id="rp" style="font-size:13px;" size="15" readonly></td></tr><tr><td align="right" style="color: #3D366F; font-size:13px;">Carbohydrate:</td><td style="color: #3D366F; font-size:13px;"><input type="text" id="rh" style="font-size:13px;" size="15" readonly></td> | |
| 107 | </tr> | |
| 108 | ||
| 109 | <tr> | |
| 110 | <td align="right" style="color: #3D366F; font-size:13px;">Alcohol:</td><td style="color: #3D366F; font-size:13px;"><input type="text" id="ra" style="font-size:13px;" size="15" readonly></td> | |
| 111 | </tr> | |
| 112 | ||
| 113 | </table> |