Database->Query("SELECT user_id FROM user,member_old WHERE user.username = member_old.email AND member_old.member_id = 'raven' LIMIT 1",1);if($res[0]>0) {while ($row = mysql_fetch_row($res[1])){header('Location: /en/gallery/artist_id_'.$row[0].'/');}} else header('Location: /en/gallery/');?>