[PHP & MySQL] Befehl wird nicht ausgeführt.

euphoria
Hallo, alle zusammen!
Ich habe in den Quicklinks bei meinem WbbLite-Forum den Punkt 'Aktueller Avatar'. Wenn man diesen Link aufruft, öffnet sich ein PopUp. Das ist auch richtig so.
CSS funktioniert dort perfekt, leider wird der Avatar, welcher dort sein sollte, des zur Zeit eingeloggten Users nicht angezeigt. Hier mal der ganze Code:

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:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
[CODE]
<style type="text/css">
<!--
body, html {
background-image: url('http://i43.tinypic.com/2e2lb1c.png');
background-attachment: fixed;
        margin: 0;
        color:#383838;
}

textarea{
                font-family: Tahoma;
                text-decoration: none;
                color:#383838;
                font-weight: normal;
                background-color: #888888;

}

input{
                font-family: Tahoma;
                text-decoration: none;
                color:#383838;
                font-weight: normal;
                background-color: #888888;

}


a{
        font-family: Tahoma
                text-decoration:none;
        color:#383838;
        font-weight:normal;


}

a:hover {
        font-family: Tahoma, Arial, Helvetica, sans-serif;
        text-decoration:underline;
        color:#383838;
        font-weight:normal;

}

input, select, textarea {
background-color:<img scr="http://img501.imageshack.us/img501/2857/10iz0.gif">; color:#383838;
font-family:Tahoma, Arial, Helvetica, sans-serif;
font-size:10
}
-->
</style>

<?php
$filename="popup.php";

 if($wbbuserdata['avatarid'] && $wbbuserdata['showavatars']==1) {
         $a_e_f $db->query_first("SELECT avatarextension FROM bb".$n."_avatars WHERE avatarid LIKE ".$wbbuserdata['avatarid']."");
         $avatarname="images/avatars/avatar-".$wbbuserdata['avatarid'].".".$a_e_f['avatarextension']."";
         $avatarwidth=$user_info['width'];
         $avatarheight=$user_info['height'];
         eval ("\$useravatar = "".$tpl->get("avatar_image")."";");
 } else {
         $useravatar "<smallfont>Kein Avatar gewählt!</font>";
 }
?>
[/CODE]
euphoria
Kann niemand helfen?