function favorite_main($post) { $favorite = @$this->content['favorite']; if (isset($favorite)) { $this->output('<form ' . $favorite['form_tags'] . '>'); qa_html_theme_base::favorite(); $this->form_hidden_elements(@$favorite['form_hidden']); $this->output('</form>'); } }