-
-
Save anonymous/188452752f8034663bbb747448bb4b85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'connection.php'; | |
if(!(isset($_SESSION['panier']))){ | |
$panier=array(); | |
} | |
else{ | |
$panier=$_SESSION['panier']; | |
} | |
?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="company" content="B GmbH & Co. KG" /> | |
<style type="text/css"> | |
html { font-family:Calibri, Arial, Helvetica, sans-serif; font-size:11pt; background-color:white } | |
table { border-collapse:collapse; page-break-after:always } | |
.gridlines td { border:1px dotted black } | |
.b { text-align:center } | |
.e { text-align:center } | |
.f { text-align:right } | |
.inlineStr { text-align:left } | |
.n { text-align:right } | |
.s { text-align:left } | |
td.style5 { vertical-align:middle; text-align:left; padding-right:0px; border-bottom:2px solid #000000 !important; border-top:2px solid #000000 !important; border-left:3px solid #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style6 { vertical-align:middle; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:white } | |
td.style7 { vertical-align:middle; text-align:left; padding-right:0px; border-bottom:3px solid #000000 !important; border-top:2px solid #000000 !important; border-left:2px solid #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style8 { vertical-align:middle; text-align:left; padding-right:0px; border-bottom:none #000000; border-top:2px solid #000000 !important; border-left:3px solid #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style9 { vertical-align:middle; text-align:left; padding-right:0px; border-bottom:none #000000; border-top:2px solid #000000 !important; border-left:2px solid #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style40 { vertical-align:middle; text-align:center; border-bottom:1px solid #000000 !important; border-top:3px solid #000000 !important; border-left:1px dashed #BFBFBF !important; border-right:1px dashed #BFBFBF !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:white } | |
td.style41 { vertical-align:middle; text-align:center; border-bottom:0px solid #000000 !important; border-top:3px solid #000000 !important; border-left:0px dashed #BFBFBF !important; border-right:0px solid #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:white } | |
td.style42 { vertical-align:middle; text-align:center; border-bottom:0px solid #000000 !important; border-top:3px solid #000000 !important; border-left:0px dashed #BFBFBF !important; border-right:0px solid #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:white } | |
td.style43 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:2px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style44 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:2px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:2px solid #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style45 { vertical-align:middle; text-align:center; border-bottom:3px solid #000000 !important; border-top:2px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style46 { vertical-align:middle; text-align:center; border-bottom:3px solid #000000 !important; border-top:2px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:2px solid #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style47 { vertical-align:middle; text-align:center; border-bottom:3px solid #000000 !important; border-top:2px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:3px solid #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style48 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:3px solid #000000 !important; border-left:3px solid #000000 !important; border-right:none #000000 } | |
td.style49 { vertical-align:middle; text-align:center; border-bottom:3px #000000; border-top:3px solid #000000 !important; border-left:none #000000; border-right:none #000000; margin-left:3px } | |
td.style52 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:3px solid #000000 !important; border-left:2px solid #000000 !important; border-right:none #000000; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:19pt; background-color:#D8D8D8 } | |
td.style54 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:3px solid #000000 !important; border-left:none #000000; border-right:2px solid #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:19pt; background-color:#D8D8D8 } | |
td.style58 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:3px solid #000000 !important; border-left:none #000000; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style59 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:3px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style60 { vertical-align:middle; text-align:center; border-bottom:2px solid #000000 !important; border-top:none #000000; border-left:none #000000; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style61 { vertical-align:middle; text-align:center; border-bottom:2px solid #000000 !important; border-top:none #000000; border-left:1px dashed #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style62 { vertical-align:middle; text-align:center; border-bottom:1px solid #000000 !important; border-top:3px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:3px solid #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style63 { vertical-align:middle; text-align:center; border-bottom:2px solid #000000 !important; border-top:1px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:3px solid #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style64 { vertical-align:middle; text-align:center; border-bottom:2px solid #000000 !important; border-top:2px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style65 { vertical-align:middle; text-align:center; border-bottom:2px solid #000000 !important; border-top:2px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:2px solid #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style66 { vertical-align:middle; text-align:right; padding-right:0px; border-bottom:2px solid #000000 !important; border-top:2px solid #000000 !important; border-left:2px solid #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style67 { vertical-align:middle; text-align:left; padding-right:0px; border-bottom:2px solid #000000 !important; border-top:2px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:1px dashed #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
td.style68 { vertical-align:middle; text-align:center; border-bottom:2px solid #000000 !important; border-top:2px solid #000000 !important; border-left:1px dashed #000000 !important; border-right:3px solid #000000 !important; font-weight:bold; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#D8D8D8 } | |
table.sheet0 col.col0 { width:88.78888787pt } | |
table.sheet0 col.col1 { width:45.41111059pt } | |
table.sheet0 col.col2 { width:45.41111059pt } | |
table.sheet0 col.col3 { width:72.52222139pt } | |
table.sheet0 col.col4 { width:49.47777721pt } | |
table.sheet0 col.col5 { width:32.53333296pt } | |
table.sheet0 col.col6 { width:72.52222139pt } | |
table.sheet0 col.col7 { width:45.41111059pt } | |
table.sheet0 col.col8 { width:45.41111059pt } | |
table.sheet0 col.col9 { width:51.51111052pt } | |
table.sheet0 col.col10 { width:49.47777721pt } | |
table.sheet0 col.col11 { width:33.21111072999999pt } | |
table.sheet0 tr { height:15pt } | |
table.sheet0 tr.row0 { height:33.6pt } | |
table.sheet0 tr.row1 { height:33.6pt } | |
table.sheet0 tr.row2 { height:33.6pt } | |
table.sheet0 tr.row3 { height:33.6pt } | |
table.sheet0 tr.row4 { height:34.9pt } | |
table.sheet0 tr.row5 { height:25.15pt } | |
table.sheet0 tr.row6 { height:25.15pt } | |
table.sheet0 tr.row7 { height:25.15pt } | |
table.sheet0 tr.row8 { height:25.15pt } | |
table.sheet0 tr.row9 { height:25.9pt } | |
table.sheet0 tr.row10 { height:25.9pt } | |
table.sheet0 tr.row11 { height:25.9pt } | |
table.sheet0 tr.row12 { height:25.9pt } | |
table.sheet0 tr.row13 { height:25.9pt } | |
table.sheet0 tr.row14 { height:25.9pt } | |
table.sheet0 tr.row15 { height:25.9pt } | |
table.sheet0 tr.row16 { height:25.9pt } | |
table.sheet0 tr.row17 { height:34.9pt } | |
table.sheet0 tr.row18 { height:25.15pt } | |
table.sheet0 tr.row19 { height:25.15pt } | |
table.sheet0 tr.row20 { height:25.15pt } | |
table.sheet0 tr.row21 { height:25.15pt } | |
table.sheet0 tr.row22 { height:25.9pt } | |
table.sheet0 tr.row23 { height:25.9pt } | |
table.sheet0 tr.row24 { height:25.9pt } | |
table.sheet0 tr.row25 { height:25.9pt } | |
table.sheet0 tr.row26 { height:25.9pt } | |
table.sheet0 tr.row27 { height:25.9pt } | |
table.sheet0 tr.row28 { height:25.9pt } | |
table.sheet0 tr.row29 { height:25.9pt } | |
table.sheet0 tr.row30 { height:34.9pt } | |
table.sheet0 tr.row31 { height:25.15pt } | |
table.sheet0 tr.row32 { height:25.15pt } | |
table.sheet0 tr.row33 { height:25.15pt } | |
table.sheet0 tr.row34 { height:25.15pt } | |
table.sheet0 tr.row35 { height:25.9pt } | |
table.sheet0 tr.row36 { height:25.9pt } | |
table.sheet0 tr.row37 { height:25.9pt } | |
table.sheet0 tr.row38 { height:25.9pt } | |
table.sheet0 tr.row39 { height:25.9pt } | |
table.sheet0 tr.row40 { height:25.9pt } | |
table.sheet0 tr.row41 { height:25.9pt } | |
table.sheet0 tr.row42 { height:25.9pt } | |
</style> | |
</head> | |
<body> | |
<style> | |
@page { left-margin: 0.7086614173228347in; right-margin: 0.7086614173228347in; top-margin: 0.7874015748031497in; bottom-margin: 0.7874015748031497in; } | |
body { left-margin: 0.7086614173228347in; right-margin: 0.7086614173228347in; top-margin: 0.7874015748031497in; bottom-margin: 0.7874015748031497in; } | |
</style> | |
<div> | |
<form method="post" action="formular2.php" > | |
<table border="0" cellpadding="0" cellspacing="0" id="sheet0" class="sheet0 gridlines" align="center" width="98%"> | |
<col class="col0"> | |
<col class="col1"> | |
<col class="col2"> | |
<col class="col3"> | |
<col class="col4"> | |
<col class="col5"> | |
<col class="col6"> | |
<col class="col7"> | |
<col class="col8"> | |
<col class="col9"> | |
<col class="col10"> | |
<col class="col11"> | |
<tbody> <!--<img style ="margin-top: 1px;" src='bilder/logo3.png' height="47" >--> | |
<tr class="row0"> | |
<td class="column0 style48 s style49" colspan="3"><img style =" height=32" src='images/logo.gif'></td> | |
<td class="column3 style52 s style54" colspan="6">Kantteilbestellung</td> | |
<td class="column9 style58 s style59" colspan="2">Seite: </td> | |
<td class="column11 style62 s style62">/</td> | |
</tr> | |
<tr class="row2"> | |
<td class="column0 style5 s">Bauvorhaben:</td> | |
<td class="column1 style64 s style65" colspan="6"><input type="text" name="bauvorhaben" size="40" maxlength="40" required="required"></td> | |
<td class="column7 style66 s style67" colspan="2">Auftrags-Nr.:</td> | |
<td class="column9 style64 s style68" colspan="3"><input type="text" name="auftrags_nr" size="10" maxlength="8" required="required"></td> | |
</tr> | |
<tr class="row3"> | |
<td class="column0 style8 s">Fassade:</td> | |
<td class="column1 style43 s style44" colspan="2"><input type="text" name="fassade" size="10" maxlength="6"required="required"></td> | |
<td class="column3 style9 s">Bearbeiter:</td> | |
<td class="column4 style43 s style44" colspan="2"><input type="text" name="bearbeiter" size="15" maxlength="13"required="required"></td> | |
<td class="column6 style7 s">Datum:</td> | |
<td class="column7 style45 n style46" colspan="2"><input type="text" name="datum" size="10" maxlength="8" required="required"></td> | |
<td class="column9 style7 s">Termin:</td> | |
<td class="column10 style45 n style47" colspan="2"><input type="text" name="termin" size="10" maxlength="8" required="required"></td> | |
</tr> | |
<tr class="row4"> | |
<td class="column1 style40 n style42" colspan="2"></td> | |
<td class="column4 style40 n style41" colspan="2"></td> | |
<td class="column7 style40 n style42" colspan="2"></td> | |
</tr> | |
</tr> | |
</tbody> | |
</table> | |
<input type="image" src="images/obj_pdf.gif" alt="Abschiken"> <!--Hier wenn man auf Abschicken drückt, sollte die pdf Datei erzeugen werden--> | |
<b> oder </b> | |
<input type="image" src="images/save.jpg" alt="Speichern"> <!--beim Abbrechen Auswahl sicher--> | |
</form> | |
</div> | |
<div align="center"> | |
<table border="1px" margin=""> | |
<tr> | |
<th colspan="4"><h4>La liste des images choisi</h4></th> | |
</tr> | |
<tr align="center"> | |
<td>IMAGE-ID</td> | |
<td>CATEGORIE-ID</td> | |
<td>IMAGEPFAD</td> | |
<td></td> | |
</tr> | |
<?php | |
$total=0; | |
for($i=0;$i<count($panier);$i++){ | |
/*if($panier[$i]){ | |
$req = mysql_query("SELECT id_pho, code_cat, photo FROM produits WHERE user_id = '".$panier[$i]['prod']."'", $dbConnect) or die(mysql_error()); | |
while($getprodinfo = $req->fetch(PDO::FETCH_ASSOC)){ | |
} | |
}*/ | |
$total=$total+ $panier[$i]['id_pho']; | |
echo "<pre>"; | |
print_r($panier); | |
echo "</pre>"; | |
/*error_reporting(-1); | |
ini_set("display_errors",true); */ | |
//var_dump($panier[0]); | |
?> | |
<tr> | |
<td><?php echo($panier[$i]['id_pho']) ?></td> | |
<td><?php echo($panier[$i]['code_cat']) ?></td> | |
<td><?php echo($panier[0]['photo']) ?></td> <!--zeile 195--> | |
<td><a href="supprimerdupanier.php?index=<?php echo($i)?>">supprimer</a></td> | |
</tr> | |
<?php } ?> | |
</table> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment