Log in | Back to darenet.org

Template:Status

 
(2 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<script>
+
<script src="http://static.chatx.net/onlinestatus.php?img=js&amp;nickname=blahx"
-
var formtext = '<img src="http://static.chatx.net/onlinestatus.php?nickname=value=""</scr'+
+
        type="text/javascript"></script>
-
'ipt>\n<form name="cgiirclogin" method="post" onsubmit="return openCgiIrc(this)"'+
+
-
' action="http://cgiirc.chatx.net/cgi-bin/irc.cgi">\n'+
+
-
'<input type="hidden" name="Channel" value="#channel" />\n'+
+
-
'</form>\n';
+
-
function makeform(form) {
+
-
form.textarea.style.display = "inline"
+
-
form.textarea.focus()
+
-
formtext = formtext.replace(/#channel/,form.channel.value).replace(/CGI\?\?\?/,form.nick.value)
+
-
form.textarea.value = formtext
+
-
return false
+
-
}
+
-
</script>
+
-
 
+
-
<form onsubmit="return makeform(this)">
+
-
 
+
-
<b>Name of your channel<br /><font color="003366"><small><i>(remember to include the #)</i></small><br></font></b>
+
-
<input type="text" name="channel" value=""><br />
+
-
<br>
+
-
<b>Form of default nickname<br /><font color="003366"><small><i>(the ? get replaced with a random number and nicknames can't begin with a number)</i></small></font><br>
+
-
<input type="text" name="nick" value="Chatter???"><br></b>
+
-
 
+
-
<input type="submit" value=" Generate HTML  ">
+
-
 
+
-
<textarea name="textarea" cols="60" rows="20" style="display:none"></textarea></form>
+
</html>
</html>

Current revision as of 17:51, 16 February 2008