"SELECT * FROM " . $TablePrafix . "blocks WHERE pid='$id' AND align='$Align' AND (invisibly='$invisibly' OR visibly=1) ORDER BY sort ASC";