Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/people/tmpl/people.php
<?php if ( KRequest::type() != 'AJAX' ) : ?>
	<?= @js('pagination.js') ?>
	<?= @js('socialgraph.js') ?>
	<script>
		new Uikit.PersonSocialGraph();
		new Uikit.PaginationNextPage();
	</script>
<?php endif;?>

<?php if(count(@$people) > 0) :?>
<ul class="an-se-entities an-se-actors an-se-people">
	<?php foreach( @$people as $person ) : ?>
	<?= @uikit('people.person')->setPerson($person) ?>
	<?php endforeach; ?>
</ul>

<?php if ( isset($this->route) ) : ?>
<div class="an-se-pane an-se-rounded">
<?= @uikit_next_page(@$people, array('url'=>@$route)) ?>
</div>
<?php endif; ?>

<?php else : ?>
<div class="message an-se-message">
	<?= @text('AN-SE-PROMPT-NO-MORE-RECORDS-AVAILABLE') ?>
</div>
<?php endif; ?>
Return current item: Anahita Social Engine