PHP 

help mee to fix uloki usercp.php xss bug

0
Anyone Help Me To Fix Uloki Usercp.php xss
Bug

bug code

$checke=$db->count_rows("SELECT email FROM b_users WHERE email='$email' AND userid='$user->userid'");
if($checke > 0)
{
print "</td></tr></table>";
$db->update_data("UPDATE b_users SET mb='$mb', location='$loc', tz='$tzy', sign='$sig', css='$css',pre_pm='$pre_pm', usericon='$icon' WHERE userid='$user->userid'");

    help mee to fix uloki usercp.php xss bug