summaryrefslogtreecommitdiff
path: root/template/profile.st
blob: defe4149c32aff3fd107195407039274935e2d2b (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<html>
  <head>
    <title>$nick$'s dump.fm</title>
    $head()$
    <link rel="stylesheet" type="text/css" media="screen" href="/static/css/dump.css">
    <script src="/static/js/jquery.editinplace.1.0.1.packed.js" type="text/javascript"></script>
    <script src="/static/js/ajaxupload.js"></script>
    <script>
      jQuery(document).ready(initProfile);
    </script> 

  </head>
  <body>
    $banner()$
      <div id="dcontent">
        <div id="messagetabs"></div>
        <div id="rapper">
        </div>
  
        <div id="messagePanep">
          <div id="userListp"><br>    $if(is_home)$<br>$endif$  
               <h2>  
                    $if(avatar)$
               <img id="avatarPic" src="$avatar$"/>
                $else$<br><br>
              <img id="avatarPic" src="/static/img/noinfo.png">
              $endif$
                 
               $nick$               </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>dumps posted: $dump_cnt$</div>
               <div>dumps $nick$ faved: $dumps_user_faved_cnt$</div>
               <div>$nick$'s dumps faved: $users_dumps_faved_cnt$</div>
              
              $if(is_home)$
              <div id="avatar-editing" style="display: none">
                <input id="uploadp" value="Upload Icon" type="submit">
                <img id="spinner" src="/static/img/spinner.gif" style="display: none" />
              </div>
              $endif$
              
	     <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$

       
    

              $if(is_home)$
              <br>
              <div id="edit-toggle"><a href="#">edit profile</a></div><br><br>
              $endif$

              <br>
              
         <a href="http://dump.fm/$nick$/favorites"><h7>$nick$'s <br>Favorite Pix</h7></a>     
              
              <div id="date">
                <div type="text" id="datepicker"></div></div>
	    </div>
	    
	          <div id="favbox" style="display: hidden"></div>
          <div id="messageList">
          
            $if(dumps)$ <span class="content">
            $dumps:{ d | $profile_dump(dump=d)$ }$
            
            

          </span>
         


	    $else$
	    no dumps
	    $endif$
	    </div>
	    


         <div id="msgInputDiv">
    <div id="msginputrapper"> 
                 
             $if(prev)$
              <a href="/$nick$/$prev$"><input id="prevbutton" value="<- Prev"></a>
  $else$
<input id="prevbutton">
 $endif$

          $if(next)$
                       <a href="/$nick$/$next$">  <input id="nextbutton" value="Next ->"></a>
     $else$
     <input id="nextbutton" value="nomodumps">
     $endif$
     

              </div>
  <div id="footerc">
              $footer()$
            </div>
          </div>
    </div></div></div>
  </body>
</html>