pending.html.html (5255B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 5 <title>pending.html - getdafuckouttahere.net - Unnamed repository; edit this file 'description' to name the repository. 6 </title> 7 <link rel="icon" type="image/png" href="../../../favicon.png" /> 8 <link rel="alternate" type="application/atom+xml" title="getdafuckouttahere.net Atom Feed" href="../../../atom.xml" /> 9 <link rel="alternate" type="application/atom+xml" title="getdafuckouttahere.net Atom Feed (tags)" href="../../../tags.xml" /> 10 <link rel="stylesheet" type="text/css" href="../../../style.css" /> 11 </head> 12 <body> 13 <table><tr><td><a href="../../../../"><img src="../../../logo.png" alt="" width="32" height="32" /></a></td><td><h1>getdafuckouttahere.net</h1><span class="desc">Unnamed repository; edit this file 'description' to name the repository. 14 </span></td></tr><tr><td></td><td> 15 <a href="../../../log.html">Log</a> | <a href="../../../files.html">Files</a> | <a href="../../../refs.html">Refs</a></td></tr></table> 16 <hr/> 17 <div id="content"> 18 <p> pending.html (1378B)</p><hr/><pre id="blob"> 19 <a href="#l1" class="line" id="l1"> 1</a> $def with (pending_key, pendingform, pendinginfo, shippinginfo, bag, b, productname, float) 20 <a href="#l2" class="line" id="l2"> 2</a> $ tot = 0 21 <a href="#l3" class="line" id="l3"> 3</a> <div id="container"> 22 <a href="#l4" class="line" id="l4"> 4</a> <div id="default"> 23 <a href="#l5" class="line" id="l5"> 5</a> <h2>Checkout</h2> 24 <a href="#l6" class="line" id="l6"> 6</a> $if bag != []: 25 <a href="#l7" class="line" id="l7"> 7</a> in your order (click to remove): 26 <a href="#l8" class="line" id="l8"> 8</a> $for i in bag: 27 <a href="#l9" class="line" id="l9"> 9</a> $code: 28 <a href="#l10" class="line" id="l10"> 10</a> price = i.quantity * float(i.price/100) 29 <a href="#l11" class="line" id="l11"> 11</a> <a href="/dropitem/$i.product">$i.quantity x $productname(i.product)</a> $price&euro; <br> 30 <a href="#l12" class="line" id="l12"> 12</a> <img src="/static/img/$i.product/thumb/000.jpeg" style="width:120px"><br> 31 <a href="#l13" class="line" id="l13"> 13</a> $code: 32 <a href="#l14" class="line" id="l14"> 14</a> tot += price 33 <a href="#l15" class="line" id="l15"> 15</a> 34 <a href="#l16" class="line" id="l16"> 16</a> 35 <a href="#l17" class="line" id="l17"> 17</a> <br> 36 <a href="#l18" class="line" id="l18"> 18</a> $if pendinginfo.country == 'NO-SHIPPING': 37 <a href="#l19" class="line" id="l19"> 19</a> No shipping selected, be sure to pick up item yaself okey. 38 <a href="#l20" class="line" id="l20"> 20</a> $else: 39 <a href="#l21" class="line" id="l21"> 21</a> Shipping cost to $pendinginfo.country is $float(shippinginfo.price/100)&euro; <br> 40 <a href="#l22" class="line" id="l22"> 22</a> Shipping estimate is $shippinginfo.days days<br> 41 <a href="#l23" class="line" id="l23"> 23</a> $code: 42 <a href="#l24" class="line" id="l24"> 24</a> tot += float(shippinginfo.price/100) 43 <a href="#l25" class="line" id="l25"> 25</a> <pre> 44 <a href="#l26" class="line" id="l26"> 26</a> First Name: $pendinginfo.firstname 45 <a href="#l27" class="line" id="l27"> 27</a> Last Name: $pendinginfo.lastname 46 <a href="#l28" class="line" id="l28"> 28</a> Country: $pendinginfo.country 47 <a href="#l29" class="line" id="l29"> 29</a> Address: $pendinginfo.address 48 <a href="#l30" class="line" id="l30"> 30</a> Town: $pendinginfo.town 49 <a href="#l31" class="line" id="l31"> 31</a> Postalcode: $pendinginfo.postalcode 50 <a href="#l32" class="line" id="l32"> 32</a> Email: $pendinginfo.email 51 <a href="#l33" class="line" id="l33"> 33</a> </pre> 52 <a href="#l34" class="line" id="l34"> 34</a> 53 <a href="#l35" class="line" id="l35"> 35</a> <br> 54 <a href="#l36" class="line" id="l36"> 36</a> <h3> 55 <a href="#l37" class="line" id="l37"> 37</a> $if tot > 0: 56 <a href="#l38" class="line" id="l38"> 38</a> total: $(tot)&euro; or in real money $int(b.convert_to_btc(tot, 'EUR') * 100000000) Satoshi 57 <a href="#l39" class="line" id="l39"> 39</a> </h3> 58 <a href="#l40" class="line" id="l40"> 40</a> <br> 59 <a href="#l41" class="line" id="l41"> 41</a> <a href="/checkout">Go back!</a> 60 <a href="#l42" class="line" id="l42"> 42</a> <div id="addevent"> 61 <a href="#l43" class="line" id="l43"> 43</a> <form method="POST"> 62 <a href="#l44" class="line" id="l44"> 44</a> $:pendingform.render() 63 <a href="#l45" class="line" id="l45"> 45</a> </form> 64 <a href="#l46" class="line" id="l46"> 46</a> </div> 65 <a href="#l47" class="line" id="l47"> 47</a> <b><p></p></b> 66 <a href="#l48" class="line" id="l48"> 48</a> </div> 67 <a href="#l49" class="line" id="l49"> 49</a> </div> 68 <a href="#l50" class="line" id="l50"> 50</a> </div> 69 </pre> 70 </div> 71 </body> 72 </html>