<table border="0" cellpadding="0" cellspacing="0" width="100%">
    {% for mod in get_modules %}
        {{ mod.display_module }}
    {% endfor %}

    {% if side != 'main' %}
        <tr>
            <td>{% spacer skin.container.horizontalpadding %}</td>
            <td width="{{ width_modules }}">{% spacer width_modules %}</td>
            <td>{% spacer skin.container.horizontalpadding %}</td>
        </tr>
    {% endif %}
</table>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
    {% for mod in modules %}
        {% display_module mod %}
    {% endfor %}

    {% if side != 'main' %}
        <tr>
            <td>{% spacer skin.container.horizontalpadding %}</td>
            <td width="{{ width_modules }}">{% spacer width_modules %}</td>
            <td>{% spacer skin.container.horizontalpadding %}</td>
        </tr>
    {% endif %}
</table>

Use the display_module template tag
Use the display_module template tag

These template tags are kinda forcing me to write functional code -.-
