OK, I think what you could do is to change the output part of the template to this:
Code:
<td>{vb:raw content}</td>
Then in the bloc code, do this:
PHP Code:
global $output;
return $output;
(although it might be better to use a variable other than $output). Because the sidebar code will automatically take what is returned and register it to 'content' in the block template. You just need to make sure that $output is set before the sidebar is rendered.
You could also put all the code in the bloc content area, and return $output at the end, but maybe you're not doing that because you need $show['mgc_cb_evo'] set before it gets to the block code?