

			<?php
			if($params['list']){
				foreach($params['list'] as $item){ 
					if(!$item instanceof Events){
						continue;
					}
?>

            <div class="ossn-page-contents"> 
          
            <div class="events top-container">
            <div class="ossn-page-contents"> 
            
            
                 
           			
                                    <a href="<?php echo $item->profileURL();?>" > <div class="image-event">   </a>
                				<img src="<?php echo $item->iconURL();?>" />
                			</div>
                
                
                
                
                
                <div class="row event-list-item">
                    <div class="col-md-11">
                    	  <a href="<?php echo $item->profileURL();?>" > <div class="title"><span><?php echo $item->title;?></span></div>   </a>
                    	     <div class="options">
                        	<div class="metadata">
                            
                               
                                  <a href="<?php echo $item->profileURL();?>" > <li><i class="fa fa-calendar-o"></i><?php echo date("F, d Y", strtotime($item->date));?></li>   </a>
                                 <a href="<?php echo $item->profileURL();?>" >  <li><i class="fa fa-clock-o"></i><?php echo $item->start_time; ?> - <?php echo $item->end_time; ?></li>   </a>
                            </div>
                        	 
                        </div>
                        <div class="post-contents">
                         <p class="addReadMore showlesscontent"><?php echo strl($item->description, 555);?></p>
                   
                     </div>
                          </div>
                          </div>
             </div>
            </div>
            </div>
         
            <?php
				}
			} if(empty($params['list'])){ 
				echo ossn_print("event:no:result");
			}
			?>
         

    <?php echo ossn_view_pagination($params['count']); ?>
