Adding intval before executing a query + adding a new row_total CSS class for tables see BT#6105