1 |
85ad3d82
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
$settings = $ddblock_cycle_slider_settings;
|
19 |
|
|
|
20 |
|
|
?>
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
<div id="ddblock-<?php print $settings['delta']; ?>" class="ddblock-contents clearfix" style="visibility:hidden">
|
24 |
|
|
|
25 |
|
|
<div class="ddblock-content clearfix">
|
26 |
|
|
|
27 |
|
|
<?php if ($content): ?>
|
28 |
|
|
|
29 |
|
|
<?php if (($settings['pager'] == 'number-pager')): ?>
|
30 |
|
|
|
31 |
|
|
<div id="ddblock-<?php print $settings['pager'] ."-". $settings['delta'] ?>" class="ddblock-<?php print $settings['pager'] ?> ddblock-pager clearfix" style="height: <?php print $settings['pager_height']; ?>px; width:<?php print $settings['pager_width']; ?>px;">
|
32 |
|
|
<?php $item_counter=1; ?>
|
33 |
|
|
<ul>
|
34 |
|
|
<?php foreach ($content['slide_image'] as $item): ?>
|
35 |
|
|
<li class="number-pager-item">
|
36 |
|
|
<a href="#" class="pager-link" title="click to navigate to topic">
|
37 |
|
|
<?php print $item_counter; ?>
|
38 |
|
|
</a>
|
39 |
|
|
</li>
|
40 |
|
|
<?php $item_counter++;?>
|
41 |
|
|
<?php endforeach; ?>
|
42 |
|
|
</ul>
|
43 |
|
|
</div>
|
44 |
|
|
<?php endif; ?>
|
45 |
|
|
|
46 |
|
|
<?php if (($settings['pager'] == 'image-pager')): ?>
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
<ul id="ddblock-<?php print $settings['pager'] ."-". $settings['delta'] ?>" class="ddblock-<?php print $settings['pager'] ?> ddblock-pager clearfix" style="height: <?php print $settings['pager_height'] ?>px; width:<?php print $settings['pager_width'] ?>px;">
|
50 |
|
|
<?php foreach ($content['pager_image'] as $image_file): ?>
|
51 |
|
|
<li>
|
52 |
|
|
<a href="#" title="click to navigate to topic"><?php print $image_file; ?></a>
|
53 |
|
|
</li>
|
54 |
|
|
<?php endforeach; ?>
|
55 |
|
|
</ul>
|
56 |
|
|
<?php endif; ?>
|
57 |
|
|
|
58 |
|
|
<?php if ($settings['pager'] == 'prev-next-pager'): ?>
|
59 |
|
|
|
60 |
|
|
<div id="ddblock-<?php print $settings['pager'] ."-". $settings['delta'] ?>" class="ddblock-<?php print $settings['pager'] ?> ddblock-pager clearfix" style="height: <?php print $settings['pager_height'] ?>px; width:<?php print $settings['pager_width'] ?>px;">
|
61 |
|
|
<a id="prev" class="prev" href="#">Prev</a>
|
62 |
|
|
<a id="next" class="next" href="#">Next</a>
|
63 |
|
|
</div>
|
64 |
|
|
<?php endif; ?>
|
65 |
|
|
|
66 |
|
|
<?php if ($settings['output_type'] == 'images') : ?>
|
67 |
|
|
<div class="ddblock-container clearfix">
|
68 |
|
|
<div class="slider">
|
69 |
|
|
<?php foreach ($content['slide_image'] as $image_file): ?>
|
70 |
|
|
<div class="slide"><?php print $image_file; ?></div>
|
71 |
|
|
<?php endforeach; ?>
|
72 |
|
|
</div>
|
73 |
|
|
|
74 |
|
|
<?php if ($settings['pager2'] == 1): ?>
|
75 |
|
|
<div class="pager-slide prev-container prev-container-<?php print $settings['pager_position'] ?>">
|
76 |
|
|
<a class="prev" href="#"><?php print $settings['pager2_slide_prev']?></a>
|
77 |
|
|
</div>
|
78 |
|
|
<div class="pager-slide next-container next-container-<?php print $settings['pager_position'] ?>">
|
79 |
|
|
<a class="next" href="#"><?php print $settings['pager2_slide_next'] ?></a>
|
80 |
|
|
</div>
|
81 |
|
|
<?php endif; ?>
|
82 |
|
|
</div>
|
83 |
|
|
<?php endif; ?>
|
84 |
|
|
|
85 |
|
|
<?php if ($settings['output_type'] == 'content_array') : ?>
|
86 |
|
|
<div class="ddblock-container">
|
87 |
|
|
<?php foreach ($content as $item): ?>
|
88 |
|
|
<?php print($item); ?>
|
89 |
|
|
<?php endforeach; ?>
|
90 |
|
|
|
91 |
|
|
<?php if ($settings['pager2'] == 1): ?>
|
92 |
|
|
<div class="pager-slide prev-container prev-container-<?php print $settings['pager_position'] ?>">
|
93 |
|
|
<a class="prev" href="#"><?php print $settings['pager2_slide_prev']?></a>
|
94 |
|
|
</div>
|
95 |
|
|
<div class="pager-slide next-container next-container-<?php print $settings['pager_position'] ?>">
|
96 |
|
|
<a class="next" href="#"><?php print $settings['pager2_slide_next'] ?></a>
|
97 |
|
|
</div>
|
98 |
|
|
<?php endif; ?>
|
99 |
|
|
</div>
|
100 |
|
|
<?php endif; ?>
|
101 |
|
|
|
102 |
|
|
<?php if ($settings['output_type'] == 'view_content') : ?>
|
103 |
|
|
<div class="ddblock-container">
|
104 |
|
|
<?php print($content); ?>
|
105 |
|
|
</div>
|
106 |
|
|
<?php endif; ?>
|
107 |
|
|
<?php endif; ?>
|
108 |
|
|
</div>
|
109 |
|
|
</div>
|