<?php
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<script src="https://kit.fontawesome.com/471e2ae98a.js" crossorigin="anonymous"></script>
</head>
<style media="screen">
@font-face {
font-family: calibri;
src: url(calibri.ttf);
}
body {
font-family: calibri;
font-size: 18px;
}
.header {
background-color:rgba(230, 7, 44, 1);
padding: 30px;
color: white;
font-size: 30px;
}
.tittle {
color: rgba(230, 7, 44, 1);;
font-size: 24px;
padding-left: 80px;
padding-top: 30px;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
padding: 15px;
text-align: center;
}
.table_align_left {
text-align: left;
}
.table1_row_width {
width: 33%;
}
.table1_row_width2 {
width: 21%;
}
table#t01 {
background-color: white;
width: 100%;
}
.red {
background:rgba(245, 217, 191, 0.5);;
padding-left: 10px;
margin-right: 80px;
margin-left: 80px;
}
.bloc1 {
height:200px;
width: 24%;
display:inline-block;
border: 1px;
margin: 0% -10% 0% 0%;
}
.bloc2 {
height:200px;
width: 24%;
display:inline-block;
border: 1px;
margin: 0% 10% 0% 0%;
}
.bloc3 {
height:200px;
width: 24%;
display:inline-block;
border: 1px;
margin: 0% -10% 0% 0%;
}
.bloc4 {
height:200px;
width: 24%;
display:inline-block;
border: 1px;
margin: 0% 0% 0% 0%;
}
.white {
margin-top: 300px;
background: white;
padding-left: 10px;
margin-right: 80px;
margin-left: 80px;
}
.footer_bloc1 {
width: 33%;
display: inline-block;
border: 1px;
margin: 0% 0% 0% 20%;
}
.footer_bloc2 {
width: 40%;
display: inline-block;
border: 1px;
margin: 0% 0% 0% -15%;
}
span {
padding-left: 100px;
}
</style>
<body>
<div class="header">
<img style= "float: left; padding-right: 50px" src="globe-icon-29.jpg" width="150" height="150">
<h1>Red L - Pointeuse de poche</h1>
</div>
<div class="tittle">
<h2>Bon de commande</h2>
</div>
<?php
$pointeuse_quantité = ($_POST["pointeuse_quantité"]);
if ($pointeuse_quantité >= 25 and $pointeuse_quantité <=49) {
$pointeuse_prix = 189.00;
} elseif ($pointeuse_quantité >= 50 and $pointeuse_quantité <=99) {
$pointeuse_prix = 179.00;
} elseif ($pointeuse_quantité >= 100) {
$pointeuse_prix = 169.00;
} else $pointeuse_prix = 199.00;
$autocollant_prix = 2.49;
$autocollant_prix_lot10 = 49.00;
$autocollant_prix_lot20 = 79.00;
$autocollant_prix_lot50 = 169.00;
$autocollant_quantité = ($_POST["autocollant_quantité"]);
if ($autocollant_quantité >= 1 && $autocollant_quantité <= 10) {
$autocollant_quantité_lot10 = 1;
} elseif($autocollant_quantité >= 11 && $autocollant_quantité <= 19){
$autocollant_quantité_lot10 = 2;
} elseif($autocollant_quantité == 20){
$autocollant_quantité_lot20 = 1;
} elseif($autocollant_quantité >= 21 && $autocollant_quantité <= 30){
$autocollant_quantité_lot20 = 1 and $autocollant_quantité_lot10 = 1;
} elseif($autocollant_quantité >= 31 && $autocollant_quantité <= 40){
$autocollant_quantité_lot20 = 2;
} elseif($autocollant_quantité >= 41 && $autocollant_quantité <= 49){
$autocollant_quantité_lo50 = 1;
} elseif($autocollant_quantité == 50) {
$autocollant_quantité_lot50 = 1;
} elseif($autocollant_quantité >= 51 && $autocollant_quantité <= 60){
$autocollant_quantité_lot50 = 1 and $autocollant_quantité_lot10;
} elseif($autocollant_quantité >= 61 && $autocollant_quantité <= 70){
$autocollant_quantité_lot50 = 1 and $autocollant_quantité_lot20 = 1;
} elseif($autocollant_quantité >= 71 && $autocollant_quantité <= 90){
$autocollant_quantité_lot50 = 1 and $autocollant_quantité_lot20 = 2;
} elseif($autocollant_quantité >= 90 && $autocollant_quantité <= 99){
$autocollant_quantité_lot50 = 2;
} elseif($autocollant_quantité >= 100 && $autocollant_quantité <= 1000){
$autocollant_custom = $autocollant_quantité;
} else echo "entrée invalide";
$autocollant_total_ht_custom = $autocollant_prix * $autocollant_custom;
$autocollant_total_ht_lot10 = $autocollant_prix_lot10 * $autocollant_quantité_lot10;
$autocollant_total_ht_lot20 = $autocollant_prix_lot20 * $autocollant_quantité_lot20;
$autocollant_total_ht_lot50 = $autocollant_prix_lot50 * $autocollant_quantité_lot50;
$pointeuse_total_ht = $pointeuse_prix * $pointeuse_quantité;
$pointeuse_autocollant_offert = $pointeuse_quantité * 10;
$pointeuse_autocollant_offert_total_ht = $pointeuse_autocollant_offert * $autocollant_prix;
$pointeuse_autocollant_offert_total_ht = $pointeuse_autocollant_offert * $autocollant_prix;
if (!$autocollant_total_ht_lot10) {
$autocollant_total_ht_lot10 = " ";
} else echo " ";
if (!$autocollant_total_ht_lot20) {
$autocollant_total_ht_lot20 = " ";
} else echo " ";
if (!$autocollant_total_ht_lot50) {
$autocollant_total_ht_lot50 = " ";
} else echo " ";
if (!$autocollant_total_ht_custom) {
$autocollant_total_ht_custom = " ";
} else echo " ";
$autocollant_total_ht_custom = $autocollant_total_ht_custom;
$euro = "€";
if (isset($autocollant_total_ht_custom))
{
echo $autocollant_total_ht_custom . " " .$euro;
}
if (isset($autocollant_total_ht_lot10))
{
echo $autocollant_total_ht_lot10. " " .$euro;
}
?>
<div style="padding-left: 80px; padding-right: 80px;">
<table id="t01">
<tr>
<th class= "table_align_left table1_row_width">Matériel</th>
<th class="table1_row_width2">Prix unitaire</th>
<th class="table1_row_width2">Quantité</th>
<th class="table1_row_width2">Total HT</th>
</tr>
<tr>
<td class=table_align_left>Pointeuse de poche</td>
<td><?php echo number_format((float)$pointeuse_prix, 2, '.', '') ?></td>
<td><?php echo $_POST["pointeuse_quantité"]; ?></td>
<td><?php echo number_format((float)$pointeuse_total_ht, 2, '.', ''), "€"?></td>
</tr>
<tr>
<td class=table_align_left>Garantie 12 mois</td>
<td>Inclus</td>
<td>--</td>
<td>--</td>
</tr>
<tr>
<td class=table_align_left>Autocollant NFC anti-fraude</td>
<td><?php echo number_format((float)$autocollant_prix, 2, '.', '') ?></td>
<td><?php echo $pointeuse_autocollant_offert, " offert" ?></td>
<td style="text-decoration: line-through;"><?php echo number_format((float) $pointeuse_autocollant_offert_total_ht, 2, '.', ''), "€" ?></td>
</tr>
</table>
</div>
<br>
<div style="padding-left: 80px; padding-right: 80px;">
<table id="t01">
<tr>
<th class= "table_align_left table1_row_width">Autocollant NFC anti-fraude</th>
<th class="table1_row_width2">Prix unitaire</th>
<th class="table1_row_width2">Quantité</th>
<th class="table1_row_width2">Total HT</th>
</tr>
<tr>
<td class=table_align_left>Lot de 10</td>
<td><?php echo number_format((float)$autocollant_prix_lot10, 2, '.', '') ?></td>
<td><?php echo $autocollant_quantité_lot10 ?></td>
<td><?php echo $autocollant_total_ht_lot10?></td>
</tr>
<tr>
<td class=table_align_left>Lot de 20</td>
<td><?php echo number_format((float)$autocollant_prix_lot20, 2, '.', '') ?></td>
<td><?php echo $autocollant_quantité_lot20 ?></td>
<td><?php echo $autocollant_total_ht_lot20?></td>
</tr>
<tr>
<td class=table_align_left>Lot de 50</td>
<td><?php echo number_format((float)$autocollant_prix_lot50, 2, '.', '') ?></td>
<td><?php echo $autocollant_quantité_lot50 ?></td>
<td><?php echo $autocollant_total_ht_lot50?></td>
</tr>
<tr>
<td class=table_align_left>A partir de 100</td>
<td><?php echo $autocollant_prix ?></td>
<td><?php echo $autocollant_custom?></td>
<td><?php echo $autocollant_total_ht_custom?> </td>
</tr>
</table>
</div>
<br>
<div style="padding-left: 80px; padding-right: 80px;">
<table id="t01">
<tr>
<th class="table_align_left" style="width:34.5%;">Services</th>
</tr>
<tr>
<td class=table_align_left>Mise en place de votre espace de gestion</td>
<td>100,00€</td>
</tr>
<tr>
<td class=table_align_left>Frais de télécommunication</td>
<td>36 mois inclus (*)</td>
</tr>
<tr>
<td class=table_align_left>Support et maintenance</td>
<td>Inclus</td>
</tr>
<tr>
<td class=table_align_left>Formation au logiciel</td>
<td>Inclus</td>
</tr>
<tr>
<td class=table_align_left>Manuel utilisateurs</td>
<td>Inclus</td>
</tr>
</table>
</div>
<br>
<div style="padding: 0px 80px">
<p>(*) recharge de 12 mois supplémentaires = 49,00 €</p>
<p>En signant ce bon de commande, vous acceptez les conditions générales du 01/09/2018,
déclarez avoir toutes les autorisations pour engager votre société, et passez commande des produits et services aux quantités mentionnées.</p>
<p>Offre valable 4 semaines, paiement d’avance, prix en euros hors taxe, hors frais de port.</p>
</div>
<br>
<p style="text-decoration: underline; padding-left: 80px;">Détails client</p>
<br>
<div class="red" style="margin-top: -20px">
<div class="bloc1">
<br>
<p>Société</p>
<p style="padding-bottom: 5px;"></p>
<p>Date </p>
<p style="padding-bottom: 5px;"></p>
<p>Adresse</p>
<p style="padding-bottom: 5px;"></p>
<p>Cachet commercial</p>
<p style="padding-bottom: 5px;"></p>
<br>
</div>
<div class="bloc2">
<br>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<br>
</div>
<div class="bloc3">
<br>
<p>Nom</p>
<p style="padding-bottom: 5px;"></p>
<p>Fonction </p>
<p style="padding-bottom: 5px;"></p>
<p>Numéro TVA</p>
<p style="padding-bottom: 5px;"></p>
<p>Signature</p>
<p style="padding-bottom: 5px;"></p>
<br>
</div>
<div class="bloc4">
<br>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<br>
</div>
</div>
<br>
<div class="white">
<div class="footer_bloc1">
<img src="180307_Logo_orange-300x169.png" width="auto" height="100">
</div>
<div class="footer_bloc2">
<p style="text-align: center;">Digital Nomade SARL au capital de 160 000 euros</p>
<p style="text-align: center; margin-top: -10px">45bis, route des Gardes, 92190 Meudon 800 212 490 RCS Nanterre</p>
<p style="text-align: center; margin-top: -10px";>TVA intracommunautaire FR 02 800212490</p>
<p style="text-align: center; margin-top: -30px;"><span></span></p>
</div>
</div
</body>
</html>
- Output for 7.2.0 - 7.2.29, 7.3.0 - 7.3.17, 7.4.0 - 7.4.5
- Parse error: syntax error, unexpected '<', expecting end of file in /in/iMR7L on line 3
Process exited with code 255.
preferences:
188.9 ms | 1395 KiB | 61 Q