<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;
$templateName = JFactory::getApplication()->getTemplate();
//print_r($this);
?>
<?php if (empty($this->items)) : ?>
	<p> <?php echo JText::_('COM_CONTACT_NO_ARTICLES'); ?>	 </p>
<?php else : ?>
<h1>Our Team</h1>
</div>
<div class="our-team">

			<?php foreach ($this->items as $i => $item) : ?>
 	<div class="team-block">
				<?php if($this->params->get('show_imagelarge')) :?>
					<div class="team-block-img">                    
	                	<img src="<?php echo $item->imagelarge;?>" alt="<?php echo $item->name;?>" />	
	                </div>
				<? endif;?>
            	
                <div class="team-block-txt">
                	<h2><?php echo $item->name;?> <span>
					<?php if($this->params->get('show_position_headings')) :?>
						/ <?php echo $item->con_position;?>
					<?php endif;?>	
					</span>
					</h2>
					
					<?php if($this->params->get('show_misc')) :?>
						<?php echo $item->misc;?>
					<?php endif;?>
					
                    	<a href="#"><img src="<?php echo JUri::base().'templates/'.$templateName?>/images/icosoc1.jpg" alt=""></a>
                        <a href="#"><img src="<?php echo JUri::base().'templates/'.$templateName?>/images/icosoc2.jpg" alt=""></a>
                    </p>
                </div>
            </div> 
				
			<?php endforeach; ?>
		</div>


<?php endif; ?>
