1
|
<?php
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
|
17
|
$number_of_items = 6;
|
18
|
$number_of_items_per_row=3;
|
19
|
$settings = $ddblock_cycle_pager_settings;
|
20
|
?>
|
21
|
|
22
|
|
23
|
|
24
|
<?php if ($settings['pager'] == 'custom-pager'): ?>
|
25
|
<?php if ($settings['pager_position'] == 'bottom' || $settings['pager_position'] == 'both'): ?>
|
26
|
<div class="spacer-horizontal"><b></b></div>
|
27
|
<?php endif; ?>
|
28
|
<div id="ddblock-pager-<?php print $settings['delta'] ?>" class="<?php print $settings['pager'] ?>" class="clear-block border">
|
29
|
<div class="<?php print $settings['pager'] ?>-inner" class="clear-block border">
|
30
|
<?php if ($pager_items): ?>
|
31
|
<?php $item_counter=0; ?>
|
32
|
<?php foreach ($pager_items as $pager_item): ?>
|
33
|
<div class="<?php print $settings['pager'] ?>-item <?php print $settings['pager'] ?>-item-<?php print $item_counter ?>">
|
34
|
<div class="<?php print $settings['pager'] ?>-item-inner">
|
35
|
<a href="#" title="navigate to topic"><?php print $pager_item['image']; ?><?php print $pager_item['text']; ?></a>
|
36
|
</div>
|
37
|
</div>
|
38
|
<?php $item_counter++; if ($item_counter == $number_of_items_per_row):?>
|
39
|
<div class="spacer-horizontal"><b></b></div>
|
40
|
<?php else: ?>
|
41
|
<div class="spacer-vertical"></div>
|
42
|
<?php endif; ?>
|
43
|
<?php endforeach; ?>
|
44
|
<?php endif; ?>
|
45
|
</div>
|
46
|
</div>
|
47
|
<?php if ($settings['pager_position'] == 'top' || $settings['pager_position'] == 'both'): ?>
|
48
|
<div class="spacer-horizontal"><b></b></div>
|
49
|
<?php endif; ?>
|
50
|
<?php endif; ?>
|