</div>
	<?php 
    if ($this->config['show_club_info'] || $this->config['show_team_info']) {
        ?>
<div class="right-column">
		<?php 
        if ($this->config['show_club_info']) {
            if ($this->club->address || $this->club->zipcode) {
                ?>
	<div class="jl_parentContainer">
		<span class="clubinfo_listing_item"><?php 
                echo JText::_('COM_JOOMLEAGUE_TEAMINFO_CLUB_ADDRESS');
                ?>
</span>
				<?php 
                $dummy = Countries::convertAddressString($this->club->name, $this->club->address, $this->club->state, $this->club->zipcode, $this->club->location, $this->club->country, 'COM_JOOMLEAGUE_TEAMINFO_CLUB_ADDRESS_FORM');
                $dummy = explode('<br />', $dummy);
                for ($i = 0; $i < count($dummy); $i++) {
                    if ($i > 0) {
                        echo '<span class="clubinfo_listing_item">&nbsp;</span>';
                    }
                    echo '<span class="clubinfo_listing_value">' . $dummy[$i] . '</span>';
                }
                echo '</div>';
            }
            if ($this->club->phone) {
                ?>
	<div class="jl_parentContainer">
		<span class="clubinfo_listing_item"> <?php 
                echo JText::_('COM_JOOMLEAGUE_TEAMINFO_CLUB_PHONE');
                ?>
Exemple #2
0
    $deathdateStr = JHtml::date($this->person->deathday . ' UTC', JText::_('COM_JOOMLEAGUE_GLOBAL_DEATHDATE'), JoomleagueHelper::getTimezone($this->project, $this->overallconfig));
    echo '&dagger; ' . $deathdateStr;
    ?>
				</td>
			</tr>
			<?php 
}
if ($this->person->address != "" && $this->config['show_person_address'] == 1 && $this->isContactDataVisible) {
    ?>
			<tr>
				<td class=""><span class="label"><?php 
    echo JText::_('COM_JOOMLEAGUE_PERSON_ADDRESS');
    ?>
</span></td>
				<td class="data"><?php 
    echo Countries::convertAddressString('', $this->person->address, $this->person->state, $this->person->zipcode, $this->person->location, $this->person->address_country, 'COM_JOOMLEAGUE_PERSON_ADDRESS_FORM');
    ?>
</td>
			</tr>
			<?php 
}
if ($this->person->phone != "" && $this->config['show_person_phone'] == 1 && $this->isContactDataVisible) {
    ?>
			<tr>
				<td class=""><span class="label"><?php 
    echo JText::_('COM_JOOMLEAGUE_PERSON_PHONE');
    ?>
</span></td>
				<td class="data"><?php 
    echo $this->person->phone;
    ?>
					<?php 
        foreach ($club->teams as $team) {
            //dynamic object property string
            $pic = $this->config['show_picture'];
            echo JoomleagueHelper::getPictureThumb($team->{$pic}, $team->name, $this->config['team_picture_width'], $this->config['team_picture_height'], 1);
            $teaminfo_link = JoomleagueHelperRoute::getTeamInfoRoute($this->project->slug, $team->team_slug);
            echo JHtml::link($teaminfo_link, $team->name);
            echo '<br />';
        }
        ?>
				</td>
				<?php 
    }
    ?>
			<?php 
    if ($this->config['show_address']) {
        ?>
				<td>
					<?php 
        echo Countries::convertAddressString($club->name, $club->address, $club->state, $club->zipcode, $club->location, $club->country, 'COM_JOOMLEAGUE_CLUBS_ADDRESS_FORM');
        ?>
				</td>
			<?php 
    }
    ?>
		</tr>
		<?php 
    $k = 1 - $k;
}
?>
</table>
    } else {
        ?>
      <td class="club_logo"></td>
      <?php 
    }
    if ($this->config['show_club_number']) {
        ?>
        <td class="club_logo"><?php 
        echo $team->unique_id;
        ?>
</td>
		<?php 
    } else {
        ?>
      <td class="club_logo"></td>
      <?php 
    }
    ?>
      
			<td class="club_address">
				<?php 
    echo Countries::convertAddressString($team->club_name, $team->club_address, $team->club_state, $team->club_zipcode, $team->club_location, $team->club_country, 'COM_JOOMLEAGUE_TEAMS_ADDRESS_FORM');
    ?>
			</td>
		</tr>
		<?php 
    $k = 1 - $k;
}
?>
</table>
	</tr>
	<?php 
}
?>

	<?php 
if ($this->playground->address || $this->playground->zipcode) {
    ?>
		<tr>
			<th class="td_r_t" width='30%'><?php 
    echo JText::_('COM_JOOMLEAGUE_PLAYGROUND_ADDRESS');
    ?>
</th>
			<td width='70%'>
				<?php 
    echo Countries::convertAddressString('', $this->playground->address, '', $this->playground->zipcode, $this->playground->city, $this->playground->country, 'COM_JOOMLEAGUE_PLAYGROUND_ADDRESS_FORM');
    ?>
			</td>
		</tr>
		<?php 
}
?>

	<?php 
if ($this->playground->website) {
    ?>
		<tr>
			<th class="td_r" width="30%">
			   <?php 
    echo JText::_('COM_JOOMLEAGUE_PLAYGROUND_WEBSITE');
    ?>