Java Code:
require($_SERVER['DOCUMENT_ROOT'].'/connect.php');
if($_SESSION['username']){ 
 echo '<html>
<br>
<br>
<br>
<p><a href="http://minecraft.abyssal-legion.com/serverstatus/index.php?action=view&amp;id=185"><img src="Titans_files/statimg.png" alt="statimg.php?id=185&amp;theme=1"></a></p>
<h2>Minecraft Alpha</h2> 
  <applet code="net.minecraft.Launcher" archive="MinecraftLauncher.jar?v=10" codebase="/game/" width="854" height="480">
    <param name="separate_jvm" value="true">    
    <param name="java_arguments" value="-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false -Xms512M -Xmx512M">
    <param name="username" value="Titans">
    <param name="latestVersion" value="1284140847000">    
    <param name="downloadTicket" value="84db16aa292e588d5edb8e5564a72644">
    <param name="sessionId" value="7354043183612678087">
 </applet>
 <br>
 </html>';
} else{
echo 'You must login or sign up. [ <a href="/login.php">Login</a> | <a href="/register.php">Register</a> ]';
}
How do I get the <param name="username" value="Titans"> to work with my log in script, I've tried everything I know please help.

Thanks,
Titans.