<tr class="collection<?php if (++$key % 2 == 1) { echo ' odd'; } else { echo ' even'; } ?> "> <td class="title<?php if ($collection->featured) { echo ' featured'; } ?> "> <?php if ($collectionImage = record_image('collection', 'square_thumbnail')) { ?> <?php echo link_to_collection($collectionImage, array('class' => 'image')); ?> <?php } ?> <?php echo link_to_collection(); ?> <?php if (!$collection->public) { echo __('(Private)'); } ?>
<div style="width: 170px; height: 170px"><?php echo exhibit_builder_link_to_exhibit($exhibit, $exhibitImage, array('class' => 'image')); ?> </div> <?php } else { ?> <div style="width: 170px; height: 170px; text-align:center; padding-top:3em; background:#fff;" class="img-circle tit_b"> </div> <?php } ?> <h3 class="title_ini"><?php echo link_to_exhibit(); ?> </h3> <?php if ($exhibitImage = record_image($exhibit, 'square_thumbnail')) { ?> <?php } ?> <?php if ($exhibitDescription = metadata('exhibit', 'description', array('no_escape' => true))) { ?> <h3 class="title_ini" style="font-weight:300; font-size:13px; text-align:justify;"> <?php $resumo_texto = $exhibit->description; $conta_letra = strlen($resumo_texto); if ($conta_letra <= 140) { echo resumo($resumo_texto, 140); } else { echo resumo($resumo_texto, 140) . exhibit_builder_link_to_exhibit($exhibit, ' (Saiba Mais)', array('style' => 'color:#768BCD'));
<tbody> <?php foreach (loop('search_texts') as $searchText) { ?> <?php $record = get_record_by_id($searchText['record_type'], $searchText['record_id']); ?> <?php $recordType = $searchText['record_type']; ?> <?php set_current_record($recordType, $record); ?> <tr> <td style="width:25%;"><?php if ($recordImage = record_image($recordType, 'square_thumbnail', array('class' => 'gallery'))) { ?> <?php echo link_to($record, 'show', $recordImage, array('class' => 'searchimage')); ?> <?php } ?> </td> <td style="width:50%;"> <a href="<?php echo record_url($record, 'show'); ?> "><?php
?> <?php $recordType = $searchText['record_type']; ?> <?php set_current_record($recordType, $record); ?> <tr class="<?php echo strtolower($filter->filter($recordType)); ?> "> <td> <div id="title-search-cell"> <?php if ($recordImage = record_image($recordType, 'square_thumbnail')) { ?> <?php echo link_to($record, 'show', $recordImage, array('class' => 'image')); ?> <?php } ?> <a href="<?php echo record_url($record, 'show'); ?> "><?php echo $searchText['title'] ? $searchText['title'] : '[Unknown]'; ?> </a> </div>
$sortLinks[__('Date Added')] = 'added'; echo browse_sort_links($sortLinks, array('list_attr' => array('class' => 'list-inline'))); ?> </div> <?php echo pagination_links(); } ?> <?php foreach (loop('collections') as $collection) { ?> <div class="record collection"> <?php if ($image = record_image('collection', 'thumbnail')) { ?> <div class="picture picture-stack"> <?php echo link_to_collection($image); ?> </div> <?php } ?> <h2><?php echo link_to_collection(); ?> </h2>
<?php } else { ?> <div style="width: 200px; height: 200px; text-align:center; padding-top:3em; background:#fff;" class="img-circle tit_b"> </div> <?php } ?> <!--Else da verificaao se eh arquivo --> <?php } else { ?> <?php if ($recordImage = record_image($recordType, 'square_thumbnail', array('class' => 'img-circle imgi'))) { ?> <?php echo link_to($record, 'show', $recordImage, array('class' => 'img-circle imgi')); ?> <?php } else { ?> <div style="width: 200px; height: 200px; text-align:center; padding-top:3em; background:#fff;" class="img-circle tit_b"> </div> <?php } ?> <?php } ?>
</div> <?php echo item_search_filters(); ?> <?php echo pagination_links(); ?> <?php foreach (loop('exhibits') as $exhibit) { ?> <div class="record exhibit"> <?php if ($image = record_image('exhibit', 'thumbnail')) { ?> <div class="picture picture-stack"> <?php echo link_to_exhibit($image); ?> </div> <?php } ?> <h2><?php echo link_to_exhibit(); ?> </h2>
<?php $exhibits = get_records('Exhibit', array('featured' => true, 'sort' => 'recent')); $i = 0; foreach ($exhibits as $exhibit) { if ($i == 0) { echo '<div class="row">'; } if ($i % 4 == 0) { echo '</div><div class="row">'; } ?> <div class="col-md-3"> <center> <?php if ($exhibitImage = record_image($exhibit, 'square_thumbnail', array('class' => 'img-circle imgi'))) { ?> <?php echo exhibit_builder_link_to_exhibit($exhibit, $exhibitImage, array('class' => 'image')); ?> <?php } else { ?> <div style="width: 200px; height: 200px; text-align:center; padding-top:3em; background:#fff;" class="img-circle tit_b"> </div> <?php } ?> <?php echo '<center><h3 class="title_ini"><div id="title_center"><a href="/exhibits/show/' . $exhibit->slug . '">' . $exhibit->title . '</a></div></h3></center>'; $resumo_texto = $exhibit->description;
foreach (loop('exhibit') as $exhibit) { ?> <?php $exhibitCount++; ?> <div class="exhibit <?php if ($exhibitCount % 2 == 1) { echo ' even'; } else { echo ' odd'; } ?> "> <?php if ($exhibitImage = record_image($exhibit, 'fullsize')) { ?> <?php echo exhibit_builder_link_to_exhibit($exhibit, $exhibitImage, array('class' => 'image')); ?> <?php } ?> <h2><?php echo link_to_exhibit(); ?> </h2> <?php if ($exhibitDescription = metadata('exhibit', 'description', array('no_escape' => true))) { ?>
$recordType = $doc->resulttype; ?> <?php if ($recordType == 'Exhibit Page') { ?> <?php $exhibit = $record->getExhibit(); ?> <?php $recordImage = record_image($exhibit, 'square_thumbnail', array('class' => 'img-responsive')); ?> <?php } else { ?> <?php $recordImage = record_image($record, 'square_thumbnail', array('class' => 'img-responsive')); ?> <?php } ?> <?php echo $recordImage; ?> <!-- Result type. --> <?php if ($recordType == 'Item') { ?> <span class="badge result-type"><?php echo metadata($record, 'item_type_name'); ?> </span>
<div class="exhibit record"> <h3><?php echo exhibit_builder_link_to_exhibit($exhibit); ?> </h3> <?php if ($exhibitImage = record_image($exhibit, 'item_thumbnail')) { ?> <?php echo exhibit_builder_link_to_exhibit($exhibit, $exhibitImage, array('class' => 'image')); ?> <?php } ?> <p><?php echo snippet_by_word_count(metadata($exhibit, 'description', array('no_escape' => true))); ?> </p> </div>