Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/uikit/story/tmpl/stories.php
<?php defined( 'KOOWA' ) or die( 'Restricted access' ) ?>

<div id="an-se-stories" class="an-se-stories an-se-entities" >
<?php foreach(@$stories as $story) : ?>	
	<?php
		
		$layout = 'story_list_item';
		$name   = $story->getIdentifier()->name;
		if ( !$story instanceof AnModelStory )
			$layout = $name;
	?>
	
	<?= @uikit('story')
			->setStory($story)->setLayout($layout)->setParentView(@$parent_view) ?>	
	
<?php endforeach; ?>
</div>

<?php if(count(@$stories) > 0) :?>
<div id="an-se-get-more-records-wrapper">
	<?= @uikit_next_page(@$stories, array('url'=>@$query)) ?>
</div>
<?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