-- Adstek utilities -- script type text javascript src http ajax googl

 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
<!-- Adstek utilities -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://adstek.ru/static/js/jquery.form.js"></script>
<script type="text/javascript" src="http://adstek.ru/static/js/jquery.getUrlParam.js"></script>
<script type="text/javascript" src="http://adstek.ru/static/js/jquery.cookie.js"></script>
<script type="text/javascript" src="http://adstek.ru/static/js/json2.js"></script>
<script type="text/javascript" src="http://adstek.ru/static/js/tests/api.js"></script>
<!-- User's templates -->
<!-- Index template -->
<div><a href="?page=index" class="adstek-control">На морду.</a></div>
<div class="adstek-box-index" style="display:none">
<h1>Все категории (all-groups):</h1>
<div class="foo-groups">
</div>
<h1>Категория Психологические (group):</h1>
<div class="one-group">
</div>
<h1>Вывод нескольких тестов (some-tests):</h1>
<div class="some-tests">
</div>
</div>
<!-- Group template -->
<div class="adstek-box-group" style="display: none">
<div class="adstek-canvas"></div>
</div>
<!-- Test step template -->
<div class="adstek-box-test" style="display: none">
<div class="adstek-canvas"></div>
</div>
<!-- User's config -->
<script type="text/javascript">
//adstekAdvert = 16;
adstekIndexConfig = {
'foo-groups': {'action': 'all-groups'},
'one-group': {'action': 'group', 'limit': 2, 'slug': 'psyco'},
'some-tests': {'action': 'test-list', 'order': 'random', 'group': 'psyco', 'view': 'name,desc,quest'}
}
</script>