<?php include 'sesion.php';
include 'concha.php';

if ($lang_actual == 'es' or $lang_actual == '')
{
include 'lang_es_no_panel.php';
};

 if ($lang_actual == 'pt')
{

include 'langes_pt_no_panel.php';
};

$hay_video = 'no';

mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");
$sql = "SELECT ID FROM `videos` WHERE `ID_nota` = 0 LIMIT 1";
$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$hay_video = 'si';
}
mysql_free_result($consulta);

if ($hay_video == 'no') {
    mysql_db_query("$basedatos","INSERT INTO `videos` (`ID`, `video`, `ID_nota`) VALUES (NULL, '', '0');");

    } ;








?>
<!DOCTYPE html>
<html lang="es">

	<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<?php include 'concha.php'; $ID_nota = $_GET['ID']; ?>

		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title><?php echo $nombresitio ?></title>

		<!-- Google web fonts -->
		<link href="https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700" rel="stylesheet">

		<!-- The main CSS file -->

		<link rel="stylesheet" href="https://www.radiosnet.com.ar/assets/css/style.css">
		<style>
			footer {
				text-align: center;
			}
		</style>
</head>

	<body>



		<form id="upload" method="post" action="upload67.php" enctype="multipart/form-data">

			<div id="drop">
					<h4><? echo $lang_100057?></h4>


    			<a><? echo $lang_100058?></a>
				<input type="file" name="upl" multiple />
			</div>

			<ul>
				<!-- The file uploads will be shown here -->
			</ul>

			<input name="ID_nota" type="hidden" value="<?php echo $ID_nota ?>">
		</form>

		<footer>
          <div class="Estilo1"><a class="btn btn-outline-primary" href="panel"><? echo $lang_volver?><? echo $idioma_volver?></a></div>
		</footer>

		<!-- JavaScript Includes -->
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
		<script src="https://www.radiosnet.com.ar/assets/js/jquery.knob.js"></script>

		<!-- jQuery File Upload Dependencies -->
		<script src="https://www.radiosnet.com.ar/assets/js/jquery.ui.widget.js"></script>
		<script src="https://www.radiosnet.com.ar/assets/js/jquery.iframe-transport.js"></script>
		<script src="https://www.radiosnet.com.ar/assets/js/jquery.fileupload.js"></script>

		<!-- Our main JS file -->
		<script src="https://www.radiosnet.com.ar/assets/js/script.js"></script>

	</body>
</html>
