Avoid to set 0 for Number of search results per page - thanks aga21 for debugging and reporting

Signed-off-by: emanuele <emanuele45@gmail.com>
Make sense to convert _query_this_board to a property?

Signed-off-by: emanuele <emanuele45@gmail.com>
The $source should come from here

Signed-off-by: emanuele <emanuele45@gmail.com>
To me $type should be $k

Signed-off-by: emanuele <emanuele45@gmail.com>
To me this is the obvious fix

Signed-off-by: emanuele <emanuele45@gmail.com>
$db_last_result from global to property and changed back affected_rows to something that should work

Signed-off-by: emanuele <emanuele45@gmail.com>
Changed db_change_column to use db_create_query_column plus some other cleanup

Signed-off-by: emanuele <emanuele45@gmail.com>
db_create_query_column is used only in mysql, removed from the abstract class and converted to private

Signed-off-by: emanuele <emanuele45@gmail.com>
Isn't this an undefined variable error?

Signed-off-by: emanuele <emanuele45@gmail.com>
$html seems unused

Signed-off-by: emanuele <emanuele45@gmail.com>
$pbe was not defined in query_notifications, passed permissions as parameter (@Spuds does that work?)

Signed-off-by: emanuele <emanuele45@gmail.com>
$topic_id was not set, reading the code this seems the fix... (@Spuds ?)

Signed-off-by: emanuele <emanuele45@gmail.com>
$package_ftp seems to be a global

Signed-off-by: emanuele <emanuele45@gmail.com>
General cleanup missing global, unused variables, and alike (blame netbeans if something breaks! :P)

Signed-off-by: emanuele <emanuele45@gmail.com>
Removed go_up/down from template_pagesection

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #802 from emanuele45/fixins

Oh well...the worst it can do is break things. :P