-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathshow.php
More file actions
111 lines (93 loc) · 4.33 KB
/
show.php
File metadata and controls
111 lines (93 loc) · 4.33 KB
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
<?php
echo head(array('title' => metadata('item', array('Dublin Core', 'Title')), 'bodyclass' => 'items show'));
?>
<div class="row" role="slider">
<!-- TITLE -->
<div id ="title_sup" class="col-md-12">
<h2><?php echo metadata('item', array('Dublin Core', 'Title')); ?></h2>
</div>
<!-- /TITLE -->
<!-- Carousel -->
<div id ="carrossel" class="col-md-12">
<script type="text/javascript">
$(document).ready(function(){
$('.bxslider').bxSlider({
minSlides: 1,
maxSlides: 5,
slideWidth: 180,
slideMargin: 10
});
});
</script>
<!-- As imagens que iram passar no carrosell-->
<?php $images = $item->Files; $imagesCount = 1; ?>
<?php if ($images): ?>
<!-- <ul id="image-gallery" class="clearfix"></ul>-->
<!-- Fim das imagen que passaram no carrossel-->
<ul class="bxslider">
<?php foreach ($images as $image): ?>
<?php if ($imagesCount >=1): ?>
<li><a href="<?php echo url('/'); ?>files/original/<?php echo $image->filename; ?>" data-lightbox="gallery-name" data-title=""><?php echo
item_image('square_thumbnail', array('class' => 'img-square imgi'),0, $image);
?></a></li>
<?php endif; ?>
<?php $imagesCount++; endforeach; ?>
</ul>
<?php else: ?>
<div class="no-image"><p style="color:#fff;">Item não contém imagens.</p></div>
<?php endif; ?>
</div>
<!-- /Carousel -->
</div>
</div>
<!-- CONTENT -->
<div id="content" class="container">
<div class="row rowcolor">
<!--Left side -->
<div class="col-md-7 col-md-offset-1">
<div class="row">
<!--Texto conteúdo do item-->
<div class="col-md-12 textcontent">
<?php echo all_element_texts('item'); ?>
</div>
<!--Comentário-->
<div id="comentario" class="col-md-8 textcontent">
<?php
//Chamando o comentario
CommentingPlugin::showComments();
?>
</div>
<!--/Comentário-->
<!--Comente-->
<div id="comente" class="col-md-11 textcontent">
<div id="comente" class="col-md-9">
</div>
</div>
<!--Comente-->
</div>
</div>
<!--/Left side -->
<!--Right side -->
<div class="col-md-4">
<div class="row">
<!--Map image -->
<div class="col-md-12 textcontent" id="mapa">
<!-- <a href="#"><img src="<?php /* echo img('img/veja_mapa.jpg'); */ ?>" /> -->
</div>
<!--/Map image -->
<!--Redes -->
<div class="col-md-12 textcontent" id="redes">
<div class="pw-widget pw-counter-vertical">
<a class="pw-button-facebook pw-look-native"></a>
<a class="pw-button-twitter pw-look-native"></a>
<a class="pw-button-linkedin pw-look-native"></a>
<a class="pw-button-post-share"></a>
</div>
<script src="http://i.po.st/static/v3/post-widget.js#publisherKey=sqmvcek1s4kcf8d21388&retina=true" type="text/javascript"></script>
</div>
<!--/Redes -->
</div>
<!--/Right side-->
</div> </div>
<!-- /CONTENT -->
<?php echo foot(); ?>