There is a bug with the redirection: if I set a redirection url, autogenerated code is not executed.
I corrected it by moving the following lines of chronocontact.php:
out of the for($ixx = 1 ; $ixx <= 3; $ixx++){[..]} statement.
I corrected it by moving the following lines of chronocontact.php:
/**
* Redirect the page if requested
*/
if ( !empty($rows[0]->redirecturl) ) {
$mainframe->redirect($rows[0]->redirecturl);
}
out of the for($ixx = 1 ; $ixx <= 3; $ixx++){[..]} statement.