Subversion-Projekte lars-tiefland.content-management

Revision

Revision 1 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1 Revision 2
Zeile 10... Zeile 10...
10
        {/for}
10
        {/for}
11
    </tr>
11
    </tr>
12
    {section loop=$artikel name=a_ind}
12
    {section loop=$artikel name=a_ind}
13
        <tr class="{cycle values="rechts,links"}">
13
        <tr class="{cycle values="rechts,links"}">
14
            <td>{$artikel[a_ind].ID}</td>
14
            <td>{$artikel[a_ind].ID}</td>
15
            <td><a style="cursor:pointer" {if $bestellung} href="/Warenwirtschaft/bestellung_liste_manu.php?action=add&ID={$artikel[a_ind].ID}&Bestellung={$bestellung}"{else} href="javascript:void();" onclick="addInput('{$artikel[a_ind].kurzbezeichnung}', '{$artikel[a_ind].preis_mb}', '{$artikel[a_ind].ID}' );"{/if}>{$artikel[a_ind].kurzbezeichnung}</a></td>
15
            <td><a style="cursor:pointer" {if $smarty.post.b_id} href="/Warenwirtschaft/bestellung_liste_manu.php?action=add&ID={$artikel[a_ind].ID}&Bestellung={$bestellung}"{else} href="javascript:void();" onclick="addInput('{$artikel[a_ind].kurzbezeichnung|replace:"'":""}', '{$artikel[a_ind].preis_kp|default:$artikel[a_ind].preis_mb}', '{$artikel[a_ind].ID}' );"{/if}>{$artikel[a_ind].kurzbezeichnung|replace:"'":""}</a></td>
16
            {for $p_ind=1;$p_ind<10;$p_ind++}
16
            {for $p_ind=1;$p_ind<10;$p_ind++}
17
            {assign var="feld" value="preis$p_ind"}
17
            {assign var="feld" value="preis$p_ind"}
18
            {assign var="preis" value=$artikel[a_ind].$feld}
18
            {assign var="preis" value=$artikel[a_ind].$feld}
19
            {if isset($web_rechte.online_shop.artikel.$feld)}
19
            {if isset($web_rechte.online_shop.artikel.$feld)}
20
            <td>
20
            <td>
-
 
21
                {if $artikel[a_ind].preis_kp && $preis <> 0}
-
 
22
                {$artikel[a_ind].preis_kp|number_format:2:",":"."} &euro;
-
 
23
                (
-
 
24
                <a href="javscript:void(0);" style="cursor:pointer" onmouseover="return overlib('Originalpreis',CAPTION,'Originalpreis',WIDTH,100);" onmouseout="return nd();" onclick="return false;">
21
                {if $preis >= 0}
25
                {if $preis >= 0}
22
                {$preis} &euro;
26
                {$preis|number_format:2:",":"."} &euro;
23
                {elseif $preis <0}
27
                {elseif $preis <0}
24
                {$preis|abs|number_format:2:","} %
28
                {$preis|abs|number_format:2:","} %
25
                {else}&nbsp;
29
                {else}&nbsp;
26
                {/if}
30
                {/if}
-
 
31
                </a>
-
 
32
                )
-
 
33
                {else}
-
 
34
                {if $preis >= 0}
-
 
35
                {$preis|number_format:2:",":"."} &euro;
-
 
36
                {elseif $preis <0}
-
 
37
                {$preis|abs|number_format:2:","} %
-
 
38
                {else}&nbsp;
-
 
39
                {/if}
-
 
40
                {/if}
27
            </td>
41
            </td>
28
            {/if}
42
            {/if}
29
            {/for}
43
            {/for}
30
        </tr>
44
        </tr>
31
    {/section}
45
    {/section}
32
</table>
-
 
33
46
</table>
-
 
47