unset($get); $get['table'] = 'covenants c'; $get['columns'] = array('c.*','i.image'); $get['join'] = "INNER JOIN images i ON i.table_name = 'covenants' AND i.table_id = c.id AND i.sort = 1"; $get['where'] = "WHERE c.active='Y' AND c.category = 'Co' AND c.highlight = 'Y'"; $get['order'] = "ORDER by name"; $covenants_highlights = get($get); unset($get); $get['table'] = 'covenants c'; $get['columns'] = array('c.*'); $get['where'] = "WHERE c.active='Y'"; $get['order'] = "ORDER by name"; $covenants = get($get); /* unset($get); $get['table'] = 'covenants c'; $get['columns'] = array('c.*'); $get['where'] = "WHERE c.active='Y' AND c.category = 'Ca'"; $cards = get($get); */ ?>
'.$covenant['name'].' | '; if ($i%2==0) { echo '
Com excelente localização, a Rsul Diagnóstico por Imagem foi planejada para que você tenha o melhor acesso, atendendo Itapema e região.