Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <?php
- $server = "localhost";
- $username = "statodellariparazione2";
- $password = "a3d5xfA3D5XF";
- $database = "my_statodellariparazione2";
- $db = mysqli_connect($server, $username, $password, $database, '3306');
- if ($db->connect_error) die("Failed to connect to database: ".$db->connect_error);
- $res = mysqli_query($db, "SELECT * from Negozio WHERE progressivo = ".mysql_real_escape_string($_POST['search_id']));
- ?>
- <body style="background-color:#FFFF6C;border-collapse:collapse;">
- <style>
- table {
- font-family: arial, arial;
- border-collapse: collapse;
- width:100px;
- white-space:nowrap;
- }
- td, th {
- border: 1px solid black;
- text-align: left;
- padding: 1px;
- background-color:white;
- font-size:50px;
- color:red;
- }
- }
- .auto-style1 {
- text-align: center;
- font-size:50px;
- }
- .auto-style2 {
- border-width: 0px;
- font-size:50px;
- }
- .auto-style5 {
- text-align: center;
- background-color:#FFFF6C;
- }
- .auto-style6 {
- color: black;
- }
- .auto-style7 {
- color: blue;
- }
- </style>
- <table>
- <?php while ($row = mysqli_fetch_array($res)) { ?>
- <td><b>Data Nota</b> <b style="color:black;font-size:40px"><b><?php echo date('d-m-Y', strtotime($row['Data_Nota'])); ?></b><br>
- <tr>
- <td><b>Numero nota</b> <b style="color:black;font-size:40px"><?php echo htmlentities($row['progressivo']); ?></b><br>
- <tr>
- <td><b>Prodotto</b> <b style="color:black;font-size:40px"><?php echo htmlentities($row['prodotto']); ?></b><br>
- <tr>
- <td><b>Marca</b> <b style="color:black;font-size:40px"><?php echo htmlentities($row['marca']); ?></b><br>
- <tr>
- <td><b>Modello</b> <b style="color:black;font-size:40px"><?php echo htmlentities($row['modello']); ?></b><br>
- <tr>
- <td><b>Lavoro</b> <b style="color:black;font-size:40px"><?php echo htmlentities($row['riparazione']); ?></b><br>
- <tr>
- <td><b>Difetto</b> <b style="color:black;font-size:40px"><?php echo htmlentities($row['difetto']); ?></b><br>
- <tr>
- <td><b>Riparato</b> <b style="color:black;font-size:40px"><?php echo htmlentities($row['chiudi_nota']); ?></b><br>
- <tr>
- <td><b>Acconto €</b> <b style="color:black;font-size:40px"><?php echo htmlentities($row['acconto']); ?></b><br>
- <tr>
- <td><b>Importo dovuto €</b> <b style="color:black;font-size:40px"> <?php echo htmlentities($row['denaro']); ?></b>
- </tr>
- <td><b style="font-size:40;color:black">Se sono passati più di sette giorni<br> vuol dire che è in attesa di ricambi</b></td>
- <tr>
- <?php } ?>
- </table>
- <marquee scrollamount="10" style="font-size:65;color:blue"><b>Serpe Riparazioni Civitavecchia Tel: 0766.31200 Cell: 320.9189882 I nostri servizi: Tecnico Lavatrice - Frigo - Lavastoviglie - Cucine. I nostri collaboratori esterni: Idraulico - Antennista - Elettricista - Fabbro - Condizionatori - Muratore - Imbianchino - Tecnico Caldaie - Tecnico macchine da cucire</b></marquee>
- <hr>
- <div align="center">
- <table style="width: 100%">
- <tr>
- <td bgcolor="#FFFF6C" class="auto-style5"><span class="auto-style6">
- <strong>Supportaci con un "Mi piace"<br>sulla nostra pagina</strong></span>
- <span class="auto-style7"><strong>Facebook</strong></span></td>
- </tr>
- </table>
- <p class="auto-style1"><a href="https://www.facebook.com/serperiparazioni/" target="_blank">
- <img alt="Visita la nostra pagina Facebook" class="auto-style2" height="400" src="\fbanim.gif" width="700">
- <h5 style="font-size:80px;color:red">Auguri di Buone Feste dallo staff di SERPE RIPARAZIONI</h5>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement