$query = "SELECT * FROM #__menu " . "\n WHERE menutype = '" .$menu. "' " . "\n AND access IN( " . $my->allowed . " ) " . "\n AND ((language LIKE '%$lang%') OR (language IS NULL))" . "\n AND published = '1' " . "\n ORDER BY '" .$order. "' "
you are probably using some joomla template