summaryrefslogtreecommitdiff
path: root/template/profile.st
blob: b4b303cfd8996bf0c0bedb3c65b4986e9c46c3f1 (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
<html>
  <head>
    <title>$nick$'s dump.fm</title>
    $head()$
    <link rel="stylesheet" type="text/css" media="screen" href="/static/profile.css">

    <script type="text/javascript" src="/static/jquery.editinplace.1.0.1.packed.js"></script>
      <link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" />
  <script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.core.js"></script>
  <script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.datepicker.js"></script>


    <script>
      jQuery(document).ready(initProfile);  
      </script>
      <script>
  jQuery(document).ready(function(){
    jQuery("#datepicker").datepicker();
  });
  
		</script> 
		

  </head>
  <body>
    $banner()$
    <div id="chatrap">


      <div id="log">
	<div id="loghead">

	</div>
        <br>


        <div id="posts">          

	  $if(dumps)$
            $dumps:{ d | $logged_dump(dump=d)$ }$
	  $else$
	  <h3>&nbsp;</h3>
	  <h3>&nbsp;</h3>
	  <h3>&nbsp;</h3>	  <h3>&nbsp;</h3>
	  <h3>&nbsp;</h3>
	  <h3>&nbsp;</h3><div id="newuser">
	  <h3>Welcome to dump.fm! This is your user log, it's where all the images you post are saved. <br>
	    To get started join <a href="/chat">come on in</a> and post a few pictures.</h3>
	  <h3>&nbsp;</h3></div>
	  <h3>&nbsp;</h3>
	  <h3>&nbsp;</h3>	  <h3>&nbsp;</h3>
	  <h3>&nbsp;</h3>
	  <h3>&nbsp;</h3>
	  $endif$
	  <p>&nbsp;</p>
	   <div id="pnav">
	   <div id="pnavo">
          $if(next)$
          <a href="/u/$nick$/$next$">&#9756; OLD DUMPS</a>
          $endif$
          </div>
          	   <div id="pnavn">
          &nbsp;
          $if(prev)$
         <a href="/u/$nick$/$prev$">NEW DUMPS &#9758;</a>
          $endif$

        <br><br>
</div></div>

          </div>
	
	<div id="profile">
	  
	  <h2>$nick$</h2>

	  $if(avatar)$
	  <img id="avatarPic" src="$avatar$" width="150px"/>
	  $else$
	  <b id="avatarPic">No avatar</b>
	  $endif$

	  $if(is_home)$
	  <div id="avatar" class="editable">$avatar$</div>
	  $endif$

	  <h3>contact info</h3>
	  <div id="contact" $if(is_home)$class="editable"$endif$>$contact$</div>
	  <br>

	  <h3>personal info</h3>
	  <div id="bio" $if(is_home)$class="editable"$endif$>$bio$</div>
<br>
	  <div id="date">
<div type="text" id="datepicker"></div></div>
	</div>

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