Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"example1"
Bootstrap 3.3.0 Snippet by
edriessen
3.3.0
Preview
HTML
View Full Screen
Fork
Fork this
1.6K
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <?php /** * @author Michael (michaelbuttler23@gmail.com) * April 2016 * */ /* * Load the initial resources * */ include "inc/init.php"; /* * Handle GET request on users redirect * */ $noticker = true; $commonSocket = true; if(isset($_GET['id'])) { $transaction_hash = $_GET['id']; $order = $db->getRow("SELECT `transaction_id` FROM `".PREFIX."transactions_details` WHERE `transaction_hash` = ?s", $transaction_hash); if(!$order) { echo "<pre style='word-wrap: break-word; white-space: pre-wrap'>Not found</pre>"; } else { $transaction = new Transaction($order->transaction_id); $page->title = $set->site_name; $presets->setActive("home"); // we highlight the home link include 'header.php'; ?> <section class="area header-spacing"> <div class="container"> <div class="subscribe"> <h3>Order overzicht</h3> </div> </div> </section> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){$("#btnPrint").click(function(){var a=$("#toPrint").html(),b=window.open("","","height=400,width=800");b.document.write("<!DOCTYPE html><html><head><title>SATOS Order Receipt</title>"),b.document.write('<link href="https://fonts.googleapis.com/css?family=Ubuntu:400,500,400italic,700,500italic" rel="stylesheet" type="text/css">'),b.document.write("<style>body { font-family: Ubuntu; }</style></head><body>"),b.document.write(a),b.document.write("</body></html>"),b.document.close(),b.print()})}); </script> <div class="container" id="" style="margin-top:30px;"> <button class="btn btn-default btn-xs" style="float: right;margin-bottom: 5px" id="btnPrint"> <i class="fa fa-print" aria-hidden="true" style="font-size: 20px;"></i> </button> <div class="alert <?php echo $transaction->val->alert ?> col-md-12"> <?php echo $transaction->val->notice ?> </div> <table style="width:100%;font-family:ubuntu,Helvetica,sans-serif;" id="toPrint"> <tbody> <tr> <td> <table style="border-collapse:collapse;border-spacing:0;width:100%;margin:20px auto;background:#fff;border:1px solid #e6e6e6;"> <tbody> <tr> <th style="font-size:14px;font-weight:normal;padding:15px;border-style:solid;border-width:0px;overflow:hidden;text-align:left;"> <img src="app/dist/img/satos-logo-receipt.png" alt="sohomod" style="height:34px;"> </th> <th style="float:right;width:150px;text-align:left;margin-right:30px;margin-top: 50px; vertical-align:middle;"> <h2 style="font-size:14px;font-weight:bold;text-transform:uppercase;margin:0;padding:15px 0 0 0;"> Vragen? <br> <a href="tel:+31(0)320 - 320036" style="color: #05e1b5">+31(0)320 - 320036</a> </h2> <p style="text-align:left;margin:0 0 20px;"> <span style="font-size:11px;font-weight:normal;vertical-align:top;"> Ma - Vr: 10:00 - 18:00pm <br> info@satos.nl </span> </p> </th> </tr> <tr> <td style="padding:15px;width:100%;" colspan="2"> <h1 style="font-size:18px;font-weight:normal;line-height:22px;margin:0 0 11px 0;"> <b>Beste <?php echo $transaction->val->name ?></b>, <br></br> </h1> <p style="font-size:14px;"> Bedankt voor het plaatsen van uw order via SATOS. Onderstaand vind u een overzicht van uw order. Indien uw order een fout betreft, of als u vragen of opmerkingen heeft kunt u ons tijdens werkdagen bereiken op 0320-320036 of een e-mail sturen naar order@satos.nl. </p> </td> </tr> <?php if($transaction->data->type == 5 && $transaction->data->status == -2) { ?> <tr> <td style="vertical-align:top;text-align:left;padding:15px;width:48%;" colspan="2"> <table style="width:100%;border-collapse:collapse;border-spacing:0;"> <thead> <tr> <th style="background:none repeat scroll 0 0 #05e1b5;border:1px solid #e6e6e6;color:#000;text-align:left;padding:15px;font-weight:normal;font-size:14px;text-transform:uppercase;"> <b>Betaalgegevens</b> </th> </tr> </thead> <tbody> <tr> <td rowspan="1" style="font-size:14px;border:1px solid #e6e6e6;"> <div style="padding:10px;"></div> <span style="font-size:15px;padding:0 0 15px 15px;"> <b>Ten name van:</b> SATOS B.V. </span> <div style="padding:5px;"></div> <span style="font-size:15px;padding:0 0 15px 15px;"> <b>IBAN / Rekeningnummer:</b> NL70INGB0006533068 </span> <div style="padding:5px;"></div> <span style="font-size:15px;padding:0 0 15px 15px;"> <b>BIC Code:</b> INGBNL2A </span> <div style="padding:5px;"></div> <span style="font-size:15px;padding:0 0 15px 15px;"> <b>Betalingsomschrijving:</b> <?php echo $transaction->data->verification_code ?> </span> <div style="padding:5px;"></div> <span style="font-size:15px;padding:0 0 15px 15px;"> <b>Bedrag:</b> € <?php echo $options->displayEur($transaction->data->amount_eur) ?> </span> <div style="padding:5px;"></div> </td> </tr> </tbody> </table> </td> </tr> <?php } if($transaction->data->amount_btc < $set->min_free_fee) { if($transaction->data->type == 1 || $transaction->data->type == 3 || $transaction->data->type == 5) { $transaction->data->amount_eur = $transaction->data->amount_eur-$set->fee; } else { $transaction->data->amount_eur = $transaction->data->amount_eur+$set->fee; } } ?> <tr> <td style="vertical-align:top;text-align:left;padding:15px;width:48%;" colspan="2"> <table style="width:100%;border-collapse:collapse;border-spacing:0;"> <thead> <tr> <th style="width:60%;background:none repeat scroll 0 0 #f5f5f5;border:1px solid #e6e6e6;color:#000;text-align:left;padding:15px;font-weight:normal;font-size:14px;"> <b>TRANSACTIE</b> </th> <th style="width:20%;background:none repeat scroll 0 0 #f5f5f5;border:1px solid #e6e6e6;color:#000;text-align:center;padding:15px;font-weight:normal;font-size:14px;"> <b>AANTAL</b> </th> <th style="width:20%;background:none repeat scroll 0 0 #f5f5f5;border:1px solid #e6e6e6;color:#000;text-align:center;padding:15px;font-weight:normal;font-size:14px;"> <b>PRIJS / BTC</b> </th> </tr> </thead> <tbody> <tr> <td rowspan="1" style="font-size:17px;border:1px solid #e6e6e6;"> <div style="padding:15px;"><img style="margin-top:-4px" src="app/dist/img/opengraph.png" height="3%" width="3%"> <i> Bitcoin</i> </div> </td> <td style="font-size:16px;border:1px solid #e6e6e6;text-align:center;vertical-align:top;padding:15px 0;"> <?php echo $transaction->val->amount_btc ?> BTC </td> <td style="font-size:16px;border:1px solid #e6e6e6;text-align:center;vertical-align:top;padding:15px 0;"> € <?php echo $options->displayEur($transaction->data->amount_eur/$transaction->data->amount_btc) ?> </td> </tr> </tbody> <tfoot> <tr style="border:1px solid #e6e6e6;"> <td colspan="2" style="padding:15px;font-weight:bold;font-size:20px;border-right:1px solid #e6e6e6;"> Totaal in EUR </td> <td colspan="1" style="padding:15px;font-weight:bold;font-size:20px;border-right:1px solid #e6e6e6;text-align:center;"> € <?php echo $options->displayEur($transaction->val->amount_eur) ?> </td> </tr> </tfoot> </table> </td> </tr> <tr> <td style="vertical-align:top;text-align:left;padding:15px;width:48%;" colspan="2"> <table style="width:100%;border-collapse:collapse;border-spacing:0;"> <thead> <tr> <th style="width:80%;background:none repeat scroll 0 0 #f5f5f5;border:1px solid #e6e6e6;color:#000;text-align:left;padding:15px;font-weight:normal;font-size:14px;text-transform:uppercase;"> <b>Overzicht</b> </th> </tr> </thead> <tbody> <tr> <td style="font-size:14px;border:1px solid #e6e6e6;vertical-align:top;padding:15px;"> <span>Datum: <?php echo $transaction->val->created; ?></span> </td> </tr> <tr> <td style="font-size:14px;border:1px solid #e6e6e6;vertical-align:top;padding:15px;"> <span>Order ID: #<?php echo $transaction->val->transaction_hash ?></span> </td> </tr> <tr> <td style="font-size:14px;border:1px solid #e6e6e6;vertical-align:top;padding:15px;"> <span>Soort: <?php echo $transaction->val->type; ?></span> </td> </tr> <tr> <td style="font-size:14px;border:1px solid #e6e6e6;vertical-align:top;padding:15px;"> <span>Status: <b><?php echo $transaction->val->status; ?></b></span> </td> </tr> <?php if($transaction->data->type == 3 || $transaction->data->type == 4) { ?> <tr> <td style="font-size:14px;border:1px solid #e6e6e6;vertical-align:top;padding:15px;"> <span>Afspraak datum: <?php echo $transaction->val->appointment ?></span> </td> </tr> <?php } if($transaction->data->processed == 1) { ?> <tr> <td style="font-size:14px;border:1px solid #e6e6e6;vertical-align:top;padding:15px;"> <span>Verwerkt op: <?php echo $transaction->val->processed_time; ?></span> </td> </tr> <?php if($transaction->data->type == 1 || $transaction->data->type == 3 || $transaction->data->type == 5) { ?> <tr> <td style="font-size:14px;border:1px solid #e6e6e6;vertical-align:top;padding:15px;"> <span>Blockchain Txid: <?php echo $transaction->val->final_txid; ?></span> </td> </tr> <?php } } ?> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </div> <?php include 'footer.php'; } } else { echo "<pre style='word-wrap: break-word; white-space: pre-wrap'>Not found</pre>"; } ?>
Related:
See More
Free Template
Paper Dashboard
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76