summaryrefslogtreecommitdiff
path: root/template/rooms/chat.st
blob: cf2d64a98a49d52f2921621eb777ba496b9d2db6 (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
<!--/*

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

   (c)2010 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">
            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="chatrap">
      <div id="dcontent">
        <div id="messagetabs"></div>
          $messagepane()$
      </div>
    </div>
    <div id="palette">
      <div id="palette-thumbs"></div>
    </div>
    <div id="footerc">
      $footer()$
    </div>
    $preload()$
  </body>
</html>