<link rel="stylesheet" type="text/css" href="../style.css"/>
<HEAD>
	<meta name="contenido" content="text/html;" http-equiv="content-type" charset="utf-8">

		<?php
	$comodin = $_POST['imprimir'];
	
	include("../conexion.php");
	$query = mysql_query("SELECT * FROM alumnos where grado = '$comodin'", $cn);
	$contador = 0;
	?>



		<div id="muestra">
			<div class="xxxxxxxdatagrid">
				<table id="table">

					<tbody>
						<?php
					while($row = mysql_fetch_array($query))
					{
						$id = $row['id_usuario'];
						$contador++;
						?>

						<table width="100%" border="1" >
							<tr>
								<th align="Left" colspan="2" scope="col">
									<a href="imp.php">
										<img src="../img/logo.png" width="210" height="38">
											<?php echo $row['nombre']?> - <?php echo $row['grado']?>
										</th>
									</tr>
									<tr>
										<td height="1" valign="top">
											<div align="center">
												<strong>Inglés</strong>
											</div>
										</td>
										<td height="1" valign="top">
											<div align="center">
												<strong>Castellano</strong>
											</div>
										</td>
									</tr>
									<tr>
										<td height="97">
											<textarea align="left" class=estilotextarea2 rows="60" name="S2" cols="100%">
												<?php echo($row['ingles'])?>
											</textarea>
											<td height="97">
												<textarea align="left" class=estilotextarea2 rows="60" name="S3" cols="100%">
													<?php echo ($row['castellano'])?>
												</textarea>
											</td>
										</tr>
										</table>

										<div class="saltopagina"/>
									</a>
								</body>
							</div>
						</div>
					</div>
					<?php
		}
		?>
				</tbody>
			</table>
		</HEAD>
	</body>
</html>
