All pastes #496169 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-19 02:52 UTC
rendered paste body
<?php
$page= (isset($_REQUEST['page']))? $_REQUEST['page']: "wyldrydewebchat.php";
$nick= (isset($_REQUEST['nick']))? $_REQUEST['nick']: "huntfish";
if ($page != "chat") $page = "";
$nick = str_replace(" ", "_", $nick);// replaces spaces on nicknames
$nick = ereg_replace("^[0-9]*[0-9]", "", $nick);// deletes numbers on the beginning of nicknames
$nick = str_replace("ä", "ae", $nick);
$nick = str_replace("ö", "oe", $nick);
$nick = str_replace("ü", "ue", $nick);
$self = getenv("PHP_SELF");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>#huntfishri Web Chat</title>
<style type="text/css">
body{
font-family: sans-serif;
background-color: #FFFFFF;
color: #000000;
}
a {
#0000FF;
}
a:active {
#FF0000;
}
a:visited {
#FF00FF;
}
.wrchatheading{
width: 70%;
text-align: center;
font-family: sans-serif;
color: #000000;
font-size: medium;
}
.wrchatrules{
font-family: sans-serif;
color: #000000;
font-size: small;
text-align: left;
}
#wrservers{
display:none;
background:#ffffff
font-size: x-small;
font-family: sans-serif;
}
.a{
font-size: small;
font-family: sans-serif;
}
.b{
font-size: small;
font-family: sans-serif;
}
.staff{
font-size: x-small;
font-family: sans-serif;
}
</style> 
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="document.login.nick.focus();" style="font-family: Arial">
<br />
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td>
<div align="center"><b>#huntfishri Web Chat</b></div><br /><br />
</td></tr><tr><td colspan="2" align="center">
<?php if($page == ""): ?>
<div class="wrchatheading">
To begin chatting in #huntfishri using our web chat type your nick name below and click Login. The script may take a few minutes to load. You may have to click Yes to allow it to be loaded by your web browser. We promise the web chat client does not load any viruses, spyware, or anything else nasty.<br /><br />
If you'd rather connect with your own <a href="http://www.wyldryde.org/software/">IRC Client</a>, head to  #huntfishri at one of the <a href="#servers" onclick="document.getElementById('wrservers').style.display='block'">servers</a> closest to you.<br /><br />
<div class="wrchatrules">
<!-- If you have rules or other information you want to display on the page put it between these comment lines -->
<b>......Please read the following IMPORTANT information:</b>
<ul>
<li> Once the #huntfishri Web Chat is fully loaded it will automatically connect you to the #huntfishri chatroom.<br /></li>
<li> If you choose a nickname that someone else is using you will be assigned a random nickname. To choose another nick type /nick desirednickhere and hit enter.<br /></li>
<li> <a href="http://www.java.com/en/download/manual.jsp" target="_blank"><img src="http://www.wyldryde.org/graphics/javagetnow.gif" width="88" height="31" alt="Download Java" border="0" align="middle" /></a> To use the Web Chat, you must have <a href="http://www.java.com/en/download/manual.jsp" target="_blank">Java</a> installed. If you do not have it, it is available for free from Sun.<br /></li>
</ul><br />
<!-- If you have rules or other information you want to display on the page put it between these comment lines -->
</div>
</div>
<table width="45%" align="center">
<tr><td align="center">
<form name="login" action="<?php print $self; ?>" method="get" onSubmit="return chkForm();"><table width="100%" cellpadding="18" cellspacing="0">
<table cellpadding="4">
<tr><td align="right">Enter a Nickname:</td><td><input name="nick" type="text" size="20" maxlength="12" value="huntfish" <?php print rand(100,9999); ?></td><td><input type="hidden" name="page" value="chat"> <input type="submit" value="Login" onclick="document.getElementById('wrservers').style.display='none'"></td></tr>
</table>
</form>
</td></tr>
</table>
<br />
<div id="wrservers">
<a name="servers"></a>
<? include("http://www.wyldryde.org/servers.php"); ?>
</div><br />
<div class="poweredby" style="text-align: center; font-family: sans-serif; font-size: xx-small; margin-top: 6px; margin-right: 6px; margin-left: 6px; margin-bottom: 6px">
<!-- You may not remove or edit the following powered by graphic without risking your channel being forbidden!-->
<a href="http://www.wyldryde.org/" target="_blank"><img src="http://www.wyldryde.org/chat/poweredbywyldryde.gif" width="129" height="18" border="0" style="; margin-top: 6px; margin-right: 6px; margin-left: 6px; margin-bottom: 6px"></a><br />
<!-- You may remove the following link if you wish. -->
<a href="http://www.wyldryde.org/chat/getchat.php" target="_blank">Add a web chat to your website!</a><br />
</div>
<?php endif;
if($page == "chat"): ?>
<applet code="IRCApplet.class" codebase="http://www.wyldryde.org/chat/" archive="irc.jar,pixx.jar" width="640" height="400">
<param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab" />
<param name="gui" value="pixx" />
<param name="language" value="english" />
<param name="pixx:language" value="pixx-english" />
<param name="host" value="irc.wyldryde.org" />
<param name="port" value="6667" />
<param name="alternateserver1" value="irc.wyldryde.org 6667" />
<param name="alternateserver2" value="us.wyldryde.org 6667" />
<param name="alternateserver3" value="ca.wyldryde.org 6667" />
<param name="alternateserver4" value="eu.wyldryde.org 6667" />
<param name="alternateserver5" value="au.wyldryde.org 6667" />
<param name="autoconnection" value="true" />
<param name="nick" value="<?php print $nick; ?>" />
<param name="alternatenick" value="<?php print $nick; ?>???" />
<param name="userid" value="huntfishri" />
<param name="name" value="huntfishri Web Chat User" />
<param name="command1" value="/join #huntfishri" />
<param name="quitmessage" value="Please come again" />
<param name="soundbeep" value="bell2.au" />
<param name="soundquery" value="ding.au" />
<param name="useinfo" value="false" />
<param name="style:sourcefontrule1" value="all all Serif 12" />
<param name="allowdccchat" value="false" />
<param name="allowdccfile" value="false" />
<param name="style:bitmapsmileys" value="true" />
<param name="style:smiley1" value=":) img/sourire.gif" />
<param name="style:smiley2" value=":-) img/sourire.gif" />
<param name="style:smiley3" value=":-D img/content.gif" />
<param name="style:smiley4" value=":d img/content.gif" />
<param name="style:smiley5" value=":-O img/OH-2.gif" />
<param name="style:smiley6" value=":o img/OH-1.gif" />
<param name="style:smiley7" value=":-P img/langue.gif" />
<param name="style:smiley8" value=":p img/langue.gif" />
<param name="style:smiley9" value=";-) img/clin-oeuil.gif" />
<param name="style:smiley10" value=";) img/clin-oeuil.gif" />
<param name="style:smiley11" value=":-( img/triste.gif" />
<param name="style:smiley12" value=":( img/triste.gif" />
<param name="style:smiley13" value=":-| img/OH-3.gif" />
<param name="style:smiley14" value=":| img/OH-3.gif" />
<param name="noasldisplayprefix" value="true" />
<param name="pixx:helppage" value="http://www.wyldryde.org/faq/" />
<param name="pixx:showabout" value="false" />
<param name="pixx:showconnect" value="true" />
<param name="pixx:timestamp" value="true" />
<param name="pixx:highlight" value="true" />
<param name="pixx:highlightnick" value="true" />
<param name="pixx:nickfield" value="true" />
<param name="pixx:styleselector" value="true" />
<param name="pixx:setfontonstyle" value="true" />
<param name="pixx:color0" value="E0ECF0" />
<param name="pixx:color1" value="444444" />
<param name="pixx:color2" value="ffffff" />
<param name="pixx:color3" value="ffffff" />
<param name="pixx:color4" value="ffffff" />
<param name="pixx:color5" value="E0ECF0" />
<param name="pixx:color6" value="F5FAF2" />
<param name="pixx:color7" value="c8d6db" />
<param name="pixx:color8" value="E0ECF0" />
<param name="pixx:color9" value="3F79A2" />
<param name="pixx:color10" value="CCE6EE" />
<param name="pixx:color11" value="CCE6EE" />
<param name="pixx:color12" value="CCE6EE" />
<param name="pixx:color13" value="CCE6EE" />
<param name="pixx:color14" value="CCE6EE" />
<param name="pixx:color15" value="E1EFDA" />
<h1><a href="http://www.wyldryde.org">WyldRyde</a> Web Chat</h1>
<p>You need an updated version of <a href="http://www.java.com/en/download/manual.jsp" target="_blank">Java</a> installed and enabled to use this chat room. <a href="http://www.java.com/en/download/manual.jsp" target="_blank">Download it now for free.</a></p>
</applet>
<div class="poweredby" style="text-align: center; font-family: sans-serif; font-size: xx-small; margin-top: 6px; margin-right: 6px; margin-left: 6px; margin-bottom: 6px">
<!--The powered by graphic may only be removed if you make a one time donation of at least $250 USD to WyldRyde. Your channel will be forbidden if you remove or alter the display of the graphic without making a donation.-->
<a href="http://www.wyldryde.org/" target="_blank"><img src="http://www.wyldryde.org/chat/poweredbywyldryde.gif" width="129" height="18" border="0" style="; margin-top: 6px; margin-right: 6px; margin-left: 6px; margin-bottom: 6px" alt="Powered by WyldRyde IRC Network" /></a><br />
<!-- You may remove the following link if you wish. -->
<a href="http://www.wyldryde.org/chat/getchat.php" target="_blank">Add a web chat to your website!</a><br />
</div>
<?php
endif;
?>
</td>
</tr>
</table>
</body>
</html>