summaryrefslogtreecommitdiff
path: root/template/rooms
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-08-23 23:05:37 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-08-23 23:05:37 -0400
commit557e5795e9f5f2503072b3becd48dc75e364faf6 (patch)
treedc59b402350ce02ec756b971ea9ecb881238839d /template/rooms
parent3bd4fd4b55c4c520c16219ab5ae8b6679482c4a3 (diff)
sostler prod commit
Diffstat (limited to 'template/rooms')
-rw-r--r--template/rooms/VIP.st192
-rw-r--r--template/rooms/chat.st20
2 files changed, 210 insertions, 2 deletions
diff --git a/template/rooms/VIP.st b/template/rooms/VIP.st
new file mode 100644
index 0000000..dce74a6
--- /dev/null
+++ b/template/rooms/VIP.st
@@ -0,0 +1,192 @@
+<!--/*
+
+ _____ ___ ___ ___ ___ ___
+ / /::\ /__/\ /__/\ / /\ / /\ /__/\
+ / /:/\:\ \ \:\ | |::\ / /::\ / /:/_ | |::\
+ / /:/ \:\ \ \:\ | |:|:\ / /:/\:\ / /:/ /\ | |:|:\
+ /__/:/ \__\:| ___ \ \:\ __|__|:|\:\ / /:/~/:/ / /:/ /:/ __|__|:|\:\
+ \ \:\ / /:/ /__/\ \__\:\ /__/::::| \:\ /__/:/ /:/ /__/:/ /:/ /__/::::| \:\
+ \ \:\ /:/ \ \:\ / /:/ \ \:\~~\__\/ \ \:\/:/ \ \:\/:/ \ \:\~~\__\/
+ \ \:\/:/ \ \:\ /:/ \ \:\ \ \::/ \ \::/ \ \:\
+ \ \::/ \ \:\/:/ \ \:\ \ \:\ \ \:\ \ \:\
+ \__\/ \ \::/ \ \:\ \ \:\ \ \:\ \ \:\
+ \__\/ \__\/ \__\/ \__\/ \__\/
+
+(c)2010 dump.fm -->
+
+<html>
+<head>
+$head()$
+ <title>VIP BALLER ROOM</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>
+$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$;
+ var Version = $version$;
+$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(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(dis)$
+ $banner_dis()$
+$else$
+ $banner()$
+ $if(!user_nick)$
+
+<div id="dis_content" name="content">
+ <p>
+ If you already have an account, <strong><a href="http://dump.fm/login" class="signin">sign in</a></strong>. If not, <strong><a href="http://dump.fm/register">register now</a></strong>.
+ </p>
+</div>
+<div id="dis_welcome"><center>
+ <a href="/"><img src="$domain$/static/img/dumppixellarge3.png"></a>
+
+ <div id="midtxt"><a href="/">dump.fm</a> lets you <i>talk with pictures!</i> Paste an image url, upload, or snap a pic right from your webcam. Talk to friends, fav images, and keep track of the pix you love!
+ </div>
+ </center>
+</div>
+ <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen" />
+ <link href="/static/css/header.css" rel="stylesheet" type="text/css" media="screen" />
+ <script type="text/javascript" src="/static/js/win.js"></script>
+<script type="text/javascript">
+ var topZ = 7;
+ CreateDropdownWindow('', '500px', true, 'dis_welcome', 300, 70);
+</script>
+$endif$
+$endif$
+
+
+ <div id="chatrap">
+
+ <div id="dcontent">
+ <div id="messagetabs"></div>
+ <div id="rapper">
+ </div>
+
+ <div id="messagePane">
+
+
+$if(user_nick)$ <div id="userList">
+ $users: { u |
+ <div class="username"><a href="/$u.nick$" target="_blank">
+ $u.score_ent$
+ $if(u.avatar)$
+ <img src="$u.avatar$" width="50" height="50">
+ $else$
+ <img src="/static/img/noinfo.png">
+ $endif$
+ $u.nick$</a><br>
+ </div>
+ }$
+ </div>$endif$
+ <div id="favbox" style="display: hidden"></div>
+ <div id="messageList">
+$messages: { m |
+ <div class="msgDiv oldmsg dump $if(m.favorited)$favorite$endif$" id="message-$m.message_id$" nick="$m.nick$">
+ <span class="nick">
+ <b><a href="$domain$/$m.nick$" target="_blank">$m.nick$</a></b>
+ $if(m.favorited)$
+ <img src="/static/img/thumbs/chatheartover.gif" class="chat-thumb" onclick="Tag.favorite(this)">
+ $else$
+ <img src="/static/img/thumbs/smallheart.gif" class="chat-thumb" onclick="Tag.favorite(this)">
+ $endif$
+ </span>
+ <span class="content">$m.content$</span>
+ </div>
+}$
+ <hr />
+ </div>
+
+ $if(user_nick)$
+ <div id="msgInputDiv">
+ <div id="msginputrapper"> <input id="msgInput" class="msgInput" type="input" /> </div>
+ <input id="msgSubmit" type="submit" value="Send"/>
+
+ <input id="upload" value="Upload" type="submit">
+ <input id="webcam-button-upload" value="Webcam" type="submit">
+ <input id="webcam-button-snap" value="Send Pic" type="submit" class="invisible blink">
+ <button id="palette-button"><img src="/static/img/palette.gif"></button>
+ </div><div id="effects-msg"class="invisible">click on your face for effects!</div>
+ </div>
+$else$
+ <div id="msgInputDiv">
+ <div id="msginputrapper"> <input id="msgInput" class="msgInput" type="input" /> </div>
+ <input id="msgSubmit" type="submit" value="Send" onClick="showAlert();"/>
+
+ <input id="upload" value="Upload" type="submit" onClick="showAlert();">
+ <input id="webcam-button-upload" value="Webcam" type="submit" onClick="showAlert();">
+ <input id="webcam-button-snap" value="Send Pic" type="submit" class="invisible blink"onClick="showAlert();">
+ <button id="palette-button"><img src="/static/img/palette.gif" onClick="showAlert();"></button>
+ </div><div id="effects-msg"class="invisible">click on your face for effects!</div>
+ </div>
+ $endif$
+ $if(isadmin)$
+<div id="tinychat" style="display:none;">
+<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="785" height="800" id="tinyembed" align="top">
+<param name="allowScriptAccess" value="sameDomain" />
+<param name="allowFullScreen" value="true" />
+<param name="movie" value="http://tinychat.com/tinyembed.swf" />
+
+<param name="menu" value="false" />
+<param name="quality" value="high" />
+<param name="scale" value="50%" />
+
+<param name="salign" value="t" />
+<param name="wmode" value="transparent" />
+<param name="flashvars" value="roomVar=idontgetit" />
+
+<embed src="http://tinychat.com/tinyembed.swf" menu="false" quality="high" scale="noscale" salign="t" wmode="transparent" FlashVars="roomVar=anyroomsname" width="785" height="800" name="tinyembed" align="top" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
+</object>
+</div>
+$endif$
+ </div>
+ </div>
+ </div>
+ </div>
+ <div id="palette"><div id="palette-thumbs"></div></div>
+ <div id="footerc">
+ $footer()$
+ </div>
+$preload()$
+</body>
+</html>
diff --git a/template/rooms/chat.st b/template/rooms/chat.st
index f4c4162..19f32d4 100644
--- a/template/rooms/chat.st
+++ b/template/rooms/chat.st
@@ -72,17 +72,19 @@ $if(dis)$
$else$
$banner()$
$if(!user_nick)$
-
+<!--
<div id="dis_content" name="content">
<p>
If you already have an account, <strong><a href="http://dump.fm/login" class="signin">sign in</a></strong>. If not, <strong><a href="http://dump.fm/register">register now</a></strong>.
</p>
-</div>
+</div>-->
<div id="dis_welcome"><center>
<a href="/"><img src="$domain$/static/img/dumppixellarge3.png"></a>
<div id="midtxt"><a href="/">dump.fm</a> lets you <i>talk with pictures!</i> Paste an image url, upload, or snap a pic right from your webcam. Talk to friends, fav images, and keep track of the pix you love!
</div>
+ <br><br>
+ If you already have an account, <strong><a href="http://dump.fm/login" class="signin">sign in</a></strong>. If not, <strong><a href="http://dump.fm/register">register now</a></strong>.
</center>
</div>
<link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen" />
@@ -92,6 +94,20 @@ $else$
var topZ = 7;
CreateDropdownWindow('', '500px', true, 'dis_welcome', 300, 70);
</script>
+<style>
+.divDragTitle {
+ border: 1px solid #CCC;
+ border-top: 1px solid #666;
+ left:50%!important; background:#f0f9ff url(/static/img/fade-blue.png) top center repeat-x;
+ margin-left: -250px!important;
+}
+.divDragContent {
+
+ left:50%!important;
+ margin-left: -250px!important;
+
+}
+</style>
$endif$
$endif$