if ($paramcache->getRegistered("ADD" . $i . "_x") != NULL) { $SQLquery = $advsearch->AddRow($SQLlink, $SQLfield, $i); } } } $_SESSION["SQLquerySerial"] = $advsearch->Serialize(); //save the new query to the session ////SMARTY //terms $smarty->assign("SQLquery", $SQLquery); //the query $smarty->assign("SQLquerySerial", $advsearch->Serialize()); //the serialized query $smarty->assign("SQLqueryfields", $advsearch->GetSQLqueryfields()); //translated name for all rows of the query $smarty->assign("EQdate", $advsearch->GetEQdate()); //EQ dropdown for date $smarty->assign("EQstring", $advsearch->GetEQstring()); //EQ dropdown for string $smarty->assign("EQtopic", $advsearch->GetEQtopic()); //EQ dropdown for topics $smarty->assign("EQlang", $advsearch->GetEQlang()); //EQ dropdown for lang $smarty->assign("EQlength", $advsearch->GetEQlength()); //EQ dropdown for length $smarty->assign("EQnumber", $advsearch->GetEQnumber()); //EQ dropdown for numbers $smarty->assign("Languages", $advsearch->GetLanguages()); //all possible languages $smarty->assign("Stations", $advsearch->GetStations()); //all possible stationnames