Subversion-Projekte lars-tiefland.webanos.marine-sales.de

Revision

Revision 60 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
11 lars 1
{extends file="index.tpl"}
2
{block name="maincontent"}
12 lars 3
    <!-- $Id: preisagenturen.tpl 4174 2023-05-03 13:19:53Z tiefland $ BEGIN -->
4
    <script type="text/javascript" src="{$smarty.session.jquery_new}"></script>
5
    <script type="text/javascript" src="{$smarty.session.jquery_ui_new}"></script>
6
    <link rel="stylesheet" href="{$smarty.session.jquery_style_new}" />
7
    <script>
8
        $(function (){
9
            $('#editAgenturDlg').dialog({
10
                autoOpen:false,
11
                modal:true,
12
                height:500,
13
                width:800,
14
                buttons:[
15
                    {
16
                        text:"OK",
17
                        icon:"ui-icon-check",
18
                        click:function (){
45 lars 19
                            $.post("/marketing/priceAgencies/"+$("#ID").val(),$('#preisagentur_editor').serializeArray(),function(){
12 lars 20
                                $('#editAgenturDlg').dialog("close")
21
                                location.reload()
22
                            });
23
                        }
24
                    },
25
                    {
26
                        text:"Abbrechen",
27
                        icon:"ui-icon-cancel",
28
                        click:function (){
29
                            $('#editAgenturDlg').dialog("close");
30
                        }
31
                    }
32
                ]
33
            })
34
            $('.edit').button({
35
                icons:{
36
                    primary:"ui-icon-pencil"
37
                }
38
            }).click(function(){
39
                let aId=$(this).attr("data-id");
35 lars 40
                $('#editAgenturDlg').load("/marketing/priceAgencies/"+aId+"/edit").dialog("open")
12 lars 41
            })
42
        })
43
    </script>
44
    <title>Artikel- und Ordnerstatistik - Webagentur Niewerth</title>
45
    <meta http-equiv="content-type" content="text/html; charset={$smarty.session.charset}" />
46
    <script>
47
        $(function() {
48
            $('#filter_shop').change(function () {
49
                $('#filter_pagentur').submit();
50
            })
51
            $('#gesperrt').change(function() {
52
                $('#filter_pagentur').submit();
53
            })
54
        })
55
    </script>
56
    <style>
57
        body
58
        {
59
            margin-left: 20px !important;
60
            margin-top: 10px !important;
61
            font-family: verdana, Helvetica, sans-serif; font-size: 10pt;
62
        {if $webs["font_color_seite"]}
63
            color:				#{$webs["font_color_seite"]};
64
        {/if}
65
        {if $webs["bgcolor_seite"]}
66
            background-color:	#{$webs["bgcolor_seite"]};
67
        {/if}
68
        {if $webs["hintergrundbild"]}
69
            background-image: url(/images/hintergrundbild/{$webs["hintergrundbild"]});
70
        {/if}
71
        }
11 lars 72
 
12 lars 73
        .links
74
        {
75
            font-size: 10pt;
76
        {if $webs["font_color_links"]}
77
            color: #{$webs["font_color_links"]};
78
        {/if}
79
        {if $webs["bgcolor_links"]}
80
            background-color: #{$webs["bgcolor_links"]};
81
        {/if}
82
        }
83
 
84
 
85
        A:link
86
        {
87
            font-family: verdana, Helvetica, sans-serif;
88
            font-size: 10pt;
89
            color: {if $webs["bgcolor_seite"] == "000000"}"#FFFFFF"{else}"#000000"{/if}
90
        }
91
        A:visited {
92
            font-family: verdana, Helvetica, sans-serif;
93
            font-size: 10pt;
94
            color: {if $webs["bgcolor_seite"] == "000000"}"#FFFFFF"{else}"#000000"{/if}
95
        }
96
        A:active {
97
            font-family: verdana, Helvetica, sans-serif;
98
            font-size: 10pt;
99
            color: {if $webs["bgcolor_seite"] == "000000"}"#FFFFFF"{else}"#000000"{/if}
100
        }
101
        A:hover {
102
            font-family: verdana, Helvetica, sans-serif;
103
            font-size: 10pt;
104
            color: {if $webs["bgcolor_seite"] == "000000"}"#FFFFFF" {else}"#000000"{/if}
105
        }
106
        .headline , .headline a:link, .headline a:visited{
107
            font-family: verdana, Helvetica, sans-serif;
108
            font-size: 10pt;
109
            font-weight:bold;
110
            color:#{$webs["font_color_links"]};
111
        }
112
    </style>
26 lars 113
    <form method="get" action="" name="formname" enctype="multipart/form-data" id="filter_pagentur">
12 lars 114
        <table width="100%" border="0" cellspacing="0" cellpadding="3">
115
            <tr class="links">
116
                <td width="25%">
117
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
118
                        <tr>
119
                            <td width="100%" align="left" class="links">
120
                                <label>Shop:
121
                                    <select name="filter_shop" id="filter_shop">
15 lars 122
                                        {html_options options=$c_shops selected=$selected}
12 lars 123
                                    </select>
124
                                </label>
125
                            </td>
126
                            <td class="links">
127
                                <label for="gesperrt">auch gesperrte Agenturen anzeigen</label>
128
                                <input type="hidden" name="gesperrt" value="0">
27 lars 129
                                <input type="checkbox" name="gesperrt" value="1" id="gesperrt" {if $smarty.get.gesperrt}checked="checked"{/if}>
12 lars 130
                            </td>
131
                            <td>
132
                            </td>
133
                            <td style="float: right;">
134
                            </td>
135
                        </tr>
136
                    </table>
137
                </td>
138
            </tr>
139
        </table>
140
    </form>
141
    <table width="100%" border="0" cellpadding="3" cellspacing="0" bordercolor="#000000" class="keinRand">
142
        <tr>
143
            <td class="headline links">Preisagentur</td>
144
            <td class="headline links">Preisagentur-Logo</td>
145
            <td class="headline links" width="186">Bereitgestellte Datensätze</td>
146
            <td class="headline links" width="254">Übertragungsdaten</td>
147
            {if isset($user_rechte.online_shop.hersteller.herstellersperren)}
148
                <td class="headline links">gesperrte Hersteller</td>
149
            {/if}
150
        </tr>
151
        {foreach $agenten as $agent}
152
            <tr class="rechts {$agent.class}">
153
                <td width="185">
25 lars 154
                    {$agent.name} <a class="edit" data-id="{$agent.id}"></a>
12 lars 155
                    <br>
57 lars 156
                    Artikel: {if $agent.only_deliverable==1}nur lieferbare Artikel{else}alle Artikel{/if}
12 lars 157
                    <br>
21 lars 158
                    Mindestpreis: {$agent.min_price|money_format|replace:"EUR":"€"|replace:"USD":'$'}
12 lars 159
                    <br>
60 lars 160
                    Agentur gesperrt? {if $agent.status==0}ja{else}nein{/if}
12 lars 161
                </td>
162
                <td width="152">
163
                    <a href="{$agent["home_url"]}" target="_blank"><img src="{$agent["logo_url"]}" alt="" border="0"/></a>
164
                </td>
165
                <td>
17 lars 166
                    Datensätze: {$agent["records"]}<br/>
12 lars 167
                    {if ( $agent["csv_url"] )}
168
                        <a href="{$agent["csv_url"]}?{$smarty.now}&test=true" target="_blank">CSV-Datei-Test</a><br/>
169
                        Letzte Aktualisierung am:
170
                        <div style="color:{$colour};">
18 lars 171
                            {$agent.updated_at|date_format:"%x"}
172
                            um: {$agent.updated_at|date_format:"%X"} Uhr
12 lars 173
                        </div>
174
                        <br/>
175
                        <span style="font-size: 70%; ">{$agent["csv_url"]}</span>
176
                    {/if}
177
                    <br/>
178
                    {if ( $agent["config"] && isset( $user_rechte["online_shop"]["artikel"]["generate_csv"] ) )}
179
                        <input type="button" value="neu erzeugen" onclick="self.location.href='cronjobs/gen_csv.php?agentur={$agent["ID"]}'"/>
180
                    {/if}
181
                </td>
182
                <td>
183
                    <br/>
184
                    <br/>
185
                    Letzte Übertragung am
186
                    <div style="color:{$agent.colour}">
17 lars 187
                        {$agent.last_access_at|date_format:"%x"}
188
                        um: {$agent.last_access_at|date_format:"%X"} Uhr
12 lars 189
                    </div>
190
                    <br>
17 lars 191
                    von {$agent["last_access_by"]}
12 lars 192
                </td>
193
                {if isset($user_rechte.online_shop.hersteller.herstellersperren)}
194
                    <td>
195
                        gesperrte Hersteller <span class="ui-icon ui-icon-info"  title="Im jeweiligen Shop kann über die Hersteller ausgewählt werden, ob ein Hersteller von der Übertragung in den Datenexport ausgeschlossen wird."></span>
196
                        <br>
22 lars 197
                        {foreach $agent.locked_manufacturers as $hersteller}
73 lars 198
                            {$hersteller->name}<br>
12 lars 199
                        {/foreach}
200
                    </td>
201
                {/if}
202
            </tr>
203
        {/foreach}
204
    </table>
205
 
206
    <div id="editAgenturDlg" title="Preisagentur editieren"></div>
207
    <!-- $Id: preisagenturen.tpl 4174 2023-05-03 13:19:53Z tiefland $ END -->
11 lars 208
{/block}