Dear Itamar,
Apology accepted and thank you for the clarifications.
From the 'current section' point of view I was thinking of the following line in the topics format.php file:
$currenttopic = ($course->marker == $section);
As you state that you can both be in topic or week based forms.
Cheers,
Gareth