<?php

?>

<html>
<head>
	<title>Calculadora</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script src="script.js"></script>
	<script src="jquery-1.4.2.js"></script>
  	<script src="json2.js"></script>
  	<script type="text/javascript">
		
  	</script>
</head>
<body>
  <h3 style = "align:center;">CALCULADORA</h3>
  <form action="calculadora.php" method="POST">
    <table style = "border:1; align:center;" width="400px" cellpadding="4">	
    <tr>		
		<td><b>Parámetro 1:</b></td>
		<td>
			<input type="text" name="par1" id="par1" size="10">
		</td>
    </tr>
    <tr>		
		<td><b>Parámetro 2:</b></td>
		<td>
			<input type="text" name="par2" id="par2" size="10">
		</td>
    </tr>
    <tr>		
		<td><b>Operador:</b></td>
		<td>
			<input type="text" name="op" id="op" size="5">
		</td>
    </tr>
    <tr>		
		<td colspan="2" style = "align:center;">
		  <input type="button" name="enviar" value="Resultado" onclick="CalcularTotal2(['par1','par2'],'op','res','calculadora.php');">
		</td>
    </tr>
    <tr>
		<td colspan="2" style = "align:center;">
		  <input type="text" name="res" id="res" size="15">
		</td>
    </tr>
    </table>

  </form>
</body>
</html>