Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
2
use LeadersLinked\Library\Functions;
3
 
4
$this->inlineScript()->captureStart();
5
echo <<<JS
6
jQuery( document ).ready(function( $ ) {
7
    $('#suggestions-list-people-viewed-profile').mCustomScrollbar({
8
        setHeight: '450px',
9
        axis:'y' // vertical and horizontal scrollbar
10
    });
11
});
12
JS;
13
$this->inlineScript()->captureEnd();
14
 
15
 
16
 
17
?>
18
 
19
 
20
<div class="suggestions full-width" id="suggestions-list-people-viewed-profile">
21
	<div class="sd-title">
22
		<h3>LABEL_WHO_HAS_SEEN_THIS_PROFILE</h3>
23
	</div><!--sd-title end-->
24
	<div class="suggestions-list">
25
		<?php if($items) :  ?>
26
		<?php foreach($items as $item) :  ?>
27
		<div class="suggestion-usd">
28
			<img style="width: 50px; height: auto" src="<?php echo $this->url('storage', ['type' => 'user', 'code' => $item['uuid'], 'filename' => $item['image']])?>" alt="">
29
			<div class="sgt-text">
30
				<h4><?php echo trim($item['first_name'] . ' ' . $item['last_name']) ?></h4>
31
			</div>
32
			<span>
33
				<a href="<?php echo $this->url('profile/view', ['id' => $item['uuid'] ]) ?>">
34
					<i class="fa fa-external-link"></i>
35
				</a>
36
			</span>
37
		</div>
38
		<?php endforeach; ?>
39
		<?php else: ?>
40
		<div class="view-more">
41
			Sin visitas
42
		</div>
43
		<?php endif; ?>
44
	</div><!--suggestions-list end-->
45
</div><!--suggestions end-->