<?php
session_start();
include 'login/serv.php';

if(isset($_SESSION['user'])) {?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<body bgcolor="#ffffff">
		<head>
			<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
		</head>
		<body bgcolor="#ffffff">
			<link rel="stylesheet" type="text/css" href="style.css">
				<p align="center">
					<fieldset>
						<legend>Bienvenido/a</legend><b>
							<center>
								<?php echo $_SESSION['user']; ?>
							</b>
						</center>
						
						<br>Imprimir:
							<form action="musica/imprimir.php" method="post" target="principal">
								<select name="imprimir">
									
									<option>1A</option>
									<option>1B</option>
									<option>1C</option>
									<option>2A</option>
									<option>2B</option>
									<option>2C</option>
									<option>3A</option>
									<option>3B</option>
									<option>3C</option>
									<option>4A</option>
									<option>4B</option>
									<option>4C</option>
									<option>5A</option>
									<option>5B</option>
									<option>5C</option>
									<option>6A</option>
									<option>6B</option>
									<option>6C</option>
								</select>
								<input type="submit" target="principal">
                          </form>
							<br>Comentario:
						<form action="musica/cargar.php" method="post" target="principal">
							<select name="cargar">
								
								<option>1A</option>
								<option>1B</option>
								<option>1C</option>
								<option>2A</option>
								<option>2B</option>
								<option>2C</option>
								<option>3A</option>
								<option>3B</option>
								<option>3C</option>
								<option>4A</option>
								<option>4B</option>
								<option>4C</option>
								<option>5A</option>
								<option>5B</option>
								<option>5C</option>
								<option>6A</option>
								<option>6B</option>
								<option>6C</option>
							</select>
							<input type="submit" target="principal">
						</form>
						<br>
								<Form name="desconectar" action="index.html" method="post" target="_top">
									<Input Type="Submit" name="BotonEnviar" value="Desconectar">
									</Form>
								</font>
							</body>
						</html>
						<?php
}else{
	echo '<script> window.location="login.php"; </script>';
}
?>
						