<?php 
echo "<h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!</h1><br>

    <h2>Current User Information:</h2><br>
    <table>
    <tr>
        <td valign=\"top\">
            BenutzerId: ".$_SESSION["user_id"]."<br> 
	        VPNId: ".$_SESSION["user_vpnid"]."<br>  
            Admin:  ".$_SESSION["user_admin"]."<br>
            Nickname: ".$_SESSION["user_nickname"]."<br> 
            Nachname: ".$_SESSION["user_nachname"]."<br> 
            Vorname: ".$_SESSION["user_vorname"]."<br>  
	        Email: ".$_SESSION["user_email"]."<br> 
			Novell Login: ".$_SESSION["user_novlogin"]."<br> 
            Avatar: ".$_SESSION["user_avatar"]."
        </td>
        <td> <img src=\"Modules/UserControl/avatar/".$_SESSION["user_avatar"].".png\"
            width=\"90\" height=\"90\"></img>
        </td>
    </tr>
    </table>

    <h2>New User Information:</h2>
    <form action=\"/Modules/UserControl/edituser.php\" method=\"post\"> 
    <table>
    <br>    
        <tr>
            <td><input type=\"hidden\" name=\"id\" value=\"".$_SESSION["user_id"]."\" size=\"20\"><td>
        </tr>
        <tr>
            <td><input type=\"hidden\" name=\"nickname\" value=\"".$_SESSION["user_nickname"]."\" size=\"20\"><td>
        </tr>
        <tr>
            <td>Vorname:</td>
            <td><input type=\"text\" name=\"vorname\" value=\"".$_SESSION["user_vorname"]."\" size=\"20\"><td>
        </tr>
        <tr>
            <td>Nachname:</td>
            <td><input type=\"text\" name=\"nachname\" value=\"".$_SESSION["user_nachname"]."\" size=\"20\"><td>
        </tr>
        <tr>
            <td>Avatar:</td>
            <td>
                <select name=\"avatar\" size=1>        
                <option ";if($_SESSION["user_avatar"]=="0") echo "selected"; echo " value=\"0\">Music Tux</option>
                <option ";if($_SESSION["user_avatar"]=="1") echo "selected"; echo " value=\"1\">Opa Tux</option>  
                <option ";if($_SESSION["user_avatar"]=="2") echo "selected"; echo " value=\"2\">Cyborg Tux</option> 
                <option ";if($_SESSION["user_avatar"]=="3") echo "selected"; echo " value=\"3\">Fire Tux</option>
				<option ";if($_SESSION["user_avatar"]=="4") echo "selected"; echo " value=\"4\">Alien Tux</option>
				<option ";if($_SESSION["user_avatar"]=="5") echo "selected"; echo " value=\"5\">Angel Tux</option>
				<option ";if($_SESSION["user_avatar"]=="6") echo "selected"; echo " value=\"6\">Armored Tux</option>
				<option ";if($_SESSION["user_avatar"]=="7") echo "selected"; echo " value=\"7\">Bart Tux</option>
				<option ";if($_SESSION["user_avatar"]=="8") echo "selected"; echo " value=\"8\">Bleach Tux</option>
				<option ";if($_SESSION["user_avatar"]=="9") echo "selected"; echo " value=\"9\">Beat up Tux</option>
				<option ";if($_SESSION["user_avatar"]=="10") echo "selected"; echo " value=\"10\">Charlie Tux</option>
				<option ";if($_SESSION["user_avatar"]=="11") echo "selected"; echo " value=\"11\">Css Tux</option>
				<option ";if($_SESSION["user_avatar"]=="12") echo "selected"; echo " value=\"12\">Cyborg Tux</option>
				<option ";if($_SESSION["user_avatar"]=="13") echo "selected"; echo " value=\"13\">Dark Knight Tux</option>
				<option ";if($_SESSION["user_avatar"]=="14") echo "selected"; echo " value=\"14\">Darth Maul Tux</option>
				<option ";if($_SESSION["user_avatar"]=="15") echo "selected"; echo " value=\"15\">Devil Tux</option>
				<option ";if($_SESSION["user_avatar"]=="16") echo "selected"; echo " value=\"16\">Emo Tux</option>
				<option ";if($_SESSION["user_avatar"]=="17") echo "selected"; echo " value=\"17\">Freddy Tux</option>
				<option ";if($_SESSION["user_avatar"]=="18") echo "selected"; echo " value=\"18\">Gandalf Tux</option>
				<option ";if($_SESSION["user_avatar"]=="19") echo "selected"; echo " value=\"19\">Hellboy Tux</option>
				<option ";if($_SESSION["user_avatar"]=="20") echo "selected"; echo " value=\"20\">Indiana Jones Tux</option>
				<option ";if($_SESSION["user_avatar"]=="21") echo "selected"; echo " value=\"21\">Itachi Tux</option>
				<option ";if($_SESSION["user_avatar"]=="22") echo "selected"; echo " value=\"22\">Jack Sparrow Tux</option>
				<option ";if($_SESSION["user_avatar"]=="23") echo "selected"; echo " value=\"23\">Jedi Tux</option>
				<option ";if($_SESSION["user_avatar"]=="24") echo "selected"; echo " value=\"24\">Joda Tux</option>
				<option ";if($_SESSION["user_avatar"]=="25") echo "selected"; echo " value=\"25\">Joker Tux</option>
				<option ";if($_SESSION["user_avatar"]=="26") echo "selected"; echo " value=\"26\">Kakashi Tux</option>
                <option ";if($_SESSION["user_avatar"]=="27") echo "selected"; echo " value=\"27\">Kenny Tux</option>
                <option ";if($_SESSION["user_avatar"]=="28") echo "selected"; echo " value=\"28\">Knight Tux</option>  
                <option ";if($_SESSION["user_avatar"]=="29") echo "selected"; echo " value=\"29\">Legolas Tux</option> 
                <option ";if($_SESSION["user_avatar"]=="30") echo "selected"; echo " value=\"30\">Liberty Tux</option>
				<option ";if($_SESSION["user_avatar"]=="31") echo "selected"; echo " value=\"31\">Lightsaber Tux</option>
				<option ";if($_SESSION["user_avatar"]=="32") echo "selected"; echo " value=\"32\">Link Tux</option>
				<option ";if($_SESSION["user_avatar"]=="33") echo "selected"; echo " value=\"33\">Magic Tux</option>
				<option ";if($_SESSION["user_avatar"]=="34") echo "selected"; echo " value=\"34\">Matrux Tux</option>
				<option ";if($_SESSION["user_avatar"]=="35") echo "selected"; echo " value=\"35\">Master Chief Tux</option>
				<option ";if($_SESSION["user_avatar"]=="36") echo "selected"; echo " value=\"36\">Mikey Tux</option>
				<option ";if($_SESSION["user_avatar"]=="37") echo "selected"; echo " value=\"37\">Mona Tux</option>
				<option ";if($_SESSION["user_avatar"]=="38") echo "selected"; echo " value=\"38\">Mp3 Tux</option>
				<option ";if($_SESSION["user_avatar"]=="39") echo "selected"; echo " value=\"39\">Native Tux</option>
				<option ";if($_SESSION["user_avatar"]=="40") echo "selected"; echo " value=\"40\">Martial Arts Knight Tux</option>
				<option ";if($_SESSION["user_avatar"]=="41") echo "selected"; echo " value=\"41\">Neo Tux</option>
				<option ";if($_SESSION["user_avatar"]=="42") echo "selected"; echo " value=\"42\">Panda Tux</option>
				<option ";if($_SESSION["user_avatar"]=="43") echo "selected"; echo " value=\"43\">Pharao Tux</option>
				<option ";if($_SESSION["user_avatar"]=="44") echo "selected"; echo " value=\"44\">Racer Tux</option>
				<option ";if($_SESSION["user_avatar"]=="45") echo "selected"; echo " value=\"45\">Rambo Tux</option>
				<option ";if($_SESSION["user_avatar"]=="46") echo "selected"; echo " value=\"46\">Reaper Tux</option>
				<option ";if($_SESSION["user_avatar"]=="47") echo "selected"; echo " value=\"47\">Resident Evil Tux</option>
				<option ";if($_SESSION["user_avatar"]=="48") echo "selected"; echo " value=\"48\">Sam Fisher Tux</option>
				<option ";if($_SESSION["user_avatar"]=="49") echo "selected"; echo " value=\"49\">Sherlok Tux</option>
				<option ";if($_SESSION["user_avatar"]=="50") echo "selected"; echo " value=\"50\">Slash Tux</option>
				<option ";if($_SESSION["user_avatar"]=="51") echo "selected"; echo " value=\"51\">Soccer Tux</option>
				<option ";if($_SESSION["user_avatar"]=="52") echo "selected"; echo " value=\"52\">Space Marine Tux</option>
				<option ";if($_SESSION["user_avatar"]=="53") echo "selected"; echo " value=\"53\">Surfer Tux</option>
				<option ";if($_SESSION["user_avatar"]=="54") echo "selected"; echo " value=\"54\">TMNT Tux</option>
				<option ";if($_SESSION["user_avatar"]=="55") echo "selected"; echo " value=\"55\">Vikinger Tux</option>
				<option ";if($_SESSION["user_avatar"]=="56") echo "selected"; echo " value=\"56\">Water Tux</option>
				<option ";if($_SESSION["user_avatar"]=="57") echo "selected"; echo " value=\"57\">X-Men Tux</option>
				<option ";if($_SESSION["user_avatar"]=="58") echo "selected"; echo " value=\"58\">Ying-Yang Tux</option>
				<option ";if($_SESSION["user_avatar"]=="59") echo "selected"; echo " value=\"59\">Zombie1 Tux</option>
				<option ";if($_SESSION["user_avatar"]=="60") echo "selected"; echo " value=\"60\">Zombie2 Tux</option>
				<option ";if($_SESSION["user_avatar"]=="61") echo "selected"; echo " value=\"61\">Mario Tux</option>
				<option ";if($_SESSION["user_avatar"]=="62") echo "selected"; echo " value=\"62\">Marge Tux</option>
				<option ";if($_SESSION["user_avatar"]=="63") echo "selected"; echo " value=\"63\">Tele Tubby Tux</option>
				<option ";if($_SESSION["user_avatar"]=="64") echo "selected"; echo " value=\"64\">Beat Tux</option>
				<option ";if($_SESSION["user_avatar"]=="65") echo "selected"; echo " value=\"65\">Guitar Tux</option>
				<option ";if($_SESSION["user_avatar"]=="66") echo "selected"; echo " value=\"66\">Boxer Tux</option>
				<option ";if($_SESSION["user_avatar"]=="67") echo "selected"; echo " value=\"67\">Baskerball Tux</option>
				<option ";if($_SESSION["user_avatar"]=="68") echo "selected"; echo " value=\"68\">Ei Tux</option>
				<option ";if($_SESSION["user_avatar"]=="69") echo "selected"; echo " value=\"69\">Pollball Tux</option>
				<option ";if($_SESSION["user_avatar"]=="70") echo "selected"; echo " value=\"70\">Teacher Tux</option>
				<option ";if($_SESSION["user_avatar"]=="71") echo "selected"; echo " value=\"71\">Juice Tux</option>
				<option ";if($_SESSION["user_avatar"]=="72") echo "selected"; echo " value=\"72\">Torrero Tux</option>
				<option ";if($_SESSION["user_avatar"]=="73") echo "selected"; echo " value=\"73\">Maya Tux</option>
				<option ";if($_SESSION["user_avatar"]=="74") echo "selected"; echo " value=\"74\">Oriental Tux</option>
				<option ";if($_SESSION["user_avatar"]=="75") echo "selected"; echo " value=\"75\">Mafia Tux</option>
				<option ";if($_SESSION["user_avatar"]=="76") echo "selected"; echo " value=\"76\">Fischer Tux</option>
				<option ";if($_SESSION["user_avatar"]=="77") echo "selected"; echo " value=\"77\">Schneewittchen Tux</option>
				<option ";if($_SESSION["user_avatar"]=="78") echo "selected"; echo " value=\"78\">Einstein Tux</option>
				<option ";if($_SESSION["user_avatar"]=="79") echo "selected"; echo " value=\"79\">Patric Tux</option>
				<option ";if($_SESSION["user_avatar"]=="80") echo "selected"; echo " value=\"80\">Spaceman Tux</option>
				<option ";if($_SESSION["user_avatar"]=="81") echo "selected"; echo " value=\"81\">Mouse Tux</option>
				<option ";if($_SESSION["user_avatar"]=="82") echo "selected"; echo " value=\"82\">Pokeball Tux</option>
				<option ";if($_SESSION["user_avatar"]=="83") echo "selected"; echo " value=\"83\">Worker Tux</option>
				<option ";if($_SESSION["user_avatar"]=="84") echo "selected"; echo " value=\"84\">Vampire Tux</option>
				<option ";if($_SESSION["user_avatar"]=="85") echo "selected"; echo " value=\"85\">Lego Tux</option>
				<option ";if($_SESSION["user_avatar"]=="86") echo "selected"; echo " value=\"86\">Ninja Tux</option>
				<option ";if($_SESSION["user_avatar"]=="87") echo "selected"; echo " value=\"87\">Gamer Tux</option>
				<option ";if($_SESSION["user_avatar"]=="88") echo "selected"; echo " value=\"88\">Statue Tux</option>
				<option ";if($_SESSION["user_avatar"]=="89") echo "selected"; echo " value=\"89\">Rorschach Tux</option>
				<option ";if($_SESSION["user_avatar"]=="90") echo "selected"; echo " value=\"90\">Girl Tux</option>
				<option ";if($_SESSION["user_avatar"]=="91") echo "selected"; echo " value=\"91\">Kaktus Tux</option>
				<option ";if($_SESSION["user_avatar"]=="92") echo "selected"; echo " value=\"92\">Recycle Tux</option>
				<option ";if($_SESSION["user_avatar"]=="93") echo "selected"; echo " value=\"93\">Vader Tux</option>
				<option ";if($_SESSION["user_avatar"]=="94") echo "selected"; echo " value=\"94\">R2 Tux2</option>
				<option ";if($_SESSION["user_avatar"]=="95") echo "selected"; echo " value=\"95\">God of War Tux</option>
				<option ";if($_SESSION["user_avatar"]=="96") echo "selected"; echo " value=\"96\">Ichigo Tux</option>
				<option ";if($_SESSION["user_avatar"]=="97") echo "selected"; echo " value=\"97\">Bunny Tux</option>
				<option ";if($_SESSION["user_avatar"]=="98") echo "selected"; echo " value=\"98\">Lara croft Tux</option>
				<option ";if($_SESSION["user_avatar"]=="99") echo "selected"; echo " value=\"99\">Rome Tux</option>
				<option ";if($_SESSION["user_avatar"]=="100") echo "selected"; echo " value=\"100\">Captain Future Tux</option>
				<option ";if($_SESSION["user_avatar"]=="101") echo "selected"; echo " value=\"101\">Kisuke Tux</option>
				<option ";if($_SESSION["user_avatar"]=="102") echo "selected"; echo " value=\"102\">Samurai Tux</option>
                </select>
            </td>
        </tr> 
        <tr>
            <td>Passwort:</td>
            <td><input type=\"password\" name=\"pwd\" size=\"20\"></td>
        </tr> 
		<tr>
            <td>Novell Login (Email):</td>
            <td><input type=\"text\" name=\"novlogin\" value=\"".$_SESSION["user_novlogin"]."\" size=\"50\"></td>
        </tr> 
		<tr>
            <td>Novell Password:</td>
            <td><input type=\"password\" name=\"novpass\" size=\"50\"></td>
        </tr> 
		<tr>
            <td><input type=\"hidden\" name=\"path\" value=\"".$moduleurl."\" size=\"50\"></td>
        </tr> 
    </table>
    <input type=\"submit\" value=\"Change\"> 
    </form>
     
<!-- END CONTENT BEGINN ################################################################################# -->";
