if(show_in_listing($type, $input, $format, $sql)) {
if($format == 'bool' || $format == 'yesno') {
$tem->set('listing_enc', 'yesno');
if(show_in_listing($type, $input, $format, $sql)) {
if($format == 'bool' || $format == 'yesno') {
$tem->set('listing_enc', 'yesno');