issue
By: Xmoo | Date: Dec 20 2010 19:59 | Format: PHP | Expires: never | Size: 3.09 KB | Hits: 915
- <?php
- ////////////////////////////////////////
- // (C)ontent (M)anagement (S)ystem //
- // Version: 1.0 //
- // By: Mohammad Moghtader //
- // Group: B21p4a //
- ////////////////////////////////////////
- ?>
- <?php if (($_SESSION['id']) == true) {
- $ppp=mysql_query("SELECT * FROM `Order` WHERE Klantnummer = '".$klant_id."'") or die(mysql_error());
- { $SID2 = $info->SID;
- $Orderdatum = $info->Orderdatum;
- $Leverdatum = $info->Leverdatum;
- ?>
- <div style="BORDER-RIGHT: #e2e2e2 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #e2e2e2 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: #e2e2e2 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #e2e2e2 1px solid">
- <span style="COLOR: #8B8989; font-size: 14pt">Mijn Bestellingen.</span><hr /><br />
- <div style="PADDING-LEFT: 5px; PADDING-BOTTOM: 7px">
- <?php echo "<b>Orderdatum:</b> ".$Orderdatum."
- <b>Leverdatum:</b> ".$Leverdatum."<br /><br />"; ?>
- <table border='0' width='100%' align='center'>
- <tr>
- <td> </td>
- <td width='300'><b>Artikelnaam:</b></td>
- <td width='60'><b>Aantal:</b></td>
- <td width='60'><b>Prijs:</b></td>
- <td width='60'><b>Totaal:</b></td>
- </tr>
- <?php
- { $Artikelnummer = $info->Artikelnummer;
- $Aantal = $info->Aantal;
- $www=mysql_query("SELECT * FROM Artikel WHERE Artikelnummer = '".$Artikelnummer."'") or die(mysql_error());
- { $Artikelnaam = $info->Artikelnaam;
- $Artikelprijs = $info->Artikelprijs;
- $Pic = $info->Pic;
- $getal = $Artikelprijs;
- $som = $Aantal * $bedrag;
- $prijs += $som;
- echo "<tr>
- <td>
- <a href='".$Pic."' target='_blank'><img src='".$Pic."' width='90' height='51'/></a>
- </td>
- <td width='300'>
- ".$Artikelnaam."
- </td>
- <td width='60'>
- ".$Aantal."
- </td>
- <td width='60'>
- €".$Artikelprijs."
- </td>
- <td width='60'>
- €".$som."
- </td>
- </tr>";
- } } }
- ?>
- <tr>
- <td> </td>
- <td width='300'><b> </b></td>
- <td width='60'><b> </b></td>
- <td width='60'><b>Totaal:</b></td>
- <td width='5'>€<?php echo $prijs; ?></td>
- </tr>
- </table>
- </div><br /></div><?php } else { include("include/noaccess.php"); } ?>
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago