summaryrefslogtreecommitdiff
path: root/template/directory.st
blob: 954c717325265ba7b50f0f2f5aff85db3e6f0417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<html>
  <head>
    
    <title>dump.fm</title>
    $head()$
    <link rel="stylesheet" type="text/css" href="/static/directory.css">
    <script>
      jQuery(document).ready(initDirectory);
    </script>
    
    
  </head>
  <body>
    $banner()$
    <div id="chatrap">
      <div id="log">   
	<div id="loghead"></div>
        <br>
        
        <div id="posts">            
          <br>
          <center>
            <h2>&#x272D; &#x272D; DUMP STARS  &#x272D; &#x272D;</h2>
            <div id="lolbanner">
              <img src="/static/welcomebanner.gif">
            </div>
          </center>          
          $if(users)$
          $users:{ u | 
          <div class="logged-dump">
            <a href="/u/$u.nick$">
              <b>$u.nick$</b>
              $if(u.avatar)$
              <div style="border-image:url($u.avatar$)">  
                <div id="logavatar">
                  <img height="50" width="50" src="$u.avatar$"></img>
                </div>
                $endif$
            </a>
            <div id="infotxt"><b>last post</b></div>
            <span class="linkify">$u.content$</span>
            <hr />
            </div>           
            <a href="http://www.facebook.com/share.php?u=$u.content$&t=via dump.fm" target="_blank"><img src="/static/fbbutton.png"></a>
            <a href="http://twitter.com/home?status=via dump.fm $u.content$" target="_blank"><img src="/static/twittericon.png"></a>
            <a href="http://delicious.com/save?url=$u.content$&notes=via dump.fm&title=$u.content$" target="_blank"><img src="/static/delishicon.png"></a>
          </div>
          }$
          $else$
          <span>No more users!</span>
          $endif$
          <div id="pnav">
            $if(prev)$
            <div id="pnavn"><a href="/directory$prev$">BACK</a></div>
            $endif$
            $if(users)$
            <div id="pnavo"> <a href="/directory$next$">MOAR!</a></div>
            $endif$            
          </div>                
          <div id="footer">
            $footer()$
          </div>
        </div>
  </body>
</html>