
<?php $__env->startSection('title'); ?>
	<title><?php echo e($user->username); ?> - <?php echo trans('users.profile'); ?></title>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('assets'); ?>
	@parent

	<?php echo HTML::style('themes/original/assets/css/pikaday.css'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('bodytag'); ?>
	<body id='users-show'>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
	
	<div class="container push-footer-wrapper" id="content">
		
		<?php echo $__env->make('Users.Partials.Header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

		<div class="lists-wrapper">

			<?php echo $__env->make('Titles.Partials.FilterBar', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

			<div class="clearfix">
	            <div class="index-pagination"></div>
	        </div>

	  		<section data-bind="foreach: sourceItems" class="row">

	  			<figure class="col-sm-4 col-md-3 col-lg-2 pretty-figure" data-bind="attr: { data: $index }">
	  				<a data-bind="attr: { href: vars.urls.baseUrl+'/'+vars.trans[type]+'/'+id+'-'+title.replace(/\s+/g, '-').toLowerCase() }"><img class="img-responsive" data-bind="attr: { src: poster, alt: title }"></a>
	                <?php echo Hooks::renderHtml('Titles.Index.ForEachMovie'); ?>

	                 <!-- ko if: app.user && $root.params.userId() == app.user.id -->
	                <button class="btn btn-danger remove-list" data-bind="click: $root.removeFromList.bind($data, $data)"><i class="fa fa-trash-o"></i> </button>
	                <!-- /ko -->

	                <figcaption data-bind="text: title"></figcaption>
	  			</figure>
	  			
	  		</section>

	        <div class="clearfix">
	            <div class="index-pagination bottom-pagination"></div>
	        </div>		
		</div>
	</div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('ads'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
	<script>
		vars.trans.movie = '<?php echo strtolower(trans("main.movies")); ?>';
		vars.trans.series = '<?php echo strtolower(trans("main.series")); ?>';

		app.viewModels.profile.start('<?php echo $user->id; ?>');
	</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('Main.Boilerplate', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>