hehe.
oki for reminding:
Code:
<!-- PHP -->
$voted = ((int)$user->data['voted_for_maps']);
//debug :)
//echo $voted;
if ($voted > "0" ) echo "<img border="0" src="./images/icons/user_voted.gif" ></font>";
if ($voted < "1" ) echo "<img border="0" src="./images/icons/user_not_voted.gif" ></font>";
//mit != / = funktionierts komischerweise trotzdem nicht...
<!-- ENDPHP -->
the funny thing is that i get with that an output of 1/0 for voted/not voted but i cant work with = and !=
greater then works, so we have "bigger then 0" for voted and "smaller then 1" for non- voters...