-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_.php
More file actions
84 lines (83 loc) · 2.72 KB
/
Copy pathindex_.php
File metadata and controls
84 lines (83 loc) · 2.72 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
include 'input_submit.php';
}
?>
<html>
<head>
<title>Prueba archivos multiples</title>
<link href="http://api.tucanotours.com.ar/bs/css/tucano.bs.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/coef-admin.css" rel="stylesheet">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script type="text/javascript" src="http://api.tucanotours.com.ar/bs/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/tktcompare.js"></script>
<style type="text/css">
table td {
font-size: 10px;
font-weight: bold;
}
</style>
</head>
<body>
<form method="post" action="" enctype="multipart/form-data">
<input name="files[]" id="files" type="file" multiple="" />
<input type="submit" value="go!!!" >
</form>
<hr>
<?php
echo "<h3>MISSING</h3>";
if (!empty($missing)) {
echo "<p>Sabre</p>";
echo "<table border='1'>";
foreach ($missing['missing_sabre'] as $key => $ticket) {
echo "<tr>";
foreach ($ticket as $key => $value) {
echo "<td>".$value."</td>";
}
echo "</tr>";
}
echo "</table>";
echo "<hr>";
echo "<p>Amadeus</p>";
echo "<table border='1'>";
foreach ($missing['missing_amadeus'] as $key => $ticket) {
echo "<tr>";
foreach ($ticket as $key => $value) {
echo "<td>".$value."</td>";
}
echo "</tr>";
}
echo "</table>";
} else {
echo "<p>No hay Faltantes.</p>";
}
echo "<hr>";
echo "<h3>VOIDS</h3>";
if (!empty($voids)) {
echo "<p>Sabre</p>";
echo "<table border='1'>";
foreach ($voids['void_sabre'] as $key => $ticket) {
echo "<tr>";
foreach ($ticket as $key => $value) {
echo "<td>".$value."</td>";
}
echo "</tr>";
}
echo "</table>";
echo "<hr>";
echo "<p>Amadeus</p>";
echo "<table border='1'>";
foreach ($voids['void_amadeus'] as $key => $ticket) {
echo "<tr>";
foreach ($ticket as $key => $value) {
echo "<td>".$value."</td>";
}
echo "</tr>";
}
echo "</table>";
} else {
echo "<p>No hay Voids.</p>";
}
?>
</body>
</html>