heartranked

git clone https://git.tarina.org/heartranked
Log | Files | Refs

almost.html (2056B)


      1 $def with (products,bag,sessionkey,productname,inbag,db,getprice,getrate,category,markdown,visitors, total, unique, show)
      2 
      3 $ siteconfig = db.select('propaganda', what='id, name, description, description2')[0]
      4 
      5 <HEAD>
      6     <meta charset="utf-8">
      7     $#<title>$siteconfig.name | $siteconfig.description</title>
      8     <title>Robin Bäckman | maker & baker</title>
      9     <link rel="stylesheet" href="/static/splash.css?v=108" type="text/css" rel="stylesheet"/>
     10     <meta name="viewport" content="width=device-width, initial-scale=1">
     11     <meta http-equiv="cache-control" content="no-cache">
     12 </HEAD>
     13 
     14 <BODY>
     15 <div class="introtext">
     16 $if show == 'all':
     17     $ goodies = db.query("SELECT * FROM propagandapics ORDER BY ID DESC LIMIT 1000;")
     18     $#<a href="?show=">show less 📃</a> top 999!<br>
     19 $else:
     20     $ goodies = db.query("SELECT * FROM propagandapics ORDER BY ID DESC LIMIT 3;")
     21     $#<a href="?show=all">show more 📃</a> here latest<br>
     22 $for g in goodies:
     23     <a href="/#$g.name">$g.name</a><br>
     24 <div id="visitors">
     25 last VISITS by COUNTRIES<br>
     26 $for i in visitors:
     27     <img src="/static/flags/${i}.png"> 
     28 <br>
     29 $unique UNICORNS 🦄 PEACE! ☮️
     30 <br>
     31 </div>
     32 $#<h1>$siteconfig.name</h1>
     33 $#$:markdown.markdown(siteconfig.description)
     34 $:markdown.markdown(siteconfig.description)
     35 $:markdown.markdown(siteconfig.description2)
     36 ~
     37 <br>
     38 <br>
     39 $ backlink = ''
     40 $ goodies = db.query("SELECT * FROM propagandapics;")
     41 $for g in goodies:
     42     $if g.soundname[-5:] == '.jpeg' or g.soundname[-4:] == '.png':
     43         <div id="$g.name">
     44         ~*~
     45         <br>
     46         $if backlink != '':
     47             <a href="/#">upp tibaks</a><br>
     48         ~
     49         <br>
     50         <img src="/static/img/web/$g.soundname">
     51         <br>
     52         <br>
     53         <br>
     54         <br>
     55         $:markdown.markdown(g.description)
     56         <br>
     57         <br>
     58         $:markdown.markdown(g.description2)
     59         <br>
     60         ~
     61         <br>
     62         </div>
     63         $ backlink = g.name
     64 <br>
     65 <br>
     66 robinbackman.com
     67 <br>
     68 Just Do Good
     69 <br>
     70 <a href="/#">back up?</a><br>
     71 </div>
     72 <br>
     73 <br>
     74 <br>
     75 <br>
     76 <br>
     77 <br>
     78 <br>
     79 
     80 </BODY>