if(!wishexists_user($userdata['user_id'])) {
echo '
<form name="wishbox" method="post" action="'.FUSION_SELF.'">
<table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td><b> '.$locale['mwb_112'].'<br><br>
</tr>
<tr>
<td>'.$locale['mwb_103'].'<br>
<input name="wishbox_user" class="textbox" type="hidden" id="wishbox_user" value="'.$userdata['user_id'].'">
<input name="wishbox_music" class="textbox" type="text" id="wishbox_music" size="20" maxlength="50" style="width:100%"></td>
</tr>
<tr>
<td>'.$locale['mwb_104'].':<br>
<textarea name="wishbox_greet" class="textbox" cols="18" rows="4" style="width:100%"></textarea></td>
</tr>
<tr>
<td align="center"><input name="wishbox_submit" class="button" type="submit" id="wishbox_submit" value="'.$locale['mwb_105'].'">';
echo '</td></tr></table></form>';
}else{
echo '<p>'.$locale['mwb_106'].'</p><br>';
}
if(checkgroup($dj_groupid) || checkrights("MWB")) echo '<center><a class="side_small" href="javascript:;" onClick="popup=window.open(\''.INFUSIONS.'musicwishbox_panel/musicwishbox.php\',\'popup\',\'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=450,height=400,left=50,top=50\'); return false;">'.$locale['mwb_107'].'</a></center>';
}