get_results($sql)) { $ret .= ''."\n"; }; return $ret; }; $params = array('title' => 'RSS', 'drobky' => 'RSS', 'hiearchie' => '{0}'); $html = new html($params); $html->head(); echo '
'."\n"; echo '

RSS

'."\n"; echo ''."\n"; echo '
'."\n"; $sql = 'SELECT '.DB_PREFIX.'box.id_box, '.DB_PREFIX.'box.typ, '.DB_PREFIX.'box.nazev, '.DB_PREFIX.'box.rss FROM '.DB_PREFIX.'box WHERE '.DB_PREFIX.'box.active_state = 1 AND '.DB_PREFIX.'box.typ IN (1,2) ORDER BY '.DB_PREFIX.'box.priorita DESC'; if($result = $db->get_results($sql)) { echo ''."\n"; }; $html->foot(); ?>