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

Revision

Revision 11 | Revision 13 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 11 Revision 12
Zeile 1... Zeile 1...
1
{extends file="index.tpl"}
1
{extends file="index.tpl"}
2
{block name="maincontent"}
2
{block name="maincontent"}
-
 
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 (){
-
 
19
                            $.post("/Online-Shop/preisagentur_editor.php",$('#preisagentur_editor').serializeArray(),function(){
-
 
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");
-
 
40
                $('#editAgenturDlg').load("/Online-Shop/preisagentur_editor.php?Preisagentur="+aId).dialog("open")
-
 
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
        {include_php file="../styles/styles.php"}
-
 
58
        body
-
 
59
        {
-
 
60
            margin-left: 20px !important;
-
 
61
            margin-top: 10px !important;
-
 
62
            font-family: verdana, Helvetica, sans-serif; font-size: 10pt;
-
 
63
        {if $webs["font_color_seite"]}
-
 
64
            color:				#{$webs["font_color_seite"]};
-
 
65
        {/if}
-
 
66
        {if $webs["bgcolor_seite"]}
-
 
67
            background-color:	#{$webs["bgcolor_seite"]};
-
 
68
        {/if}
-
 
69
        {if $webs["hintergrundbild"]}
-
 
70
            background-image: url(/images/hintergrundbild/{$webs["hintergrundbild"]});
-
 
71
        {/if}
-
 
72
        }
Zeile -... Zeile 73...
-
 
73
 
-
 
74
        .links
-
 
75
        {
-
 
76
            font-size: 10pt;
-
 
77
        {if $webs["font_color_links"]}
-
 
78
            color: #{$webs["font_color_links"]};
-
 
79
        {/if}
-
 
80
        {if $webs["bgcolor_links"]}
-
 
81
            background-color: #{$webs["bgcolor_links"]};
-
 
82
        {/if}
-
 
83
        }
-
 
84
 
-
 
85
 
-
 
86
        A:link
-
 
87
        {
-
 
88
            font-family: verdana, Helvetica, sans-serif;
-
 
89
            font-size: 10pt;
-
 
90
            color: {if $webs["bgcolor_seite"] == "000000"}"#FFFFFF"{else}"#000000"{/if}
-
 
91
        }
-
 
92
        A:visited {
-
 
93
            font-family: verdana, Helvetica, sans-serif;
-
 
94
            font-size: 10pt;
-
 
95
            color: {if $webs["bgcolor_seite"] == "000000"}"#FFFFFF"{else}"#000000"{/if}
-
 
96
        }
-
 
97
        A:active {
-
 
98
            font-family: verdana, Helvetica, sans-serif;
-
 
99
            font-size: 10pt;
-
 
100
            color: {if $webs["bgcolor_seite"] == "000000"}"#FFFFFF"{else}"#000000"{/if}
-
 
101
        }
-
 
102
        A:hover {
-
 
103
            font-family: verdana, Helvetica, sans-serif;
-
 
104
            font-size: 10pt;
-
 
105
            color: {if $webs["bgcolor_seite"] == "000000"}"#FFFFFF" {else}"#000000"{/if}
-
 
106
        }
-
 
107
        .headline , .headline a:link, .headline a:visited{
-
 
108
            font-family: verdana, Helvetica, sans-serif;
-
 
109
            font-size: 10pt;
-
 
110
            font-weight:bold;
-
 
111
            color:#{$webs["font_color_links"]};
-
 
112
        }
-
 
113
    </style>
-
 
114
    <form method="post" action="" name="formname" enctype="multipart/form-data" id="filter_pagentur">
-
 
115
        <table width="100%" border="0" cellspacing="0" cellpadding="3">
-
 
116
            <tr class="links">
-
 
117
                <td width="25%">
-
 
118
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
-
 
119
                        <tr>
-
 
120
                            <td width="100%" align="left" class="links">
-
 
121
                                <label>Shop:
-
 
122
                                    <select name="filter_shop" id="filter_shop">
-
 
123
                                        {html_options options=$shops selected=$selected}
-
 
124
                                    </select>
-
 
125
                                </label>
-
 
126
                            </td>
-
 
127
                            <td class="links">
-
 
128
                                <label for="gesperrt">auch gesperrte Agenturen anzeigen</label>
-
 
129
                                <input type="hidden" name="gesperrt" value="0">
-
 
130
                                <input type="checkbox" name="gesperrt" value="1" id="gesperrt" {if $smarty.post.gesperrt}checked="checked"{/if}>
-
 
131
                            </td>
-
 
132
                            <td>
-
 
133
                            </td>
-
 
134
                            <td style="float: right;">
-
 
135
                            </td>
-
 
136
                        </tr>
-
 
137
                    </table>
-
 
138
                </td>
-
 
139
            </tr>
-
 
140
        </table>
-
 
141
    </form>
-
 
142
    <table width="100%" border="0" cellpadding="3" cellspacing="0" bordercolor="#000000" class="keinRand">
-
 
143
        <tr>
-
 
144
            <td class="headline links">Preisagentur</td>
-
 
145
            <td class="headline links">Preisagentur-Logo</td>
-
 
146
            <td class="headline links" width="186">Bereitgestellte Datensätze</td>
-
 
147
            <td class="headline links" width="254">Übertragungsdaten</td>
-
 
148
            {if isset($user_rechte.online_shop.hersteller.herstellersperren)}
-
 
149
                <td class="headline links">gesperrte Hersteller</td>
-
 
150
            {/if}
-
 
151
        </tr>
-
 
152
        {foreach $agenten as $agent}
-
 
153
            <tr class="rechts {$agent.class}">
-
 
154
                <td width="185">
-
 
155
                    {$agent.Titel} <a class="edit" data-id="{$agent.ID}"></a>
-
 
156
                    <br>
-
 
157
                    Artikel: {if $agent.nur_lieferbar==1}nur lieferbare Artikel{else}alle Artikel{/if}
-
 
158
                    <br>
-
 
159
                    Mindestpreis: {$agent.min_preis|money_format|replace:"EUR":"€"|replace:"USD":'$'}
-
 
160
                    <br>
-
 
161
                    Agentur gesperrt? {if $agent.status==0}ja{else}nein{/if}
-
 
162
                </td>
-
 
163
                <td width="152">
-
 
164
                    <a href="{$agent["home_url"]}" target="_blank"><img src="{$agent["logo_url"]}" alt="" border="0"/></a>
-
 
165
                </td>
-
 
166
                <td>
-
 
167
                    Datensätze: {$agent["datensaetze"]}<br/>
-
 
168
                    {if ( $agent["csv_url"] )}
-
 
169
                        <a href="{$agent["csv_url"]}?{$smarty.now}&test=true" target="_blank">CSV-Datei-Test</a><br/>
-
 
170
                        Letzte Aktualisierung am:
-
 
171
                        <div style="color:{$colour};">
-
 
172
                            {$agent.letzte_Aktualisierung_am|date_format:"%x"}
-
 
173
                            um: {$agent.letzte_Aktualisierung_am|date_format:"%X"} Uhr
-
 
174
                        </div>
-
 
175
                        <br/>
-
 
176
                        <span style="font-size: 70%; ">{$agent["csv_url"]}</span>
-
 
177
                    {/if}
-
 
178
                    <br/>
-
 
179
                    {if ( $agent["config"] && isset( $user_rechte["online_shop"]["artikel"]["generate_csv"] ) )}
-
 
180
                        <input type="button" value="neu erzeugen" onclick="self.location.href='cronjobs/gen_csv.php?agentur={$agent["ID"]}'"/>
-
 
181
                    {/if}
-
 
182
                </td>
-
 
183
                <td>
-
 
184
                    <br/>
-
 
185
                    <br/>
-
 
186
                    Letzte Übertragung am
-
 
187
                    <div style="color:{$agent.colour}">
-
 
188
                        {$agent.letzter_Abruf_am|date_format:"%x"}
-
 
189
                        um: {$agent.letzter_Abruf_am|date_format:"%X"} Uhr
-
 
190
                    </div>
-
 
191
                    <br>
-
 
192
                    von {$agent["letzter_Abruf_von"]}
-
 
193
                </td>
-
 
194
                {if isset($user_rechte.online_shop.hersteller.herstellersperren)}
-
 
195
                    <td>
-
 
196
                        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>
-
 
197
                        <br>
-
 
198
                        {foreach $agent.gesperrteHersteller as $hersteller}
-
 
199
                            {$hersteller}<br>
-
 
200
                        {/foreach}
-
 
201
                    </td>
-
 
202
                {/if}
-
 
203
            </tr>
-
 
204
        {/foreach}
-
 
205
    </table>
-
 
206
 
-
 
207
    <div id="editAgenturDlg" title="Preisagentur editieren"></div>
3
 
208
    <!-- $Id: preisagenturen.tpl 4174 2023-05-03 13:19:53Z tiefland $ END -->