summaryrefslogtreecommitdiff
path: root/template/directory.st
blob: 94fb2cb4e21cc6a0ab1d494b69e3cc247dd12546 (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
66
67
68
69
70
71
72
73
74
<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(notloaded)$
            <div>Sorry, the directory is being updated. Refresh in a minute!</div>
            $elseif(users)$
            
            $users:{ u | 
            <div class="logged-dump"> 
              <a href="/u/$u.nick$">
                <b>   $u.nick$</b>
            $if(u.avatar)$
             <div id="logavatar"> <img height="50" width="50" src="$u.avatar$"></img></div>
            $endif$
          </a>
  <div id="infotxt"><b><div style="display:none;">Count: $u.cnt$ !!</div>
        last post </b></div>
            <span class="linkify">$u.content$</span>
                      <hr />
<div style="display:none;">
                      
<a href="http://www.facebook.com/share.php?u=$u.content$" target="_blank"><img src="/static/fbbutton.png"></a>

<a href="http://twitter.com/home?status=found on dump.fm! $u.content$" target="_blank"><img src="/static/twittericon.png"></a>
<a href="http://delicious.com/save?url=$u.content$" target="_blank"><img src="/static/delishicon.png"></a></div>
          </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>