forked from Rutemberg/Drugstore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEntregaemtemporealmin.php
More file actions
29 lines (28 loc) · 992 Bytes
/
Entregaemtemporealmin.php
File metadata and controls
29 lines (28 loc) · 992 Bytes
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
<?php
if (isset($_SESSION) == null) {
session_start();
}
?>
<?php
if(isset($_SESSION['idClienteLogado'])){
$id = $_SESSION['idClienteLogado'];
require_once 'Controle/DAO/Conexao2.php';
$queryC = mysql_query("SELECT * from codvenda WHERE idCliente = '$id' and estatusvenda != 'Finalizada'");
$count = 0;
while ($resultadoC = mysql_fetch_assoc($queryC)) {
$count++;
} if ($count == 1) {
?>
<div id="mensagemestoqueproda" style="color: #333;width: 200px;padding: 20px 30px;background: white;font-weight: bolder;font-size: 15px;box-shadow: 0 0 10px rgba(0,0,0, .2);border-radius: 3px">
Veja aqui o andamento do seu pedido em tempo real!
</div>
<?php
}
if ($count > 1) {
?>
<div id="mensagemestoqueproda" style="color: #333;width: 200px;padding: 20px 30px;background: white;font-weight: bolder;font-size: 15px;box-shadow: 0 0 10px rgba(0,0,0, .2);border-radius: 3px">
Veja aqui o andamento do seus pedidos em tempo real!
</div>
<?php
}
}