<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
require "./connect.inc.php";
require "./content.".$language.".php";
$id=$_GET['id'];
$channel="channel";
print <<<EOT
<HTML>
<HEAD>
<link rel="stylesheet" href="./style.css" type="text/css">
<SCRIPT language="JavaScript">
onLoad=rafload();
function rafload() {
aerialstart=0;
}
function msgclick(val) {
window.parent.window.frames[1].document.BOT.MSG_TMP.focus();
window.parent.window.frames[1].document.BOT.MSG_TMP.value="&msg "+val+" ";
}
function timeclick(val) {
timeinfo_1=document.getElementById('time['+val+']').innerHTML;
userinfo_1=document.getElementById('user['+val+']').innerHTML;
msginfo_1=document.getElementById('ms['+val+']').innerHTML;
window.parent.window.frames[1].document.BOT.MSG_TMP.focus();
window.parent.window.frames[1].document.BOT.MSG_TMP.value=""e"+timeinfo_1+" "+userinfo_1+" "+"&middle_quote"+msginfo_1+"&end_quote ";
}
function userclick2(val) {
window.parent.window.frames[1].document.BOT.MSG_TMP.focus();
window.parent.window.frames[1].document.BOT.MSG_TMP.value=val+"> ";
}
function eq(valeur) {
if (valeur==1) {
for (i = 15; i > 0; i--)
{
for (j = 15; j > 0; j--)
{
top.moveBy(0,i);
top.moveBy(i,0);
top.moveBy(0,-i);
top.moveBy(-i,0);
}
}
}
if (valeur==2) {
}
}
function TraiteReponse(nom,valeur){
if (valeur) {
document.getElementById(nom).innerHTML=valeur;
}
}
function TraiteSon(valeur){
if (valeur!="none") {
valeur='<EMBED SRC=./sound/'+valeur+' AUTOSTART=true HIDDEN=true VOLUME=100%>';
document.getElementById('son').innerHTML=valeur;
} else {document.getElementById('son').innerHTML="";}
}
function TraiteFilter(xfilter){
if (document.body.style.filter!=xfilter) {
document.body.style.filter=xfilter;
}
}
function TraiteBoard(msg_time,userinfo,msg,display,msg_color,msg_id){
gruk=0;
for (var i=4;i>0;i=i-1){
userinfo_1=document.getElementById('user['+i+']').innerHTML;
timeinfo_1=document.getElementById('time['+i+']').innerHTML;
if ((userinfo_1==userinfo) && (timeinfo_1==msg_time)) {gruk=1;}
}
if (gruk!=1) {
if (userinfo=="Erasor") {
for (var i=35;i>1;i=i-1){
document.getElementById('user['+i+']').innerHTML="";
document.getElementById('time['+i+']').innerHTML="";
document.getElementById('ms['+i+']').innerHTML="";
}
}
for (var i=display;i>1;i=i-1){
document.getElementById('time['+i+']').innerHTML=document.getElementById('time['+(i-1)+']').innerHTML;
document.getElementById('user['+i+']').innerHTML=document.getElementById('user['+(i-1)+']').innerHTML;
document.getElementById('ms['+i+']').innerHTML=document.getElementById('ms['+(i-1)+']').innerHTML;
}
document.getElementById('time[1]').innerHTML=msg_time;
document.getElementById('user[1]').innerHTML=userinfo;
document.getElementById('ms[1]').innerHTML="<FONT color=#"+msg_color+">"+msg+"</FONT>";
}
}
function TraiteMessage(nom,valeur){
if (valeur!='clean' && valeur!='') {
document.getElementById(nom).innerHTML=valeur;
document.getElementById('warning').innerHTML="You have got a new message !";
window.alert("You have got a message !");
}
if (valeur=='clean') {document.getElementById('warning').innerHTML="";document.getElementById(nom).innerHTML="";}
if (!valeur) {document.getElementById('warning').innerHTML=" ";}
}
function fin() {
window.clearTimeout(actif);
RemoteScripting.location="./kernel.php?id=$id&from=xtop";
}
function raf() {
valeur=window.parent.window.frames[1].document.BOT.refi.options[window.parent.window.frames[1].document.BOT.refi.selectedIndex].value;
if (aerialstart==0) {aerialstart=1;valeur=0;}
actif=window.setTimeout("fin()",valeur*1000);
}
function sm(val) {
window.parent.window.frames[1].document.BOT.MSG_TMP.value=window.parent.window.frames[1].document.BOT.MSG_TMP.value+val;
window.parent.window.frames[1].document.BOT.MSG_TMP.focus();
}
</SCRIPT>
</HEAD>
<IFRAME name="RemoteScripting" width="0" height="0" border="0" src="blank.html" onLoad=raf();>
</IFRAME>
<style type="text/css">
body, textarea {
background-color:#006699;
font-family:"Andale Mono",Arial,sans-serif;
scrollbar-3dlight-color:#0099CC;
scrollbar-arrow-color:#FFFF00;
scrollbar-darkshadow-color:#003366;
scrollbar-face-color:#0099FF;
scrollbar-highlight-color:#006699;
scrollbar-shadow-color:#000033;
scrollbar-track-color:#0099CC;
}
</style>
<body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="menublanc2" style="background-image:url(./images/usa6.jpg);background-attachment:fixed;background-position:center;z-index:1;">
<TABLE COLS=2 WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD class="menutitre" WIDTH=550 VALIGN=TOP>
<FONT COLOR=#FFCC00><b><div id="title" style="position:absolute;top:1;left=5;visibility:show; font-size:12pt;filter:Glow(color=#000000, strength=5);">[Loading Please Wait ...]</div></b></FONT>
</TD>
<TD class="menublanc2">
<FONT COLOR=#FF9900><CENTER><A HREF = "./xindex.php?id=$id&FROM=disconnect" target="_top" class=blanc style="width:80%;font-size:10pt;filter:Glow(color=#000000, strength=2);"><FONT COLOR=#FF9900>Logout</FONT></A></CENTER></FONT>
</TD>
</TR>
<TR>
<TD>
<TABLE BGCOLOR=#C0C0C0 style="width:550;font-size:10pt;">
<TR>
<TD>
<DIV id=warning class=menurouge> </DIV>
<DIV id=message class=menunoir> </DIV>
</TD>
</TR>
</TABLE>
</TD>
<TD><CENTER>
<div id="channel" class=menublanc2 style="width:80%;font-size:10pt;filter:Glow(color=#000000, strength=2);">$channel</div>
</CENTER>
</TD>
</TR>
<TR>
<TD WIDTH=550 valign=top>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 style="width:550;font-size:10pt;">
<TR><TD WIDTH=65></TD><TD WIDTH=80></TD><TD WIDTH=405></TD></TR>
EOT;
for ($i = 1; $i <= 35; $i++) { print <<<EOT
<TR BGCOLOR=#FFFFFF>
<TD><div onClick=timeclick($i) class=menutime id=time[$i] style="font-size:10pt;"> </div></TD>
<TD><div class=menulogin id=user[$i] style="font-size:10pt;"> </div></TD>
<TD><div class=menutime id=ms[$i] style="font-size:10pt;"> </div></TD>
</TR>
EOT;
}
print <<<EOT
</TABLE>
</TD>
<TD VALIGN=TOP class="menublanc2">
<TABLE BORDER=0 VALIGN=TOP>
<TR><TD><A style="width:80%; font-size:10pt;filter:Glow(color=#000000, strength=2);"HREF="#" target=RemoteScripting class=blanc onClick="window.open('./doc.$language.html','help_f')">
Documentation
</A></TD></TR>
<TR><TD><A style="width:80%; font-size:10pt;filter:Glow(color=#000000, strength=2);" HREF="#" target=RemoteScripting class=blanc onClick="window.open('./help_smiley.php','help_s')">
Smileys
</A></TD></TR>
<TR><TD><A style="width:80%; font-size:10pt;filter:Glow(color=#000000, strength=2);"HREF="#" target=RemoteScripting class=blanc onClick="window.open('./profil.php?id=$id','profil','toolbar=0,location=0,directories=0,status=0,scrollbars=1, resizable=0,copyhistory=0,menuBar=0,width=500,height=300')">
$t_41
</A></TD></TR>
<TR><TD><A style="width:80%; font-size:10pt;filter:Glow(color=#000000, strength=2);"HREF="#" target=RemoteScripting class=blanc onClick="window.open('./user_list.php?id=$id','user_list','toolbar=0,location=0,directories=0,status=0,scrollbars=1, resizable=0,copyhistory=0,menuBar=0,width=800,height=600')">
$t_42
</A></TD></TR>
EOT;
print "<TR BGCOLOR=#C0C0C0><TD>";
$sql_13 = "SELECT * FROM ae_smileys limit 1,8;";
$sql_h_13 = mysql_query($sql_13) or die ("Could not execute request ! err code : $sql_13");
while(list($t_code,$t_link) = mysql_fetch_row($sql_h_13)) {
$t_code=stripslashes($t_code);
$t_link="<IMG border=0 SRC=./images/".$t_link.">";
$t_link="<a href=javascript:sm('$t_code');>".$t_link."</a>";
print "$t_link";
}
print "</TD></TR>";
print "<TR BGCOLOR=#C0C0C0><TD>";
$sql_13 = "SELECT * FROM ae_smileys limit 9,8;";
$sql_h_13 = mysql_query($sql_13) or die ("Could not execute request ! err code : $sql_13");
while(list($t_code,$t_link) = mysql_fetch_row($sql_h_13)) {
$t_code=stripslashes($t_code);
$t_link="<IMG border=0 SRC=./images/".$t_link.">";
$t_link="<a href=javascript:sm('$t_code');>".$t_link."</a>";
print "$t_link";
}
print "</TD></TR>";
print "<TR BGCOLOR=#C0C0C0><TD>";
$sql_13 = "SELECT * FROM ae_smileys limit 17,7;";
$sql_h_13 = mysql_query($sql_13) or die ("Could not execute request ! err code : $sql_13");
while(list($t_code,$t_link) = mysql_fetch_row($sql_h_13)) {
$t_code=stripslashes($t_code);
$t_link="<IMG border=0 SRC=./images/".$t_link.">";
$t_link="<a href=javascript:sm('$t_code');>".$t_link."</a>";
print "$t_link";
}
print "</TD></TR>";
print <<<EOT
<TR>
<TD>
<div id="cx" style="width:100%; font-size:7pt;filter:Glow(color=#000000, strength=1);"></div><br>
</TD>
</TR>
<TR>
<TD>
<div id="connexions" class=menujaune style="width:100%; font-size:10pt;filter:Glow(color=#000000, strength=2);">[$t_43]</div>
</TD>
</TR>
<TR>
<TD>
<div id="son" class=menujaune style="width:100%; font-size:10pt;filter:Glow(color=#000000, strength=2);"></div>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
EOT;
?>