= 1 || mysql_num_rows($sql_speciale) >= 1 ) {
while($row = mysql_fetch_assoc($sql)) {
$sql_badge = mysql_query("SELECT * FROM shop_badges WHERE badge_id='".$row['badge_id']."'");
if(mysql_num_rows($sql_badge) >= 1) {
$row_badge = mysql_fetch_assoc($sql_badge);
echo "
";
}
}
while($row = mysql_fetch_assoc($sql_speciale)) {
$sql_badge = mysql_query("SELECT * FROM speciale_badges WHERE badge_id='".$row['badge_id']."'");
if(mysql_num_rows($sql_badge) >= 1) {
$row_badge = mysql_fetch_assoc($sql_badge);
echo "
";
}
}
}
$sql_club = mysql_query("SELECT * FROM clublid WHERE member_id='".$mid."'");
$row_club = mysql_fetch_assoc($sql_club);
if(mysql_num_rows($sql_club) == 1) {
echo "
";
}
include ("pagina/badges_functie.php");
?>