PHP-Code:
if($abfrage['status'] == 1) {
     echo 
'Freigeschaltet';

musst ncoh bissl basteln, aber so geht's vom prinzip her