diff options
Diffstat (limited to 'template/rooms')
| -rw-r--r-- | template/rooms/chat.st | 1 | ||||
| -rw-r--r-- | template/rooms/frontpage.st | 136 |
2 files changed, 137 insertions, 0 deletions
diff --git a/template/rooms/chat.st b/template/rooms/chat.st index a8269a6..f8829ca 100644 --- a/template/rooms/chat.st +++ b/template/rooms/chat.st @@ -135,6 +135,7 @@ <div id="footerc"> $footer()$ </div> + </div> $preload()$ </body> </html> diff --git a/template/rooms/frontpage.st b/template/rooms/frontpage.st new file mode 100644 index 0000000..065cef0 --- /dev/null +++ b/template/rooms/frontpage.st @@ -0,0 +1,136 @@ +<!--/* + + _____ ___ ___ ___ ___ ___ + / /::\ /__/\ /__/\ / /\ / /\ /__/\ + / /:/\:\ \ \:\ | |::\ / /::\ / /:/_ | |::\ + / /:/ \:\ \ \:\ | |:|:\ / /:/\:\ / /:/ /\ | |:|:\ + /__/:/ \__\:| ___ \ \:\ __|__|:|\:\ / /:/~/:/ / /:/ /:/ __|__|:|\:\ + \ \:\ / /:/ /__/\ \__\:\ /__/::::| \:\ /__/:/ /:/ /__/:/ /:/ /__/::::| \:\ + \ \:\ /:/ \ \:\ / /:/ \ \:\~~\__\/ \ \:\/:/ \ \:\/:/ \ \:\~~\__\/ + \ \:\/:/ \ \:\ /:/ \ \:\ \ \::/ \ \::/ \ \:\ + \ \::/ \ \:\/:/ \ \:\ \ \:\ \ \:\ \ \:\ + \__\/ \ \::/ \ \:\ \ \:\ \ \:\ \ \:\ + \__\/ \__\/ \__\/ \__\/ \__\/ \___\/ + + (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> + $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(dis)$ + $banner_dis()$ + $else$ + $banner()$ + $if(!user_nick)$ + <div id="dis_welcome"> + <center> + <img src="$domain$/static/img/dumppixellarge3.png"> + <div id="midtxt">dump.fm 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. + <br><br> + <span id="signintxt"> + 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</a></strong>! + </span> + </center> + </div> + </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> + <style> + .divDragTitle { + left:50%!important; + margin-left: -250px!important; + } + .divDragContent { + z-index:666; + left:50%!important; + margin-left: -250px!important; + + } + </style> + $endif$ + $endif$ + + + <div id="content"> + + + <div id="messagePaneh"> + + <div id="userListp"> + <img src="http://dump.fm/static/img/halloffametrophy.gif" id="halltrophy"> + <h2>Hall Of Fame </h2> + </div> + + <div id="messageList"> + $if(dumps)$ + <span class="content"> + $dumps: { d | $fame_dump(dump=d)$ }$ + </span> + $else$ + No dumps! + $endif$ + </div> + + <div id="footerc"> + $footer()$ + </div> + </div> + </div> + </body> +</html> + |
