Location: PHPKode > projects > Aerial chat > xbottom.php
<?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");

$id=$_GET['id'];
$REFRESH=$_GET['REFRESH'];
$COLOR=$_GET['COLOR'];



$COLOR_NAME=array ("000080"=>"Océan","0000FF"=>"Bleu","00C0C0"=>"Teahupoo",
"00C000"=>"Vert","008000"=>"Olive",
"C0C000"=>"Golden","FFCC00"=>"Jaune","FFAA00"=>"Orange","FF9900"=>"Bleubanane","C00000"=>"Pourpre",
"800080"=>"Heflav","FF40FF"=>"Disco",
"FF8080"=>"Formulaboy","505050"=>"Breizh","00CCFF"=>"Jaws","DD9090"=>"Créteil",
"13C37B"=>"Tita","BD3FE6"=>"Superpoulp","FF6600"=>"Hookipa","CC0066"=>"Juyain",
"1F6FFF"=>"Marie_MC","A0A0A0"=>"Gris","000000"=>"Noir","FF0000"=>"Rouge",
"FF66CC"=>"Sailpower","825C00"=>"Cacadois","004000"=>"Tyty","445000"=>"Bidasse",
"CC0033"=>"Wissant","FF2200"=>"Prout","A09000"=>"Venise","6600FF"=>"Calamar",
"B587A3"=>"Moulefrite","663030"=>"Prestige","AA6060"=>"La_hague",
"00E080"=>"Lifou");


print <<<EOT
<HEAD>
<link rel="stylesheet" href="./style.css" type="text/css">
<script type="text/javascript" language="javascript1.2">


function chref()
{
window.parent.window.frames[0].raf();
document.BOT.MSG_TMP.focus();
}


function stabilo(valdeb,valfin) {

         stabbed=window.parent.window.frames[1].document.selection.createRange().text;
         window.parent.window.frames[1].document.selection.createRange().text="&"+valdeb+stabbed+"&"+valfin;
         document.BOT.MSG_TMP.focus();
         }



function clearform2 ()
{
document.BOT.MSG.value=document.BOT.MSG_TMP.value;
document.BOT.MSG_TMP.focus();
document.BOT.MSG_TMP.value="";


window.parent.window.frames[0].window.fin();


}


function chcol()
{
document.BOT.MSG_TMP.style.color="#"+document.BOT.COLOR.options[document.BOT.COLOR.selectedIndex].value;
document.BOT.COLOR.style.color="#"+document.BOT.COLOR.options[document.BOT.COLOR.selectedIndex].value;
document.BOT.MSG_TMP.focus();
}


</script>
</HEAD>


<body text="#000000" bgcolor=#0099CC leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="menublanc2" onLoad=document.BOT.MSG_TMP.focus(); style="background-image:url(./images/usa6.jpg);background-attachment:fixed;background-position:center;z-index:1;">


<CENTER>
<FORM METHOD=POST ACTION="./kernel.php" target="RemoteScripting" NAME="BOT"  class=menubottom onSubmit=clearform2();>


<TABLE ROWS=1 COLS=1 BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=100% HEIGHT=100% >
<TR><TD>
<CENTER>
<INPUT TYPE=TEXT NAME=MSG_TMP SIZE=40 class=menunoir style="color: #$COLOR">


<SELECT NAME=COLOR class=menubottom style="color: #$COLOR" onChange=chcol();>


<OPTION SELECTED VALUE="$COLOR" style="color: #$COLOR">$COLOR_NAME[$COLOR]</OPTION>
<OPTION VALUE="6600FF" style="color: #6600FF">Calamar</OPTION>
<OPTION VALUE="000080" style="color: #000080">Océan</OPTION>
<OPTION VALUE="0000FF" style="color: #0000FF">Bleu</OPTION>
<OPTION VALUE="1F6FFF" style="color: #1F6FFF">Marie_MC</OPTION>
<OPTION VALUE="00CCFF" style="color: #00CCFF">Jaws</OPTION>
<OPTION VALUE="00C0C0" style="color: #00C0C0">Teahupoo</OPTION>
<OPTION VALUE="00E080" style="color: #00E080">Lifou</OPTION>
<OPTION VALUE="13C37B" style="color: #13C37B">Tita</OPTION>
<OPTION VALUE="00C000" style="color: #00C000">Vert</OPTION>
<OPTION VALUE="008000" style="color: #008000">Olive</OPTION>
<OPTION VALUE="004000" style="color: #004000">Tyty</OPTION>
<OPTION VALUE="445000" style="color: #445000">Bidasse</OPTION>
<OPTION VALUE="825C00" style="color: #825C00">Cacadois</OPTION>
<OPTION VALUE="A09000" style="color: #A09000">Venise</OPTION>
<OPTION VALUE="C0C000" style="color: #C0C000">Golden</OPTION>
<OPTION VALUE="FFCC00" style="color: #FFCC00">Jaune</OPTION>
<OPTION VALUE="FFAA00" style="color: #FFAA00">Orange</OPTION>
<OPTION VALUE="FF9900" style="color: #FF9900">Bleubanane</OPTION>
<OPTION VALUE="FF6600" style="color: #FF6600">Hookipa</OPTION>
<OPTION VALUE="FF2200" style="color: #FF2200">Prout</OPTION>
<OPTION VALUE="C00000" style="color: #C00000">Pourpre</OPTION>
<OPTION VALUE="CC0033" style="color: #CC0033">Wissant</OPTION>
<OPTION VALUE="CC0066" style="color: #CC0066">Juyain</OPTION>
<OPTION VALUE="800080" style="color: #800080">Heflav</OPTION>
<OPTION VALUE="BD3FE6" style="color: #BD3FE6">Superpoulp</OPTION>
<OPTION VALUE="FF40FF" style="color: #FF40FF">Disco</OPTION>
<OPTION VALUE="FF66CC" style="color: #FF66CC">Sailpower</OPTION>
<OPTION VALUE="FF8080" style="color: #FF8080">Formulaboy</OPTION>
<OPTION VALUE="DD9090" style="color: #DD9090">Créteil</OPTION>
<OPTION VALUE="A0A0A0" style="color: #A0A0A0">Gris</OPTION>
<OPTION VALUE="505050" style="color: #505050">Breizh</OPTION>
<OPTION VALUE="000000" style="color: #000000">Noir</OPTION>
<OPTION VALUE="663030" style="color: #663030">Prestige</OPTION>
<OPTION VALUE="AA6060" style="color: #AA6060">La_hague</OPTION>
<OPTION VALUE="B587A3" style="color: #B587A3">Moulefrite</OPTION>
</SELECT>



<SELECT NAME=refi class=menubottom onChange=chref();>
<OPTION SELECTED VALUE=$REFRESH>$REFRESH</OPTION>
<OPTION VALUE="2">2</OPTION>
<OPTION VALUE="4">4</OPTION>
<OPTION VALUE="7">7</OPTION>
<OPTION VALUE="10">10</OPTION>
<OPTION VALUE="13">13</OPTION>
<OPTION VALUE="17">17</OPTION>
<OPTION VALUE="20">20</OPTION>
</SELECT>




<a class=menuout href=javascript:stabilo('stabilo','end_stabilo');>Stabilo</a>
<a class=menuout href=javascript:stabilo('h1','z1h_end');>h1</a>
<a class=menuout href=javascript:stabilo('h2','z2h_end');>h2</a>
<a class=menuout href=javascript:stabilo('h3','z3h_end');>h3</a>
<a class=menuout href=javascript:stabilo('h4','z4h_end');>h4</a>
<a class=menuout href=javascript:stabilo('h7','z7h_end');>h7</a>
<a class=menuout href=javascript:stabilo('u','zu');>u</a>
<a class=menuout href=javascript:stabilo('gras','zgras');>gras</a>
<a class=menuout href=javascript:stabilo('i','zi');>i</a>
<INPUT TYPE=HIDDEN NAME=MSG>
<INPUT TYPE=HIDDEN NAME="id" VALUE="$id">

</CENTER>
</TR></TD>
</TABLE>


</FORM>
</CENTER>
</BODY>
EOT;


?>
Return current item: Aerial chat