4 function directory_content(&$a) {
7 $tpl .= file_get_contents('view/directory_header');
9 $o .= replace_macros($tpl);
11 $r = q("SELECT * FORM `profile` WHERE `default` = 1 AND `publish` = 1");
14 $tpl = file_get_contents('view/directory_item);
18 $o .= directory_block($a,$rr,$tpl);
23 notice("No entries (some entries may be hidden).");