-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathchat.php
45 lines (34 loc) · 1.51 KB
/
chat.php
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
<?php
require_once "include/bittorrent.php";
require_once "include/user_functions.php";
dbconn();
loggedinorreturn();
$nick = ($CURUSER ? $CURUSER["username"] : ("Guest" . rand(1000, 9999)));
$irc_url = 'apollo.wyldryde.org';
$irc_channel = '#TBDEVNET';
stdhead();
?>
<p>The official IRC channel is <a href='irc://<?php echo $irc_url; ?>'><?php echo $irc_channel; ?></a> on the <a href='http://www.gigadactyl.com'>gigadactyl</a> network.</p>
<div class="borderwrap" align='center'>
<div class="maintitle"><?php echo $SITENAME?></div>
<div class="row1" align='center'><applet code='IRCApplet.class' codebase="./javairc/" archive="irc.jar,pixx.jar" width='640' height='400'>
<param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab" />
<param name="nick" value="<?php echo $nick?>" />
<param name="alternatenick" value="<?php echo $nick?>???" />
<param name="fullname" value="Java User" />
<param name="host" value="<?php echo $irc_url?>" />
<param name="gui" value="pixx" />
<param name="quitmessage" value="<?php echo $SITENAME?> forever!" />
<param name="asl" value="true" />
<param name="command1" value="/join <?php echo $irc_channel?>" />
<param name="style:bitmapsmileys" value="true" />
<param name="style:floatingasl" value="true" />
<param name="pixx:highlight" value="true" />
<param name="pixx:highlightnick" value="true" />
<param name="pixx:nickfield" value="true" />
<param name="style:smiley1" value="~:) pic/smilies/sleep.gif" />
</applet></div>
</div>
<?php
stdfoot();
?>