This repository has been archived by the owner on Apr 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimportar.php
61 lines (53 loc) · 2.34 KB
/
importar.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
session_start();
if (!isset($_SESSION["logged_user"])) {
header("Location: index.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Quick Machine ~ Servicio de visualización de data online</title>
<script src="script/jquery-3.3.1.min.js"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/all.js" integrity="sha384-xymdQtn1n3lH2wcu0qhcdaOpQwyoarkgLVxC/wZ5q7h9gHtxICrpcaSUfygqZGOe" crossorigin="anonymous"></script>
<script>
var current_username = "<?php echo $_SESSION["logged_user"]; ?>";
var current_category = "<?php echo $_SESSION["logged_cat"]; ?>";
</script>
<script src="script/menu_script.js"></script>
<script src="script/importar_script.js"></script>
<script src="script/bootstrap.min.js"></script>
<link rel="stylesheet" type"text/css" href="style/bootstrap.min.css"/>
<link rel="stylesheet" type"text/css" href="style/style.css"/>
</head>
<body>
<div id="title">
<div id="title_back"></div>
<h1 id="title_text">QUICK MACHINE</h1>
<div id="title_logo"></div>
<img id="title_icon" src="assets/icon_title.png" alt="icon_img">
<a href="logout.php" class="logout_link">Salir</a>
</div>
<div class='rounded-0' id='menu_card'>
<div class="card-header">
<h4 id='menu_title'></h4>
</div>
<ul class="list-group" id="main_menu">
</ul>
</div>
<div id="content">
<div id="breadcrums"><i class="fas fa-map-marker-alt"></i><a href="menu.php"> Menu </a> > Archivo > <a href="#">Importar</a><hr /></div>
<div style="margin-left:30px">
<h2 class="h2">Subir archivo</h2>
</div>
<div class="border" id="upload_div" style="margin:30px;padding:30px">
Abrir dataset desde archivo:<br />
<input type="file" name="file" id="data_file" style="margin:10px">
<br />
<button class="btn btn-info" value="Upload Image" id="submit" style="border-radius:3px; margin:10px">Subir</button>
</div>
<div class="alert alert-danger" id="notif"></div>
</div>
</body>
</html>