Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2.    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5.  
  6. <head>
  7.   <title>Hello!</title>
  8. </head>
  9.  
  10. <body>
  11.  
  12.   <SCRIPT>
  13. function compute(obj)
  14.    {obj.expr.value = eval(obj.expr.value)}
  15. var one = '1'
  16. var two = '2'
  17. var three = '3'
  18. var four = '4'
  19. var five = '5'
  20. var six = '6'
  21. var seven = '7'
  22. var eight = '8'
  23. var nine = '9'
  24. var zero = '0'
  25. var plus = '+'
  26. var minus = '-'
  27. var multiply = '*'
  28. var divide = '/'
  29. var decimal = '.'
  30. function enter(obj, string)
  31.    {obj.expr.value += string}
  32. function clear(obj)
  33.    {obj.expr.value = ''}
  34.                       </SCRIPT>
  35.                       <FONT COLOR="#80AE57" face="Arial"><P><B>????? ???????
  36.                         ???????????</B></P></FONT>
  37.                         <FORM name="calculater">
  38.                         <DIV align="center">
  39.                       <TABLE border="1" bgcolor="#0033CC">
  40.                           <TR>
  41.                             <TD colSpan="4"><INPUT size=30
  42.                              name=expr action="compute(this.form)"></TD></TR>
  43.                           <TR>
  44.                             <TD bgColor="#000033">
  45.                               <P><INPUT onclick="enter(this.form, seven)" type=button value="  7  "></P></TD>
  46.                             <TD bgColor="#000033">
  47.                               <P><INPUT onclick="enter(this.form, eight)" type=button value="  8  "></P></TD>
  48.                             <TD bgColor="#000033">
  49.                               <P><INPUT onclick="enter(this.form, nine)" type=button value="  9  "></P></TD>
  50.                             <TD bgColor="#000033">
  51.                               <P><INPUT onclick="enter(this.form, divide)" type=button value="   /  "></P></TD></TR>
  52.                           <TR>
  53.                             <TD bgColor="#000033">
  54.                               <P><INPUT onclick="enter(this.form, four)" type=button value="  4  "></P></TD>
  55.                             <TD bgColor="#000033">
  56.                               <P><INPUT onclick="enter(this.form, five)" type=button value="  5  "></P></TD>
  57.                             <TD bgColor="#000033">
  58.                               <P><INPUT onclick="enter(this.form, six)" type=button value="  6  "></P></TD>
  59.                             <TD bgColor="#000033">
  60.                               <P><INPUT onclick="enter(this.form, multiply)" type=button value="  *  "></P></TD></TR>
  61.                           <TR>
  62.                             <TD bgColor="#000033">
  63.                               <P><INPUT onclick="enter(this.form, one)" type=button value="  1  "></P></TD>
  64.                             <TD bgColor="#000033">
  65.                               <P><INPUT onclick="enter(this.form, two)" type=button value="  2  "></P></TD>
  66.                             <TD bgColor="#000033">
  67.                               <P><INPUT onclick="enter(this.form, three)" type=button value="  3  "></P></TD>
  68.                             <TD bgColor="#000033">
  69.                               <P><INPUT onclick="enter(this.form, minus)" type=button value="   -  "></P></TD></TR>
  70.                           <TR>
  71.                             <TD bgColor="#000033" colSpan=2>
  72.                               <P><INPUT onclick="enter(this.form, zero)" type=button value="       0       "></P></TD>
  73.                             <TD bgColor="#000033">
  74.                               <P><INPUT onclick="enter(this.form, decimal)" type=button value="   .  "></P></TD>
  75.                             <TD bgColor="#000033">
  76.                               <P><INPUT onclick="enter(this.form, plus)" type=button value="  +  "></P></TD></TR>
  77.                           <TR>
  78.                             <TD bgColor="#000033" colSpan=2>
  79.                               <P><INPUT onclick=compute(this.form) type=button value="   =   "></P></TD>
  80.                             <TD bgColor="#000033" colSpan=2>
  81.                               <P><INPUT onclick=clear(this.form) type=reset value=AC>
  82.                               </P></TD></TR></TABLE></DIV></FORM>
  83.                               <P align="center">
  84.                               <FONT face="Courier , New tahoma , erdana, arial, helveticav" size="2"
  85.                              color="#0000FF"><B><A target="_blank" href="http://www.star28.com" style="TEXT-DECORATION: NONE">
  86.  
  87. </body>
  88.  
  89. </html>