summaryrefslogtreecommitdiff
path: root/template/mini_profile.st
blob: b8f766bd1ed6665bd574c8dc9448aa04ee310d4e (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
<div id="userListp"><br>
  <h2>     
    $if(avatar)$
    <img id="avatarPic" src="$avatar$"/>
    $else$<br><br>
    <img id="avatarPic" src="/static/img/noinfo.png">
    $endif$
    
    <a href="http://hump.fm/$nick$">$nick$</a></h2><br>
  $if(score_ent)$
  <h8>
    fav score: $score$ 
    <h9>$score_ent$</h9>
    $endif$</h8>
  $if(isadmin)$<br><br>
  <div id="adminmute">
    <a href="#" onclick="Admin.mute('$nick$'); return false">Mute $nick$!</a><br>
  </div>
  $endif$

  <div><a href="http://hump.fm/$nick$/log">dumps</a></div>
  <div><a href="http://hump.fm/$nick$/favorites">dumps faved</a></div>
  <div><a href="http://hump.fm/$nick$/popular">top dumps</a></div>
  
  <br> <h3>contact info</h3>
  $if(contact)$
  <br><div id="contact" class="linkify">$contact$</div>
  $else$
  <div><img id="contact" src="/static/img/noinfo.png"><br><br></div>
  $endif$            
  
  <br><br><h3>bio</h3>
  $if(bio)$
  <br> <div id="bio" class="linkify">$bio$</div>
  $else$
  <div><img id="bio" src="/static/img/noinfo.png"><br><br></div>
  $endif$
</div>
<script>
jQuery(function() {
    jQuery(".linkify").each(function() {
        var text = jQuery(this).text();
        jQuery(this).html(linkifyWithoutImage(text));
    });    
});
</script>