-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckout.html
342 lines (294 loc) · 14.1 KB
/
checkout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter24002680 = new Ya.Metrika({id:24002680,
webvisor:true,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true});
//w.yaCounter24002680.reachGoal('GOTO_CHECKOUT');
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49675055-1', 'adaperio.ru');
ga('send', 'pageview');
</script>
<!--<script src="http://vk.com/js/api/openapi.js" type="text/javascript"></script>-->
<div id="checkout_view">
<div id="spinner_checkout"
style="position: fixed; top: 50%; left: 50%; height: 50px; width: 50px; z-index: 20000;">
</div>
<div ng-if="!dataLoaded" style="width: 900px; margin-left: auto; margin-right: auto;">
<div class="contents">
<h2>
<span style="color: #3366ff; font-size: 32px;">Данные загружаются...</span>
</h2>
<br>
</div>
</div>
<div ng-if="dataLoaded" style="margin-left: 70px; margin-right: 70px;">
<div>
<h2>
<span ng-if="model.length" style="color: #3366ff; font-size: 32px;">Автомобиль {{model}}</span>
<span ng-if="!model.length" style="color: #3366ff; font-size: 32px;">Автомобиль {{numberAsked}}</span>
</h2>
<p ng-if="vin.length">
VIN: <b>{{vin}}</b>
</p>
<p ng-if="body.length">
Номер кузова: <b>{{body}}</b>
</p>
<p ng-if="year.length">
Год производства: <b>{{year}}</b>
</p>
<br>
</div>
<!-- Left div -->
<div style="width: 450px; float:left;">
<div class="contents" ng-if="!somethingFound">
<p>К сожалению, мы не нашли информацию об автомобиле {{numberAsked}}. Выполненные проверки:</p>
</div>
<div ng-if="!somethingFound"
id="result_contents"
style="font: 13px/19px Arial, Helvetica, 'Liberation Sans', FreeSans, sans-serif;">
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Показания пробега.</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Была ли машина в ДТП.</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt="" />
<span style="font-size: 16px;">Фото повреждений.</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Работал ли этот автомобиль в качестве такси.</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Находится ли в угоне.</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Будут ли проблемы при постановке на учет.</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Заложен ли по кредиту в банке.</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Какая у него комплектация.</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Какие детали были заменены.</span>
</p>
</div>
<div ng-if="somethingFound"
id="result_contents"
style="font: 13px/19px Arial, Helvetica, 'Liberation Sans', FreeSans, sans-serif;">
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Сомневаетесь в показаниях пробега?</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Была ли машина в ДТП?</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt="" />
<span style="font-size: 16px;">Интересно увидеть фото повреждений?</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Работал ли этот автомобиль в качестве такси?</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Хотите проверить его на угон?</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Будут ли проблемы при постановке на учет?</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Заложен ли по кредиту в банке?</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Какая у него комплектация?</span>
</p>
<p>
<img src="pic/arrow.png"
style="height: 28px; width: 28px; margin-top: 0px;"
alt=""
/>
<span style="font-size: 16px;">Какие детали были заменены?</span>
</p>
</div>
<br>
<div ng-if="!somethingFound">
<h3>Мы постоянно обновляем базу автомобилей!</h3>
<button type="submit" class="btn small btn-primary" ng-click="subscribeEmail()">Подпишись и получи максимально полную информацию, как только она появится у нас...</button>
</div>
</div>
<!-- Right div -->
<div id="auto_nomer_pics" style="float:left; width:410px;">
<div ng-if="numberAskedLatin.length" style="width: 400px; text-align:center;">
<img style="width: 200px;" src="http://n.car72.ru/rus/{{numberAskedLatin}}.png" alt="Number photo">
</div>
<p ng-if="autoNomerPics.length">
<table style="width: 90%; table-layout:fixed;">
<tr ng-repeat="link in autoNomerPics">
<td>
<img src="{{link}}" alt="Car photo" width="400">
</td>
</tr>
</table>
</p>
<p ng-if="!autoNomerPics.length">
<table style="width: 90%; table-layout:fixed;">
<tr>
<td>
<img ng-if="!autoNomerPics.length" src="pic/no-image.png" alt="No car photo" width="400">
</td>
</tr>
</table>
</p>
</div>
<!--Little space-->
<div style="height:40px; width:100%; clear:both;"></div>
<!--Bottom div-->
<div ng-if="somethingFound">
<!--Bottom-left div-->
<div style="width: 450px; float:left;">
<h3>Узнайте то, что знаем мы:</h3>
</div>
<!--Bottom-right div-->
<div id="auto_nomer_pics" style="float:left; width:410px;">
<div style="width: 280px; margin-left: auto; margin-right: auto; vertical-align:middle; text-align:center;">
<button class="button_buy" ng-click="checkout()">
Купить полный отчет 100 руб.
</button>
</div>
</div>
</div>
<!--Little space-->
<div style="height:40px; width:100%; clear:both;"></div>
<!--Footer-->
<div style="width: 450px;">
<h3>Примеры отчетов:</h3>
</div>
<p>
<a href="/#/success?InvId=17728031&OutSum=50.000000&SignatureValue=c3173fdae0e5133e7c9f79c713c4058c">Отчет 1...</a>
</p>
<p>
<a href="/#/success?InvId=549532454&OutSum=50.000000&SignatureValue=60ec26049ec6ab3517a8c4273b7d8629">Отчет 2...</a>
</p>
<p>
<a href="/#/success?InvId=78732006&OutSum=50.000000&SignatureValue=ad39335560d9042252478ea35c92591b">Отчет 3...</a>
</p>
<!--Little space-->
<div style="height:40px; width:100%; clear:both;"></div>
<div>
<div style="width: 450px;">
<h3>При информационном сотрудничестве с:</h3>
</div>
<!--1-->
<div style="width: 300px; float:left; text-align:center;">
<!--width="100"-->
<img src="pic/vasrf.png" alt="Логотип ВАСРФ" height="100">
<p>
<span style="font-size: 12px;">Картотека решений Высшего Арбитражного Суда РФ</span>
</p>
</div>
<!--2-->
<div style="width: 300px; float:left; text-align:center;">
<!--width="170"-->
<img src="pic/gibdd.jpg" alt="Логотип ГИБДД" height="100">
<p>
<span style="font-size: 12px;">ГИБДД РФ</span>
</p>
</div>
<!--3-->
<div style="width: 300px; float:left; text-align:center;">
<!--width="95"-->
<img src="pic/gerb.png" alt="Логотип Испольнительная Власть" height="100">
<p>
<span style="font-size: 12px;">Органы исполнительной власти субъектов РФ</span>
</p>
</div>
</div>
</div>
</div>