-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
115 lines (110 loc) · 4.46 KB
/
index.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Guia Conversor Aliexpress">
<meta name="generator" content="Lorem-dev 0.1">
<title>SEGUIMIENTO ALIEXPRESS</title>
<link rel="canonical" href="https://getbootstrap.com/docs/5.0/examples/sign-in/">
<!-- Bootstrap core CSS -->
<link href="/assets/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="/assets/css/signin.css" rel="stylesheet">
</head>
<body class="text-center">
<main class="form-signin">
<form action="index.php" method="POST">
<img class="mb-4" src="/assets/brand/bootstrap-logo.svg" alt="" width="72" height="57">
<h1 class="h3 mb-3 fw-normal">SEGUIMIENTO ALIEXPRESS</h1>
<div class="form-floating">
<input type="text" class="form-control" id="floatingInput" name="guiax" placeholder="BGLXXXXXXXXXXXMU">
<label for="floatingInput">Guia</label>
<br>
</div>
<button class="w-100 btn btn-lg btn-primary" type="submit">Seguimiento</button>
</form>
<?php
if ($_POST == null) {
echo "<br><div class='alert alert-danger' role='alert'>Número de seguimiento vacio</div>";
$guia = 'guia';
}
else {
$guia = $_POST['guiax'];
}
$canio = "https://global.cainiao.com/detail.htm?mailNoList=";
$canio = $canio.$guia;
$mailam = "https://mailamericas.com/tracking?tracking=";
$mailam = $mailam.$guia;
$sunyou = "https://www.sypost.net/search?orderNo=";
$sunyou = $sunyou.$guia;
$track17 = "https://t.17track.net/en#nums=";
$track17 = $track17.$guia;
$urbano = "https://app.urbano.com.pe/plugin/etracking/etracking/?guia=BGL";
$urbano = $urbano.$guia;
$serpost = "http://www.serpost.com.pe/Cliente/SegumientoLinea";
$sunat = "https://ww3.sunat.gob.pe/ol-ad-itimportafacilmc/DepConsulta.htm?action=cargarDepConsultaEstado";
?>
<p class="mt-5 mb-2 text-muted">seguimiento v0.2 © 2020 – <?php echo date('Y'); ?></p>
<a href=""></a>
</main>
<div class="container row d-flex">
<table class="table">
<thead>
<tr>
<th scope="col">Track por: </th>
<th scope="col">Guia</th>
<th scope="col">Link</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Canio</th>
<td><?php echo $guia ?></td>
<td><a href="<?php echo $canio ?>" target="_blank"><?php echo $canio ?></a></td>
</tr>
<tr>
<th scope="row">Mailamericas</th>
<td><?php echo $guia ?></td>
<td><a href="<?php echo $mailam ?>" target="_blank"><?php echo $mailam ?></a></td>
</tr>
<tr>
<th scope="row">SunYou/sypost</th>
<td><?php echo $guia ?></td>
<td><a href="<?php echo $sunyou ?>" target="_blank"><?php echo $sunyou ?></a></td>
</tr>
<tr>
<th scope="row">17TRACK</th>
<td><?php echo $guia ?></td>
<td><a href="<?php echo $track17 ?>" target="_blank"><?php echo $track17 ?></td>
</tr>
<tr>
<th scope="row">URBANO</th>
<td><?php echo "BGL".$guia ?></td>
<td><a href="<?php echo $urbano ?>" target="_blank"><?php echo $urbano ?></td>
</tr>
<tr>
<th scope="row">Serpost</th>
<td><?php echo $guia ?></td>
<td><a href="<?php echo $serpost ?>" target="_blank">Ingresar guia manualmete</td>
</tr>
<tr>
<th scope="row">ADUANAS | Pagan impuestos mayores a 200$ </th>
<td><?php echo $guia ?></td>
<td><a href="<?php echo $sunat ?>" target="_blank">Ingresar guia manualmete</td>
</tr>
<tr>
<th scope="row">TEXAS COURIER </th>
<td><?php echo 'SGH*********' ?></td>
<td><a href="#">No disponible</td>
</tr>
</tbody>
</table>
<p>lista terminada</p>
</div>
<footer class="fixed-bottom">
<p class="text-muted"><a style="text-decoration:none" target="_blank" href="https://github.com/ImhoDev/guiaconversor">Proyecto en guihub</a></p>
</footer>
</body>
</html>