summaryrefslogtreecommitdiff
path: root/template/rooms/dumptest.st
blob: 25b9c174a80093de82dff146b0e7debfd3551821 (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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!--/*

   _____          ___           ___           ___         ___         ___     
   /  /::\        /__/\         /__/\         /  /\       /  /\       /__/\    
   /  /:/\:\       \  \:\       |  |::\       /  /::\     /  /:/_     |  |::\   
   /  /:/  \:\       \  \:\      |  |:|:\     /  /:/\:\   /  /:/ /\    |  |:|:\  
   /__/:/ \__\:|  ___  \  \:\   __|__|:|\:\   /  /:/~/:/  /  /:/ /:/  __|__|:|\:\ 
   \  \:\ /  /:/ /__/\  \__\:\ /__/::::| \:\ /__/:/ /:/  /__/:/ /:/  /__/::::| \:\
   \  \:\  /:/  \  \:\ /  /:/ \  \:\~~\__\/ \  \:\/:/   \  \:\/:/   \  \:\~~\__\/
   \  \:\/:/    \  \:\  /:/   \  \:\        \  \::/     \  \::/     \  \:\      
   \  \::/      \  \:\/:/     \  \:\        \  \:\      \  \:\      \  \:\     
   \__\/        \  \::/       \  \:\        \  \:\      \  \:\      \  \:\    
   \__\/         \__\/         \__\/        \__\/       \__\/       \___\/

   (c)2011 dump.fm -->

<html>
  <head>
    $head()$
    <title>$roomname$ dump.fm</title>

    <script type="text/javascript" src="$domain$/static/js/invalid_domains.js"></script>
    <script type="text/javascript" src="$domain$/static/webcam/webcam.js"></script>
    <script type="text/javascript" src="$domain$/static/js/ajaxupload.js"></script>
		<script src="$domain$/static/js/fullscreen.js"></script>
    $if(user_nick)$
    <script type="text/javascript" src="$domain$/json/$user_nick$/favorites"></script>
    $endif$
    <script>
      jQuery(document).ready(initChat);
      var Nick = $json_user_nick$;
      var Room = $json_room_key$;
      var Timestamp = $timestamp$;
      $if(isadmin)$
      var IsAdmin = true;
      $else$
      var IsAdmin = false;
      $endif$
      if (Nick) {
      jQuery(document).ready(function() { setupUpload('upload', Room); });
      }
      function showAlert() { alert('MUST LOGIN'); }
      var newwindow;
      function pop(url) {
      newwindow=window.open(url,'name','height=50,width=400,left=20,top=20,location=0,status=0,scrollbar=0,resizable=0');
      if (window.focus) {newwindow.focus()}
      }
      jQuery(Away.startTitleUpdater);
      jQuery(initChatMsgs);
      $if(user_nick)$ //
      $else$
      function showAlert() {
      alert('Join dump.fm @ http://dump.fm/register');
      }

      $endif$
    </script>
    <style>
      #chat-wrapper {
      position: absolute;
      z-index: 1000000;
      right: 100px;
      bottom: 100px;
      height: 40px;
      width: 300px;
      };
    </style>
  </head>
  <body>
    $if(!user_nick)$
		    <style>
		      html, body, div, img { margin: 0; padding: 0; border: 0; overflow: hidden; font-family: Monaco, "Courier New", Courier, monospace; }
		      input {
		          font-family: Monaco, "Courier New", Courier, monospace;
		      }
		      #big-image img {
		          width: 100%; height: 100%;
		          cursor: pointer;
		          box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
		      }
		      #loginbox {
		background: white;
		z-index: 999;
		position: absolute;
		font-size: 20%;
		width: 335px;
		height: 220px;
		margin-left: -170px;
		left: 50%;
		border: 1px solid;
		padding: 2%;
		top: 20%;
		text-align: justify;
		-moz-box-shadow: -1px 1px #000,-2px 2px #000,-3px 3px #000,-4px 4px #000,-5px 5px #000,-6px 6px #000;
		-webkit-box-shadow: -1px 1px black,-2px 2px black,-3px 3px black,-4px 4px black,-5px 5px black,-6px 6px black;
		box-shadow: -1px 1px black,-2px 2px black,-3px 3px black,-4px 4px black,-5px 5px black,-6px 6px black;
		}
		      #logininner {
		          width: 30em;
		          height: 20em;
		          position: relative;
		      }
		      #infocol {
		          width: 50%;
		          float: left;
		          position: relative;
		      }
		      #formcontainer {
		          padding: 0;
		          width: 80%;
		          position: relative;
		      }
		      #piccol {
		          width: 50%;
		          float: right;
		          position: relative;
		      }
		      #loginimg {
		          width: 75%;
		          margin-top: 20%;
		      }
		      #spinner { display: none; }
		      #forgetpw {
		          left: 5px;
		          bottom: 5px;
		          font-size: 80%;
		      }
		      #fav-indicator {
		          display: none;
		          position: fixed;
		          z-index: 999;
		          height: 50px;
		          width: 50px; 
		          right: 20px;
		          top: 20px;
		      }
		      #errormsg {
		          position: relative;
		          color: red;
		          text-align: center;
		          margin-top: 250px;
		      }
		      input {max-width: 100px;
		-moz-box-shadow: -1px 1px #000,-2px 2px #000,-3px 3px #000,-4px 4px #000,-5px 5px #000,-6px 6px #000;
		-webkit-box-shadow: -1px 1px black,-2px 2px black,-3px 3px black,-4px 4px black,-5px 5px black,-6px 6px black;
		box-shadow: -1px 1px black,-2px 2px black,-3px 3px black,-4px 4px black,-5px 5px black,-6px 6px black;
		border: 1px solid;}
		input:hover {
			-moz-box-shadow: -1px 1px #000,-2px 2px #000,-3px 3px #000;
			-webkit-box-shadow: -1px 1px #000,-2px 2px #000,-3px 3px #000;
			box-shadow: -1px 1px #000,-2px 2px #000,-3px 3px #000,inset -2px 2px 2px #333;
			margin-top: 2px;
			margin-left: -2px;}
			input:active {
			-moz-box-shadow: 0px 0px white;
			-webkit-box-shadow: 0px 0px white;
			box-shadow: -1px 1px #000,0px 0px white;
			margin-top: 2px;
			margin-left: -4px;
			box-shadow: inset -3px 3px 4px #333;
			cursor: pointer;}
		#remembermeInput {
			margin-top: 0; margin-left: 0;
		}
		      #big-image{font-size:20px;text-align: left; text-justify: newspaper;    color:#000}
		      #memelogo { position: fixed; z-index: 999; bottom: 30px; right: 80px; }
		      .sublogo { font-family: Monaco, "Courier New", Courier, monospace; }
		      a { color:#000 }
		      #toplogo{position: fixed;display:none;
		top: 0;
		left: 0;}
		#big-image {cursor:url('http://dump.fm/static/img/thumbs/heartfaved.gif'), pointer}
		    </style>
		<script>jQuery(initLogin)</script>
				<script>
		      initFullscreen()
		    </script>
   	<div class="notloggedin">

		</div>
    $endif$

$if(user_nick)$
    $banner()$
    <div id="chatrap">
      <div id="dcontent">
        <div id="messagetabs"></div>
          $messagepane()$
        <script>
          var Recips = $recips$;
        </script>
      </div>
    </div>
    <div id="palette">
      <div id="palette-thumbs"></div>
    </div>
    <div id="chatbuttons">
      <div id="textbutton">
        <span>show text?</span>
        <input type="checkbox">
      </div>
      <div id="imgbutton">
        <span>show imgs?</span>
        <input type="checkbox">
      </div>
      <div id="clearbutton">
        <span>clear screen</span>
        <input type="checkbox">
      </div>
    </div>
    <div id="footerc">
      $footer()$
    </div>
$endif$
    </div>
    $preload()$
  </body>
</html>