summaryrefslogtreecommitdiff
path: root/html/input.html
blob: b5e4cd2eda5ba76c5f9d6918dd627f75f3310cab (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <title>
   %%HTML_TITLE_TAG_CONTENT%%
  </title>
  <link rel=stylesheet href="style.css" type=text/css>
  <script language="JavaScript">
   <!--
    function delout()
    {
     document.input.submit();
     document.input.message.value = "";
     document.input.message.focus();
     return false;
    }
    function selectinput()
    {
     document.input.message.select();
    }
    function popup(site,width,height)
    {
     var left = (screen.availWidth-width)/2;
     var top  = (screen.availHeight-height)/2;
     var win  = window.open(site,"_blank","width="+width+",height="+height+",left="+left+",top="+top+",scrollbars=yes");
    }
   //-->
  </script>
 </head>
 <body bgcolor=#000000 text=#ffffff>
  <table>
  <tr><td>
  <form method="GET" name="input" action="input.html" target="blank" onsubmit="return delout();">
   <input type="hidden" name="event"   value="input"> 
   <input type="hidden" name="tmpid"   value="%%tmpid%%"> 
   <input type="text"   name="message" size="60" maxlength="%%chat.maxlength.message%%">
   <input type="submit" value="send" accesskey='s'>
   <input type="button" value="select"  accesskey='e' onclick="javascript:selectinput();">
  </form>
  </td>
  <td valign=top>
   <a href='#' onclick="javascript:popup('colors.html?event=colors&tmpid=%%tmpid%%', 600, 480)">Colors</a>
  </td>
  <td valign=top>
   <a href='#' onclick="javascript:popup('options.html?event=options&tmpid=%%tmpid%%', 600, 480)">Options</a>
  </td>
  <td valign=top>
   <a href='#' onclick="javascript:popup('help.html?event=help&tmpid=%%tmpid%%', 600, 480)">Help</a>
  </td>
  <td valign=top>
   <a href='#' onclick="javascript:popup('admin.html?event=admin&tmpid=%%tmpid%%', 600, 480)">Admin</a>
  </td>
  <td valign=top>
   <a href='input.html?event=input&tmpid=%%tmpid%%&message=%2Fq' target='blank'>Logout</a>
  </td>
  </tr>
  </table>
 </body>
</html>