private function onAdvSearch(GWF_Form $form) { $table = GDO::table('GWF_Links'); if (false === ($matches = $table->searchAdv(GWF_Session::getUser(), $form->getVars()))) { return GWF_HTML::err('ERR_DATABASE', array(__FILE__, __LINE__)) . $this->templateSearch(array(), ''); } return $this->templateSearch($matches, ''); }