Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<!-- $Id: statistik-v2.tpl 1769 2009-11-16 20:23:08Z tiefland $ -->
    <table class='resultTable' cellpadding='0' cellspacing='0'>
        <tr valign="top">
            <td>Datum&nbsp;{$c_year}</td>
            <td>Bestellungen&nbsp;{$c_year}</td>
            {if !$shop_filter}
            <td>Gesamt {$c_year}</td>
            {/if}
            <td>Bestellungen&nbsp;{$p_year}</td>
            {if !$shop_filter}
            <td>Gesamt {$p_year}</td>
            {/if}
            <td>Umsatz&nbsp;{$c_year}</td>
            {if !$shop_filter}
            <td>Gesamt {$c_year}</td>
            {/if}
            <td>Umsatz&nbsp;{$p_year}</td>
            {if !$shop_filter}
            <td>Gesamt {$p_year}</td>
            {/if}
        </tr>  
        <tr valign="top">
            <td>
                <table cellpadding="0" cellspacing="0">
                    <tr>
                        <td>Datum</td>
                        <td>Tag</td>
                    </tr>
                    {section name=d_ind loop=$zahlen_tag}
                    <tr>
                        <td>{$zahlen_tag[d_ind].timeframe}</td>
                        <td>{$zahlen_tag[d_ind].c_dat}.</td>
                    </tr>
                    {/section}
                    <tr>
                        <td colspan="2">{$daten[0].timeframe}</td>
                    </tr>
                </table>
            </td>
            <td>
                <table cellpadding='0' cellspacing='0'>
                  <tr>
                    {section name=s_ind loop=$shops}
                        <td>{$shops[s_ind].short}</td>
                    {/section}
                    </tr>
                    {section name=d_ind loop=$zahlen_tag}
                    <tr>
                    {section name=s_ind loop=$zahlen_tag[d_ind].shops}
                        <td class="{$zahlen_tag[d_ind].shops[s_ind].class_c_b}">
                            {$zahlen_tag[d_ind].shops[s_ind].b_anz}
                        </td>
                    {/section}
                    </tr>
                    {/section}
                    <tr>
                    {section loop=$daten.shops name=index}
                        <td>{$daten.shops[index][$c_year].gesamt.b_anz}</td>
                    {/section}
                    </tr>
                </table>
          </td>   
            {if !$shop_filter}
            <td>
                <table width="100%" class='resultTable' cellpadding='0' cellspacing='0' align='right'>
                    <tr>
                        <td>&nbsp;</td>
                    </tr>
                    {section name=d_ind loop=$zahlen_tag}
                    <tr>
                        <td class="{$zahlen_tag[d_ind].class_c_b}">{$zahlen_tag[d_ind].b_ges}</td>
                    </tr>
                    {/section}
                    <tr>
                        <td>{$daten[0].b_ges}</td>
                    </tr>
                </table>
            </td>
            {/if}
            <td>
                <table class='resultTable' cellpadding='0' cellspacing='0' align='right'>
                    <tr>
                    {section name=s_ind loop=$shops}
                        <td>{$shops[s_ind].short}</td>
                    {/section}
                    </tr>
                    {section name=d_ind loop=$zahlen_tag}
                    <tr>
                    {section name=s_ind loop=$zahlen_tag[d_ind].shops}
                        <td class="{$zahlen_tag[d_ind].shops[s_ind].class_v_b}">
                            {$zahlen_tag[d_ind].shops[s_ind].b_anz_v}
                        </td>
                    {/section}
                    </tr>
                    {/section}
                    <tr>
                    {section loop=$daten.shops name=index}
                        <td>{$daten.shops[index][$p_year].gesamt.b_anz}</td>
                    {/section}
                    </tr>
                </table>
            </td>
            {if !$shop_filter}
            <td>
                <table width="100%" class='resultTable' cellpadding='0' cellspacing='0' align='right'>
                    <tr>
                        <td>&nbsp;</td>
                    </tr>
                    {section name=d_ind loop=$zahlen_tag}
                    <tr>
                        <td class="{$zahlen_tag[d_ind].class_v_b}">{$zahlen_tag[d_ind].b_ges_v}</td>
                    </tr>
                {/section}
                    <tr>
                        <td>{$daten[0].b_ges_v}</td>
                    </tr>
                </table>
            </td>
            {/if}
            <td>
                <table class='resultTable' cellpadding='0' cellspacing='0' align='right'>
                    <tr>
                    {section name=s_ind loop=$shops}
                        <td>{$shops[s_ind].short}</td>
                    {/section}
                    </tr>
                    {section name=d_ind loop=$zahlen_tag}
                    <tr>
                    {section name=s_ind loop=$zahlen_tag[d_ind].shops}
                        <td class="{$zahlen_tag[d_ind].shops[s_ind].class_c}">
                            {$zahlen_tag[d_ind].shops[s_ind].umsatz}
                        </td>
                    {/section}
                    </tr>
                    {/section}
                    <tr>
                    {section loop=$daten.shops name=index}
                        <td>{$daten.shops[index][$c_year].gesamt.umsatz}</td>
                    {/section}
                    </tr>
                </table>
            </td>    
            {if !$shop_filter}
            <td>
                <table class='resultTable' cellpadding='0' cellspacing='0'>
                    <tr>
                        <td>&nbsp;</td>
                    </tr>
                    {section name=d_ind loop=$zahlen_tag}
                    <tr>
                        <td class="{$zahlen_tag[d_ind].class_c}">{$zahlen_tag[d_ind].u_ges}</td>
                    </tr>
                {/section}
                    <tr>
                        <td>{$daten[0].u_ges}</td>
                    </tr>
                </table>
            </td>
            {/if}
            <td>
                <table class='resultTable' cellpadding='0' cellspacing='0'>
                    <tr>
                    {section name=s_ind loop=$shops}
                        <td>{$shops[s_ind].short}</td>
                    {/section}
                    </tr>
                    {section name=d_ind loop=$zahlen_tag}
                    <tr>
                    {section name=s_ind loop=$zahlen_tag[d_ind].shops}
                        <td class="{$zahlen_tag[d_ind].shops[s_ind].class_v}">
                            {$zahlen_tag[d_ind].shops[s_ind].umsatz_v}
                        </td>
                    {/section}
                    </tr>
                    {/section}
                    <tr>
                    {section loop=$daten.shops name=index}
                        <td>{$daten.shops[index][$p_year].gesamt.umsatz}</td>
                    {/section}
                    </tr>
                </table>
            </td>
            {if !$shop_filter}
            <td>
                <table class='resultTable' cellpadding='0' cellspacing='0'>
                    <tr>
                        <td>&nbsp;</td>
                    </tr>
                    {section name=d_ind loop=$zahlen_tag}
                    <tr>
                        <td class="{$zahlen_tag[d_ind].class_v}">{$zahlen_tag[d_ind].u_ges_v}</td>
                    </tr>
                {/section}
                    <tr>
                        <td>{$daten[0].u_ges_v}</td>
                    </tr>
                </table>
            </td>
            {/if}
        </tr>
    </table>